32 #import "CoreGTK/CGTKBox.h" 36 -(id)initWithOrientation:(GtkOrientation) orientation andSpacing:(gint) spacing
38 self = [
super initWithGObject:(GObject *)gtk_box_new(orientation, spacing)];
55 return gtk_box_get_baseline_position(GTK_BOX([
self GOBJECT]));
60 return [[
CGTKWidget alloc] initWithGObject:(GObject *)gtk_box_get_center_widget(GTK_BOX([
self GOBJECT]))];
65 return (gtk_box_get_homogeneous(GTK_BOX([
self GOBJECT])) ? YES : NO);
70 return gtk_box_get_spacing(GTK_BOX([
self GOBJECT]));
73 -(void)packEndWithChild:(
CGTKWidget*) child andExpand:(BOOL) expand andFill:(BOOL) fill andPadding:(guint) padding
75 gtk_box_pack_end(GTK_BOX([
self GOBJECT]), [child
WIDGET], (expand ? TRUE : FALSE), (fill ? TRUE : FALSE), padding);
78 -(void)packStartWithChild:(
CGTKWidget*) child andExpand:(BOOL) expand andFill:(BOOL) fill andPadding:(guint) padding
80 gtk_box_pack_start(GTK_BOX([
self GOBJECT]), [child
WIDGET], (expand ? TRUE : FALSE), (fill ? TRUE : FALSE), padding);
83 -(void)queryChildPackingWithChild:(
CGTKWidget*) child andExpand:(gboolean*) expand andFill:(gboolean*) fill andPadding:(guint*) padding andPackType:(GtkPackType*) packType
85 gtk_box_query_child_packing(GTK_BOX([
self GOBJECT]), [child
WIDGET], expand, fill, padding, packType);
88 -(void)reorderChildWithChild:(
CGTKWidget*) child andPosition:(gint) position
90 gtk_box_reorder_child(GTK_BOX([
self GOBJECT]), [child
WIDGET], position);
93 -(void)setBaselinePosition:(GtkBaselinePosition) position
95 gtk_box_set_baseline_position(GTK_BOX([
self GOBJECT]), position);
100 gtk_box_set_center_widget(GTK_BOX([
self GOBJECT]), [widget
WIDGET]);
103 -(void)setChildPackingWithChild:(
CGTKWidget*) child andExpand:(BOOL) expand andFill:(BOOL) fill andPadding:(guint) padding andPackType:(GtkPackType) packType
105 gtk_box_set_child_packing(GTK_BOX([
self GOBJECT]), [child
WIDGET], (expand ? TRUE : FALSE), (fill ? TRUE : FALSE), padding, packType);
108 -(void)setHomogeneous:(BOOL) homogeneous
110 gtk_box_set_homogeneous(GTK_BOX([
self GOBJECT]), (homogeneous ? TRUE : FALSE));
113 -(void)setSpacing:(gint) spacing
115 gtk_box_set_spacing(GTK_BOX([
self GOBJECT]), spacing);
id initWithGObject:(GObject *obj)
GtkBaselinePosition getBaselinePosition()
CGTKWidget * getCenterWidget()