diff options
author | mattdangerw <mattdangerw@gmail.com> | 2013-09-12 13:39:41 -0700 |
---|---|---|
committer | mattdangerw <mattdangerw@gmail.com> | 2013-09-12 13:39:41 -0700 |
commit | 23c256d30fa3fc3f0c2aeef3bfef21e7764c856f (patch) | |
tree | 0a4e81fedb14b59671ba9ba560b6db03edd95ad0 /endless | |
parent | 386eb5dfcd5053ab0e8989a9233a25e89c6a5abf (diff) | |
parent | b0dea281f2c085cbf2e9433f00d306c9ee15f231 (diff) |
Merge pull request #297 from endlessm/issues/295
Fix failing doc tests
Diffstat (limited to 'endless')
-rw-r--r-- | endless/eosactionbutton.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/endless/eosactionbutton.c b/endless/eosactionbutton.c index 901538c..83c437d 100644 --- a/endless/eosactionbutton.c +++ b/endless/eosactionbutton.c @@ -421,6 +421,15 @@ eos_action_button_get_label (EosActionButton *button) return priv->label; } +/** + * eos_action_button_set_label_position: + * @button: the button + * @position: position of the label: top, bottom, left or right + * + * Changes the position of the label to be above, below, or to one side of the + * action button. + * See #EosActionButton:label-position for more information. + */ void eos_action_button_set_label_position (EosActionButton *button, GtkPositionType position) @@ -458,6 +467,15 @@ eos_action_button_set_label_position (EosActionButton *button, } } +/** + * eos_action_button_get_label_position: + * @button: the button + * + * Gets the position of the label respective to the button. + * See #EosActionButton:label-position for more information. + * + * Returns: the position of the label: top, bottom, left, or right + */ GtkPositionType eos_action_button_get_label_position (EosActionButton *button) { |