Maeomm Reference Documentation: hildon-fmmm |
Public Member Functions | |
void | clear_multi_selection () |
Otherwise similar to unselect_all, but keeps the node with cursor selected. | |
void | dim_current_selection () |
Appends currently selected paths to set of dimmed paths. | |
FileSelection (const Glib::RefPtr<FileSystemModel>& model) | |
FileSelectionPane | get_active_pane () const |
Gets the pane that either has active focus or (in case of no pane has it) last time had it. | |
bool | get_column_headers_visible () const |
std::string | get_current_folder () const |
Gets a path to the currently active folder (the folder which is displayed in the content pane). | |
Gtk::TreeModel::iterator | get_current_folder_iter () const |
Retrieves an iterator to match the currently selected item in the navigation pane. | |
const Gtk::FileFilter* | get_filter () const |
Get currently active filter set by set_filter. | |
Gtk::FileFilter* | get_filter () |
Get currently active filter set by set_filter. | |
FileSelectionMode | get_mode () const |
Gets Current view mode for file selection widget. | |
bool | get_select_multiple () const |
Gets state of multiple selection. | |
GSList* | get_selected_paths () |
Gets list of selected paths from content pane. | |
void | get_sort_key (FileSelectionSortKey& key, Gtk::SortType& order) const |
Currently active sort settings are stored to user provided pointers. | |
const HildonFileSelection* | gobj () const |
Provides access to the underlying C GtkObject. | |
HildonFileSelection* | gobj () |
Provides access to the underlying C GtkObject. | |
void | hide_content_pane () |
Hides the content pane. | |
void | move_cursor_to_uri (const Glib::ustring& uri) |
void | select_all () |
Selects all files from the content pane. | |
bool | select_path (const std::string&path, std::auto_ptr<Glib::Error>& error) |
Selects the given file. | |
void | set_column_headers_visible (bool visible=true) |
bool | set_current_folder (const std::string& folder, std::auto_ptr<Glib::Error>& error) |
Changes the content pane to display the given folder. | |
void | set_filter (const Gtk::FileFilter& filter) |
Only the files matching the filter will be displayed in content pane. | |
void | set_mode (FileSelectionMode mode) |
Swithces file selection between list and thumbnail modes. | |
void | set_select_multiple (bool select_multiple=true) |
If multiple selection is enabled, checkboxes will appear to the last item to the content pane. | |
void | set_sort_key (FileSelectionSortKey key, Gtk::SortType order) |
Changes sort settings for views. | |
void | show_content_pane () |
Shows the content pane. | |
Glib::SignalProxy0<void> | signal_content_pane_context_menu () |
Glib::SignalProxy0<void> | signal_current_folder_changed () |
Glib::SignalProxy0<void> | signal_file_activated () |
Glib::SignalProxy1< void, const Gtk::TreeModel::iterator& > | signal_location_insensitive () |
Glib::SignalProxy0<void> | signal_navigation_pane_context_menu () |
Glib::SignalProxy0<void> | signal_selection_changed () |
void | undim_all () |
Undims all from model that are dimmed by code. | |
void | unselect_all () |
Clears current selection from content pane. | |
void | unselect_path (const std::string&path) |
Unselects a currently selected filename. | |
virtual | ~FileSelection () |
Related Functions | |
(Note that these are not member functions.) | |
Hildon::FileSelection* | wrap (HildonFileSelection* object, bool take_copy=false) |
|
|
|
|
|
Otherwise similar to unselect_all, but keeps the node with cursor selected. Thus, this function don't have any efect in single selection mode. |
|
Appends currently selected paths to set of dimmed paths. Note that dimmed paths cannot be selected, so selection no longer contains the same paths after this function. |
|
Gets the pane that either has active focus or (in case of no pane has it) last time had it.
|
|
|
|
Gets a path to the currently active folder (the folder which is displayed in the content pane). You have to release the returned path with #gtk_file_path_free.
|
|
Retrieves an iterator to match the currently selected item in the navigation pane. Internally this gets the selection from the tree and then the current iterator from the selection and converts the result accordingly.
|
|
Get currently active filter set by set_filter.
Can be
|
|
Get currently active filter set by set_filter.
Can be
|
|
Gets Current view mode for file selection widget. If widget is not shown this will return an invalid mode (-1). This is because of Gtk::Notebook implementation.
|
|
Gets state of multiple selection.
|
|
Gets list of selected paths from content pane. You have to release the returned list with #gtk_file_paths_free. If you are interested in item that (probably) has active focus, you have to first get the active pane and then call either get_selected_paths or get_current_folder.
|
|
Currently active sort settings are stored to user provided pointers.
|
|
Provides access to the underlying C GtkObject.
Reimplemented from Gtk::Container. |
|
Provides access to the underlying C GtkObject.
Reimplemented from Gtk::Container. |
|
Hides the content pane. This is used in certain file management dialogs. |
|
|
|
Selects all files from the content pane. Multiple selection must be enabled before calling this. |
|
Selects the given file. If the path doesn't point to current folder the folder is changed accordingly. If multiple selection is disabled then the previous selection will dissappear.
|
|
|
|
Changes the content pane to display the given folder.
|
|
Only the files matching the filter will be displayed in content pane.
Use
|
|
Swithces file selection between list and thumbnail modes. Note that this function works only after widget is shown because of Gtk::Notebook implementation.
|
|
If multiple selection is enabled, checkboxes will appear to the last item to the content pane. Multiple selection must be enabled if one wants to call select_all.
|
|
Changes sort settings for views. Key only affects content page, navigation pane is always sorted by name.
|
|
Shows the content pane. This is used in certain file management dialogs. The content pane is shown by default. Calling this is needed only if you have hidden |
|
|
|
|
|
|
|
|
|
|
|
|
|
Undims all from model that are dimmed by code. Simply calls Hildon::FileSystemModel::reset_available for underlying model. |
|
Clears current selection from content pane.
|
|
Unselects a currently selected filename. If the filename is not in the current directory, does not exist, or is otherwise not currently selected, does nothing.
|
|
|