diff options
author | Robert Ancell <robert.ancell@canonical.com> | 2013-01-04 11:18:51 +0000 |
---|---|---|
committer | Tarmac <Unknown> | 2013-01-04 11:18:51 +0000 |
commit | 2db941fba78c2a0b183dcdda671110ba008a3b0a (patch) | |
tree | 3eb068921865c06e4235c23d2e163aef8e1e89ad /src/idoswitchmenuitem.c | |
parent | b7c4bed23b243c047559bbd572dd1be0daa5c060 (diff) | |
parent | bdb90268942fca5a75bb587fc9176a052776259f (diff) | |
download | ayatana-ido-2db941fba78c2a0b183dcdda671110ba008a3b0a.tar.gz ayatana-ido-2db941fba78c2a0b183dcdda671110ba008a3b0a.tar.bz2 ayatana-ido-2db941fba78c2a0b183dcdda671110ba008a3b0a.zip |
Add introspection and vala support. Fixes: https://bugs.launchpad.net/bugs/582985.
Approved by Mathieu Trudel-Lapierre.
Diffstat (limited to 'src/idoswitchmenuitem.c')
-rw-r--r-- | src/idoswitchmenuitem.c | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/src/idoswitchmenuitem.c b/src/idoswitchmenuitem.c index 3831336..10ff1f3 100644 --- a/src/idoswitchmenuitem.c +++ b/src/idoswitchmenuitem.c @@ -101,16 +101,27 @@ ido_switch_menu_button_release_event (GtkWidget * widget, GdkEventButton * event return TRUE; /* stop the event so that it doesn't trigger popdown() */ } -/*** -**** Public API -***/ - +/** + * ido_switch_menu_item_new: + * + * Creates a new #IdoSwitchMenuItem + * + * Return Value: a new #IdoSwitchMenuItem. + **/ GtkWidget * ido_switch_menu_item_new (void) { return g_object_new (IDO_TYPE_SWITCH_MENU_ITEM, NULL); } +/** + * ido_switch_menu_item_get_content_area: + * @item: The #IdoSwitchMenuItem. + * + * Get the #GtkContainer to add additional widgets into. + * + * Return Value: (transfer none): The #GtkContainer to add additional widgets into. + **/ GtkContainer * ido_switch_menu_item_get_content_area (IdoSwitchMenuItem * item) { |