Re: [gtkmm] how to right align a MenuItem
- From: Vladislav Grinchenko <3rdshift comcast net>
- To: Carlo Salinari <csali tiscali it>
- Cc: Gtkmm list <gtkmm-list gnome org>
- Subject: Re: [gtkmm] how to right align a MenuItem
- Date: Wed, 07 Apr 2004 23:23:37 -0400
Carlo,
have you tried set_right_justified() :
MenuList& list_bar = m_menu_bar->items ();
list_bar.push_front (MenuElem ("Help",
Gtk::Menu::AccelKey("<control>h"), *help_menu));
list_bar.front ().set_right_justified ();
-Vlad
On Wed, 2004-04-07 at 17:00, Carlo Salinari wrote:
> Hello,
>
> How can I right-align a MenuItem inside a MenuBar?
>
> I'd like to have the "Help" menu always on the rightmost side
> of the menu, but couldn't figure out how to do that.
>
> thanks,
> Carlo
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
--
_____________________________________________________________
Vladislav Grinchenko http://home.comcast.net/~3rdshift/
e-mail: 3rdshift comcast net
Focus on quality, and productivity will follow.
_____________________________________________________________
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]