Back to Seed Clases

Gdk


Classes

Interfaces

Structs

Unions

Enums

Struct Gdk.RGBA

Import line: Gdk = imports.gi.Gdk;
GIR File: Gdk-3.0.gir
C documentation: GdkRGBA
Struct : RGBA
The GdkRGBA structure is used to represent a (possibly translucent)
color, in a way that is compatible with cairos notion of color.
Properties
Properties Defined By
Methods / Constructors
Method / Constructor Defined By
 
new Gdk.RGBA ()
Create a new Gdk.RGBA
Create a new Gdk.RGBA
 
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Gdk
Method
Gdk.cairo_set_source_rgba (Context cr, RGBA rgba) : none
Sets the specified GdkRGBA as the source color of cr.
Gdk.Window
Method
set_background_rgba (RGBA rgba) : none
Sets the background color of window.
Gtk.CellRenderer
Property
cell_background_rgba : Gdk.RGBA
Cell background as a GdkRGBA
Gtk.CellRendererText
Property
background_rgba : Gdk.RGBA
Background color as a GdkRGBA
Gtk.CellRendererText
Property
foreground_rgba : Gdk.RGBA
Foreground color as a GdkRGBA
Gtk.CellView
Property
background_rgba : Gdk.RGBA
The background color as a GdkRGBA
Gtk.CellView
Method
set_background_rgba (RGBA rgba) : none
Sets the background color of cell_view.
Gtk.ColorButton
Property
rgba : Gdk.RGBA
The RGBA color.
Gtk.ColorButton
Method
new Gtk.ColorButton.with_rgba (RGBA rgba) : Gtk.Widget
Create a new Gtk.ColorButton
Gtk.ColorButton
Method
get_rgba () : Gdk.RGBA
Sets rgba to be the current color in the GtkColorButton widget.
Gtk.ColorButton
Method
set_rgba (RGBA rgba) : none
Sets the current color to be rgba.
Gtk.ColorSelection
Property
current_rgba : Gdk.RGBA
The current RGBA color.
Gtk.ColorSelection
Method
get_current_rgba () : Gdk.RGBA
Sets rgba to be the current color in the GtkColorSelection widget.
Gtk.ColorSelection
Method
get_previous_rgba () : Gdk.RGBA
Fills rgba in with the original color value.
Gtk.ColorSelection
Method
set_current_rgba (RGBA rgba) : none
Sets the current color to be rgba.
Gtk.ColorSelection
Method
set_previous_rgba (RGBA rgba) : none
Sets the 'previous' color to be rgba.
Gtk.IconInfo
Method
load_symbolic (RGBA fg, RGBA success_color, RGBA warning_color, RGBA error_color, Object out_values) : GdkPixbuf.Pixbuf
Loads an icon, modifying it to match the system colours for the foreground,
success, warning and error colors provided.
Gtk.StyleContext
Method
get_background_color (StateFlags state) : Gdk.RGBA
Gets the background color for a given state.
Gtk.StyleContext
Method
get_border_color (StateFlags state) : Gdk.RGBA
Gets the border color for a given state.
Gtk.StyleContext
Method
get_color (StateFlags state) : Gdk.RGBA
Gets the foreground color for a given state.
Gtk.SymbolicColor
Method
new Gtk.SymbolicColor.literal (RGBA color) : Gtk.SymbolicColor
Create a new Gtk.SymbolicColor
Gtk.ThemingEngine
Method
get_background_color (StateFlags state) : Gdk.RGBA
Gets the background color for a given state.
Gtk.ThemingEngine
Method
get_border_color (StateFlags state) : Gdk.RGBA
Gets the border color for a given state.
Gtk.ThemingEngine
Method
get_color (StateFlags state) : Gdk.RGBA
Gets the foreground color for a given state.
Gtk.Widget
Method
override_background_color (StateFlags state, RGBA color) : none
Sets the background color to use for a widget.
Gtk.Widget
Method
override_color (StateFlags state, RGBA color) : none
Sets the color to use for a widget.
Gtk.Widget
Method
override_cursor (RGBA cursor, RGBA secondary_cursor) : 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
override_symbolic_color (String name, RGBA color) : none
Sets a symbolic color for a widget.
GtkSource.GutterRenderer
Property
background_rgba : Gdk.RGBA
GtkSource.GutterRenderer
Method
set_background (RGBA color) : none
GtkSource.MarkAttributes
Property
background : Gdk.RGBA
GtkSource.MarkAttributes
Method
set_background (RGBA background) : none
Vte.Terminal
Method
set_color_background_rgba (RGBA background) : none
Vte.Terminal
Method
set_color_bold_rgba (RGBA bold) : none
Vte.Terminal
Method
set_color_cursor_rgba (RGBA cursor_background) : none
Vte.Terminal
Method
set_color_dim_rgba (RGBA dim) : none
Vte.Terminal
Method
set_color_foreground_rgba (RGBA foreground) : none
Vte.Terminal
Method
set_color_highlight_rgba (RGBA highlight_background) : none
Vte.Terminal
Method
set_colors_rgba (RGBA foreground, RGBA background, Array palette, guint32 palette_size) : none
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Sat Apr 16 2011 17:10:58 GMT+0800 (HKT)