Re: [gtk-list] RE:menu bar justification ?
- From: Raph Levien <raph acm org>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] RE:menu bar justification ?
- Date: Sat, 14 Jun 1997 19:51:47 -0700 (PDT)
On Sun, 15 Jun 1997 email@example.com wrote:
> >The menubar append function doesn't seem to have a justification
> >parameter. If I want to move the "Help" menu to the right most corner
> >of the screen, I have to put it on a separate menubar, which exposes
> >the border between the two menubars that I can't eliminate.
> >Is there an easy solution that I'm overlooking or does this require a
> >new widget ?
> 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.
You could, of course, set up a spacer of the correct size when the window
is created, but it wouldn't do the right thing when you resized the
] [Thread Prev