Re: Add image to notebook ?



----- Original Message ----- From: "Nil Gradisnik" <ghaefbgtk gmail com>
To: <gtkmm-list gnome org>
Sent: Friday, June 24, 2005 2:53 PM
Subject: Add image to notebook ?


I got another one for you gtkmm experts.

Is there a way to add image/pix to Gtk::Notebook tab beside label ?
I don't think I've seen this before.. but I wonder if it can be done.

You can do this with
Gtk::Notebook::append_page( Widget&  child,  Widget&  tab_label )

if you use a use a HBox as tab_label and pack an Image and a Label in the HBox.

--
Marco



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