TABLE OF CONTENTS
- 1. Hunter/ProgramsMenu
- 1.1. ProgramsMenu/FileName
- 1.2. ProgramsMenu/MenuButton
- 1.3. ProgramsMenu/ProgramsFilter
- 1.4. ProgramsMenu/SearchFor
- 1.5. ProgramsMenu/CreateProgramsMenu
- 1.6. ProgramsMenu/FindProgramName
- 1.7. ProgramsMenu/GetProgramName
- 1.8. ProgramsMenu/SearchProgram
- 1.9. ProgramsMenu/SetProgram
- 1.10. ProgramsMenu/VisiblePrograms
Hunter/ProgramsMenu [ Packages ]
FUNCTION
Provides code for manipulate associated programs with files.
SOURCE
package ProgramsMenu is
ProgramsMenu/CreateProgramsMenu [ Subprograms ]
[ Top ] [ ProgramsMenu ] [ Subprograms ]
FUNCTION
Create associated programs menu popover
SOURCE
function CreateProgramsMenu(Parent: Gtk_Widget) return Gtk_Popover;
PARAMETERS
Parent - Gtk_Widget button which will be parent for that menu
RESULT
Created popover menu
ProgramsMenu/GetProgramName [ Subprograms ]
[ Top ] [ ProgramsMenu ] [ Subprograms ]
FUNCTION
Search for name of application associated with selected desktop file
SOURCE
procedure GetProgramName(DesktopFile: in out Unbounded_String);
PARAMETERS
DesktopFile - File name of .desktop file to search
RESULT
Parameter DesktopFile with name of program or unchanged if nothing found