Re: [gtk-list] Re: RE:menu bar justification ?



On Sat, 14 Jun 1997, Raph Levien wrote:

> > If you can add arbitrary widgets onto the menu bar, couldn't you add a
> > blank label set to be as wide as possible just to the left of the Help
> > menu? This ought to push the Help menu off to the far right, right
> > justifying it. Can you do this in gtk?
> 
> Nope. Gtk's size negotiation doesn't include the concept of glue. Some 
> other toolkits, such as Fresco, do.

gtkbox.h have expand and fill attributes.  Wouldn't that do what you are
looking for?  Of course, that only applies to box children.  I haven't
looked enough at the menu stuff to figure out if that is helpful.  Probably
not.

This is another thing that should apply to all widgets.  (fill, expand)
I assume this would be a difficult change?

--
Shawn T. Amundson		University of Minnesota
Systems Administration	 	Computer Science System Staff
amundson@cs.umn.edu	  	http://www.cs.umn.edu/~amundson/     	

"I'm not aware of too many things
 I know what I know if you know what I mean" 
		-Edie Brickell



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