32 #import "CoreGTK/CGTKLayout.h" 36 -(id)initWithHadjustment:(GtkAdjustment*) hadjustment andVadjustment:(GtkAdjustment*) vadjustment
38 self = [
super initWithGObject:(GObject *)gtk_layout_new(hadjustment, vadjustment)];
50 return GTK_LAYOUT([
self GOBJECT]);
55 return gtk_layout_get_bin_window(GTK_LAYOUT([
self GOBJECT]));
60 return gtk_layout_get_hadjustment(GTK_LAYOUT([
self GOBJECT]));
63 -(void)getSizeWithWidth:(guint*) width andHeight:(guint*) height
65 gtk_layout_get_size(GTK_LAYOUT([
self GOBJECT]), width, height);
70 return gtk_layout_get_vadjustment(GTK_LAYOUT([
self GOBJECT]));
73 -(void)moveWithChildWidget:(
CGTKWidget*) childWidget andX:(gint) x andY:(gint) y
75 gtk_layout_move(GTK_LAYOUT([
self GOBJECT]), [childWidget
WIDGET], x, y);
78 -(void)putWithChildWidget:(
CGTKWidget*) childWidget andX:(gint) x andY:(gint) y
80 gtk_layout_put(GTK_LAYOUT([
self GOBJECT]), [childWidget
WIDGET], x, y);
83 -(void)setHadjustment:(GtkAdjustment*) adjustment
85 gtk_layout_set_hadjustment(GTK_LAYOUT([
self GOBJECT]), adjustment);
88 -(void)setSizeWithWidth:(guint) width andHeight:(guint) height
90 gtk_layout_set_size(GTK_LAYOUT([
self GOBJECT]), width, height);
93 -(void)setVadjustment:(GtkAdjustment*) adjustment
95 gtk_layout_set_vadjustment(GTK_LAYOUT([
self GOBJECT]), adjustment);
GtkAdjustment * getVadjustment()
id initWithGObject:(GObject *obj)
GtkAdjustment * getHadjustment()
GdkWindow * getBinWindow()