Exemple #1
0
static VALUE
rg_s_get_for_attach_widget(G_GNUC_UNUSED VALUE self, VALUE widget)
{
    /* Owned by GTK+ */
    return GLIST2ARY(gtk_menu_get_for_attach_widget(GTK_WIDGET(RVAL2GOBJ(widget))));
}
/* Methods */
static VALUE
device_s_list(VALUE self)
{
    /* Owned by GDK */
    return GLIST2ARY(gdk_devices_list());
}
Exemple #3
0
static VALUE
rg_action_groups(VALUE self)
{
    /* Owned by GTK+ */
    return GLIST2ARY(gtk_ui_manager_get_action_groups(_SELF(self)));
}