Index

Package: Style_Provider

Description

package Gtk.Style_Provider is
GtkStyleProvider is an interface used to provide style information to a Gtk.Style_Context.Gtk_Style_Context. See Gtk.Style_Context.Add_Provider and Gtk.Style_Context.Add_Provider_For_Screen.

Types

Gtk_Style_Provider

type Gtk_Style_Provider is new Glib.Types.GType_Interface;

Priority

subtype Priority is Glib.Guint;

Constants & Global variables

Null_Gtk_Style_Provider (Gtk_Style_Provider)

Null_Gtk_Style_Provider : constant Gtk_Style_Provider;

Priority_Fallback (Priority)

Priority_Fallback : constant Priority := 1;
Used when no theme is defined

Priority_Theme (Priority)

Priority_Theme : constant Priority := 200;
Used for style information provided by the theme

Priority_Settings (Priority)

Priority_Settings : constant Priority := 400;
Used for information provided via Gtk_Settings

Priority_Application (Priority)

Priority_Application : constant Priority := 600;
For application-specific information

Priority_User (Priority)

Priority_User : constant Priority := 800;
Used for the style information from ~/.gtk-3.0.css

Subprograms & Entries

Get_Type

function Get_Type return Glib.GType;

Get_Style_Property

procedure Get_Style_Property 
(Self: Gtk_Style_Provider;
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);
Looks up a widget style property as defined by Provider for the widget represented by Path. Since: gtk+ 3.0 "path": Gtk.Widget.Gtk_Widget_Path to query "state": state to query the style property for "pspec": The Glib.Param_Spec to query "value": return location for the property value