diff options
Diffstat (limited to 'lib/egg/eggtoolbutton.h')
-rw-r--r-- | lib/egg/eggtoolbutton.h | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/lib/egg/eggtoolbutton.h b/lib/egg/eggtoolbutton.h index cb0c0b15e..1c2071c54 100644 --- a/lib/egg/eggtoolbutton.h +++ b/lib/egg/eggtoolbutton.h @@ -56,17 +56,31 @@ struct _EggToolButtonClass EggToolItemClass parent_class; GType button_type; + + void (* clicked) (EggToolButton *tool_item); }; GType egg_tool_button_get_type (void); EggToolItem *egg_tool_button_new (void); EggToolItem *egg_tool_button_new_from_stock (const gchar *stock_id); - -void egg_tool_button_set_icon_widget (EggToolButton *button, - GtkWidget *icon); -void egg_tool_button_set_label (EggToolButton *button, - const gchar *label); +void egg_tool_button_set_label (EggToolButton *button, + const gchar *label); +G_CONST_RETURN gchar *egg_tool_button_get_label (EggToolButton *button); +void egg_tool_button_set_use_underline (EggToolButton *button, + gboolean use_underline); +gboolean egg_tool_button_get_use_underline (EggToolButton *button); +void egg_tool_button_set_stock_id (EggToolButton *button, + const gchar *stock_id); +G_CONST_RETURN gchar *egg_tool_button_get_stock_id (EggToolButton *button); +void egg_tool_button_set_icon_set (EggToolButton *button, + GtkIconSet *icon_set); +GtkIconSet * egg_tool_button_get_icon_set (EggToolButton *button); +void egg_tool_button_set_icon_set (EggToolButton *button, + GtkIconSet *icon_set); +void egg_tool_button_set_icon_widget (EggToolButton *button, + GtkWidget *icon); +GtkWidget * egg_tool_button_get_icon_widget (EggToolButton *button); G_END_DECLS |