Re: [gtkmm] how to right align a MenuItem
- From: "Andreas B. Thun" <abt gmx de>
- To: Carlo Salinari <csali tiscali it>
- Cc: gtkmm-list gnome org
- Subject: Re: [gtkmm] how to right align a MenuItem
- Date: Thu, 08 Apr 2004 08:54:06 +0200
Here is some code 4 you:
// Assemble
MenuList& menuBarItems = m_menuBar->items();
menuBarItems.push_front(MenuElem("_Help",
Menu::AccelKey("<control>h"), *helpMenu));
menuBarItems.front().set_right_justified();
menuBarItems.push_front(MenuElem("_Options",
Menu::AccelKey("<control>o"), *m_optionsMenu));
menuBarItems.push_front(MenuElem("_View",
Menu::AccelKey("<control>v"), *m_viewMenu));
menuBarItems.push_front(MenuElem("_File",
Menu::AccelKey("<control>f"), *m_fileMenu));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]