package Implements_Gtk_Style_Provider is new Glib.Types.Implements (Gtk.Style_Provider.Gtk_Style_Provider, Gtk_Style_Properties_Record, Gtk_Style_Properties);
type Gtk_Style_Properties_Record is new GObject_Record with null record;
type Gtk_Style_Properties is access all Gtk_Style_Properties_Record'Class;
procedure Gtk_New
( | Self | : out Gtk_Style_Properties); |
procedure Initialize
( | Self | : not null access Gtk_Style_Properties_Record'Class); |
function Gtk_Style_Properties_New return Gtk_Style_Properties;
function Get_Type return Glib.GType;
procedure Clear
( | Self | : not null access Gtk_Style_Properties_Record); |
procedure Get_Property
( | Self | : not null access Gtk_Style_Properties_Record; |
Property | : UTF8_String; | |
State | : Gtk.Enums.Gtk_State_Flags; | |
Value | : out Glib.Values.GValue; | |
Exists | : out Boolean); |
procedure Set_Property
( | Self | : not null access Gtk_Style_Properties_Record; |
Property | : UTF8_String; | |
State | : Gtk.Enums.Gtk_State_Flags; | |
Value | : in out Glib.Values.GValue); |
function Lookup_Color
( | Self | : not null access Gtk_Style_Properties_Record; |
Name | : UTF8_String) return Gtk.Symbolic_Color.Gtk_Symbolic_Color; |
procedure Map_Color
( | Self | : not null access Gtk_Style_Properties_Record; |
Name | : UTF8_String; | |
Color | : Gtk.Symbolic_Color.Gtk_Symbolic_Color); |
procedure Merge
( | Self | : not null access Gtk_Style_Properties_Record; |
Props_To_Merge | : not null access Gtk_Style_Properties_Record'Class; | |
Replace | : Boolean); |
procedure Unset_Property
( | Self | : not null access Gtk_Style_Properties_Record; |
Property | : UTF8_String; | |
State | : Gtk.Enums.Gtk_State_Flags); |
procedure Get_Style_Property
( | Self | : not null access Gtk_Style_Properties_Record; |
Path | : Gtk.Widget.Gtk_Widget_Path; | |
State | : Gtk.Enums.Gtk_State_Flags; | |
Pspec | : in out Glib.Param_Spec; | |
Value | : out Glib.Values.GValue; | |
Found | : out Boolean); |
function "+"
( | Widget | : access Gtk_Style_Properties_Record'Class) return Gtk.Style_Provider.Gtk_Style_Provider renames Implements_Gtk_Style_Provider.To_Interface; |
function "-"
( | Interf | : Gtk.Style_Provider.Gtk_Style_Provider) return Gtk_Style_Properties renames Implements_Gtk_Style_Provider.To_Object; |
GtkStyleProperties provides the storage for style information that is used by Gtk.Style_Context.Gtk_Style_Context and other Gtk.Style_Provider.Gtk_Style_Provider implementations.
Before style properties can be stored in GtkStyleProperties, they must be registered with gtk_style_properties_register_property.
Unless you are writing a Gtk.Style_Provider.Gtk_Style_Provider implementation, you are unlikely to use this API directly, as gtk_style_context_get and its variants are the preferred way to access styling information from widget implementations and theming engine implementations should use the APIs provided by Gtk.Theming_Engine.Gtk_Theming_Engine instead.