Import line: | Gdk = imports.gi.Gdk; |
GIR File: | Gdk-3.0.gir |
C documentation: | GdkColor |
Struct : | Color |
Properties | Defined By | |
---|---|---|
blue : guint16
|
Gdk.Color | |
green : guint16
|
Gdk.Color | |
pixel : guint32
|
Gdk.Color | |
red : guint16
|
Gdk.Color |
Method / Constructor | Defined By | |
---|---|---|
new Gdk.Color
()
Create a new Gdk.Color
Create a new Gdk.Color
|
||
copy
()
:
Gdk.Color
Makes a copy of a color structure.
Makes a copy of a color structure.
The result must be freed using gdk_color_free().
|
Gdk.Color | |
Gdk.Color | ||
free
()
:
none
Frees a color structure created with gdk_color_copy().
Frees a color structure created with gdk_color_copy().
|
Gdk.Color | |
hash
()
:
guint32
A hash function suitable for using for a hash
table that stores GdkColors.
A hash function suitable for using for a hash
table that stores GdkColors.
|
Gdk.Color | |
to_string
()
:
String
Returns a textual specification of color in the hexadecimal form
representing the red, green and blue components respectively.
Returns a textual specification of color in the hexadecimal form
representing the red, green and blue components respectively. The returned string can be parsed by gdk_color_parse().
|
Gdk.Color |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
EvinceDocument.Annotation
Method |
get_color
(Color color)
:
none
|
EvinceDocument.Annotation
Method |
|
EvinceDocument.Selection
Method |
render_selection
(RenderContext rc, Surface surface, Rectangle points, Rectangle old_points, SelectionStyle style, Color text, Color base)
:
none
|
EvinceView.JobRender
Method |
set_selection_info
(Rectangle selection_points, SelectionStyle selection_style, Color text, Color base)
:
none
|
Gdk
Method |
Sets the specified GdkColor as the source color of cr.
|
Gdk.Window
Method |
set_background
(Color color)
:
none
Sets the background color of window.
|
Gtk.CellRenderer
Property |
cell_background_gdk : Gdk.Color
|
Gtk.CellRendererText
Property |
background_gdk : Gdk.Color
|
Gtk.CellRendererText
Property |
foreground_gdk : Gdk.Color
|
Gtk.CellView
Property |
background_gdk : Gdk.Color
|
Gtk.CellView
Method |
set_background_color
(Color color)
:
none
Sets the background color of view.
|
Gtk.ColorButton
Property |
color : Gdk.Color
The selected color.
|
Gtk.ColorButton
Method |
Create a new Gtk.ColorButton
|
Gtk.ColorButton
Method |
get_color
()
:
Gdk.Color
Sets color to be the current color in the GtkColorButton widget.
|
Gtk.ColorButton
Method |
set_color
(Color color)
:
none
Sets the current color to be color.
|
Gtk.ColorSelection
Property |
current_color : Gdk.Color
|
Gtk.ColorSelection
Method |
get_current_color
()
:
Gdk.Color
Sets color to be the current color in the GtkColorSelection widget.
|
Gtk.ColorSelection
Method |
get_previous_color
()
:
Gdk.Color
Fills color in with the original color value.
|
Gtk.ColorSelection
Method |
set_current_color
(Color color)
:
none
Sets the current color to be color.
|
Gtk.ColorSelection
Method |
set_previous_color
(Color color)
:
none
Sets the 'previous' color to be color.
|
Gtk.TextTag
Property |
background_gdk : Gdk.Color
|
Gtk.TextTag
Property |
foreground_gdk : Gdk.Color
|
Gtk.TextTag
Property |
paragraph_background_gdk : Gdk.Color
The paragraph background color as a as a (possibly unallocated)
GdkColor. |
Gtk.Widget
Method |
Sets the base color for a widget in a particular state.
|
Gtk.Widget
Method |
Sets the background color for a widget in a particular state.
|
Gtk.Widget
Method |
Sets the cursor color to use in a widget, overriding the
GtkWidget:cursor-color and GtkWidget:secondary-cursor-color style properties. |
Gtk.Widget
Method |
Sets the foreground color for a widget in a particular state.
|
Gtk.Widget
Method |
Sets the text color for a widget in a particular state.
|
Vte.Terminal
Property |
background_tint_color : Gdk.Color
|
Vte.Terminal
Method |
set_background_tint_color
(Color color)
:
none
|
Vte.Terminal
Method |
set_color_background
(Color background)
:
none
|
Vte.Terminal
Method |
set_color_bold
(Color bold)
:
none
|
Vte.Terminal
Method |
set_color_cursor
(Color cursor_background)
:
none
|
Vte.Terminal
Method |
set_color_dim
(Color dim)
:
none
|
Vte.Terminal
Method |
set_color_foreground
(Color foreground)
:
none
|
Vte.Terminal
Method |
set_color_highlight
(Color highlight_background)
:
none
|
Vte.Terminal
Method |
|