GTK--: table question



Hi,

I have recently discovered that I can append widgets in a table over its
declared dimensions. For instance, if I have an 2x2 table, I can add a
label like this:

	gtk_table_attach(GTK_TABLE(table), label, 0,1,2,3, GTK_FILL,GTK_FILL,
0,0 );

The table will grow to 3x2 and no error will be reported.

Question: What's the drawback of this ? If this is correct, why don't we
have an constructor like:
	
	Gtk_Table::Gtk_Table();

Is this resizeing extremely resource expencive or I can use it without
making many problems to myself ? 

TIA,

Ionutz



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]