Re: Tooltip on a Gtk::Lable or Gtk::Entry



On Fri, 2006-03-31 at 20:26 +0200, Francis BACQUE wrote:
> On Fri, 31 Mar 2006 13:00:58 -0300 (ART)
> Marcelo David <mdsbrasil yahoo com br> wrote:
> 
> > How can I put a tooltip on a Gtk::Label or on a
> > Gtk::Entry?
> 
> Gtk::Tooltips* tooltips = Gtk::manage(new Gtk::Tooltips());
> tooltips->set_tip(*my_label, "Oh, my label!");

Or it's even easier with Glade and libglademm.

-- 
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com




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