gtk+-2.0 Reference Manual

Synopsis

public class TreeViewColumn : Object, Buildable, CellLayout  {
    public    weak Widget               tree_view ;
    public    weak Widget               button ;
    public    weak Widget               child ;
    public    weak Widget               arrow ;
    public    weak Gdk.Window           window ;
    public    weak CellEditable         editable_widget ;
    public    float                     xalign ;
    public    uint                      property_changed_signal ;
    public    TreeViewColumnSizing      column_type ;
    public    int                       requested_width ;
    public    int                       button_request ;
    public    int                       resized_width ;
    public    int                       drag_x ;
    public    int                       drag_y ;
    public    weak GLib.List            cell_list ;
    public    uint                      sort_clicked_signal ;
    public    uint                      sort_column_changed_signal ;
    public    int                       sort_column_id ;
    public    uint                      dirty ;
    public    uint                      show_sort_indicator ;
    public    uint                      maybe_reordered ;
    public    uint                      use_resized_width ;


    public    weak float                alignment                 { get; set; } ;
    public    weak bool                 clickable                 { get; set; } ;
    public    weak bool                 expand                    { get; set; } ;
    public    weak int                  fixed_width               { get; set; } ;
    public    weak int                  max_width                 { get; set; } ;
    public    weak int                  min_width                 { get; set; } ;
    public    weak bool                 reorderable               { get; set; } ;
    public    weak bool                 resizable                 { get; set; } ;
    public    weak TreeViewColumnSizing  sizing                    { get; set; } ;
    public    weak bool                 sort_indicator            { get; set; } ;
    public    weak SortType             sort_order                { get; set; } ;
    public    weak int                  spacing                   { get; set; } ;
    public    weak string               title                     { get; set; } ;
    public    weak bool                 visible                   { get; set; } ;
    public    weak Widget               widget                    { get; set; } ;
    public    weak int                  width                     { get; } ;


    public                              TreeViewColumn            (  ) ;
    public                              TreeViewColumn.with_attributes ( string              title,
                                                                    CellRenderer        cell,
                                                                    ... ) ;


    public    signal void               clicked                   (  )  ;


    public    void                      add_attribute             ( CellRenderer        cell_renderer,
                                                                    string              attribute,
                                                                    int                 column ) ;
    public    bool                      cell_get_position         ( CellRenderer        cell_renderer,
                                                                    int                 start_pos,
                                                                    int                 width ) ;
    public    void                      cell_get_size             ( Gdk.Rectangle       cell_area,
                                                                    int                 x_offset,
                                                                    int                 y_offset,
                                                                    int                 width,
                                                                    int                 height ) ;
    public    bool                      cell_is_visible           (  ) ;
    public    void                      cell_set_cell_data        ( TreeModel           tree_model,
                                                                    TreeIter            iter,
                                                                    bool                is_expander,
                                                                    bool                is_expanded ) ;
    public    void                      clear                     (  ) ;
    public    void                      clear_attributes          ( CellRenderer        cell_renderer ) ;
    public    void                      focus_cell                ( CellRenderer        cell ) ;
    public    float                     get_alignment             (  ) ;
    public    weak GLib.List            get_cell_renderers        (  ) ;
    public    bool                      get_clickable             (  ) ;
    public    bool                      get_expand                (  ) ;
    public    int                       get_fixed_width           (  ) ;
    public    int                       get_max_width             (  ) ;
    public    int                       get_min_width             (  ) ;
    public    bool                      get_reorderable           (  ) ;
    public    bool                      get_resizable             (  ) ;
    public    TreeViewColumnSizing      get_sizing                (  ) ;
    public    int                       get_sort_column_id        (  ) ;
    public    bool                      get_sort_indicator        (  ) ;
    public    SortType                  get_sort_order            (  ) ;
    public    int                       get_spacing               (  ) ;
    public    weak string               get_title                 (  ) ;
    public    weak Widget               get_tree_view             (  ) ;
    public    bool                      get_visible               (  ) ;
    public    weak Widget               get_widget                (  ) ;
    public    int                       get_width                 (  ) ;
    public    void                      pack_end                  ( CellRenderer        cell,
                                                                    bool                expand ) ;
    public    void                      pack_start                ( CellRenderer        cell,
                                                                    bool                expand ) ;
    public    void                      queue_resize              (  ) ;
    public    void                      set_alignment             ( float               xalign ) ;
    public    void                      set_attributes            ( CellRenderer        cell_renderer,
                                                                    ... ) ;
    public    void                      set_cell_data_func        ( CellRenderer        cell_renderer,
                                                                    TreeCellDataFunc    func,
                                                                    void**              func_data,
                                                                    DestroyNotify       destroy ) ;
    public    void                      set_clickable             ( bool                clickable ) ;
    public    void                      set_expand                ( bool                expand ) ;
    public    void                      set_fixed_width           ( int                 fixed_width ) ;
    public    void                      set_max_width             ( int                 max_width ) ;
    public    void                      set_min_width             ( int                 min_width ) ;
    public    void                      set_reorderable           ( bool                reorderable ) ;
    public    void                      set_resizable             ( bool                resizable ) ;
    public    void                      set_sizing                ( TreeViewColumnSizingtype ) ;
    public    void                      set_sort_column_id        ( int                 sort_column_id ) ;
    public    void                      set_sort_indicator        ( bool                setting ) ;
    public    void                      set_sort_order            ( SortType            order ) ;
    public    void                      set_spacing               ( int                 spacing ) ;
    public    void                      set_title                 ( string              title ) ;
    public    void                      set_visible               ( bool                visible ) ;
    public    void                      set_widget                ( Widget              widget ) ;
}

