Back to Seed Clases

Gdk


Classes

Interfaces

Structs

Unions

Enums

Struct Gdk.Color

Import line: Gdk = imports.gi.Gdk;
GIR File: Gdk-3.0.gir
C documentation: GdkColor
Struct : Color
The GdkColor structure is used to describe a color,
similar to the XColor struct used in the X11 drawing API.
Properties
Properties Defined By
Methods / Constructors
Method / Constructor Defined By
 
new Gdk.Color ()
Create a new Gdk.Color
Create a new Gdk.Color
 
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
EvinceDocument.Annotation
Method
get_color (Color color) : none
EvinceDocument.Annotation
Method
set_color (Color color) : gboolean
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
Gdk.cairo_set_source_color (Context cr, Color color) : none
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
new Gtk.ColorButton.with_color (Color color) : Gtk.Widget
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
modify_base (StateType state, Color color) : none
Sets the base color for a widget in a particular state.
Gtk.Widget
Method
modify_bg (StateType state, Color color) : none
Sets the background color for a widget in a particular state.
Gtk.Widget
Method
modify_cursor (Color primary, Color secondary) : none
Sets the cursor color to use in a widget, overriding the
GtkWidget:cursor-color and GtkWidget:secondary-cursor-color
style properties.
Gtk.Widget
Method
modify_fg (StateType state, Color color) : none
Sets the foreground color for a widget in a particular state.
Gtk.Widget
Method
modify_text (StateType state, Color color) : none
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
set_colors (Color foreground, Color background, Array palette, gint32 palette_size) : none
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Sat Apr 16 2011 17:10:56 GMT+0800 (HKT)