68 Table(
short int rows,
short int cols,
bool homogeneous=
true, GtkAttachOptions xOpt=GTK_EXPAND, GtkAttachOptions yOpt=GTK_EXPAND, uint xPad=0, uint yPad=0){
69 initialise(rows, cols, homogeneous, xOpt, yOpt, xPad, yPad);
82 void initialise(
short int rows=2,
short int cols=2,
bool homogeneous=
true, GtkAttachOptions xOpt=GTK_FILL, GtkAttachOptions yOpt=GTK_FILL, uint xPad=0, uint yPad=0){
83 widget=gtk_table_new(rows, cols, homogeneous);
93 gtk_table_set_homogeneous(GTK_TABLE(
widget),homogeneous);
100 void setOptions(GtkAttachOptions xOpt, GtkAttachOptions yOpt){
111 void setRegion(
short int x_s,
short int x_e,
short int y_s,
short int y_e){
121 void placeWidget(GtkWidget *obj, GtkAttachOptions xOpt, GtkAttachOptions yOpt){
155 if ((gtk_major_version<=2) & (gtk_minor_version<22))
156 g_object_get (GTK_TABLE(
widget),
"n-rows", rows,
"n-columns", cols, NULL);
158 gtk_table_get_size(GTK_TABLE(
widget), rows, cols);
174 gtk_table_resize(GTK_TABLE(
widget), rows, cols);
182 setRegion(region[0], region[1], region[2], region[3]);
201 Table& operator <<(LinkList<GtkWidget *> &ll) {
202 ll.grab(1); ll.prev();
203 for (
int i=0;i<ll.getCount();i++)
208 gtk_container_remove(GTK_CONTAINER(
widget),obj);