gtk+-2.0 Reference Manual

Synopsis

public class Action : Object, Buildable  {
    public    weak ActionGroup          action_group              { get; set; } ;
    public    weak bool                 hide_if_empty             { get; set; } ;
    public    weak string               icon_name                 { get; set; } ;
    public    weak bool                 is_important              { get; set; } ;
    public    weak string               label                     { get; set; } ;
    public    weak string               name                      { get; construct } ;
    public    weak bool                 sensitive                 { get; set; } ;
    public    weak string               short_label               { get; set; } ;
    public    weak string               stock_id                  { get; set; } ;
    public    weak string               tooltip                   { get; set; } ;
    public    weak bool                 visible                   { get; set; } ;
    public    weak bool                 visible_horizontal        { get; set; } ;
    public    weak bool                 visible_overflown         { get; set; } ;
    public    weak bool                 visible_vertical          { get; set; } ;


    public                              Action                    ( string              name,
                                                                    string?             label,
                                                                    string?             tooltip,
                                                                    string?             stock_id ) ;


    public    signal void               activate                  (  )  ;


    public    void                      block_activate_from       ( Widget              proxy ) ;
    public    void                      connect_accelerator       (  ) ;
    public    weak Widget               create_icon               ( IconSize            icon_size ) ;
    public    void                      disconnect_accelerator    (  ) ;
    public    weak GLib.Closure         get_accel_closure         (  ) ;
    public    weak string               get_accel_path            (  ) ;
    public    weak string               get_name                  (  ) ;
    public    weak GLib.SList           get_proxies               (  ) ;
    public    bool                      get_sensitive             (  ) ;
    public    bool                      get_visible               (  ) ;
    public    bool                      is_sensitive              (  ) ;
    public    bool                      is_visible                (  ) ;
    public    void                      set_accel_group           ( AccelGroup          accel_group ) ;
    public    void                      set_accel_path            ( string              accel_path ) ;
    public    void                      set_sensitive             ( bool                sensitive ) ;
    public    void                      set_visible               ( bool                visible ) ;
    public    void                      unblock_activate_from     ( Widget              proxy ) ;
    public    virtual void              connect_proxy             ( Widget              proxy ) ;
    public    virtual weak Widget       create_menu               (  ) ;
    public    virtual weak Widget       create_menu_item          (  ) ;
    public    virtual weak Widget       create_tool_item          (  ) ;
    public    virtual void              disconnect_proxy          ( Widget              proxy ) ;
}

Action Description

Details

Constructor Details

Action ()
    public                              Action                    ( string              name,
                                                                    string?             label,
                                                                    string?             tooltip,
                                                                    string?             stock_id ) ;		

Field Details

Signal Details

activate
    public    signal void               activate                  (  )  ;		

Property Details

action_group
    public    weak ActionGroup          action_group              { get; set; } ;		

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

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

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

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

name
    public    weak string               name                      { get; construct } ;		

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

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

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

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

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

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

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

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

Method Details

block_activate_from ()
    public    void                      block_activate_from       ( Widget              proxy ) ;		

connect_accelerator ()
    public    void                      connect_accelerator       (  ) ;		

create_icon ()
    public    weak Widget               create_icon               ( IconSize            icon_size ) ;		

disconnect_accelerator ()
    public    void                      disconnect_accelerator    (  ) ;		

get_accel_closure ()
    public    weak GLib.Closure         get_accel_closure         (  ) ;		

get_accel_path ()
    public    weak string               get_accel_path            (  ) ;		

get_name ()
    public    weak string               get_name                  (  ) ;		

get_proxies ()
    public    weak GLib.SList           get_proxies               (  ) ;		

get_sensitive ()
    public    bool                      get_sensitive             (  ) ;		

get_visible ()
    public    bool                      get_visible               (  ) ;		

is_sensitive ()
    public    bool                      is_sensitive              (  ) ;		

is_visible ()
    public    bool                      is_visible                (  ) ;		

set_accel_group ()
    public    void                      set_accel_group           ( AccelGroup          accel_group ) ;		

set_accel_path ()
    public    void                      set_accel_path            ( string              accel_path ) ;		

set_sensitive ()
    public    void                      set_sensitive             ( bool                sensitive ) ;		

set_visible ()
    public    void                      set_visible               ( bool                visible ) ;		

unblock_activate_from ()
    public    void                      unblock_activate_from     ( Widget              proxy ) ;		

connect_proxy ()
    public    virtual void              connect_proxy             ( Widget              proxy ) ;		

create_menu ()
    public    virtual weak Widget       create_menu               (  ) ;		

create_menu_item ()
    public    virtual weak Widget       create_menu_item          (  ) ;		

create_tool_item ()
    public    virtual weak Widget       create_tool_item          (  ) ;		

disconnect_proxy ()
    public    virtual void              disconnect_proxy          ( Widget              proxy ) ;		


Created by Valadoc