Gtk::ToolItemGroup Class Reference
[WidgetsContainer Widgets]

A ToolItemGroup is used together with ToolPalette to add ToolItems to a palette-like container with different categories and drag and drop support. More...

Inherits Gtk::Container.

Collaboration diagram for Gtk::ToolItemGroup:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual ~ToolItemGroup ()
GtkToolItemGroup* gobj ()
 Provides access to the underlying C GtkObject.
const GtkToolItemGroup* gobj () const
 Provides access to the underlying C GtkObject.
 ToolItemGroup (const Glib::ustring& label=Glib::ustring())
void set_label (const Glib::ustring& label)
void set_label_widget (Widget& label_widget)
void set_collapsed (bool collapsed=true)
void set_ellipsize (Pango::EllipsizeMode ellipsize)
void set_header_relief (ReliefStyle style)
Glib::ustring get_label () const
bool get_collapsed () const
Pango::EllipsizeMode get_ellipsize () const
ReliefStyle get_header_relief () const
void insert (ToolItem& item, int position)
void set_item_position (ToolItem& item, int position)
int get_item_position (const ToolItem& item)
guint get_n_items () const
ToolItemget_nth_item (guint index)
const ToolItemget_nth_item (guint index) const
ToolItemget_drop_item (int x, int y)
ToolItemget_drop_item (int x, int y) const

Related Functions

(Note that these are not member functions.)



Gtk::ToolItemGroupwrap (GtkToolItemGroup* object, bool take_copy=false)
 A Glib::wrap() method for this object.

Detailed Description

A ToolItemGroup is used together with ToolPalette to add ToolItems to a palette-like container with different categories and drag and drop support.


Constructor & Destructor Documentation

virtual Gtk::ToolItemGroup::~ToolItemGroup (  )  [virtual]
Gtk::ToolItemGroup::ToolItemGroup ( const Glib::ustring label = Glib::ustring()  )  [explicit]

Member Function Documentation

bool Gtk::ToolItemGroup::get_collapsed (  )  const
ToolItem* Gtk::ToolItemGroup::get_drop_item ( int  x,
int  y 
) const
ToolItem* Gtk::ToolItemGroup::get_drop_item ( int  x,
int  y 
)
Pango::EllipsizeMode Gtk::ToolItemGroup::get_ellipsize (  )  const
ReliefStyle Gtk::ToolItemGroup::get_header_relief (  )  const
int Gtk::ToolItemGroup::get_item_position ( const ToolItem item  ) 
Glib::ustring Gtk::ToolItemGroup::get_label (  )  const
guint Gtk::ToolItemGroup::get_n_items (  )  const
const ToolItem* Gtk::ToolItemGroup::get_nth_item ( guint  index  )  const
ToolItem* Gtk::ToolItemGroup::get_nth_item ( guint  index  ) 
const GtkToolItemGroup* Gtk::ToolItemGroup::gobj (  )  const [inline]

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::Container.

GtkToolItemGroup* Gtk::ToolItemGroup::gobj (  )  [inline]

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::Container.

void Gtk::ToolItemGroup::insert ( ToolItem item,
int  position 
)
void Gtk::ToolItemGroup::set_collapsed ( bool  collapsed = true  ) 
void Gtk::ToolItemGroup::set_ellipsize ( Pango::EllipsizeMode  ellipsize  ) 
void Gtk::ToolItemGroup::set_header_relief ( ReliefStyle  style  ) 
void Gtk::ToolItemGroup::set_item_position ( ToolItem item,
int  position 
)
void Gtk::ToolItemGroup::set_label ( const Glib::ustring label  ) 
void Gtk::ToolItemGroup::set_label_widget ( Widget label_widget  ) 

Friends And Related Function Documentation

Gtk::ToolItemGroup* wrap ( GtkToolItemGroup *  object,
bool  take_copy = false 
) [related]

A Glib::wrap() method for this object.

Parameters:
object The C instance.
take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
Returns:
A C++ instance that wraps this C instance.

The documentation for this class was generated from the following file:

Generated on Mon Jan 4 14:29:46 2010 for gtkmm by  doxygen 1.6.1