gtk+-2.0 Reference Manual

Synopsis

public class IconView : Container, Implementor, Buildable, CellLayout  {
    public    weak int                  column_spacing            { get; set; } ;
    public    weak int                  columns                   { get; set; } ;
    public    weak int                  item_width                { get; set; } ;
    public    weak int                  margin                    { get; set; } ;
    public    weak int                  markup_column             { get; set; } ;
    public    weak TreeModel            model                     { get; set; } ;
    public    weak Orientation          orientation               { get; set; } ;
    public    weak int                  pixbuf_column             { get; set; } ;
    public    weak bool                 reorderable               { get; set; } ;
    public    weak int                  row_spacing               { get; set; } ;
    public    weak SelectionMode        selection_mode            { get; set; } ;
    public    weak int                  spacing                   { get; set; } ;
    public    weak int                  text_column               { get; set; } ;
    public    weak int                  tooltip_column            { get; set; } ;


    public                              IconView                  (  ) ;
    public                              IconView.with_model       ( TreeModel           model ) ;


    public    signal bool               activate_cursor_item      (  )  ;
    public    signal void               item_activated            ( TreePath            path )  ;
    public    signal bool               move_cursor               ( MovementStep        step,
                                                                    int                 count )  ;
    public    signal void               select_all                (  )  ;
    public    signal void               select_cursor_item        (  )  ;
    public    signal void               selection_changed         (  )  ;
    public    signal void               set_scroll_adjustments    ( Adjustment          hadjustment,
                                                                    Adjustment          vadjustment )  ;
    public    signal void               toggle_cursor_item        (  )  ;
    public    signal void               unselect_all              (  )  ;


    public    void                      convert_widget_to_bin_window_coords ( int                 wx,
                                                                    int                 wy,
                                                                    int                 bx,
                                                                    int                 by ) ;
    public    weak Gdk.Pixmap           create_drag_icon          ( TreePath            path ) ;
    public    void                      enable_model_drag_dest    ( TargetEntry[]       targets,
                                                                    Gdk.DragAction      actions ) ;
    public    void                      enable_model_drag_source  ( Gdk.ModifierType    start_button_mask,
                                                                    TargetEntry[]       targets,
                                                                    Gdk.DragAction      actions ) ;
    public    int                       get_column_spacing        (  ) ;
    public    int                       get_columns               (  ) ;
    public    bool                      get_cursor                ( weak TreePath       path,
                                                                    weak CellRenderer   cell ) ;
    public    bool                      get_dest_item_at_pos      ( int                 drag_x,
                                                                    int                 drag_y,
                                                                    weak TreePath       path,
                                                                    IconViewDropPositionpos ) ;
    public    void                      get_drag_dest_item        ( weak TreePath       path,
                                                                    IconViewDropPositionpos ) ;
    public    bool                      get_item_at_pos           ( int                 x,
                                                                    int                 y,
                                                                    weak TreePath       path,
                                                                    weak CellRenderer   cell ) ;
    public    int                       get_item_width            (  ) ;
    public    int                       get_margin                (  ) ;
    public    int                       get_markup_column         (  ) ;
    public    weak TreeModel            get_model                 (  ) ;
    public    Orientation               get_orientation           (  ) ;
    public    weak TreePath             get_path_at_pos           ( int                 x,
                                                                    int                 y ) ;
    public    int                       get_pixbuf_column         (  ) ;
    public    bool                      get_reorderable           (  ) ;
    public    int                       get_row_spacing           (  ) ;
    public    weak GLib.List            get_selected_items        (  ) ;
    public    SelectionMode             get_selection_mode        (  ) ;
    public    int                       get_spacing               (  ) ;
    public    int                       get_text_column           (  ) ;
    public    int                       get_tooltip_column        (  ) ;
    public    bool                      get_tooltip_context       ( int                 x,
                                                                    int                 y,
                                                                    bool                keyboard_tip,
                                                                    weak TreeModel      model,
                                                                    weak TreePath       path,
                                                                    TreeIter            iter ) ;
    public    bool                      get_visible_range         ( weak TreePath       start_path,
                                                                    weak TreePath       end_path ) ;
    public    bool                      path_is_selected          ( TreePath            path ) ;
    public    void                      scroll_to_path            ( TreePath            path,
                                                                    bool                use_align,
                                                                    float               row_align,
                                                                    float               col_align ) ;
    public    void                      select_path               ( TreePath            path ) ;
    public    void                      selected_foreach          ( IconViewForeachFunc func,
                                                                    void**              data ) ;
    public    void                      set_column_spacing        ( int                 column_spacing ) ;
    public    void                      set_columns               ( int                 columns ) ;
    public    void                      set_cursor                ( TreePath            path,
                                                                    CellRenderer        cell,
                                                                    bool                start_editing ) ;
    public    void                      set_drag_dest_item        ( TreePath            path,
                                                                    IconViewDropPositionpos ) ;
    public    void                      set_item_width            ( int                 item_width ) ;
    public    void                      set_margin                ( int                 margin ) ;
    public    void                      set_markup_column         ( int                 column ) ;
    public    void                      set_model                 ( TreeModel           model ) ;
    public    void                      set_orientation           ( Orientation         orientation ) ;
    public    void                      set_pixbuf_column         ( int                 column ) ;
    public    void                      set_reorderable           ( bool                reorderable ) ;
    public    void                      set_row_spacing           ( int                 row_spacing ) ;
    public    void                      set_selection_mode        ( SelectionMode       mode ) ;
    public    void                      set_spacing               ( int                 spacing ) ;
    public    void                      set_text_column           ( int                 column ) ;
    public    void                      set_tooltip_cell          ( Tooltip             tooltip,
                                                                    TreePath            path,
                                                                    CellRenderer        cell ) ;
    public    void                      set_tooltip_column        ( int                 column ) ;
    public    void                      set_tooltip_item          ( Tooltip             tooltip,
                                                                    TreePath            path ) ;
    public    void                      unselect_path             ( TreePath            path ) ;
    public    void                      unset_model_drag_dest     (  ) ;
    public    void                      unset_model_drag_source   (  ) ;
}

