Re: menubar alignment question
- From: Christian Dywan <christian imendio com>
- To: gtk-devel-list gnome org
- Subject: Re: menubar alignment question
- Date: Mon, 23 Jun 2008 17:28:23 +0200
Am Mon, 23 Jun 2008 11:08:44 -0400 (EDT)
schrieb Allin Cottrell <cottrell wfu edu>:
> Using GtkItemFactory one could push a certain menu to the
> right-hand end of a menubar (i.e. right-justify it) using the
> "<LastBranch>" tag. This was useful, e.g., for making a "Help"
> menu stand out.
>
> Is there any way to do this when creating a menubar with
> GtkUIManager? I tried putting in a
>
> <separator expand='true'/>
>
> before the last item, but this didn't do anything useful (it
> inserted a minuscule horizontal line before the item).
>
I am not aware of any UIManager syntax for that. For the one case where
I need that (a throbber) I just have a call to
gtk_menu_item_set_right_justified
in my code that inserts a widget there.
Incidentally right justified Help menus are not considered very
agreeable anymore since a long time, so it might be a chance to think
that menu over.
Yours,
Christian
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]