Re: [gtkmm] pack_start and AttachOptions is still confusing



Murray Cumming wrote:
On Sat, 2002-07-13 at 12:57, Martin Schulze wrote:

           Gtk::SHRINK         for (false, false),
           Gtk::EXPAND_PADDING for (true, false),
           Gtk::EXPAND_FILL    for (true, true)


This is my favourite so far. So that's:
Gtk::SHRINK         = (false, false) = Gtk::SHRINK
Gtk::EXPAND_PADDING = (true, false)  = Gtk::EXPAND
Gtk::EXPAND_FILL    = (true, true)   = Gtk::EXPAND | Gtk::FILL

It has the advantage that it's not so different than the current system.


I could live with this too, though I still find FILL a bit non-intuitive, but with the "PADDING" there it's understandable.

--
Michael Babcock
Jim Henson's Creature Shop





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