IconView Description

Details

Constructor Details

IconView ()
    public                              IconView                  (  ) ;		

IconView.with_model ()
    public                              IconView.with_model       ( TreeModel           model ) ;		

Field Details

Signal Details

activate_cursor_item
    public    signal bool               activate_cursor_item      (  )  ;		

item_activated
    public    signal void               item_activated            ( TreePath            path )  ;		

move_cursor
    public    signal bool               move_cursor               ( MovementStep        step,
                                                                    int                 count )  ;		

select_all
    public    signal void               select_all                (  )  ;		

select_cursor_item
    public    signal void               select_cursor_item        (  )  ;		

selection_changed
    public    signal void               selection_changed         (  )  ;		

set_scroll_adjustments
    public    signal void               set_scroll_adjustments    ( Adjustment          hadjustment,
                                                                    Adjustment          vadjustment )  ;		

toggle_cursor_item
    public    signal void               toggle_cursor_item        (  )  ;		

unselect_all
    public    signal void               unselect_all              (  )  ;		

Property Details

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

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

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

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

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

model
    public    weak TreeModel            model                     { get; set; } ;		

orientation
    public    weak Orientation          orientation               { get; set; } ;		

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

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

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

selection_mode
    public    weak SelectionMode        selection_mode            { get; set; } ;		

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

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

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

Method Details

convert_widget_to_bin_window_coords ()
    public    void                      convert_widget_to_bin_window_coords ( int                 wx,
                                                                    int                 wy,
                                                                    int                 bx,
                                                                    int                 by ) ;		

create_drag_icon ()
    public    weak Gdk.Pixmap           create_drag_icon          ( TreePath            path ) ;		

enable_model_drag_dest ()
    public    void                      enable_model_drag_dest    ( TargetEntry[]       targets,
                                                                    Gdk.DragAction      actions ) ;		

enable_model_drag_source ()
    public    void                      enable_model_drag_source  ( Gdk.ModifierType    start_button_mask,
                                                                    TargetEntry[]       targets,
                                                                    Gdk.DragAction      actions ) ;		

get_column_spacing ()
    public    int                       get_column_spacing        (  ) ;		

get_columns ()
    public    int                       get_columns               (  ) ;		

get_cursor ()
    public    bool                      get_cursor                ( weak TreePath       path,
                                                                    weak CellRenderer   cell ) ;		

get_dest_item_at_pos ()
    public    bool                      get_dest_item_at_pos      ( int                 drag_x,
                                                                    int                 drag_y,
                                                                    weak TreePath       path,
                                                                    IconViewDropPositionpos ) ;		

get_drag_dest_item ()
    public    void                      get_drag_dest_item        ( weak TreePath       path,
                                                                    IconViewDropPositionpos ) ;		

