Class Index Cross Index Namespace Index

Class Gtk::VButtonBox

A container for arranging buttons vertically.
Contained in: Gtk
Derived from: Gtk::ButtonBox
Derived by: none

#include <gtk--/buttonbox.h>


public function member index:

VButtonBox(GtkButtonBoxStyle layout = GTK_BUTTONBOX_DEFAULT_STYLE, gint spacing = GTK_BUTTONBOX_DEFAULT);
static GtkButtonBoxStyle get_layout_default();
static gint get_spacing_default();
GtkVButtonBox* gtkobj();
const GtkVButtonBox* gtkobj() const;
static bool isA(Object* object);
static void set_layout_default(GtkButtonBoxStyle layout);
static void set_spacing_default(gint spacing);
virtual ~VButtonBox();
 

Description:

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 VButtonBox 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.


Function Member Descriptions:

Gtk::VButtonBox::get_layout_default - Retrieves the current layout used to arrange buttons in button box widgets.

static GtkButtonBoxStyle get_layout_default();
Returns: The current GtkButtonBoxStyle.


Gtk::VButtonBox::get_spacing_default - Retrieves the current default spacing for vertical button boxes.

static gint get_spacing_default();
This is the number of pixels to be placed between the buttons when they are arranged. Returns: The default number of pixels between buttons.


Gtk::VButtonBox::gtkobj - Returns the underlaying gtk+ object.

GtkVButtonBox* gtkobj();

Gtk::VButtonBox::isA - Returns true if object is this type.

static bool isA(Object* object);

Gtk::VButtonBox::set_layout_default - Sets a new layout mode that will be used by all button boxes.

static void set_layout_default(GtkButtonBoxStyle layout);
layout: A new GtkButtonBoxStyle. This is one of: GTK_BUTTONBOX_DEFAULT_STYLE, GTK_BUTTONBOX_SPREAD, GTK_BUTTONBOX_EDGE, GTK_BUTTONBOX_START, or GTK_BUTTONBOX_END.


Gtk::VButtonBox::set_spacing_default - Changes the default spacing that is placed between widgets in an vertical button box.

static void set_spacing_default(gint spacing);
spacing: An integer value.