Re: Question ... Toolbars



On Mon, 15 Jul 2002, Moritz Balz wrote:

I would be glad if someone could answer me a little question relating
toolbars:
How can I make my toolbar use *not* the same width for all items, as it
does by default?
I want the toolbar items to have only the width they really need, and
not the width of the largest item.
In GEdit and other applications I've seen that this is possible, but I
found no way to set this up in my prog.

I suspect you'll have to create the toolbar items as "custom" widgets
(so you can specify the size of each), then attach them with

gtk_toolbar_append_widget()

rather than the more automated gtk_toolbar_append_item().

Allin Cottrell.






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