32 #import "CoreGTK/CGTKTable.h" 36 -(id)initWithRows:(guint) rows andColumns:(guint) columns andHomogeneous:(BOOL) homogeneous
38 self = [
super initWithGObject:(GObject *)gtk_table_new(rows, columns, (homogeneous ?
TRUE : FALSE))];
50 return GTK_TABLE([
self GOBJECT]);
53 -(void)attachWithChild:(
CGTKWidget*) child andLeftAttach:(guint) leftAttach andRightAttach:(guint) rightAttach andTopAttach:(guint) topAttach andBottomAttach:(guint) bottomAttach andXoptions:(GtkAttachOptions) xoptions andYoptions:(GtkAttachOptions) yoptions andXpadding:(guint) xpadding andYpadding:(guint) ypadding
55 gtk_table_attach(GTK_TABLE([
self GOBJECT]), [child
WIDGET], leftAttach, rightAttach, topAttach, bottomAttach, xoptions, yoptions, xpadding, ypadding);
58 -(void)attachDefaultsWithWidget:(
CGTKWidget*) widget andLeftAttach:(guint) leftAttach andRightAttach:(guint) rightAttach andTopAttach:(guint) topAttach andBottomAttach:(guint) bottomAttach
60 gtk_table_attach_defaults(GTK_TABLE([
self GOBJECT]), [widget
WIDGET], leftAttach, rightAttach, topAttach, bottomAttach);
63 -(guint)getColSpacing:(guint) column
65 return gtk_table_get_col_spacing(GTK_TABLE([
self GOBJECT]), column);
70 return gtk_table_get_default_col_spacing(GTK_TABLE([
self GOBJECT]));
75 return gtk_table_get_default_row_spacing(GTK_TABLE([
self GOBJECT]));
80 return (gtk_table_get_homogeneous(GTK_TABLE([
self GOBJECT])) ? YES : NO);
83 -(guint)getRowSpacing:(guint) row
85 return gtk_table_get_row_spacing(GTK_TABLE([
self GOBJECT]), row);
88 -(void)getSizeWithRows:(guint*) rows andColumns:(guint*) columns
90 gtk_table_get_size(GTK_TABLE([
self GOBJECT]), rows, columns);
93 -(void)resizeWithRows:(guint) rows andColumns:(guint) columns
95 gtk_table_resize(GTK_TABLE([
self GOBJECT]), rows, columns);
98 -(void)setColSpacingWithColumn:(guint) column andSpacing:(guint) spacing
100 gtk_table_set_col_spacing(GTK_TABLE([
self GOBJECT]), column, spacing);
103 -(void)setColSpacings:(guint) spacing
105 gtk_table_set_col_spacings(GTK_TABLE([
self GOBJECT]), spacing);
108 -(void)setHomogeneous:(BOOL) homogeneous
110 gtk_table_set_homogeneous(GTK_TABLE([
self GOBJECT]), (homogeneous ? TRUE : FALSE));
113 -(void)setRowSpacingWithRow:(guint) row andSpacing:(guint) spacing
115 gtk_table_set_row_spacing(GTK_TABLE([
self GOBJECT]), row, spacing);
118 -(void)setRowSpacings:(guint) spacing
120 gtk_table_set_row_spacings(GTK_TABLE([
self GOBJECT]), spacing);
guint getDefaultColSpacing()
id initWithGObject:(GObject *obj)
guint getDefaultRowSpacing()