TABLE OF CONTENTS


MUI2/MUI2.Show_Message [ Subprograms ]

[ Top ] [ MUI2 ] [ Subprograms ]

FUNCTION

 Show the selected message to a player

SOURCE

   procedure Show_Message
     (Message: Message_Data; Messages_View: Tk_Text;
      Messages_Type: Message_Type) is

PARAMETERS

 Message       - The message to show
 Messages_View - The treeview in which the message will be shown
 Messages_Type - The selected type of messages to show

MUI2/MUI2.Delete_Messages_Command [ Commands ]

[ Top ] [ MUI2 ] [ Commands ]

FUNCTION

 Delete all messages

SOURCE

   function Delete_Messages_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. Unused

RESULT

 This function always return TCL_OK

COMMANDS

 DeleteMessages

MUI2/MUI2.Search_Messages_Command [ Commands ]

[ Top ] [ MUI2 ] [ Commands ]

FUNCTION

 Show only this messages which contains the selected sequence

SOURCE

   function Search_Messages_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.
 Interp      - Tcl interpreter in which command was executed.
 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

 SearchMessages text
 Text is the string to search in the messages

MUI2/MUI2.Select_Messages_Command [ Commands ]

[ Top ] [ MUI2 ] [ Commands ]

FUNCTION

 Show only messages of the selected type

SOURCE

   function Select_Messages_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.
 Interp      - Tcl interpreter in which command was executed.
 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

 SelectMessages

MUI2/MUI2.Show_Last_Messages_Command [ Commands ]

[ Top ] [ MUI2 ] [ Commands ]

FUNCTION

 Show the list of last messages to a player

SOURCE

   function Show_Last_Messages_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.
 Argc        - Number of arguments passed to the command.
 Argv        - Values of arguments passed to the command.

RESULT

 This function always return TCL_OK

COMMANDS

 ShowLastMessages messagestype
 MessagesType is the type of messages to show, default all