I'm sorry Andrew but I'm using GTK+ 2.24.19 and there is not GTKGrid on this version, aren't you aware of an equivalent for version 2.24.19 of GTK+?
Cumprimentos, Rui Pedro Caldeira On Fri, Jun 28, 2013 at 9:33 PM, Rui Pedro Caldeira <rpcalde...@outlook.com>wrote: > I will try that out thanks Andrew. > > Regards, > Rui > > Cumprimentos, > Rui Pedro Caldeira > > > On Fri, Jun 28, 2013 at 7:59 PM, Andrew Potter <agpot...@gmail.com> wrote: > > > On Fri, Jun 28, 2013 at 10:45 AM, Rui Pedro Caldeira > > <rpcalde...@outlook.com> wrote: > > > I have all sorts os GTKWidgets (buttons, labels, comboboxes,...) and a > > > dlg_window. > > > > > > And I would like to know how I can put all those widgets in the > > dlg_window > > > and set their size and position in the window. > > > > Assuming a dlg_window is an object that is or derives from GtkWindow, > > you are probably looking for something that derives from [1] > > GtkContainer, such as the recommended [2] GtkGrid. > > > > The recommended way to use Gtk+ is to use relative positioning and > > alignment, rather than absolute size and position; this allows your > > application to present a usable window across a variety of window > > sizes, languages, and fonts. However, if you _must_ use absolute sizes > > and positions, [3] GtkFixed is available. > > > > [1] https://developer.gnome.org/gtk3/stable/GtkContainer.html > > [2] https://developer.gnome.org/gtk3/stable/GtkGrid.html > > [3] https://developer.gnome.org/gtk3/stable/GtkFixed.html > > _______________________________________________ > > gtk-app-devel-list mailing list > > gtk-app-devel-list@gnome.org > > https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list > > > _______________________________________________ > gtk-app-devel-list mailing list > gtk-app-devel-list@gnome.org > https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list > _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list