gtk+-2.0 Reference Manual

Synopsis

public class ToggleButton : Button, Implementor, Buildable  {
    public    weak bool                 active                    { get; set; } ;
    public    weak bool                 draw_indicator            { get; set; } ;
    public    weak bool                 inconsistent              { get; set; } ;


    public                              ToggleButton              (  ) ;
    public                              ToggleButton.with_label   ( string              label ) ;
    public                              ToggleButton.with_mnemonic ( string              label ) ;


    public    signal void               toggled                   (  )  ;


    public    bool                      get_active                (  ) ;
    public    bool                      get_inconsistent          (  ) ;
    public    bool                      get_mode                  (  ) ;
    public    void                      set_active                ( bool                is_active ) ;
    public    void                      set_inconsistent          ( bool                setting ) ;
    public    void                      set_mode                  ( bool                draw_indicator ) ;
}

ToggleButton Description

Details

Constructor Details

ToggleButton ()
    public                              ToggleButton              (  ) ;		

ToggleButton.with_label ()
    public                              ToggleButton.with_label   ( string              label ) ;		

ToggleButton.with_mnemonic ()
    public                              ToggleButton.with_mnemonic ( string              label ) ;		

Field Details

Signal Details

toggled
    public    signal void               toggled                   (  )  ;		

Property Details

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

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

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

Method Details

get_active ()
    public    bool                      get_active                (  ) ;		

get_inconsistent ()
    public    bool                      get_inconsistent          (  ) ;		

get_mode ()
    public    bool                      get_mode                  (  ) ;		

set_active ()
    public    void                      set_active                ( bool                is_active ) ;		

set_inconsistent ()
    public    void                      set_inconsistent          ( bool                setting ) ;		

set_mode ()
    public    void                      set_mode                  ( bool                draw_indicator ) ;		


Created by Valadoc