Class Index | Cross Index | Namespace Index |
A container for arranging buttons horizontally.
Contained in: Gtk
Derived from:
Gtk::ButtonBox
Derived by:
none
#include <gtk--/buttonbox.h>
public function member index: |
||
HButtonBox | (GtkButtonBoxStyle layout = GTK_BUTTONBOX_DEFAULT_STYLE, gint spacing = GTK_BUTTONBOX_DEFAULT); | |
static GtkButtonBoxStyle | get_layout_default | (); |
static gint | get_spacing_default | (); |
GtkHButtonBox* | gtkobj | (); |
const GtkHButtonBox* | gtkobj | () const; |
static bool | isA | (Object* object); |
static void | set_layout_default | (GtkButtonBoxStyle layout); |
static void | set_spacing_default | (gint spacing); |
virtual | ~HButtonBox | (); |
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.
layout: The way in which buttons will fit into the box. One of: GTK_BUTTONBOX_DEFAULT_STYLE, GTK_BUTTONBOX_SPREAD, GTK_BUTTONBOX_EDGE, GTK_BUTTONBOX_START, GTK_BUTTONBOX_ENDspacing: The number of pixels between widgets.
Returns: The current GtkButtonBoxStyle.
This is the number of pixels to be placed between the buttons when they are arranged.Returns: The default number of pixels between buttons.
layout: A new GtkButtonBoxStyle.
spacing: an integer value.