gtk_table_attach()

2011-08-10 Thread John Emmas
Using gtk_table_atttach() I can attach widgets to a table. Suppose the table is in a dialog box. I hide the dialog but next time I display it, I want some other widget to occupy the same space. There doesn't seem to be a 'gtk_table_detach()' function - so:- 1) Is there some other way to

Re: gtk_table_attach()

2011-08-10 Thread Jannis Pohlmann
On Wed, 10 Aug 2011 15:41:35 +0100 John Emmas john...@tiscali.co.uk wrote: Using gtk_table_atttach() I can attach widgets to a table. Suppose the table is in a dialog box. I hide the dialog but next time I display it, I want some other widget to occupy the same space. There doesn't seem to

Re: gtk_table_attach()

2011-08-10 Thread John Emmas
On 10 Aug 2011, at 15:49, Jannis Pohlmann wrote: GtkTable inherits from GtkContainer so you can just call gtk_container_remove(table, widget). Be sure to grab a reference on the widget if you don't want it to be destroyed after the removal from the table. [...] Whether this makes