Class Index | Cross Index | Namespace Index |
Create bars of buttons and other widgets.
Contained in: Gtk
Derived from:
Gtk::Container
Derived by:
none
#include <gtk--/toolbar.h>
public function member index: |
||
Toolbar | (GtkOrientation orientation = GTK_ORIENTATION_HORIZONTAL, GtkToolbarStyle style = GTK_TOOLBAR_BOTH); | |
GtkReliefStyle | get_button_relief | () const; |
GtkOrientation | get_orientation | () const; |
gint | get_space_size | () const; |
GtkToolbarSpaceStyle | get_space_style | () const; |
GtkToolbarStyle | get_style | () const; |
GtkToolbar* | gtkobj | (); |
const GtkToolbar* | gtkobj | () const; |
static bool | isA | (Object* object); |
void | set_button_relief | (GtkReliefStyle relief); |
void | set_orientation | (GtkOrientation orientation); |
void | set_space_size | (gint space_size); |
void | set_space_style | (GtkToolbarSpaceStyle space_style); |
void | set_style | (GtkToolbarStyle style); |
void | set_tooltips | (bool enable); |
ToolList& | tools | (); |
const ToolList& | tools | () const; |
virtual | ~Toolbar | (); |
protected function member index: |
||
virtual void | orientation_changed_impl | (GtkOrientation p0); |
virtual void | style_changed_impl | (GtkToolbarStyle p0); |
orientation: A new GtkOrientation. This is one of: GTK_ORIENTATION_HORIZONTAL, or GTK_ORIENTATION_VERTICAL.
space_size: The new number of pixels that spaces should consume.
space_style: The new style for the toolbar's spaces. This is one of: GTK_TOOLBAR_SPACE_EMPTY, or GTK_TOOLBAR_SPACE_LINE.
style: The new style for toolbar. This is one of: GTK_TOOLBAR_ICONS, GTK_TOOLBAR_TEXT, or GTK_TOOLBAR_BOTH.
enable: Set to 0 to disable the tooltips, or 1 to enable them.
For example, this would be a useful signal to connect to if you want to display more items on the toolbar when it is in icon-only mode; each item takes less space on the bar.