GFC Logo GFC Title Logo
Reference Manual
Main Page  |  Namespace List  |  Alphabetical List  |  Class List  |  File List

GFC::Gtk::VButtonBox Class Reference

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

#include <gfc/gtk/buttonbox.hh>

Inheritance diagram for GFC::Gtk::VButtonBox:

GFC::Gtk::ButtonBox GFC::Gtk::Box GFC::Gtk::Container GFC::Gtk::Widget GFC::Gtk::Object GFC::Atk::Implementor GFC::G::Object GFC::G::TypeInterface GFC::G::TypeInstance GFC::G::TypeInstance GFC::Trackable GFC::Trackable 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

GFC::Gtk::VButtonBox::VButtonBox GtkVButtonBox *  vbutton_box,
bool  owns_reference = false
[explicit, protected]
 

Construct a new VButtonBox from an existing GtkVButtonBox.

Parameters:
vbutton_box A pointer to a GtkVButtonBox.
owns_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).

GFC::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:
Generated on Tue Aug 24 00:34:37 2004 for GFC-UI by doxygen 1.3.8