Hiding a Gnome::UI::App Toolbar



Hello all:

	I'm using a Gnome::UI::App for my app main window and an UIManager for
the menus and toolbars. I add the toolbar from the UIManager in this
way:

---- mainWindow.cc inherited from Gnome::UI::App

Gtk::Toolbar* toolbar = (Gtk::Toolbar*) uiManager->get_toolbar();
set_toolbar(*toolbar);

----
---- 
Gtk::Widget* UIManager::get_toolbar()
{
        return uiManager->get_widget("/ToolBar") ;
}
----

This works fine but ... how can i hide the toolbar ? I hide the toolbar
with uiManager->get_widget("/ToolBar")->hide() but the BonoboDockItem is
still visible.

Please, can anybody help me ? :)

Thank you (and sorry for my bad english)


-- 
-----------------------------------
Diego Fdez. Durán <diego goedi net>
Web: http://www.goedi.net
GPG ID: 90D266BB
-----------------------------------

Attachment: signature.asc
Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente



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