get_item_at_pos ()
    public    bool                      get_item_at_pos           ( int                 x,
                                                                    int                 y,
                                                                    weak TreePath       path,
                                                                    weak CellRenderer   cell ) ;		

get_item_width ()
    public    int                       get_item_width            (  ) ;		

get_margin ()
    public    int                       get_margin                (  ) ;		

get_markup_column ()
    public    int                       get_markup_column         (  ) ;		

get_model ()
    public    weak TreeModel            get_model                 (  ) ;		

get_orientation ()
    public    Orientation               get_orientation           (  ) ;		

get_path_at_pos ()
    public    weak TreePath             get_path_at_pos           ( int                 x,
                                                                    int                 y ) ;		

get_pixbuf_column ()
    public    int                       get_pixbuf_column         (  ) ;		

get_reorderable ()
    public    bool                      get_reorderable           (  ) ;		

get_row_spacing ()
    public    int                       get_row_spacing           (  ) ;		

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

get_selection_mode ()
    public    SelectionMode             get_selection_mode        (  ) ;		

get_spacing ()
    public    int                       get_spacing               (  ) ;		

get_text_column ()
    public    int                       get_text_column           (  ) ;		

get_tooltip_column ()
    public    int                       get_tooltip_column        (  ) ;		

get_tooltip_context ()
    public    bool                      get_tooltip_context       ( int                 x,
                                                                    int                 y,
                                                                    bool                keyboard_tip,
                                                                    weak TreeModel      model,
                                                                    weak TreePath       path,
                                                                    TreeIter            iter ) ;		

get_visible_range ()
    public    bool                      get_visible_range         ( weak TreePath       start_path,
                                                                    weak TreePath       end_path ) ;		

path_is_selected ()
    public    bool                      path_is_selected          ( TreePath            path ) ;		

scroll_to_path ()
    public    void                      scroll_to_path            ( TreePath            path,
                                                                    bool                use_align,
                                                                    float               row_align,
                                                                    float               col_align ) ;		

select_path ()
    public    void                      select_path               ( TreePath            path ) ;		

selected_foreach ()
    public    void                      selected_foreach          ( IconViewForeachFunc func,
                                                                    void**              data ) ;		

set_column_spacing ()
    public    void                      set_column_spacing        ( int                 column_spacing ) ;		

set_columns ()
    public    void                      set_columns               ( int                 columns ) ;		

set_cursor ()
    public    void                      set_cursor                ( TreePath            path,
                                                                    CellRenderer        cell,
                                                                    bool                start_editing ) ;		

set_drag_dest_item ()
    public    void                      set_drag_dest_item        ( TreePath            path,
                                                                    IconViewDropPositionpos ) ;		

set_item_width ()
    public    void                      set_item_width            ( int                 item_width ) ;		

set_margin ()
    public    void                      set_margin                ( int                 margin ) ;		

set_markup_column ()
    public    void                      set_markup_column         ( int                 column ) ;		

set_model ()
    public    void                      set_model                 ( TreeModel           model ) ;		

set_orientation ()
    public    void                      set_orientation           ( Orientation         orientation ) ;		

set_pixbuf_column ()
    public    void                      set_pixbuf_column         ( int                 column ) ;		

set_reorderable ()
    public    void                      set_reorderable           ( bool                reorderable ) ;		

set_row_spacing ()
    public    void                      set_row_spacing           ( int                 row_spacing ) ;		

set_selection_mode ()
    public    void                      set_selection_mode        ( SelectionMode       mode ) ;		

set_spacing ()
    public    void                      set_spacing               ( int                 spacing ) ;		

set_text_column ()
    public    void                      set_text_column           ( int                 column ) ;		

set_tooltip_cell ()
    public    void                      set_tooltip_cell          ( Tooltip             tooltip,
                                                                    TreePath            path,
                                                                    CellRenderer        cell ) ;		

set_tooltip_column ()
    public    void                      set_tooltip_column        ( int                 column ) ;		

set_tooltip_item ()
    public    void                      set_tooltip_item          ( Tooltip             tooltip,
                                                                    TreePath            path ) ;		

unselect_path ()
    public    void                      unselect_path             ( TreePath            path ) ;		

unset_model_drag_dest ()
    public    void                      unset_model_drag_dest     (  ) ;		

unset_model_drag_source ()
    public    void                      unset_model_drag_source   (  ) ;		


Created by Valadoc