TreeViewColumn Description

Details

Constructor Details

TreeViewColumn ()
    public                              TreeViewColumn            (  ) ;		

TreeViewColumn.with_attributes ()
    public                              TreeViewColumn.with_attributes ( string              title,
                                                                    CellRenderer        cell,
                                                                    ... ) ;		

Field Details

tree_view
    public    weak Widget               tree_view ;		

button
    public    weak Widget               button ;		

child
    public    weak Widget               child ;		

arrow
    public    weak Widget               arrow ;		

window
    public    weak Gdk.Window           window ;		

editable_widget
    public    weak CellEditable         editable_widget ;		

xalign
    public    float                     xalign ;		

property_changed_signal
    public    uint                      property_changed_signal ;		

column_type
    public    TreeViewColumnSizing      column_type ;		

requested_width
    public    int                       requested_width ;		

button_request
    public    int                       button_request ;		

resized_width
    public    int                       resized_width ;		

drag_x
    public    int                       drag_x ;		

drag_y
    public    int                       drag_y ;		

cell_list
    public    weak GLib.List            cell_list ;		

sort_clicked_signal
    public    uint                      sort_clicked_signal ;		

sort_column_changed_signal
    public    uint                      sort_column_changed_signal ;		

sort_column_id
    public    int                       sort_column_id ;		

dirty
    public    uint                      dirty ;		

show_sort_indicator
    public    uint                      show_sort_indicator ;		

maybe_reordered
    public    uint                      maybe_reordered ;		

use_resized_width
    public    uint                      use_resized_width ;		

Signal Details

clicked
    public    signal void               clicked                   (  )  ;		

Property Details

alignment
    public    weak float                alignment                 { get; set; } ;		

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

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

fixed_width
    public    weak int                  fixed_width               { get; set; } ;		

max_width
    public    weak int                  max_width                 { get; set; } ;		

min_width
    public    weak int                  min_width                 { get; set; } ;		

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

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

sizing
    public    weak TreeViewColumnSizing  sizing                    { get; set; } ;		

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

sort_order
    public    weak SortType             sort_order                { get; set; } ;		

spacing
    public    weak int                  spacing                   { get; set; } ;		

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

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

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

width
    public    weak int                  width                     { get; } ;		

Method Details

add_attribute ()
    public    void                      add_attribute             ( CellRenderer        cell_renderer,
                                                                    string              attribute,
                                                                    int                 column ) ;		

cell_get_position ()
    public    bool                      cell_get_position         ( CellRenderer        cell_renderer,
                                                                    int                 start_pos,
                                                                    int                 width ) ;		

cell_get_size ()
    public    void                      cell_get_size             ( Gdk.Rectangle       cell_area,
                                                                    int                 x_offset,
                                                                    int                 y_offset,
                                                                    int                 width,
                                                                    int                 height ) ;		

