Re: Dynamically adding widgets to a window on button click

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

 



Check for gtk_container_check_resize

Cheers.
Diego


2009/3/28 Harinandan S <harinandans@xxxxxxxxx>:
> 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@xxxxxxxxx
> http://mail.gnome.org/mailman/listinfo/gtk-list
>
>
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux