aboutsummaryrefslogtreecommitdiff
path: root/src/idoswitchmenuitem.c
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2012-12-14 09:58:39 +1300
committerRobert Ancell <robert.ancell@canonical.com>2012-12-14 09:58:39 +1300
commit6c9a6684a2bd7fb990831175bac8681669e27080 (patch)
treeb6f3e4ed08a7eb78d2b1ed1b76ae286424fed330 /src/idoswitchmenuitem.c
parent21040fcad5f3a0a808d6a0ac2a9beb4d9e595673 (diff)
downloadayatana-ido-6c9a6684a2bd7fb990831175bac8681669e27080.tar.gz
ayatana-ido-6c9a6684a2bd7fb990831175bac8681669e27080.tar.bz2
ayatana-ido-6c9a6684a2bd7fb990831175bac8681669e27080.zip
Add introspection and Vala support to IDO
Diffstat (limited to 'src/idoswitchmenuitem.c')
-rw-r--r--src/idoswitchmenuitem.c19
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)
{