class Inti::Gtk::Container

Name

class Inti::Gtk::Container -- 

Synopsis

class Inti::Gtk::Container is declared in the header inti/gtk/container.h.

This is an abstract base class, and may not be instantiated.

Superclasses. Widget

Subclasses. Paned, Bin, MenuShell, Table, Notebook, Box

Class members

Public Methods.
GtkContainer * gtk_container () const
void add (Inti::Gtk::Widget* widget)
void remove (Inti::Gtk::Widget* widget)
const AddProxyType sig_add ()
const RemoveProxyType sig_remove ()
void for_each (Slot1<void,Widget*> * slot)
bool focus (DirectionType direction)
int border_width () const
void set_border_width (unsigned int border_width)
vector<Widget*> children () const

Protected Constructors.
Container (GtkContainer * src, GtkContainerClass* orig)
Container ()

Protected Destructor.
virtual  ~Container () = 0

Protected Virtual Methods.
virtual void for_all_impl (bool include_internals, const Slot1<void,Widget*> * slot)
virtual bool focus_impl (DirectionType direction)
virtual void add_impl (Widget * child)
virtual void remove_impl (Widget * child)
virtual void on_add (Widget * child)
virtual void on_remove (Widget * child)

Protected Methods.
void set_reallocate_redraws (bool needs_redraws)
void set_focus_child (Inti::Gtk::Widget* child)
void set_focus_vadjustment (Inti::Gtk::Adjustment* adjustment)
void set_focus_hadjustment (Inti::Gtk::Adjustment* adjustment)
void resize_children ()

Description

Public Typedefs

typedef Inti::Gtk::Container::AddProxyType

typedef SignalProxy<Object,AddSignalType> AddProxyType

typedef Inti::Gtk::Container::RemoveProxyType

typedef SignalProxy<Object,RemoveSignalType> RemoveProxyType

Public Methods

method Inti::Gtk::Container::gtk_container

GtkContainer * gtk_container () const

method Inti::Gtk::Container::add

void add (Inti::Gtk::Widget* widget)

widget 

method Inti::Gtk::Container::remove

void remove (Inti::Gtk::Widget* widget)

widget 

method Inti::Gtk::Container::sig_add

const AddProxyType sig_add ()

method Inti::Gtk::Container::sig_remove

const RemoveProxyType sig_remove ()

method Inti::Gtk::Container::for_each

void for_each (Slot1<void,Widget*> * slot)

slot 

method Inti::Gtk::Container::focus

bool focus (DirectionType direction)

direction 

method Inti::Gtk::Container::border_width

int border_width () const

method Inti::Gtk::Container::set_border_width

void set_border_width (unsigned int border_width)

border_width 

method Inti::Gtk::Container::children

vector<Widget*> children () const

Protected Typedefs

typedef Inti::Gtk::Container::AddSignalType

typedef WrapSignal1<void,Widget * > AddSignalType

typedef Inti::Gtk::Container::RemoveSignalType

typedef WrapSignal1<void,Widget * > RemoveSignalType

Protected Constructors

method Inti::Gtk::Container::Container

Container (GtkContainer * src, GtkContainerClass* orig)

src 
orig 

method Inti::Gtk::Container::Container

Container ()

Protected Destructor

method Inti::Gtk::Container::~Container

virtual  ~Container () = 0

Protected Virtual Methods

method Inti::Gtk::Container::for_all_impl

virtual void for_all_impl (bool include_internals, const Slot1<void,Widget*> * slot)

include_internals 
slot 

method Inti::Gtk::Container::focus_impl

virtual bool focus_impl (DirectionType direction)

direction 

method Inti::Gtk::Container::add_impl

virtual void add_impl (Widget * child)

child 

method Inti::Gtk::Container::remove_impl

virtual void remove_impl (Widget * child)

child 

method Inti::Gtk::Container::on_add

virtual void on_add (Widget * child)

child 

method Inti::Gtk::Container::on_remove

virtual void on_remove (Widget * child)

child 

Protected Methods

method Inti::Gtk::Container::set_reallocate_redraws

void set_reallocate_redraws (bool needs_redraws)

needs_redraws 

method Inti::Gtk::Container::set_focus_child

void set_focus_child (Inti::Gtk::Widget* child)

child 

method Inti::Gtk::Container::set_focus_vadjustment

void set_focus_vadjustment (Inti::Gtk::Adjustment* adjustment)

adjustment 

method Inti::Gtk::Container::set_focus_hadjustment

void set_focus_hadjustment (Inti::Gtk::Adjustment* adjustment)

adjustment 

method Inti::Gtk::Container::resize_children

void resize_children ()

Protected Variables

variable Inti::Gtk::Container::add_signal

static const AddSignalType add_signal

variable Inti::Gtk::Container::remove_signal

static const RemoveSignalType remove_signal