TABLE OF CONTENTS
RefreshData/Source_Id [ Variables ]
[ Top ] [ RefreshData ] [ Variables ]
FUNCTION
ID of timer to hide messages
SOURCE
Source_Id: G_Source_Id := No_Source_Id;
RefreshData/CheckItems [ Subprograms ]
[ Top ] [ RefreshData ] [ Subprograms ]
FUNCTION
Check if any events are pending and update directory listing with new information.
SOURCE
function CheckItems return Boolean is FilesList: constant Gtk_List_Store := -(Gtk.Tree_Model_Filter.Get_Model (-(Gtk.Tree_Model_Sort.Get_Model (-(Gtk.Tree_View.Get_Model(DirectoryView))))));
RESULT
This function always return True to not stop timer from triggering.
RefreshData/UpdateItem [ Subprograms ]
[ Top ] [ RefreshData ] [ Subprograms ]
FUNCTION
Check if selected file or directory was modified and upgrade information if was
SOURCE
function UpdateItem (Model: Gtk_Tree_Model; Path: Gtk_Tree_Path; Iter: Gtk_Tree_Iter) return Boolean is
PARAMETERS
Model - Gtk_Tree_Model with content of the current directory Path - Gtk_Tree_Path to selected file or directory (Unused) Iter - Gtk_Tree_Iter to selected file or directory
RESULT
Return false to check each file or directory in current directory. If file or directory was deleted, restart checking and return true.