Hiding a Gnome::UI::App Toolbar

Diego <[email protected]> Wed, 19 Jan 2005 18:24:22 +0100
Newsgroups gmane.comp.gnome.gnomemm
Message-ID <1106155462.4680.36.camel@Lain>
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 <[email protected]>
Web: http://www.goedi.net
GPG ID: 90D266BB
-----------------------------------

_______________________________________________
gnomemm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnomemm-list
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQBB7pfG9XnRGZDSZrsRAnT/AJ9rx8uXleeKaGiOks+Lw8ARZAl2IQCfecL6
GmO3/WSxqhKwTO0So4X0cxs=
=NJoT
-----END PGP SIGNATURE-----