Re: Dynamically adding widgets to a window on button click



Check for gtk_container_check_resize

Cheers.
Diego


2009/3/28 Harinandan S <harinandans gmail com>:
> Hi All,
> I am trying to add widgets to a window on clicking a button. When a button
> is clicked, in the callback I add a few buttons and entry boxes to a vbox
> and add attach it to another vbox and show all the widgets created.
> However, I notice that it is not showing the widgets I've created when I
> click the button. Its showing the widgets added if I call the callback
> function myself while creating the window before calling gtk_main();
> Is this approach right to add widgets at runtime to a window?
> Regards,
> Harinandan S
>
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
>
>


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