hildon-fm-2 Reference Manual

Synopsis

public class FileSelection : Container, Implementor, Buildable  {
    public    weak int                  active_pane               { get; set; } ;
    public    weak bool                 drag_enabled              { get; construct } ;
    public    weak string               empty_text                { get; set; } ;
    public    weak bool                 local_only                { get; set; } ;
    public    weak FileSystemModel      model                     { get; construct } ;
    public    weak int                  pane_position             { get; construct set; } ;
    public    weak void                 safe_folder               { get; set; } ;
    public    weak bool                 show_hidden               { get; set; } ;
    public    weak bool                 show_upnp                 { get; construct set; } ;
    public    weak int                  visible_columns           { get; construct } ;


    public                              FileSelection.with_model  ( FileSystemModel     model ) ;


    public    signal void               content_pane_context_menu (  )  ;
    public    signal void               current_folder_changed    (  )  ;
    public    signal void               file_activated            (  )  ;
    public    signal void               location_insensitive      ( Gtk.TreeIter        iter )  ;
    public    signal void               navigation_pane_context_menu (  )  ;
    public    signal void               selection_changed         (  )  ;
    public    signal void               uris_dropped              ( string              destination,
                                                                    void**              sources )  ;


    public    void                      clear_multi_selection     (  ) ;
    public    bool                      content_iter_is_selected  ( Gtk.TreeIter        iter ) ;
    public    void                      dim_current_selection     (  ) ;
    public    bool                      get_active_content_iter   ( Gtk.TreeIter        iter ) ;
    public    FileSelectionPane         get_active_pane           (  ) ;
    public    bool                      get_column_headers_visible (  ) ;
    public    bool                      get_current_content_iter  ( Gtk.TreeIter        iter ) ;
    public    bool                      get_current_folder_iter   ( Gtk.TreeIter        iter ) ;
    public    weak string               get_current_folder_uri    (  ) ;
    public    weak Gtk.FileFilter       get_filter                (  ) ;
    public    FileSelectionMode         get_mode                  (  ) ;
    public    bool                      get_select_multiple       (  ) ;
    public    weak GLib.SList           get_selected_paths        (  ) ;
    public    weak GLib.SList           get_selected_uris         (  ) ;
    public    void                      get_sort_key              ( FileSelectionSortKeykey,
                                                                    Gtk.SortType        order ) ;
    public    void                      hide_content_pane         (  ) ;
    public    void                      move_cursor_to_uri        ( string              uri ) ;
    public    void                      select_all                (  ) ;
    public    bool                      select_uri                ( string              uri ) 
                                                             throws GLib.Error;
    public    void                      set_column_headers_visible ( bool                visible ) ;
    public    bool                      set_current_folder_uri    ( string              folder ) 
                                                             throws GLib.Error;
    public    void                      set_filter                ( Gtk.FileFilter      filter ) ;
    public    void                      set_mode                  ( FileSelectionMode   mode ) ;
    public    void                      set_select_multiple       ( bool                select_multiple ) ;
    public    void                      set_sort_key              ( FileSelectionSortKeykey,
                                                                    Gtk.SortType        order ) ;
    public    void                      show_content_pane         (  ) ;
    public    void                      undim_all                 (  ) ;
    public    void                      unselect_all              (  ) ;
    public    void                      unselect_uri              ( string              uri ) ;
}

FileSelection Description

Details

Constructor Details

FileSelection.with_model ()
    public                              FileSelection.with_model  ( FileSystemModel     model ) ;		

Field Details

Signal Details

content_pane_context_menu
    public    signal void               content_pane_context_menu (  )  ;		

current_folder_changed
    public    signal void               current_folder_changed    (  )  ;		

file_activated
    public    signal void               file_activated            (  )  ;		

location_insensitive
    public    signal void               location_insensitive      ( Gtk.TreeIter        iter )  ;		

navigation_pane_context_menu
    public    signal void               navigation_pane_context_menu (  )  ;		

selection_changed
    public    signal void               selection_changed         (  )  ;		

uris_dropped
    public    signal void               uris_dropped              ( string              destination,
                                                                    void**              sources )  ;		

Property Details

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

drag_enabled
    public    weak bool                 drag_enabled              { get; construct } ;		

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

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

model
    public    weak FileSystemModel      model                     { get; construct } ;		

pane_position
    public    weak int                  pane_position             { get; construct set; } ;		

safe_folder
    public    weak void                 safe_folder               { get; set; } ;		

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

show_upnp
    public    weak bool                 show_upnp                 { get; construct set; } ;		

visible_columns
    public    weak int                  visible_columns           { get; construct } ;		

Method Details

clear_multi_selection ()
    public    void                      clear_multi_selection     (  ) ;		

content_iter_is_selected ()
    public    bool                      content_iter_is_selected  ( Gtk.TreeIter        iter ) ;		

dim_current_selection ()
    public    void                      dim_current_selection     (  ) ;		

get_active_content_iter ()
    public    bool                      get_active_content_iter   ( Gtk.TreeIter        iter ) ;		

get_active_pane ()
    public    FileSelectionPane         get_active_pane           (  ) ;		

get_column_headers_visible ()
    public    bool                      get_column_headers_visible (  ) ;		

get_current_content_iter ()
    public    bool                      get_current_content_iter  ( Gtk.TreeIter        iter ) ;		

get_current_folder_iter ()
    public    bool                      get_current_folder_iter   ( Gtk.TreeIter        iter ) ;		

get_current_folder_uri ()
    public    weak string               get_current_folder_uri    (  ) ;		

get_filter ()
    public    weak Gtk.FileFilter       get_filter                (  ) ;		

get_mode ()
    public    FileSelectionMode         get_mode                  (  ) ;		

get_select_multiple ()
    public    bool                      get_select_multiple       (  ) ;		

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

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

get_sort_key ()
    public    void                      get_sort_key              ( FileSelectionSortKeykey,
                                                                    Gtk.SortType        order ) ;		

hide_content_pane ()
    public    void                      hide_content_pane         (  ) ;		

move_cursor_to_uri ()
    public    void                      move_cursor_to_uri        ( string              uri ) ;		

select_all ()
    public    void                      select_all                (  ) ;		

select_uri ()
    public    bool                      select_uri                ( string              uri ) 
                                                             throws GLib.Error;		

set_column_headers_visible ()
    public    void                      set_column_headers_visible ( bool                visible ) ;		

set_current_folder_uri ()
    public    bool                      set_current_folder_uri    ( string              folder ) 
                                                             throws GLib.Error;		

set_filter ()
    public    void                      set_filter                ( Gtk.FileFilter      filter ) ;		

set_mode ()
    public    void                      set_mode                  ( FileSelectionMode   mode ) ;		

set_select_multiple ()
    public    void                      set_select_multiple       ( bool                select_multiple ) ;		

set_sort_key ()
    public    void                      set_sort_key              ( FileSelectionSortKeykey,
                                                                    Gtk.SortType        order ) ;		

show_content_pane ()
    public    void                      show_content_pane         (  ) ;		

undim_all ()
    public    void                      undim_all                 (  ) ;		

unselect_all ()
    public    void                      unselect_all              (  ) ;		

unselect_uri ()
    public    void                      unselect_uri              ( string              uri ) ;		


Created by Valadoc