gtk+-2.0 Reference Manual

Synopsis

public class ToolButton : ToolItem, Implementor, Buildable  {
    public    weak string               icon_name                 { get; set; } ;
    public    weak Widget               icon_widget               { get; set; } ;
    public    weak string               label                     { get; set; } ;
    public    weak Widget               label_widget              { get; set; } ;
    public    weak string               stock_id                  { get; set; } ;
    public    weak bool                 use_underline             { get; set; } ;


    public                              ToolButton                ( Widget              icon_widget,
                                                                    string              label ) ;
    public                              ToolButton.from_stock     ( string              stock_id ) ;


    public    signal void               clicked                   (  )  ;


    public    weak string               get_icon_name             (  ) ;
    public    weak Widget               get_icon_widget           (  ) ;
    public    weak string               get_label                 (  ) ;
    public    weak Widget               get_label_widget          (  ) ;
    public    weak string               get_stock_id              (  ) ;
    public    bool                      get_use_underline         (  ) ;
    public    void                      set_icon_name             ( string              icon_name ) ;
    public    void                      set_icon_widget           ( Widget              icon_widget ) ;
    public    void                      set_label                 ( string              label ) ;
    public    void                      set_label_widget          ( Widget              label_widget ) ;
    public    void                      set_stock_id              ( string              stock_id ) ;
    public    void                      set_use_underline         ( bool                use_underline ) ;
}

ToolButton Description

Details

Constructor Details

ToolButton ()
    public                              ToolButton                ( Widget              icon_widget,
                                                                    string              label ) ;		

ToolButton.from_stock ()
    public                              ToolButton.from_stock     ( string              stock_id ) ;		

Field Details

Signal Details

clicked
    public    signal void               clicked                   (  )  ;		

Property Details

icon_name
    public    weak string               icon_name                 { get; set; } ;		

icon_widget
    public    weak Widget               icon_widget               { get; set; } ;		

label
    public    weak string               label                     { get; set; } ;		

label_widget
    public    weak Widget               label_widget              { get; set; } ;		

stock_id
    public    weak string               stock_id                  { get; set; } ;		

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

Method Details

get_icon_name ()
    public    weak string               get_icon_name             (  ) ;		

get_icon_widget ()
    public    weak Widget               get_icon_widget           (  ) ;		

get_label ()
    public    weak string               get_label                 (  ) ;		

get_label_widget ()
    public    weak Widget               get_label_widget          (  ) ;		

get_stock_id ()
    public    weak string               get_stock_id              (  ) ;		

get_use_underline ()
    public    bool                      get_use_underline         (  ) ;		

set_icon_name ()
    public    void                      set_icon_name             ( string              icon_name ) ;		

set_icon_widget ()
    public    void                      set_icon_widget           ( Widget              icon_widget ) ;		

set_label ()
    public    void                      set_label                 ( string              label ) ;		

set_label_widget ()
    public    void                      set_label_widget          ( Widget              label_widget ) ;		

set_stock_id ()
    public    void                      set_stock_id              ( string              stock_id ) ;		

set_use_underline ()
    public    void                      set_use_underline         ( bool                use_underline ) ;		


Created by Valadoc