[gnomemm] Re: [gtkmm] additions to the porting guide



Murray Cumming wrote:
We have no gnomemm porting guide yet. Maybe you would like to start one,
in the style of the gtkmm porting guide. And please use

Ok. I have a long list of changes now. I will send the url when it is ready.

Here is some menu stuff:

Gnome::About
Gnome::UI::About and add missing arguments!

Gnome::Pixmap
Gtk::Image

* Menus Stuff:
Gnome::UI::SubTree
Gnome::UI::Items::SubTree

Gnome::UI::Info
Gnome::UI::Items::Info

using namespace Gnome::UI;
using namespace Gnome::UI::MenuItems;

using namespace Gnome::MenuItems;
using namespace Gnome::UI::MenuItems;

Note: Menuitems for standard menuitems, Items for custom menuitems.

Standar Subtree:
using namespace Gnome::Menus
using namespace Gnome::UI::Menus

Custom subtree:
Gnome::UI::Menu
Gnome::UI::Items::Menu

Gnome::UI::Info
Gnome::UI::Items::Info

Gnome::UI::Separator()
Gnome::UI::Items::Separator()

GNOME_STOCK_MENU_NEW
Gtk::Stock::NEW.id

GNOME_STOCK_MENU_PROP
Gtk::Stock::PROPERTIES.id

Gnome::StockPixmap(GNOME_STOCK_PIXMAP_SAVE)
Gtk::Image(Gtk::StockID(Gtk::Stock::SAVE), Gtk::ICON_SIZE_SMALL_TOOLBAR)

To finally build the menu:
Gnome::UI::Array
Gnome::UI::Items::Array

Gnome::UI::SubTree
Gnome::UI::Items::SubTree

--
Manuel Clos
llanero eresmas net

TCPA y Palladium: http://bulmalug.net/body.phtml?nIdNoticia=1398
TCPA and Palladium: http://www.cl.cam.ac.uk/~rja14/tcpa-faq.html




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