diff options
author | Felipe Erias Morandeira <femorandeira@igalia.com> | 2013-07-04 16:30:32 +0100 |
---|---|---|
committer | Felipe Erias Morandeira <femorandeira@igalia.com> | 2013-07-22 11:42:50 +0100 |
commit | f25576bb34aa1ac1d58e632a7ea06774c66ffcf2 (patch) | |
tree | 60236c7cff3fd473c32e10d6bbc703496f3029b9 /endless/eosactionbutton.h | |
parent | ae9928b88ac2bcc82921e04e8cf4df5e18be174d (diff) |
Add "label-position" property to EosActionButton
[endlessm/eos-sdk#108]
Diffstat (limited to 'endless/eosactionbutton.h')
-rw-r--r-- | endless/eosactionbutton.h | 31 |
1 files changed, 19 insertions, 12 deletions
diff --git a/endless/eosactionbutton.h b/endless/eosactionbutton.h index ad9c4cb..a68a89a 100644 --- a/endless/eosactionbutton.h +++ b/endless/eosactionbutton.h @@ -56,30 +56,37 @@ struct _EosActionButtonClass }; EOS_SDK_ALL_API_VERSIONS -GType eos_action_button_get_type (void) G_GNUC_CONST; +GType eos_action_button_get_type (void) G_GNUC_CONST; EOS_SDK_ALL_API_VERSIONS -GtkWidget *eos_action_button_new (EosActionButtonSize size, - const gchar *label, - const gchar *icon_id); +GtkWidget *eos_action_button_new (EosActionButtonSize size, + const gchar *label, + const gchar *icon_id); EOS_SDK_ALL_API_VERSIONS -void eos_action_button_set_size (EosActionButton *button, - EosActionButtonSize size); +void eos_action_button_set_size (EosActionButton *button, + EosActionButtonSize size); EOS_SDK_ALL_API_VERSIONS -EosActionButtonSize eos_action_button_get_size (EosActionButton *button); +EosActionButtonSize eos_action_button_get_size (EosActionButton *button); EOS_SDK_ALL_API_VERSIONS -void eos_action_button_set_label (EosActionButton *button, - const gchar *label); +void eos_action_button_set_label (EosActionButton *button, + const gchar *label); EOS_SDK_ALL_API_VERSIONS -const gchar *eos_action_button_get_label (EosActionButton *button); +const gchar *eos_action_button_get_label (EosActionButton *button); EOS_SDK_ALL_API_VERSIONS -void eos_action_button_set_icon_id (EosActionButton *button, - const gchar *icon_id); +void eos_action_button_set_label_position (EosActionButton *button, + GtkPositionType position); + +EOS_SDK_ALL_API_VERSIONS +GtkPositionType eos_action_button_get_label_position (EosActionButton *button); + +EOS_SDK_ALL_API_VERSIONS +void eos_action_button_set_icon_id (EosActionButton *button, + const gchar *icon_id); EOS_SDK_ALL_API_VERSIONS const gchar *eos_action_button_get_icon_id (EosActionButton *button); |