diff --git a/src/st/st-widget.h b/src/st/st-widget.h index 2000e282f..bfe22320c 100644 --- a/src/st/st-widget.h +++ b/src/st/st-widget.h @@ -83,40 +83,41 @@ struct _StWidgetClass GType st_widget_get_type (void) G_GNUC_CONST; -void st_widget_set_style_pseudo_class (StWidget *actor, - const gchar *pseudo_class); -G_CONST_RETURN gchar *st_widget_get_style_pseudo_class (StWidget *actor); -void st_widget_set_style_class_name (StWidget *actor, - const gchar *style_class); -G_CONST_RETURN gchar *st_widget_get_style_class_name (StWidget *actor); -void st_widget_set_style (StWidget *actor, - const gchar *style); -G_CONST_RETURN gchar *st_widget_get_style (StWidget *actor); -void st_widget_set_theme (StWidget *actor, - StTheme *theme); -StTheme * st_widget_get_theme (StWidget *actor); +void st_widget_set_style_pseudo_class (StWidget *actor, + const gchar *pseudo_class); +G_CONST_RETURN gchar *st_widget_get_style_pseudo_class (StWidget *actor); +void st_widget_set_style_class_name (StWidget *actor, + const gchar *style_class); +G_CONST_RETURN gchar *st_widget_get_style_class_name (StWidget *actor); +void st_widget_set_style (StWidget *actor, + const gchar *style); +G_CONST_RETURN gchar *st_widget_get_style (StWidget *actor); +void st_widget_set_theme (StWidget *actor, + StTheme *theme); +StTheme * st_widget_get_theme (StWidget *actor); -void st_widget_set_has_tooltip (StWidget *widget, - gboolean has_tooltip); -gboolean st_widget_get_has_tooltip (StWidget *widget); -void st_widget_set_tooltip_text (StWidget *widget, - const gchar *text); -const gchar* st_widget_get_tooltip_text (StWidget *widget); +void st_widget_set_has_tooltip (StWidget *widget, + gboolean has_tooltip); +gboolean st_widget_get_has_tooltip (StWidget *widget); +void st_widget_set_tooltip_text (StWidget *widget, + const gchar *text); +const gchar* st_widget_get_tooltip_text (StWidget *widget); -void st_widget_show_tooltip (StWidget *widget); -void st_widget_hide_tooltip (StWidget *widget); +void st_widget_show_tooltip (StWidget *widget); +void st_widget_hide_tooltip (StWidget *widget); -void st_widget_ensure_style (StWidget *widget); +void st_widget_ensure_style (StWidget *widget); -StTextDirection st_widget_get_default_direction (void); -void st_widget_set_default_direction (StTextDirection dir); +StTextDirection st_widget_get_default_direction (void); +void st_widget_set_default_direction (StTextDirection dir); -StTextDirection st_widget_get_direction (StWidget *self); -void st_widget_set_direction (StWidget *self, StTextDirection dir); +StTextDirection st_widget_get_direction (StWidget *self); +void st_widget_set_direction (StWidget *self, + StTextDirection dir); /* Only to be used by sub-classes of StWidget */ -void st_widget_style_changed (StWidget *widget); -StThemeNode *st_widget_get_theme_node (StWidget *widget); +void st_widget_style_changed (StWidget *widget); +StThemeNode * st_widget_get_theme_node (StWidget *widget); G_END_DECLS