Re: [gtkmm] Tooltips on Toolbuttons



On Sat, 2004-10-02 at 18:26, Chris Vine wrote:
> Incidentally, if you are using the in-built Gtk::Tooltips object contained by 
> the Gtk::Toolbar object, you need to call Gtk::Toolbar::set_tooltips(bool), 
> by passing "true" to that method.  It occurs to me that the reason why your 
> tooltips don't work is because you did not do that.

Test-case attached to illustrate the problem: ToolButton::set_tooltip
works fine, Tooltips::set_tip does not.  Uncomment the set_tip line and
comment the set_tooltip line to see what I mean.

Program compiles as normal with `pkgconfig --libs --cflags gtkmm-2.4`.

John





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