This is an abstract base class from which all classes holding up to 1 widget inside of them derive. It provides access to methods relevent to a single object, such as add_label, add_pixmap, etc.
|
Public Member Functions |
void | add_label (const Glib::ustring& label, bool mnemonic, AlignmentEnum x_align, AlignmentEnum y_align=ALIGN_CENTER) |
| Add a Label object.
|
void | add_label (const Glib::ustring& label, bool mnemonic=false, double x_align=0.5, double y_align=0.5) |
| Add a Label object.
|
void | add_pixlabel (const Glib::ustring& pixfile, const Glib::ustring& label, double x_align=0.5, double y_align=0.5) |
| Add Image and Label objects.
|
void | add_pixlabel (const Glib::RefPtr<Gdk::Pixmap>& pixmap, const Glib::RefPtr<Gdk::Bitmap>& mask, const Glib::ustring& label, double x_align=0.5, double y_align=0.5) |
| Add Image and Label objects.
|
void | add_pixmap (const Glib::RefPtr<Gdk::Pixmap>& pixmap, const Glib::RefPtr<Gdk::Bitmap>& mask) |
| Add an Image object.
|
const Widget* | get_child () const |
Widget* | get_child () |
const GtkBin* | gobj () const |
| Provides access to the underlying C GtkObject.
|
GtkBin* | gobj () |
| Provides access to the underlying C GtkObject.
|
void | remove () |
| Remove the contained object Since this can only hold one object it is not necessary to specify which object to remove like other containers.
|
virtual | ~Bin () |
Protected Member Functions |
| Bin () |
Related Functions |
(Note that these are not member functions.)
|
Gtk::Bin* | wrap (GtkBin* object, bool take_copy=false) |