Re: Constant widget



On 8/22/07, Nicholas Bishop <nicholasbishop gmail com> wrote:
> Have a look at Gtk::Fixed:
>
> http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1Fixed.html
>
> -Nicholas
>

You can use Gtk::Fixed, but it's not necessarily the best solution.  A
better option is usually just to use different packing options, for
instance PACK_SHRINK [1], or experiment with the 'expand' and 'fill'
arguments in the overloaded pack_start()/end() function [2].  That
said, if Gtk::Fixed does what you want, feel free to use it.

[1] http://gtkmm.org/docs/gtkmm-2.4/docs/reference/html/group__gtkmmEnums.html#g83727a1b6fed51566dfd5c8e58890dba
[2] http://gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1Box.html#1a2894c6723be6147d5c80995fed843a
-- 
jonner



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