Re: [gtk-list] GTK--: table question



Ionut Borcoman at home <borco@mailbox.ro> writes:
> 	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 ? 

I'll make default values for those arguments.
Gtk_Table::Gtk_Table(gint rows=1, gint columns=1, gint homogeneous=FALSE);

(are the defaults usable? :)
-- 
-- Tero Pulkkinen -- terop@modeemi.cs.tut.fi --



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