index
gtk-- homepage



Description:
Gtk_Bin

#include <gtk--/bin.h>
Base classes: Gtk_Container
Derived by: Gtk_Alignment Gtk_Button Gtk_EventBox Gtk_Frame Gtk_HandleBox Gtk_Invisible Gtk_Item Gtk_ScrolledWindow Gtk_Viewport Gtk_Window

Signal Widget Container
Gtk_Bin is an abstract base class from which all classes holding up to 1 widget inside of them. It provides access to methods relevent to a single object like add_label, add_pixmap, etc.



Properties:


Public member index:


static GtkType get_type();
GtkBin *gtkobj();
const GtkBin *gtkobj()const;
static bool isA(Gtk_Object *checkcast);
virtual ~Gtk_Bin();
Gtk_Widget *get_child()const;
void remove();
Remove the contained object

void add_label(const string &label,gfloat x=0 . 0,gfloat y=0 . 5);
void add_pixmap(const Gdk_Pixmap &pixmap,const Gdk_Bitmap &bitmap);
void add_pixlabel(const Gdk_Pixmap &pixmap,const Gdk_Bitmap &bitmap,const string &label,gfloat x=0 . 0,gfloat y=0 . 5);
Protected member index:


void initialize_class();
void *get_parent_class();
static void init_parent_class();
explicit Gtk_Bin(GtkBin *castitem);
Gtk_Bin();
Private member index:


Gtk_Bin(const Gtk_Bin &);
Gtk_Bin &operator =(const Gtk_Bin &);

Public member details:


remove
void Gtk_Bin::remove();

Remove the contained object
Since Gtk_Bin can only hold one object it is not necessary to specify which object to remove like other containers.


Protected member details:



Private member details:



Examples:





(pages generated by PERCEPS -script.)