cell_is_visible ()
    public    bool                      cell_is_visible           (  ) ;		

cell_set_cell_data ()
    public    void                      cell_set_cell_data        ( TreeModel           tree_model,
                                                                    TreeIter            iter,
                                                                    bool                is_expander,
                                                                    bool                is_expanded ) ;		

clear ()
    public    void                      clear                     (  ) ;		

clear_attributes ()
    public    void                      clear_attributes          ( CellRenderer        cell_renderer ) ;		

focus_cell ()
    public    void                      focus_cell                ( CellRenderer        cell ) ;		

get_alignment ()
    public    float                     get_alignment             (  ) ;		

get_cell_renderers ()
    public    weak GLib.List            get_cell_renderers        (  ) ;		

get_clickable ()
    public    bool                      get_clickable             (  ) ;		

get_expand ()
    public    bool                      get_expand                (  ) ;		

get_fixed_width ()
    public    int                       get_fixed_width           (  ) ;		

get_max_width ()
    public    int                       get_max_width             (  ) ;		

get_min_width ()
    public    int                       get_min_width             (  ) ;		

get_reorderable ()
    public    bool                      get_reorderable           (  ) ;		

get_resizable ()
    public    bool                      get_resizable             (  ) ;		

get_sizing ()
    public    TreeViewColumnSizing      get_sizing                (  ) ;		

get_sort_column_id ()
    public    int                       get_sort_column_id        (  ) ;		

get_sort_indicator ()
    public    bool                      get_sort_indicator        (  ) ;		

get_sort_order ()
    public    SortType                  get_sort_order            (  ) ;		

get_spacing ()
    public    int                       get_spacing               (  ) ;		

get_title ()
    public    weak string               get_title                 (  ) ;		

get_tree_view ()
    public    weak Widget               get_tree_view             (  ) ;		

get_visible ()
    public    bool                      get_visible               (  ) ;		

get_widget ()
    public    weak Widget               get_widget                (  ) ;		

get_width ()
    public    int                       get_width                 (  ) ;		

pack_end ()
    public    void                      pack_end                  ( CellRenderer        cell,
                                                                    bool                expand ) ;		

pack_start ()
    public    void                      pack_start                ( CellRenderer        cell,
                                                                    bool                expand ) ;		

queue_resize ()
    public    void                      queue_resize              (  ) ;		

set_alignment ()
    public    void                      set_alignment             ( float               xalign ) ;		

set_attributes ()
    public    void                      set_attributes            ( CellRenderer        cell_renderer,
                                                                    ... ) ;		

set_cell_data_func ()
    public    void                      set_cell_data_func        ( CellRenderer        cell_renderer,
                                                                    TreeCellDataFunc    func,
                                                                    void**              func_data,
                                                                    DestroyNotify       destroy ) ;		

set_clickable ()
    public    void                      set_clickable             ( bool                clickable ) ;		

set_expand ()
    public    void                      set_expand                ( bool                expand ) ;		

set_fixed_width ()
    public    void                      set_fixed_width           ( int                 fixed_width ) ;		

set_max_width ()
    public    void                      set_max_width             ( int                 max_width ) ;		

set_min_width ()
    public    void                      set_min_width             ( int                 min_width ) ;		

set_reorderable ()
    public    void                      set_reorderable           ( bool                reorderable ) ;		

set_resizable ()
    public    void                      set_resizable             ( bool                resizable ) ;		

set_sizing ()
    public    void                      set_sizing                ( TreeViewColumnSizingtype ) ;		

set_sort_column_id ()
    public    void                      set_sort_column_id        ( int                 sort_column_id ) ;		

set_sort_indicator ()
    public    void                      set_sort_indicator        ( bool                setting ) ;		

set_sort_order ()
    public    void                      set_sort_order            ( SortType            order ) ;		

set_spacing ()
    public    void                      set_spacing               ( int                 spacing ) ;		

set_title ()
    public    void                      set_title                 ( string              title ) ;		

set_visible ()
    public    void                      set_visible               ( bool                visible ) ;		

set_widget ()
    public    void                      set_widget                ( Widget              widget ) ;		


Created by Valadoc