On Mon, Jun 9, 2014 at 12:59 AM, shiv garg <shivgarg5...@hotmail.com> wrote: > I am developing a gtk application in which I need to insert n no of widgets > at runtime.. > Say a number n that is scanned from user then I need to insert n rows each > containing a button and a checkbox
You can do exactly what you do on startup, it works just fine! The one thing you may need to consider is explicitly showing the widgets, as they won't be caught by show_all(). (Or call show_all() again, of course.) I do this quite a bit in Gypsum, a GTK application written in Pike. On reload, Gypsum will recreate its menu bar and other widgets. The relevant code is here: https://github.com/Rosuav/Gypsum/blob/master/window.pike#L1244 ChrisA _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list