index
gtk-- homepage



Description:
Gtk_Toolbar

#include <gtk--/toolbar.h>
Base classes: Gtk_Container



Properties:

NameTypeGetSetDescription
num_children gint      
children GList*      
orientation GtkOrientation      
style GtkToolbarStyle      
space_size gint     big optional space between buttons
space_style GtkToolbarSpaceStyle      
tooltips GtkTooltips*      
button_maxw gint      
button_maxh gint      
relief GtkReliefStyle    



Public member index:


Gtk_Toolbar(GtkOrientation orientation=GTK_ORIENTATION_HORIZONTAL,GtkToolbarStyle style=GTK_TOOLBAR_BOTH);
Gtk_Toolbar(GtkToolbar *castitem);
~Gtk_Toolbar();
template <class RECEIVER,class ARG_TYPE > Gtk_Widget *append_item(const _gtk_string &text,const _gtk_string &tooltip_text,const _gtk_string &tooltip_private_text,const Gtk_Pixmap &icon,RECEIVER *receiver,void (RECEIVER ::*method)(ARG_TYPE),ARG_TYPE user_data);
All the *_item() and *_element() methods return allocatedthe "item" here is actually a button. Those should really be

template <class RECEIVER,class ARG_TYPE > Gtk_Widget *prepend_item(const _gtk_string &text,const _gtk_string &tooltip_text,const _gtk_string &tooltip_private_text,const Gtk_Pixmap &icon,RECEIVER *receiver,void (RECEIVER ::*method)(ARG_TYPE),ARG_TYPE user_data);
template <class RECEIVER,class ARG_TYPE > Gtk_Widget *insert_item(const _gtk_string &text,const _gtk_string &tooltip_text,const _gtk_string &tooltip_private_text,const Gtk_Pixmap &icon,RECEIVER *receiver,void (RECEIVER ::*method)(ARG_TYPE),ARG_TYPE user_data,gint position);
template <class RECEIVER,class ARG_TYPE > Gtk_Widget *append_element(GtkToolbarChildType child_type,const _gtk_string &text,const _gtk_string &tooltip_text,const _gtk_string &tooltip_private_text,const Gtk_Pixmap &icon,RECEIVER *receiver,void (RECEIVER ::*method)(ARG_TYPE),ARG_TYPE user_data);
These are slightly more restricted than their gtk counterparts :

template <class RECEIVER,class ARG_TYPE > Gtk_Widget *prepend_element(GtkToolbarChildType child_type,const _gtk_string &text,const _gtk_string &tooltip_text,const _gtk_string &tooltip_private_text,const Gtk_Pixmap &icon,RECEIVER *receiver,void (RECEIVER ::*method)(ARG_TYPE),ARG_TYPE user_data);
template <class RECEIVER,class ARG_TYPE > Gtk_Widget *insert_element(GtkToolbarChildType child_type,const _gtk_string &text,const _gtk_string &tooltip_text,const _gtk_string &tooltip_private_text,const Gtk_Pixmap &icon,RECEIVER *receiver,void (RECEIVER ::*method)(ARG_TYPE),ARG_TYPE user_data,gint position);
template <class RECEIVER,class ARG_TYPE > Gtk_Widget *append_element(GtkToolbarChildType child_type,const _gtk_string &text,const _gtk_string &tooltip_text,const _gtk_string &tooltip_private_text,RECEIVER *receiver,void (RECEIVER ::*method)(ARG_TYPE),ARG_TYPE user_data);
template <class RECEIVER,class ARG_TYPE > Gtk_Widget *prepend_element(GtkToolbarChildType child_type,const _gtk_string &text,const _gtk_string &tooltip_text,const _gtk_string &tooltip_private_text,RECEIVER *receiver,void (RECEIVER ::*method)(ARG_TYPE),ARG_TYPE user_data);
template <class RECEIVER,class ARG_TYPE > Gtk_Widget *insert_element(GtkToolbarChildType child_type,const _gtk_string &text,const _gtk_string &tooltip_text,const _gtk_string &tooltip_private_text,RECEIVER *receiver,void (RECEIVER ::*method)(ARG_TYPE),ARG_TYPE user_data,gint position);
Gtk_Button *append_button(const _gtk_string &text,const _gtk_string &tooltip_text,const _gtk_string &tooltip_private_text,const Gtk_Pixmap &icon,const ToolbarConnectorBase &connector,GtkToolbarChildType button_type=GTK_TOOLBAR_CHILD_BUTTON);
Those are Gtk-- "originals" with no equivalents in the original

Gtk_Button *prepend_button(const _gtk_string &text,const _gtk_string &tooltip_text,const _gtk_string &tooltip_private_text,const Gtk_Pixmap &icon,const ToolbarConnectorBase &connector,GtkToolbarChildType button_type=GTK_TOOLBAR_CHILD_BUTTON);
Gtk_Button *insert_button(const _gtk_string &text,const _gtk_string &tooltip_text,const _gtk_string &tooltip_private_text,const Gtk_Pixmap &icon,const ToolbarConnectorBase &connector,gint position,GtkToolbarChildType button_type=GTK_TOOLBAR_CHILD_BUTTON);
Gtk_Button *append_button(const _gtk_string &text,const _gtk_string &tooltip_text,const _gtk_string &tooltip_private_text,const ToolbarConnectorBase &connector,GtkToolbarChildType button_type=GTK_TOOLBAR_CHILD_BUTTON);
Gtk_Button *prepend_button(const _gtk_string &text,const _gtk_string &tooltip_text,const _gtk_string &tooltip_private_text,const ToolbarConnectorBase &connector,GtkToolbarChildType button_type=GTK_TOOLBAR_CHILD_BUTTON);
Gtk_Button *insert_button(const _gtk_string &text,const _gtk_string &tooltip_text,const _gtk_string &tooltip_private_text,const ToolbarConnectorBase &connector,gint position,GtkToolbarChildType button_type=GTK_TOOLBAR_CHILD_BUTTON);
void append_widget(const Gtk_Widget &widget,const _gtk_string &tooltip_text="",const _gtk_string &tooltip_private_text="");
void prepend_widget(const Gtk_Widget &widget,const _gtk_string &tooltip_text="",const _gtk_string &tooltip_private_text="");
void insert_widget(const Gtk_Widget &widget,const _gtk_string &tooltip_text,const _gtk_string &tooltip_private_text,gint position);
void append_space();
void prepend_space();
void insert_space(gint position);
GtkOrientation get_orientation()const;
void set_orientation(GtkOrientation orientation);
GtkToolbarStyle get_style()const;
void set_style(GtkToolbarStyle style);
gint get_space_size()const;
void set_space_size(gint space_size);
void set_tooltips(bool enable);
void set_button_relief(GtkReliefStyle relief);
GtkReliefStyle get_button_relief();
void set_space_style(GtkToolbarSpaceStyle space_style);
signal void orientation_changed(GtkOrientation);
signal void style_changed(GtkToolbarStyle);
GtkToolbar *gtkobj();
const GtkToolbar *gtkobj()const;
static bool isGtkToolbar(Gtk_Object *checkcast);
Protected member index:


virtual void *get_parent_class();
virtual void orientation_changed_impl(GtkOrientation p1);
virtual void style_changed_impl(GtkToolbarStyle p1);
This list is used to store the Gtk_Widgets constructed from thecreated items so they can be properly destroyed

Private member index:


GtkType get_type();

Public member details:


Protected member details:


Private member details:



Examples:





(pages generated by PERCEPS -script.)