Table of Contents

Miscellaneous Routines

Random stuff


  • proc cleanup()   
  • func get_key_state( integer keycode )   
  • func get_sys_color( atom color )   
  • func get_sys_metric( integer metric )   
  • func message_box( sequence text, sequence title, atom ok )   
  • func wxEu_Lib()   
  • proc wxMain( atom topWindow )   Changes, Bugs and TODO List
  • proc wx_execute( sequence command, integer flag )   
  • proc wx_shell( sequence command )   


    Table of Contents

    [proc]
    cleanup
    ()

    Category: Miscellaneous Routines

    This cleans up internal wxWidgets memory. wxMain() automatically calls this before it exits. If you do not use wxMain(), then you should manually call cleanup() before your app exits.

    See Also: get_key_state, get_sys_color, get_sys_metric, message_box, wxEu_Lib, wxMain, wx_execute, wx_shell



    Table of Contents

    [func]
    get_key_state
    ( integer keycode )

    Category: Miscellaneous Routines

    Returns 1 if specified key (see Key Codes for a list of codes to use) is currently pressed down.

    See Also: cleanup, get_sys_color, get_sys_metric, message_box, wxEu_Lib, wxMain, wx_execute, wx_shell



    Table of Contents

    [func]
    get_sys_color
    ( atom color )

    Returns: pointer to wxColour

    Category: Miscellaneous Routines

    Available system colors are:

    See Also: cleanup, get_key_state, get_sys_metric, message_box, wxEu_Lib, wxMain, wx_execute, wx_shell



    Table of Contents

    [func]
    get_sys_metric
    ( integer metric )

    Returns: atom

    Category: Miscellaneous Routines

    Available metrics are:

    See Also: cleanup, get_key_state, get_sys_color, message_box, wxEu_Lib, wxMain, wx_execute, wx_shell



    Table of Contents

    [func]
    message_box
    ( sequence text, sequence title, atom ok )

    Category: Miscellaneous Routines

    Creates a message box dialog, with style ok. Allowable styles are:

    See Also: cleanup, get_key_state, get_sys_color, get_sys_metric, wxEu_Lib, wxMain, wx_execute, wx_shell



    Table of Contents

    [func]
    wxEu_Lib
    ()

    Category: Miscellaneous Routines

    This is a global function that you can declare before you include wxEuphoria.e. If it is present, the return value of the function will be used as the name of the wxEuphoria library when calling open_dll(). The default names are:

       Win32: wxeu.dll
       Linux: $EUDIR/bin/wxeu.so 
    

    See Also: cleanup, get_key_state, get_sys_color, get_sys_metric, message_box, wxMain, wx_execute, wx_shell



    Table of Contents

    [proc]
    wxMain
    ( atom topWindow )

    Changes, Bugs and TODO List

    Category: Miscellaneous Routines

    This starts the event loop and your main application.

    See Also: cleanup, get_key_state, get_sys_color, get_sys_metric, message_box, wxEu_Lib, wx_execute, wx_shell



    Table of Contents

    [proc]
    wx_execute
    ( sequence command, integer flag )

    Category: Miscellaneous Routines

    flag can be a combination of:

    See Also: cleanup, get_key_state, get_sys_color, get_sys_metric, message_box, wxEu_Lib, wxMain, wx_shell



    Table of Contents

    [proc]
    wx_shell
    ( sequence command )

    Category: Miscellaneous Routines

    See Also: cleanup, get_key_state, get_sys_color, get_sys_metric, message_box, wxEu_Lib, wxMain, wx_execute