Re: Can I have toolbar button with different sizes?



Maurizio Colucci wrote:

On Sunday 28 December 2003 11:10 am, Gus Koppel wrote:
However, you can use a H/VBox directly (instead of GtkToolbar) to
put your buttons into.

Thank you! I'd like to, but then, how do I get the "flat" button
appearance? This is the very reason why I am using gtk_toolbar...

Maybe this can help you?
http://developer.gnome.org/doc/API/2.0/gtk/GtkButton.html#gtk-button-set-relief

This way you have full control over the "homogeneous" 
behaviour. Furthermore you can put other things than just buttons
into your "toolbar" as well. You can also put it inside a
GtkHandleBox to make its dragable by the user.

Really?

Except top level windows and dialogs you can put almost everything
inside GtkHandleBoxes and for most cases this is a useful feature.

So nautilus doesn't use a gtk_toolbar? 

I don't know. Haven't examined it closer yet. The 3 possibilities are:
1. we both have overlooked a feature of GtkToolbar.
2. they have implemented it the way I suggested, using H/VBoxes.
3. they use their own toolbar widget class with advanced features.



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