]> git.saurik.com Git - wxWidgets.git/blame_incremental - docs/doxygen/mainpages/cat_functions.h
removed wxAcceleratorTable copy ctor docs, no port implements it
[wxWidgets.git] / docs / doxygen / mainpages / cat_functions.h
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: cat_functions.h
3// Purpose: Functions-by-category page of the Doxygen manual
4// Author: wxWidgets team
5// RCS-ID: $Id$
6// Licence: wxWindows license
7/////////////////////////////////////////////////////////////////////////////
8
9/**
10
11@page page_func_cat Functions by Category
12
13@li @ref page_func_cat_appinitterm
14@li @ref page_func_cat_procctrl
15@li @ref page_func_cat_thread
16@li @ref page_func_cat_file
17@li @ref page_func_cat_networkuseros
18@li @ref page_func_cat_string
19@li @ref page_func_cat_dialog
20@li @ref page_func_cat_math
21@li @ref page_func_cat_gdi
22@li @ref page_func_cat_clipboard
23@li @ref page_func_cat_log
24@li @ref page_func_cat_time
25@li @ref page_func_cat_debug
26@li @ref page_func_cat_env
27@li @ref page_func_cat_atomic
28@li @ref page_func_cat_misc
29
30
31<hr>
32
33
34
35@section page_func_cat_appinitterm Application Initialization and Termination
36
37The functions in this section are used on application startup/shutdown and also
38to control the behaviour of the main event loop of the GUI programs.
39
40@li wxEntry()
41@li wxEntryCleanup()
42@li wxEntryStart()
43@li wxGetApp()
44@li wxHandleFatalExceptions()
45@li wxInitAllImageHandlers()
46@li wxInitialize()
47@li wxSafeYield()
48@li wxUninitialize()
49@li wxYield()
50@li wxWakeUpIdle()
51
52
53@section page_func_cat_procctrl Process Control
54
55The functions in this section are used to launch or terminate the other
56processes.
57
58@li wxExecute()
59@li wxExit()
60@li wxJoin()
61@li wxKill()
62@li wxGetProcessId()
63@li wxShell()
64@li wxShutdown()
65
66
67@section page_func_cat_thread Threads
68
69The functions and macros here mainly exist to make it writing the code which
70may be compiled in multi thread build (wxUSE_THREADS = 1) as well as in single
71thread configuration (wxUSE_THREADS = 0).
72
73For example, a static variable must be protected against simultaneous access by
74multiple threads in the former configuration but in the latter the extra
75overhead of using the critical section is not needed. To solve this problem,
76the wxCRITICAL_SECTION macro may be used to create and use the critical section
77only when needed.
78
79@header{wx/thread.h}
80
81@sa wxThread, wxMutex, @ref overview_thread
82
83@li wxIsMainThread()
84@li wxMutexGuiEnter()
85@li wxMutexGuiLeave()
86
87
88@section page_func_cat_file Files and Directories
89
90@header{wx/filefn.h}
91
92@sa wxPathList, wxDir, wxFile, wxFileName
93
94@li wxDos2UnixFilename()
95@li wxFileExists()
96@li wxFileModificationTime()
97@li wxFileNameFromPath()
98@li wxFindFirstFile()
99@li wxFindNextFile()
100@li wxGetDiskSpace()
101@li wxGetFileKind()
102@li wxGetOSDirectory()
103@li wxIsAbsolutePath()
104@li wxDirExists()
105@li wxPathOnly()
106@li wxUnix2DosFilename()
107@li wxConcatFiles()
108@li wxCopyFile()
109@li wxGetCwd()
110@li wxGetWorkingDirectory()
111@li wxGetTempFileName()
112@li wxIsWild()
113@li wxMatchWild()
114@li wxMkdir()
115@li wxParseCommonDialogsFilter()
116@li wxRemoveFile()
117@li wxRenameFile()
118@li wxRmdir()
119@li wxSetWorkingDirectory()
120@li wxSplit()
121@li wxSplitPath()
122@li wxTransferFileToStream()
123@li wxTransferStreamToFile()
124
125
126@section page_func_cat_networkuseros Network, User and OS
127
128The functions in this section are used to retrieve information about the
129current computer and/or user characteristics.
130
131@li wxGetEmailAddress()
132@li wxGetFreeMemory()
133@li wxGetFullHostName()
134@li wxGetHomeDir()
135@li wxGetHostName()
136@li wxGetOsDescription()
137@li wxGetOsVersion()
138@li wxIsPlatformLittleEndian()
139@li wxIsPlatform64Bit()
140@li wxGetUserHome()
141@li wxGetUserId()
142@li wxGetUserName()
143
144
145@section page_func_cat_string Strings
146
147@li wxGetTranslation()
148@li wxIsEmpty()
149@li wxStrcmp()
150@li wxStricmp()
151@li wxStringEq()
152@li wxStringMatch()
153@li wxStringTokenize()
154@li wxStrlen()
155@li wxSnprintf()
156@li wxVsnprintf()
157
158
159@section page_func_cat_dialog Dialogs
160
161Below are a number of convenience functions for getting input from the user
162or displaying messages. Note that in these functions the last three parameters
163are optional. However, it is recommended to pass a parent frame parameter, or
164(in MS Windows or Motif) the wrong window frame may be brought to the front when
165the dialog box is popped up.
166
167@li wxAboutBox()
168@li wxBeginBusyCursor()
169@li wxBell()
170@li wxCreateFileTipProvider()
171@li wxDirSelector()
172@li wxFileSelector()
173@li wxEndBusyCursor()
174@li wxGenericAboutBox()
175@li wxGetColourFromUser()
176@li wxGetFontFromUser()
177@li wxGetMultipleChoices()
178@li wxGetNumberFromUser()
179@li wxGetPasswordFromUser()
180@li wxGetTextFromUser()
181@li wxGetSingleChoice()
182@li wxGetSingleChoiceIndex()
183@li wxGetSingleChoiceData()
184@li wxInfoMessageBox()
185@li wxIsBusy()
186@li wxMessageBox()
187@li wxShowTip()
188
189
190@section page_func_cat_math Math
191
192@header{wx/math.h}
193
194@li wxFinite()
195@li wxIsNaN()
196
197
198@section page_func_cat_gdi Graphics Device Interface
199
200The following are relevant to the GDI (Graphics Device Interface).
201
202@header{wx/gdicmn.h}
203
204@li wxBITMAP()
205@li wxClientDisplayRect()
206@li wxColourDisplay()
207@li wxDisplayDepth()
208@li wxDisplaySize()
209@li wxDisplaySizeMM()
210@li wxDROP_ICON()
211@li wxICON()
212@li wxMakeMetafilePlaceable()
213@li wxSetCursor()
214
215
216@section page_func_cat_clipboard Clipboard
217
218@warning These functions are deprecated, use the wxClipboard class instead.
219
220These clipboard functions are implemented for Windows only.
221
222@header{wx/clipbrd.h}
223
224@li wxClipboardOpen()
225@li wxCloseClipboard()
226@li wxEmptyClipboard()
227@li wxEnumClipboardFormats()
228@li wxGetClipboardData()
229@li wxGetClipboardFormatName()
230@li wxIsClipboardFormatAvailable()
231@li wxOpenClipboard()
232@li wxRegisterClipboardFormat()
233@li wxSetClipboardData()
234
235
236@section page_func_cat_log Logging
237
238These functions provide a variety of logging functions. The functions use
239(implicitly) the currently active log target, so their descriptions here may
240not apply if the log target is not the standard one (installed by wxWidgets in
241the beginning of the program).
242
243Related Overviews: @ref overview_log
244
245@header{wx/log.h}
246
247@li wxDebugMsg()
248@li wxError()
249@li wxFatalError()
250@li wxLogError()
251@li wxLogFatalError()
252@li wxLogWarning()
253@li wxLogMessage()
254@li wxLogVerbose()
255@li wxLogStatus()
256@li wxLogSysError()
257@li wxLogDebug()
258@li wxLogTrace()
259@li wxSafeShowMessage()
260@li wxSysErrorCode()
261@li wxSysErrorMsg()
262@li wxTrace()
263@li wxTraceLevel()
264
265
266@section page_func_cat_time Time
267
268The functions in this section deal with getting the current time and sleeping
269for the specified time interval.
270
271@li wxGetLocalTime()
272@li wxGetLocalTimeMillis()
273@li wxGetUTCTime()
274@li wxMicroSleep()
275@li wxMilliSleep()
276@li wxNow()
277@li wxSleep()
278@li wxUsleep()
279
280
281@section page_func_cat_debug Debugging
282
283Useful macros and functions for error checking and defensive programming.
284wxWidgets defines three families of the assert-like macros: the wxASSERT and
285wxFAIL macros only do anything if __WXDEBUG__ is defined (in other words, in
286the debug build) but disappear completely in the release build. On the other
287hand, the wxCHECK macros stay event in release builds but a check failure
288doesn't generate any user-visible effects then. Finally, the compile time
289assertions don't happen during the run-time but result in the compilation error
290messages if the condition they check fail.
291
292@header{wx/debug.h}
293
294@li wxOnAssert()
295@li wxTrap()
296@li wxIsDebuggerRunning()
297
298
299@section page_func_cat_env Environment
300
301The functions in this section allow to access (get) or change value of
302environment variables in a portable way. They are currently implemented under
303Win32 and POSIX-like systems (Unix).
304
305@header{wx/utils.h}
306
307@li wxGetenv()
308@li wxGetEnv()
309@li wxSetEnv()
310@li wxUnsetEnv()
311
312
313@section page_func_cat_atomic Atomic Operations
314
315When using multi-threaded applications, it is often required to access or
316modify memory which is shared between threads. Atomic integer and pointer
317operations are an efficient way to handle this issue (another, less efficient,
318way is to use a mutex or critical section). A native implementation exists for
319Windows, Linux, Solaris and Mac OS X, for other OS, a wxCriticalSection is used
320to protect the data.
321
322One particular application is reference counting (used by so-called smart
323pointers).
324
325You should define your variable with the type wxAtomicInt in order to apply
326atomic operations to it.
327
328@header{wx/atomic.h}
329
330@li wxAtomicInc()
331@li wxAtomicDec()
332
333
334@section page_func_cat_misc Miscellaneous
335
336@li wxBase64Decode()
337@li wxBase64DecodedSize()
338@li wxBase64Encode()
339@li wxBase64EncodedSize()
340@li wxGetKeyState()
341@li wxNewId()
342@li wxRegisterId()
343@li wxDDECleanUp()
344@li wxDDEInitialize()
345@li wxEnableTopLevelWindows()
346@li wxFindMenuItemId()
347@li wxFindWindowByLabel()
348@li wxFindWindowByName()
349@li wxFindWindowAtPoint()
350@li wxFindWindowAtPointer()
351@li wxGetActiveWindow()
352@li wxGetBatteryState()
353@li wxGetDisplayName()
354@li wxGetPowerType()
355@li wxGetMousePosition()
356@li wxGetMouseState()
357@li wxGetStockLabel()
358@li wxGetTopLevelParent()
359@li wxLaunchDefaultBrowser()
360@li wxLoadUserResource()
361@li wxPostDelete()
362@li wxPostEvent()
363@li wxSetDisplayName()
364@li wxStripMenuCodes()
365
366*/
367