TABLE OF CONTENTS


MainMenu/MCommands [ Packages ]

[ Top ] [ MainMenu ] [ Packages ]

FUNCTION

 Provide code of Tcl commands related to MainMenu

SOURCE

package MainMenu.Commands is

MCommands/MCommands.Add_Commands [ Subprograms ]

[ Top ] [ MCommands ] [ Subprograms ]

FUNCTION

 Add Tcl commands related to main menu to the game

SOURCE

   procedure Add_Commands;

MCommands/MCommands.Open_Link_Command [ Commands ]

[ Top ] [ MCommands ] [ Commands ]

FUNCTION

 Open the selected link in the proper program

SOURCE

   function Open_Link_Command
     (Client_Data: Integer; Interp: Tcl.Tcl_Interp; Argc: Interfaces.C.int;
      Argv: CArgv.Chars_Ptr_Ptr) return Interfaces.C.int with
      Convention => C;

PARAMETERS

 Client_Data - Custom data send to the command. Unused
 Interp      - Tcl interpreter in which command was executed. Unused
 Argc        - Number of arguments passed to the command. Unused
 Argv        - Values of arguments passed to the command.

RESULT

 This function always return TCL_OK

COMMANDS

 OpenLink url
 Url is link which will be opened