Re: [gtkmm] Tooltips with gtkmm-2.3
- From: Murray Cumming <murrayc murrayc com>
- To: Chris Vine <chris cvine freeserve co uk>
- Cc: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: [gtkmm] Tooltips with gtkmm-2.3
- Date: Fri, 09 Apr 2004 18:00:08 +0200
On Fri, 2004-04-09 at 15:19, Chris Vine wrote:
> To follow up on my own post and to help any others with this problem, I have
> found two ways of getting tooltips to work with Gtk::Toolbar:
>
> The hack, which uses the Gtk::Tooltips object provided by Gtk::Toolbar -
> Gtk::Toolbar* toolbar_p = manage(new Gtk::Toolbar);
> toolbar_p->set_tooltips(true);
> Gtk::Tooltips* tooltips_p = Glib::wrap(tool_bar.gobj()->tooltips, false);
> Gtk::ToolButton* button_p = manage(new Gtk::ToolButton(image));
> button_p->set_tooltip(*tooltips_p, "Tooltips text");
Yes, I noticed this before:
http://bugzilla.gnome.org/show_bug.cgi?id=127726
I will add a Gtk::Toolbar::get_tooltips_object() accessor. Thanks for
reminding me. I guess that solves the problem.
--
Murray Cumming
www.murrayc.com
murrayc murrayc com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]