SourceForge.net Miscellaneous Routines

Miscellaneous Routines

Miscellaneous Routines
Random stuff

Functions/Procedures

Miscellaneous Routines

[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.


Miscellaneous Routines

[proc]
delete_instance
( object obj )

Category: Miscellaneous Routines


Miscellaneous Routines

[func]
find_window
(integer id, atom parent)

Category: Miscellaneous Routines

Returns the window identified by its id and parent.


Miscellaneous Routines

[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.


Miscellaneous Routines

[func]
get_sys_color
( atom color )

Category: Miscellaneous Routines

Available system colors are:


Miscellaneous Routines

[func]
get_sys_metric
( integer metric )

Category: Miscellaneous Routines

Available metrics are:


Miscellaneous Routines

[proc]
launch_default_browser
( sequence url )

Category: Miscellaneous Routines

Launches the user's default browser to open the specified url.


Miscellaneous Routines

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

Category: Miscellaneous Routines

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


Miscellaneous Routines

[func]
mkdir
( sequence directory, object perm, integer flags )

Category: Miscellaneous Routines


Miscellaneous Routines

[proc]
wxMain
( atom topWindow )

Category: Miscellaneous Routines

This starts the event loop and your main application.


Miscellaneous Routines

[proc]
wx_execute
( sequence command, integer flag )

Category: Miscellaneous Routines

flag can be a combination of:


Miscellaneous Routines

[proc]
wx_shell
( sequence command )

Category: Miscellaneous Routines