|
void | wxBeginBusyCursor (const wxCursor *cursor=wxHOURGLASS_CURSOR) |
| Changes the cursor to the given cursor for all windows in the application.
|
void | wxEndBusyCursor () |
| Changes the cursor back to the original cursor, for all windows in the application.
|
bool | wxIsBusy () |
| Returns true if between two wxBeginBusyCursor() and wxEndBusyCursor() calls.
|
void | wxBell () |
| Ring the system bell.
|
void | wxInfoMessageBox (wxWindow *parent) |
| Shows a message box with the information about the wxWidgets build used, including its version, most important build parameters and the version of the underlying GUI toolkit.
|
wxVersionInfo | wxGetLibraryVersionInfo () |
| Get wxWidgets version information.
|
wxChar * | wxGetenv (const wxString &var) |
| This is a macro defined as getenv() or its wide char version in Unicode mode.
|
bool | wxGetEnv (const wxString &var, wxString *value) |
| Returns the current value of the environment variable var in value.
|
bool | wxSetEnv (const wxString &var, const wxString &value) |
| Sets the value of the environment variable var (adding it if necessary) to value.
|
bool | wxUnsetEnv (const wxString &var) |
| Removes the variable var from the environment.
|
bool | wxGetEnvMap (wxEnvVariableHashMap *map) |
| Fill a map with the complete content of current environment.
|
void | wxSecureZeroMemory (void *p, size_t n) |
| Fills the memory block with zeros in a way that is guaranteed not to be optimized away by the compiler.
|
wxBatteryState | wxGetBatteryState () |
| Returns battery state as one of wxBATTERY_NORMAL_STATE , wxBATTERY_LOW_STATE , wxBATTERY_CRITICAL_STATE , wxBATTERY_SHUTDOWN_STATE or wxBATTERY_UNKNOWN_STATE .
|
wxPowerType | wxGetPowerType () |
| Returns the type of power source as one of wxPOWER_SOCKET , wxPOWER_BATTERY or wxPOWER_UNKNOWN .
|
wxString | wxGetDisplayName () |
| Under X only, returns the current display name.
|
bool | wxGetDiskSpace (const wxString &path, wxLongLong total=NULL, wxLongLong free=NULL) |
| This function returns the total number of bytes and number of free bytes on the disk containing the directory path (it should exist).
|
bool | wxGetKeyState (wxKeyCode key) |
| For normal keys, returns true if the specified key is currently down.
|
wxPoint | wxGetMousePosition () |
| Returns the mouse position in screen coordinates.
|
wxMouseState | wxGetMouseState () |
| Returns the current state of the mouse.
|
void | wxEnableTopLevelWindows (bool enable=true) |
| This function enables or disables all top level windows.
|
wxWindow * | wxFindWindowAtPoint (const wxPoint &pt) |
| Find the deepest window at the given mouse position in screen coordinates, returning the window if found, or NULL if not.
|
wxWindow * | wxFindWindowByLabel (const wxString &label, wxWindow *parent=NULL) |
wxWindow * | wxFindWindowByName (const wxString &name, wxWindow *parent=NULL) |
int | wxFindMenuItemId (wxFrame *frame, const wxString &menuString, const wxString &itemString) |
| Find a menu item identifier associated with the given frame's menu bar.
|
wxWindowID | wxNewId () |
void | wxRegisterId (wxWindowID id) |
| Ensures that Ids subsequently generated by wxNewId() do not clash with the given id.
|
bool | wxLaunchDefaultApplication (const wxString &document, int flags=0) |
| Opens the document in the application associated with the files of this type.
|
bool | wxLaunchDefaultBrowser (const wxString &url, int flags=0) |
| Opens the url in user's default browser.
|
bool | wxLoadUserResource (const void **outData, size_t *outLen, const wxString &resourceName, const wxChar *resourceType="TEXT", WXHINSTANCE module=0) |
| Loads an object from Windows resource file.
|
char * | wxLoadUserResource (const wxString &resourceName, const wxChar *resourceType="TEXT", int *pLen=NULL, WXHINSTANCE module=0) |
| Loads a user-defined Windows resource as a string.
|
void | wxPostDelete (wxObject *object) |
void | wxQsort (void *pbase, size_t total_elems, size_t size, wxSortCallback cmp, const void *user_data) |
| Function implementing quick sort algorithm.
|
void | wxSetDisplayName (const wxString &displayName) |
| Under X only, sets the current display name.
|
wxString | wxStripMenuCodes (const wxString &str, int flags=wxStrip_All) |
| Strips any menu codes from str and returns the result.
|
wxString | wxGetEmailAddress () |
| Copies the user's email address into the supplied buffer, by concatenating the values returned by wxGetFullHostName() and wxGetUserId().
|
bool | wxGetEmailAddress (char *buf, int sz) |
wxMemorySize | wxGetFreeMemory () |
| Returns the amount of free memory in bytes under environments which support it, and -1 if not supported or failed to perform measurement.
|
wxString | wxGetHomeDir () |
| Return the (current) user's home directory.
|
wxString | wxGetHostName () |
| Copies the current host machine's name into the supplied buffer.
|
bool | wxGetHostName (char *buf, int sz) |
wxString | wxGetFullHostName () |
| Returns the FQDN (fully qualified domain host name) or an empty string on error.
|
wxString | wxGetUserHome (const wxString &user=wxEmptyString) |
| Returns the home directory for the given user.
|
wxString | wxGetUserId () |
| This function returns the "user id" also known as "login name" under Unix (i.e.
|
bool | wxGetUserId (char *buf, int sz) |
wxString | wxGetUserName () |
| This function returns the full user name (something like "Mr. John Smith").
|
bool | wxGetUserName (char *buf, int sz) |
wxString | wxGetOsDescription () |
| Returns the string containing the description of the current platform in a user-readable form.
|
wxOperatingSystemId | wxGetOsVersion (int *major=NULL, int *minor=NULL, int *micro=NULL) |
| Gets the version and the operating system ID for currently running OS.
|
bool | wxCheckOsVersion (int majorVsn, int minorVsn=0, int microVsn=0) |
| Returns true if the version of the operating system on which the program is running under is the same or later than the given version.
|
bool | wxIsPlatform64Bit () |
| Returns true if the operating system the program is running under is 64 bit.
|
bool | wxIsPlatformLittleEndian () |
| Returns true if the current platform is little endian (instead of big endian).
|
wxString | wxGetCpuArchitectureName () |
| Returns the CPU architecture name.
|
wxString | wxGetNativeCpuArchitectureName () |
| In some situations the current process and native CPU architecture may be different.
|
wxLinuxDistributionInfo | wxGetLinuxDistributionInfo () |
| Returns a structure containing information about the currently running Linux distribution.
|
long | wxExecute (const wxString &command, int flags=wxEXEC_ASYNC, wxProcess *callback=NULL, const wxExecuteEnv *env=NULL) |
| Executes another program in Unix or Windows.
|
long | wxExecute (const char *const *argv, int flags=wxEXEC_ASYNC, wxProcess *callback=NULL, const wxExecuteEnv *env=NULL) |
| This is an overloaded version of wxExecute(const wxString&,int,wxProcess*), please see its documentation for general information.
|
long | wxExecute (const wchar_t *const *argv, int flags=wxEXEC_ASYNC, wxProcess *callback=NULL, const wxExecuteEnv *env=NULL) |
long | wxExecute (const wxString &command, wxArrayString &output, int flags=0, const wxExecuteEnv *env=NULL) |
| This is an overloaded version of wxExecute(const wxString&,int,wxProcess*), please see its documentation for general information.
|
long | wxExecute (const wxString &command, wxArrayString &output, wxArrayString &errors, int flags=0, const wxExecuteEnv *env=NULL) |
| This is an overloaded version of wxExecute(const wxString&,int,wxProcess*), please see its documentation for general information.
|
unsigned long | wxGetProcessId () |
| Returns the number uniquely identifying the current process in the system.
|
int | wxKill (long pid, wxSignal sig=wxSIGTERM, wxKillError *rc=NULL, int flags=wxKILL_NOCHILDREN) |
| Equivalent to the Unix kill function: send the given signal sig to the process with PID pid.
|
bool | wxShell (const wxString &command=wxEmptyString) |
| Executes a command in an interactive shell window.
|
bool | wxShutdown (int flags=wxSHUTDOWN_POWEROFF) |
| This function shuts down or reboots the computer depending on the value of the flags.
|
void | wxMicroSleep (unsigned long microseconds) |
| Sleeps for the specified number of microseconds.
|
void | wxMilliSleep (unsigned long milliseconds) |
| Sleeps for the specified number of milliseconds.
|
wxString | wxNow () |
| Returns a string representing the current date and time.
|
void | wxSleep (int secs) |
| Sleeps for the specified number of seconds.
|
void | wxUsleep (unsigned long milliseconds) |
void | wxDecToHex (unsigned char dec, wxChar *buf) |
| Convert decimal integer to 2-character hexadecimal string.
|
wxString | wxDecToHex (unsigned char dec) |
| Convert decimal integer to 2-character hexadecimal string.
|
void | wxDecToHex (unsigned char dec, char *ch1, char *ch2) |
| Returns 2 characters of hexadecimal representation of a given number.
|
int | wxHexToDec (const wxString &buf) |
| Convert 2-character hexadecimal string to decimal integer.
|
int | wxHexToDec (const char *buf) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|