~cyphermox/ido/gtest-source

« back to all changes in this revision

Viewing changes to src/idoswitchmenuitem.c

  • Committer: Tarmac
  • Author(s): Robert Ancell
  • Date: 2013-01-04 11:18:51 UTC
  • mfrom: (120.2.3 ido)
  • Revision ID: tarmac-20130104111851-59sy9bla4qt0vl12
Add introspection and vala support. Fixes: https://bugs.launchpad.net/bugs/582985.

Approved by Mathieu Trudel-Lapierre.

Show diffs side-by-side

added added

removed removed

Lines of Context:
101
101
  return TRUE; /* stop the event so that it doesn't trigger popdown() */
102
102
}
103
103
 
104
 
/***
105
 
**** Public API
106
 
***/
107
 
 
 
104
/**
 
105
 * ido_switch_menu_item_new:
 
106
 *
 
107
 * Creates a new #IdoSwitchMenuItem
 
108
 *
 
109
 * Return Value: a new #IdoSwitchMenuItem.
 
110
 **/
108
111
GtkWidget *
109
112
ido_switch_menu_item_new (void)
110
113
{
111
114
  return g_object_new (IDO_TYPE_SWITCH_MENU_ITEM, NULL);
112
115
}
113
116
 
 
117
/**
 
118
 * ido_switch_menu_item_get_content_area:
 
119
 * @item: The #IdoSwitchMenuItem.
 
120
 *
 
121
 * Get the #GtkContainer to add additional widgets into.
 
122
 *
 
123
 * Return Value: (transfer none): The #GtkContainer to add additional widgets into.
 
124
 **/
114
125
GtkContainer *
115
126
ido_switch_menu_item_get_content_area (IdoSwitchMenuItem * item)
116
127
{