gtk+-2.0 Reference Manual

Synopsis

public class Menu : MenuShell, Implementor, Buildable  {
    public    weak Widget               parent_menu_item ;
    public    weak Widget               old_active_menu_item ;
    public    weak AccelGroup           accel_group ;
    public    weak string               accel_path ;
    public    MenuPositionFunc          position_func ;
    public    void**                    position_func_data ;
    public    uint                      toggle_size ;
    public    weak Widget               toplevel ;
    public    weak Widget               tearoff_window ;
    public    weak Widget               tearoff_hbox ;
    public    weak Widget               tearoff_scrollbar ;
    public    weak Adjustment           tearoff_adjustment ;
    public    weak Gdk.Window           view_window ;
    public    weak Gdk.Window           bin_window ;
    public    int                       scroll_offset ;
    public    int                       saved_scroll_offset ;
    public    int                       scroll_step ;
    public    uint                      timeout_id ;
    public    weak Gdk.Region           navigation_region ;
    public    uint                      navigation_timeout ;
    public    uint                      needs_destruction_ref_count ;
    public    uint                      torn_off ;
    public    uint                      tearoff_active ;
    public    uint                      scroll_fast ;
    public    uint                      upper_arrow_visible ;
    public    uint                      lower_arrow_visible ;
    public    uint                      upper_arrow_prelight ;
    public    uint                      lower_arrow_prelight ;


    public    weak bool                 tearoff_state             { get; set; } ;
    public    weak string               tearoff_title             { get; set; } ;


    public                              Menu                      (  ) ;


    public    signal void               move_scroll               ( ScrollType          p0 )  ;


    public    void                      attach                    ( Widget              child,
                                                                    uint                left_attach,
                                                                    uint                right_attach,
                                                                    uint                top_attach,
                                                                    uint                bottom_attach ) ;
    public    void                      attach_to_widget          ( Widget              attach_widget,
                                                                    MenuDetachFunc      detacher ) ;
    public    void                      detach                    (  ) ;
    public    weak AccelGroup           get_accel_group           (  ) ;
    public    weak Widget               get_active                (  ) ;
    public    weak Widget               get_attach_widget         (  ) ;
    public    static weak GLib.List     get_for_attach_widget     ( Widget              widget ) ;
    public    bool                      get_tearoff_state         (  ) ;
    public    weak string               get_title                 (  ) ;
    public    void                      popdown                   (  ) ;
    public    void                      popup                     ( Widget              parent_menu_shell,
                                                                    Widget              parent_menu_item,
                                                                    MenuPositionFunc    func,
                                                                    uint                button,
                                                                    uint                activate_time ) ;
    public    void                      reorder_child             ( Widget              child,
                                                                    int                 position ) ;
    public    void                      reposition                (  ) ;
    public    void                      set_accel_group           ( AccelGroup          accel_group ) ;
    public    void                      set_accel_path            ( string              accel_path ) ;
    public    void                      set_active                ( uint                index_ ) ;
    public    void                      set_monitor               ( int                 monitor_num ) ;
    public    void                      set_screen                ( Gdk.Screen          screen ) ;
    public    void                      set_tearoff_state         ( bool                torn_off ) ;
    public    void                      set_title                 ( string              title ) ;
}

Menu Description

Details

Constructor Details

Menu ()
    public                              Menu                      (  ) ;		

Field Details

parent_menu_item
    public    weak Widget               parent_menu_item ;		

old_active_menu_item
    public    weak Widget               old_active_menu_item ;		

accel_group
    public    weak AccelGroup           accel_group ;		

accel_path
    public    weak string               accel_path ;		

position_func
    public    MenuPositionFunc          position_func ;		

position_func_data
    public    void**                    position_func_data ;		

toggle_size
    public    uint                      toggle_size ;		

toplevel
    public    weak Widget               toplevel ;		

tearoff_window
    public    weak Widget               tearoff_window ;		

tearoff_hbox
    public    weak Widget               tearoff_hbox ;		

tearoff_scrollbar
    public    weak Widget               tearoff_scrollbar ;		

tearoff_adjustment
    public    weak Adjustment           tearoff_adjustment ;		

view_window
    public    weak Gdk.Window           view_window ;		

bin_window
    public    weak Gdk.Window           bin_window ;		

scroll_offset
    public    int                       scroll_offset ;		

saved_scroll_offset
    public    int                       saved_scroll_offset ;		

scroll_step
    public    int                       scroll_step ;		

timeout_id
    public    uint                      timeout_id ;		

navigation_region
    public    weak Gdk.Region           navigation_region ;		

navigation_timeout
    public    uint                      navigation_timeout ;		

needs_destruction_ref_count
    public    uint                      needs_destruction_ref_count ;		

torn_off
    public    uint                      torn_off ;		

tearoff_active
    public    uint                      tearoff_active ;		

scroll_fast
    public    uint                      scroll_fast ;		

upper_arrow_visible
    public    uint                      upper_arrow_visible ;		

lower_arrow_visible
    public    uint                      lower_arrow_visible ;		

upper_arrow_prelight
    public    uint                      upper_arrow_prelight ;		

lower_arrow_prelight
    public    uint                      lower_arrow_prelight ;		

Signal Details

move_scroll
    public    signal void               move_scroll               ( ScrollType          p0 )  ;		

Property Details

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

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

Method Details

attach ()
    public    void                      attach                    ( Widget              child,
                                                                    uint                left_attach,
                                                                    uint                right_attach,
                                                                    uint                top_attach,
                                                                    uint                bottom_attach ) ;		

attach_to_widget ()
    public    void                      attach_to_widget          ( Widget              attach_widget,
                                                                    MenuDetachFunc      detacher ) ;		

detach ()
    public    void                      detach                    (  ) ;		

get_accel_group ()
    public    weak AccelGroup           get_accel_group           (  ) ;		

get_active ()
    public    weak Widget               get_active                (  ) ;		

get_attach_widget ()
    public    weak Widget               get_attach_widget         (  ) ;		

get_for_attach_widget ()
    public    static weak GLib.List     get_for_attach_widget     ( Widget              widget ) ;		

get_tearoff_state ()
    public    bool                      get_tearoff_state         (  ) ;		

get_title ()
    public    weak string               get_title                 (  ) ;		

popdown ()
    public    void                      popdown                   (  ) ;		

popup ()
    public    void                      popup                     ( Widget              parent_menu_shell,
                                                                    Widget              parent_menu_item,
                                                                    MenuPositionFunc    func,
                                                                    uint                button,
                                                                    uint                activate_time ) ;		

reorder_child ()
    public    void                      reorder_child             ( Widget              child,
                                                                    int                 position ) ;		

reposition ()
    public    void                      reposition                (  ) ;		

set_accel_group ()
    public    void                      set_accel_group           ( AccelGroup          accel_group ) ;		

set_accel_path ()
    public    void                      set_accel_path            ( string              accel_path ) ;		

set_active ()
    public    void                      set_active                ( uint                index_ ) ;		

set_monitor ()
    public    void                      set_monitor               ( int                 monitor_num ) ;		

set_screen ()
    public    void                      set_screen                ( Gdk.Screen          screen ) ;		

set_tearoff_state ()
    public    void                      set_tearoff_state         ( bool                torn_off ) ;		

set_title ()
    public    void                      set_title                 ( string              title ) ;		


Created by Valadoc