[Glade-users] Statusbar



On 12/02/2012 03:42 AM, Jesper K. Pedersen wrote:
On Sat, 01 Dec 2012 07:26:54 -0600
John Thornton <jthornton at gnipsel.com> wrote:

When you pick a statusbar it gives you the option of selecting number
of items. What does this mean for a statusbar?


A gtk statusbar works as a stack. You can push messages onto it - and
pop them off again. The number of items is just the amount of messages
you can push onto the stack.


Actually, it's best to just ignore this 'number of items' thing.

The reason that shows up is because GtkStatusBar derives from GtkBox,
and Glade uses a special "number of items" virtual property on GtkBox
in order to control how many placeholders to add to the box in
Glade's workspace (the placeholders are the things allowing you
to add child widgets).

The number-of-items special property should be disabled for
status bars (the fact it shows up is a bug).

Cheers,
          -Tristan

Best regards
JesperKP
_______________________________________________
Glade-users maillist  -  Glade-users at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/glade-users






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