Back to Seed Clases

Gtk


Classes

Interfaces

Structs

Unions

Enums

Interface Gtk.StyleProvider

Import line: Gtk = imports.gi.Gtk;
GIR File: Gtk-3.0.gir
C documentation: GtkStyleProvider
Interface : StyleProvider
Implementations: Gtk.CssProvider, Gtk.Settings, Gtk.StyleProperties
GtkStyleProvider is an interface used to provide style information to a GtkStyleContext.
See gtk_style_context_add_provider() and gtk_style_context_add_provider_for_screen().
Properties
None
Methods / Constructors
Method / Constructor Defined By
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Gtk.StyleContext
Method
Gtk.StyleContext.add_provider_for_screen (Screen screen, StyleProvider provider, guint32 priority) : none
Adds a global style provider to screen, which will be used
in style construction for all GtkStyleContexts under
GTK+ uses this to make styling information from GtkSettings
available.
Gtk.StyleContext
Method
Gtk.StyleContext.remove_provider_for_screen (Screen screen, StyleProvider provider) : none
Removes provider from the global style providers list in screen.
Gtk.StyleContext
Method
add_provider (StyleProvider provider, guint32 priority) : none
Adds a style provider to context, to be used in style construction.
Gtk.StyleContext
Method
remove_provider (StyleProvider provider) : none
Removes provider from the style providers list in context.
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Sat Apr 16 2011 17:14:44 GMT+0800 (HKT)