32 #import "CoreGTK/CGTKMenuButton.h"
50 return GTK_MENU_BUTTON([
self GOBJECT]);
55 return [[
CGTKWidget alloc] initWithGObject:(GObject *)gtk_menu_button_get_align_widget(GTK_MENU_BUTTON([
self GOBJECT]))];
60 return gtk_menu_button_get_direction(GTK_MENU_BUTTON([
self GOBJECT]));
65 return gtk_menu_button_get_menu_model(GTK_MENU_BUTTON([
self GOBJECT]));
70 return gtk_menu_button_get_popup(GTK_MENU_BUTTON([
self GOBJECT]));
75 gtk_menu_button_set_align_widget(GTK_MENU_BUTTON([
self GOBJECT]), [alignWidget
WIDGET]);
78 -(void)setDirection:(GtkArrowType) direction
80 gtk_menu_button_set_direction(GTK_MENU_BUTTON([
self GOBJECT]), direction);
83 -(void)setMenuModel:(GMenuModel*) menuModel
85 gtk_menu_button_set_menu_model(GTK_MENU_BUTTON([
self GOBJECT]), menuModel);
90 gtk_menu_button_set_popup(GTK_MENU_BUTTON([
self GOBJECT]), [popup
WIDGET]);
id initWithGObject:(GObject *obj)