Reference Manual
Inti Logo
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

Inti::Gtk::VButtonBox Class Reference

A GtkVButtonBox C++ wrapper class. More...

#include <inti/gtk/buttonbox.h>

Inheritance diagram for Inti::Gtk::VButtonBox:

Inti::Gtk::ButtonBox Inti::Gtk::Box Inti::Gtk::Container Inti::Gtk::Widget Inti::Gtk::Object Inti::Atk::Implementor Inti::G::Object Inti::G::TypeInterface Inti::G::TypeInstance Inti::MemoryHandler Inti::G::TypeInstance Inti::ReferencedBase Inti::ReferencedBase List of all members.

Public Member Functions

Constructors
Accessors

Protected Member Functions

Constructors

Detailed Description

A GtkVButtonBox C++ wrapper class.

A button box should be used to provide a consistent layout of buttons throughout your application. The layout/spacing can be altered by the programmer, or if desired, by the user to alter the 'feel' of a program to a small degree.

Buttons are packed into a button box the same way widgets are added to any other container, using Gtk::Container::add(). You can also use Gtk::Box::pack_start() or Gtk::Box::pack_end(), but for button boxes both these functions work just like Gtk::Container::add(), ie., they pack the button in a way that depends on the current layout style, and on whether set_child_secondary() has been called on it. The spacing between buttons can be set with Gtk::Box::set_spacing(). The arrangement and layout of the buttons can be changed with Gtk::ButtonBox::set_layout().


Constructor & Destructor Documentation

Inti::Gtk::VButtonBox::VButtonBox GtkVButtonBox *  vbutton_box,
bool  reference = false
[explicit, protected]
 

Construct a new VButtonBox from an existing GtkVButtonBox.

Parameters:
vbutton_box A pointer to a GtkVButtonBox.
reference Set false if the initial reference count is floating, set true if it's not.

The vbutton_box can be a newly created GtkVButtonBox or an existing GtkVButtonBox. (see G::Object::Object).

Inti::Gtk::VButtonBox::VButtonBox ButtonBoxStyle  layout = BUTTONBOX_DEFAULT_STYLE,
int  spacing = 0
[explicit]
 

Construct a new VButtonBox with the specified layout and spacing.

Parameters:
layout The way buttons are arranged in the button box.
spacing The number of pixels to place between children of the button box.


The documentation for this class was generated from the following file: Main Page - Footer


Generated on Sun Sep 14 20:08:22 2003 for Inti by doxygen 1.3.2 written by Dimitri van Heesch, © 1997-2002