gtkmm: Gtk::HButtonBox Class Reference

A container for arranging buttons horizontally. More...

Inheritance diagram for Gtk::HButtonBox:
Collaboration diagram for Gtk::HButtonBox:

List of all members.

Public Member Functions

virtual ~HButtonBox ()
GtkHButtonBox* gobj ()
 Provides access to the underlying C GtkObject.

const GtkHButtonBox* gobj () const
 Provides access to the underlying C GtkObject.

 HButtonBox (ButtonBoxStyle layout=BUTTONBOX_EDGE, int spacing=BUTTONBOX_DEFAULT_SPACING)

Related Functions

(Note that these are not member functions.)

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


Detailed Description

A container for arranging buttons horizontally.

A button box should be used to provide a consistent layout of buttons throughout your application. There is one default layout and a default spacing value that are persistant across all Gtk::HButtonBox widgets.

The layout/spacing can then be altered by the programmer, or if desired, by the user to alter the 'feel' of a program to a small degree.

The HButtonBox widget looks like this:

hbuttonbox1.png

Constructor & Destructor Documentation

virtual Gtk::HButtonBox::~HButtonBox ( ) [virtual]
Gtk::HButtonBox::HButtonBox ( ButtonBoxStyle  layout = BUTTONBOX_EDGE,
int  spacing = BUTTONBOX_DEFAULT_SPACING 
) [explicit]

Member Function Documentation

GtkHButtonBox* Gtk::HButtonBox::gobj ( ) [inline]

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::ButtonBox.

const GtkHButtonBox* Gtk::HButtonBox::gobj ( ) const [inline]

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::ButtonBox.


Friends And Related Function Documentation

Gtk::HButtonBox* wrap ( GtkHButtonBox *  object,
bool  take_copy = false 
) [related]

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

Parameters:
objectThe C instance.
take_copyFalse 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:
  • gtkmm/buttonbox.h