Re: How to add Gtk::Entry to ToolBar?



Hi !

Gtk::ToolItem[1] is the answer. As it is a container, it can hold any widget. Simply add a Gtk::Entry as a child and then add the Gtk::ToolItem to the tool bar.

[1] <http://library.gnome.org/devel/gtkmm/stable/classGtk_1_1ToolItem.html>

Regards.
Guillaume


Le 23/07/2010 12:57, SigSev a écrit :
Hi all.
As in the subject. How can I add Gtk::Entry or another widget to ToolBar?
Example <http://img96.imageshack.us/img96/3834/entrytoolbar.png>
------------------------------------------------------------------------
View this message in context: How to add Gtk::Entry to ToolBar?
<http://old.nabble.com/How-to-add-Gtk%3A%3AEntry-to-ToolBar--tp29246272p29246272.html>
Sent from the Gtkmm mailing list archive
<http://old.nabble.com/Gtkmm-f1344.html> at Nabble.com.



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