diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2010-10-19 10:59:46 +0200 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2010-12-04 15:38:21 +0100 |
commit | a79626b7fb7d6609f0b7a650d50683b62a987a23 (patch) | |
tree | 250785284edb2b2bc331e953387979050c9148c2 /gtk/gtkthemingengine.h | |
parent | 59b0fa81332d7ab6d30813cb86a5706ee0a734d0 (diff) | |
download | gtk+-a79626b7fb7d6609f0b7a650d50683b62a987a23.tar.gz |
Add theming docs
Both API and file format is documented, there's still missing
a migration doc though.
Diffstat (limited to 'gtk/gtkthemingengine.h')
-rw-r--r-- | gtk/gtkthemingengine.h | 28 |
1 files changed, 24 insertions, 4 deletions
diff --git a/gtk/gtkthemingengine.h b/gtk/gtkthemingengine.h index 47a4234f4b..6ecf9c1009 100644 --- a/gtk/gtkthemingengine.h +++ b/gtk/gtkthemingengine.h @@ -36,16 +36,36 @@ G_BEGIN_DECLS #define GTK_IS_THEMING_ENGINE_CLASS(c) (G_TYPE_CHECK_CLASS_TYPE ((c), GTK_TYPE_THEMING_ENGINE)) #define GTK_THEMING_ENGINE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_THEMING_ENGINE, GtkThemingEngineClass)) -typedef struct GtkThemingEngine GtkThemingEngine; -typedef struct GtkThemingEngineClass GtkThemingEngineClass; +typedef struct _GtkThemingEngine GtkThemingEngine; +typedef struct _GtkThemingEngineClass GtkThemingEngineClass; -struct GtkThemingEngine +struct _GtkThemingEngine { GObject parent_object; gpointer priv; }; -struct GtkThemingEngineClass +/** + * GtkThemingEngineClass + * @parent_class: The parent class. + * @render_line: Renders a line between two points. + * @render_background: Renders the background area of a widget region. + * @render_frame: Renders the frame around a widget area. + * @render_frame_gap: Renders the frame around a widget area with a gap in it. + * @render_extension: Renders a extension to a box, usually a notebook tab. + * @render_check: Renders a checkmark, as in #GtkCheckButton. + * @render_option: Renders an option, as in #GtkRadioButton. + * @render_arrow: Renders an arrow pointing to a certain direction. + * @render_expander: Renders an element what will expose/expand part of + * the UI, as in #GtkExpander. + * @render_focus: Renders the focus indicator. + * @render_layout: Renders a #PangoLayout + * @render_slider: Renders a slider control, as in #GtkScale. + * @render_handle: Renders a handle to drag UI elements, as in #GtkPaned. + * + * Base class for theming engines. + */ +struct _GtkThemingEngineClass { GObjectClass parent_class; |