TABLE OF CONTENTS
Hunter/ActivateItems [ Packages ]
FUNCTION
Provide code for open or execute selected files or directories.
SOURCE
package ActivateItems is
ActivateItems/ActivateFile [ Subprograms ]
[ Top ] [ ActivateItems ] [ Subprograms ]
FUNCTION
"Activate" selected file or directory. Action depends on what selected item is. For example: it go to selected directory, opens text files in editor and so on.
SOURCE
procedure ActivateFile (Self: access Gtk_Tree_View_Record'Class; Path: Gtk_Tree_Path; Column: not null access Gtk_Tree_View_Column_Record'Class);
PARAMETERS
Self - Gtk_Tree_View with list of current directory. Unused Path - Gtk_Tree_Path to the selected file or directory. Unused Column - Gtk_Tree_Column which was clicked. Unused
ActivateItems/CreateActivateUI [ Subprograms ]
[ Top ] [ ActivateItems ] [ Subprograms ]
FUNCTION
Create activation UI
SOURCE
procedure CreateActivateUI;
ActivateItems/ExecuteFile [ Subprograms ]
[ Top ] [ ActivateItems ] [ Subprograms ]
FUNCTION
Execute selected file. That file must be graphical application or all output will be redirected to terminal (invisible to user).
SOURCE
procedure ExecuteFile(Self: access Gtk_Tool_Button_Record'Class);
PARAMETERS
Self - Gtk_Tool_Button clicked. Unused. Can be null
ActivateItems/OpenItemWith [ Subprograms ]
[ Top ] [ ActivateItems ] [ Subprograms ]
FUNCTION
Open selected item or directory with entered by user command. That command can have argumets either.
SOURCE
procedure OpenItemWith (Self: access Gtk_Entry_Record'Class; Icon_Pos: Gtk_Entry_Icon_Position);
PARAMETERS
Self - Text entry with command to use Icon_Pos - Position of text entry icon which was pressed or if key Enter was pressed, simulate pressing proper icon
ActivateItems/StartOpenWith [ Subprograms ]
[ Top ] [ ActivateItems ] [ Subprograms ]
FUNCTION
Show text entry to start opening selected file or directory with custom command.
SOURCE
procedure StartOpenWith(Self: access Gtk_Tool_Button_Record'Class);
PARAMETERS
Self - Gtk_Tool_Button clicked. Unused. Can be null