gtk+-2.0 Reference Manual

Synopsis

public class Toolbar : Container, Implementor, Buildable  {
    public    int                       num_children ;
    public    weak GLib.List            children ;
    public    ToolbarStyle              style ;
    public    int                       button_maxw ;
    public    int                       button_maxh ;
    public    uint                      style_set ;


    public    weak IconSize             icon_size                 { get; set; } ;
    public    weak bool                 icon_size_set             { get; set; } ;
    public    weak Orientation          orientation               { get; set; } ;
    public    weak bool                 show_arrow                { get; set; } ;
    public    weak ToolbarStyle         toolbar_style             { get; set; } ;
    public    weak bool                 tooltips                  { get; set; } ;


    public                              Toolbar                   (  ) ;


    public    signal bool               focus_home_or_end         ( bool                p0 )  ;
    public    signal void               orientation_changed       ( Orientation         orientation )  ;
    public    signal bool               popup_context_menu        ( int                 x,
                                                                    int                 y,
                                                                    int                 button_number )  ;
    public    signal void               style_changed             ( ToolbarStyle        style )  ;


    public    int                       get_drop_index            ( int                 x,
                                                                    int                 y ) ;
    public    IconSize                  get_icon_size             (  ) ;
    public    int                       get_item_index            ( ToolItem            item ) ;
    public    int                       get_n_items               (  ) ;
    public    weak ToolItem             get_nth_item              ( int                 n ) ;
    public    Orientation               get_orientation           (  ) ;
    public    ReliefStyle               get_relief_style          (  ) ;
    public    bool                      get_show_arrow            (  ) ;
    public    ToolbarStyle              get_style                 (  ) ;
    public    bool                      get_tooltips              (  ) ;
    public    void                      insert                    ( ToolItem            item,
                                                                    int                 pos ) ;
    public    void                      set_drop_highlight_item   ( ToolItem            tool_item,
                                                                    int                 index_ ) ;
    public    void                      set_icon_size             ( IconSize            icon_size ) ;
    public    void                      set_orientation           ( Orientation         orientation ) ;
    public    void                      set_show_arrow            ( bool                show_arrow ) ;
    public    void                      set_style                 ( ToolbarStyle        style ) ;
    public    void                      set_tooltips              ( bool                enable ) ;
    public    void                      unset_icon_size           (  ) ;
    public    void                      unset_style               (  ) ;
}

Toolbar Description

Details

Constructor Details

Toolbar ()
    public                              Toolbar                   (  ) ;		

Field Details

num_children
    public    int                       num_children ;		

children
    public    weak GLib.List            children ;		

style
    public    ToolbarStyle              style ;		

button_maxw
    public    int                       button_maxw ;		

button_maxh
    public    int                       button_maxh ;		

style_set
    public    uint                      style_set ;		

Signal Details

focus_home_or_end
    public    signal bool               focus_home_or_end         ( bool                p0 )  ;		

orientation_changed
    public    signal void               orientation_changed       ( Orientation         orientation )  ;		

popup_context_menu
    public    signal bool               popup_context_menu        ( int                 x,
                                                                    int                 y,
                                                                    int                 button_number )  ;		

style_changed
    public    signal void               style_changed             ( ToolbarStyle        style )  ;		

Property Details

icon_size
    public    weak IconSize             icon_size                 { get; set; } ;		

icon_size_set
    public    weak bool                 icon_size_set             { get; set; } ;		

orientation
    public    weak Orientation          orientation               { get; set; } ;		

show_arrow
    public    weak bool                 show_arrow                { get; set; } ;		

toolbar_style
    public    weak ToolbarStyle         toolbar_style             { get; set; } ;		

tooltips
    public    weak bool                 tooltips                  { get; set; } ;		

Method Details

get_drop_index ()
    public    int                       get_drop_index            ( int                 x,
                                                                    int                 y ) ;		

get_icon_size ()
    public    IconSize                  get_icon_size             (  ) ;		

get_item_index ()
    public    int                       get_item_index            ( ToolItem            item ) ;		

get_n_items ()
    public    int                       get_n_items               (  ) ;		

get_nth_item ()
    public    weak ToolItem             get_nth_item              ( int                 n ) ;		

get_orientation ()
    public    Orientation               get_orientation           (  ) ;		

get_relief_style ()
    public    ReliefStyle               get_relief_style          (  ) ;		

get_show_arrow ()
    public    bool                      get_show_arrow            (  ) ;		

get_style ()
    public    ToolbarStyle              get_style                 (  ) ;		

get_tooltips ()
    public    bool                      get_tooltips              (  ) ;		

insert ()
    public    void                      insert                    ( ToolItem            item,
                                                                    int                 pos ) ;		

set_drop_highlight_item ()
    public    void                      set_drop_highlight_item   ( ToolItem            tool_item,
                                                                    int                 index_ ) ;		

set_icon_size ()
    public    void                      set_icon_size             ( IconSize            icon_size ) ;		

set_orientation ()
    public    void                      set_orientation           ( Orientation         orientation ) ;		

set_show_arrow ()
    public    void                      set_show_arrow            ( bool                show_arrow ) ;		

set_style ()
    public    void                      set_style                 ( ToolbarStyle        style ) ;		

set_tooltips ()
    public    void                      set_tooltips              ( bool                enable ) ;		

unset_icon_size ()
    public    void                      unset_icon_size           (  ) ;		

unset_style ()
    public    void                      unset_style               (  ) ;		


Created by Valadoc