]> git.saurik.com Git - wxWidgets.git/blob - docs/latex/wx/category.tex
corrected Enable() docs to correspond to the real method signature
[wxWidgets.git] / docs / latex / wx / category.tex
1 \chapter{Classes by category}\label{classesbycat}
2 \setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
3 \setfooter{\thepage}{}{}{}{}{\thepage}%
4
5 A classification of wxWindows classes by category.
6
7 {\large {\bf Managed windows}}
8
9 There are several types of window that are directly controlled by the
10 window manager (such as MS Windows, or the Motif Window Manager).
11 Frames may contain windows, and dialog boxes may directly contain controls.
12
13 \twocolwidtha{6cm}
14 \begin{twocollist}\itemsep=0pt
15 \twocolitem{\helpref{wxDialog}{wxdialog}}{Dialog box}
16 \twocolitem{\helpref{wxFrame}{wxframe}}{Normal frame}
17 \twocolitem{\helpref{wxMDIChildFrame}{wxmdichildframe}}{MDI child frame}
18 \twocolitem{\helpref{wxMDIParentFrame}{wxmdiparentframe}}{MDI parent frame}
19 \twocolitem{\helpref{wxMiniFrame}{wxminiframe}}{A frame with a small title bar}
20 \twocolitem{\helpref{wxSplashScreen}{wxsplashscreen}}{Splash screen class}
21 %\twocolitem{\helpref{wxTabbedDialog}{wxtabbeddialog}}{Tabbed dialog
22 %(deprecated, use wxNotebook instead)}
23 \twocolitem{\helpref{wxTipWindow}{wxtipwindow}}{Shows text in a small window}
24 \twocolitem{\helpref{wxWizard}{wxwizard}}{A wizard dialog}
25 \end{twocollist}
26
27 See also {\bf Common dialogs}.
28
29 {\large {\bf Miscellaneous windows}}
30
31 The following are a variety of classes that are derived from wxWindow.
32
33 \twocolwidtha{6cm}
34 \begin{twocollist}\itemsep=0pt
35 \twocolitem{\helpref{wxPanel}{wxpanel}}{A window whose colour changes according to current user settings}
36 \twocolitem{\helpref{wxScrolledWindow}{wxscrolledwindow}}{Window with automatically managed scrollbars}
37 \twocolitem{\helpref{wxGrid}{wxgrid}}{A grid (table) window}
38 \twocolitem{\helpref{wxSplitterWindow}{wxsplitterwindow}}{Window which can be split vertically or horizontally}
39 \twocolitem{\helpref{wxStatusBar}{wxstatusbar}}{Implements the status bar on a frame}
40 \twocolitem{\helpref{wxToolBar}{wxtoolbar}}{Toolbar class}
41 %\twocolitem{\helpref{wxTabbedPanel}{wxtabbedpanel}}{Tabbed panel (to be replaced with wxNotebook)}
42 \twocolitem{\helpref{wxNotebook}{wxnotebook}}{Notebook class}
43 \twocolitem{\helpref{wxPlotWindow}{wxplotwindow}}{A class to display data.}
44 \twocolitem{\helpref{wxSashWindow}{wxsashwindow}}{Window with four optional sashes that can be dragged}
45 \twocolitem{\helpref{wxSashLayoutWindow}{wxsashlayoutwindow}}{Window that can be involved in an IDE-like layout arrangement}
46 \twocolitem{\helpref{wxWizardPage}{wxwizardpage}}{A base class for the page in wizard dialog.}
47 \twocolitem{\helpref{wxWizardPageSimple}{wxwizardpagesimple}}{A page in wizard dialog.}
48 \end{twocollist}
49
50 {\large {\bf Common dialogs}}
51
52 \overview{Overview}{commondialogsoverview}
53
54 Common dialogs are ready-made dialog classes which are frequently used
55 in an application.
56
57 \twocolwidtha{6cm}
58 \begin{twocollist}\itemsep=0pt
59 \twocolitem{\helpref{wxDialog}{wxdialog}}{Base class for common dialogs}
60 \twocolitem{\helpref{wxColourDialog}{wxcolourdialog}}{Colour chooser dialog}
61 \twocolitem{\helpref{wxDirDialog}{wxdirdialog}}{Directory selector dialog}
62 \twocolitem{\helpref{wxFileDialog}{wxfiledialog}}{File selector dialog}
63 \twocolitem{\helpref{wxFindReplaceDialog}{wxfindreplacedialog}}{Text search/replace dialog}
64 \twocolitem{\helpref{wxMultipleChoiceDialog}{wxmultiplechoicedialog}}{Dialog to get one or more selections from a list}
65 \twocolitem{\helpref{wxSingleChoiceDialog}{wxsinglechoicedialog}}{Dialog to get a single selection from a list and return the string}
66 \twocolitem{\helpref{wxTextEntryDialog}{wxtextentrydialog}}{Dialog to get a single line of text from the user}
67 \twocolitem{\helpref{wxFontDialog}{wxfontdialog}}{Font chooser dialog}
68 \twocolitem{\helpref{wxPageSetupDialog}{wxpagesetupdialog}}{Standard page setup dialog}
69 \twocolitem{\helpref{wxPrintDialog}{wxprintdialog}}{Standard print dialog}
70 \twocolitem{\helpref{wxPageSetupDialog}{wxpagesetupdialog}}{Standard page setup dialog}
71 \twocolitem{\helpref{wxMessageDialog}{wxmessagedialog}}{Simple message box dialog}
72 \twocolitem{\helpref{wxWizard}{wxwizard}}{A wizard dialog.}
73 \end{twocollist}
74
75 {\large {\bf Controls}}
76
77 Typically, these are small windows which provide interaction with the user. Controls
78 that are not static can have \helpref{validators}{wxvalidator} associated with them.
79
80 \twocolwidtha{6cm}
81 \begin{twocollist}\itemsep=0pt
82 \twocolitem{\helpref{wxControl}{wxcontrol}}{The base class for controls}
83 \twocolitem{\helpref{wxButton}{wxbutton}}{Push button control, displaying text}
84 \twocolitem{\helpref{wxBitmapButton}{wxbitmapbutton}}{Push button control, displaying a bitmap}
85 \twocolitem{\helpref{wxToggleButton}{wxtogglebutton}}{A button which stays pressed when clicked by user.}
86 \twocolitem{\helpref{wxCalendarCtrl}{wxcalendarctrl}}{Date picker control}
87 \twocolitem{\helpref{wxCheckBox}{wxcheckbox}}{Checkbox control}
88 \twocolitem{\helpref{wxCheckListBox}{wxchecklistbox}}{A listbox with a checkbox to the left of each item}
89 \twocolitem{\helpref{wxChoice}{wxchoice}}{Choice control (a combobox without the editable area)}
90 \twocolitem{\helpref{wxComboBox}{wxcombobox}}{A choice with an editable area}
91 \twocolitem{\helpref{wxGauge}{wxgauge}}{A control to represent a varying quantity, such as time remaining}
92 \twocolitem{\helpref{wxGenericDirCtrl}{wxgenericdirctrl}}{A control for displaying a directory tree}
93 \twocolitem{\helpref{wxStaticBox}{wxstaticbox}}{A static, or group box for visually grouping related controls}
94 \twocolitem{\helpref{wxListBox}{wxlistbox}}{A list of strings for single or multiple selection}
95 \twocolitem{\helpref{wxListCtrl}{wxlistctrl}}{A control for displaying lists of strings and/or icons, plus a multicolumn report view}
96 \twocolitem{\helpref{wxTabCtrl}{wxtabctrl}}{Manages several tabs}
97 \twocolitem{\helpref{wxTextCtrl}{wxtextctrl}}{Single or multiline text editing control}
98 \twocolitem{\helpref{wxTreeCtrl}{wxtreectrl}}{Tree (hierarchy) control}
99 \twocolitem{\helpref{wxScrollBar}{wxscrollbar}}{Scrollbar control}
100 \twocolitem{\helpref{wxSpinButton}{wxspinbutton}}{A spin or `up-down' control}
101 \twocolitem{\helpref{wxSpinCtrl}{wxspinctrl}}{A spin control - i.e. spin button and text control}
102 \twocolitem{\helpref{wxStaticText}{wxstatictext}}{One or more lines of non-editable text}
103 \twocolitem{\helpref{wxStaticBitmap}{wxstaticbitmap}}{A control to display a bitmap}
104 \twocolitem{\helpref{wxRadioBox}{wxradiobox}}{A group of radio buttons}
105 \twocolitem{\helpref{wxRadioButton}{wxradiobutton}}{A round button to be used with others in a mutually exclusive way}
106 \twocolitem{\helpref{wxSlider}{wxslider}}{A slider that can be dragged by the user}
107 \end{twocollist}
108
109 {\large {\bf Menus}}
110
111 \twocolwidtha{6cm}
112 \begin{twocollist}\itemsep=0pt
113 \twocolitem{\helpref{wxMenu}{wxmenu}}{Displays a series of menu items for selection}
114 \twocolitem{\helpref{wxMenuBar}{wxmenubar}}{Contains a series of menus for use with a frame}
115 \twocolitem{\helpref{wxMenuItem}{wxmenuitem}}{Represents a single menu item}
116 \end{twocollist}
117
118 {\large {\bf Window layout}}
119
120 There are two different systems for laying out windows (and dialogs in particular).
121 One is based upon so-called sizers and it requires less typing, thinking and calculating
122 and will in almost all cases produce dialogs looking equally well on all platforms, the
123 other is based on so-called constraints and is deprecated, though still available.
124
125 \overview{Sizer overview}{sizeroverview} describes sizer-based layout.
126
127 These are the classes relevant to sizer-based layout.
128
129 \twocolwidtha{6cm}
130 \begin{twocollist}\itemsep=0pt
131 \twocolitem{\helpref{wxSizer}{wxsizer}}{Abstract base class}
132 \twocolitem{\helpref{wxGridSizer}{wxgridsizer}}{A sizer for laying out windows in a grid with all fields having the same size}
133 \twocolitem{\helpref{wxFlexGridSizer}{wxflexgridsizer}}{A sizer for laying out windows in a flexible grid}
134 \twocolitem{\helpref{wxBoxSizer}{wxboxsizer}}{A sizer for laying out windows in a row or column}
135 \twocolitem{\helpref{wxStaticBoxSizer}{wxstaticboxsizer}}{Same as wxBoxSizer, but with a surrounding static box}
136 \twocolitem{\helpref{wxNotebookSizer}{wxnotebooksizer}}{Sizer to use with the wxNotebook control}
137 \end{twocollist}
138
139 \overview{Constraints overview}{constraintsoverview} describes constraints-based layout.
140
141 These are the classes relevant to constraints-based window layout.
142
143 \twocolwidtha{6cm}
144 \begin{twocollist}\itemsep=0pt
145 \twocolitem{\helpref{wxIndividualLayoutConstraint}{wxindividuallayoutconstraint}}{Represents a single constraint dimension}
146 \twocolitem{\helpref{wxLayoutConstraints}{wxlayoutconstraints}}{Represents the constraints for a window class}
147 \end{twocollist}
148
149 {\large {\bf Device contexts}}
150
151 \overview{Overview}{dcoverview}
152
153 Device contexts are surfaces that may be drawn on, and provide an
154 abstraction that allows parameterisation of your drawing code
155 by passing different device contexts.
156
157 \twocolwidtha{6cm}
158 \begin{twocollist}\itemsep=0pt
159 \twocolitem{\helpref{wxClientDC}{wxclientdc}}{A device context to access the client area outside {\bf OnPaint} events}
160 \twocolitem{\helpref{wxPaintDC}{wxpaintdc}}{A device context to access the client area inside {\bf OnPaint} events}
161 \twocolitem{\helpref{wxWindowDC}{wxwindowdc}}{A device context to access the non-client area}
162 \twocolitem{\helpref{wxScreenDC}{wxscreendc}}{A device context to access the entire screen}
163 \twocolitem{\helpref{wxDC}{wxdc}}{The device context base class}
164 \twocolitem{\helpref{wxMemoryDC}{wxmemorydc}}{A device context for drawing into bitmaps}
165 \twocolitem{\helpref{wxMetafileDC}{wxmetafiledc}}{A device context for drawing into metafiles}
166 \twocolitem{\helpref{wxPostScriptDC}{wxpostscriptdc}}{A device context for drawing into PostScript files}
167 \twocolitem{\helpref{wxPrinterDC}{wxprinterdc}}{A device context for drawing to printers}
168 \end{twocollist}
169
170 {\large {\bf Graphics device interface}}
171
172 \overview{Bitmaps overview}{wxbitmapoverview}
173
174 These classes are related to drawing on device contexts and windows.
175
176 \twocolwidtha{6cm}
177 \begin{twocollist}\itemsep=0pt
178 \twocolitem{\helpref{wxColour}{wxcolour}}{Represents the red, blue and green elements of a colour}
179 \twocolitem{\helpref{wxDCClipper}{wxdcclipper}}{Wraps the operations of setting and destroying the clipping region}
180 \twocolitem{\helpref{wxBitmap}{wxbitmap}}{Represents a bitmap}
181 \twocolitem{\helpref{wxBrush}{wxbrush}}{Used for filling areas on a device context}
182 \twocolitem{\helpref{wxBrushList}{wxbrushlist}}{The list of previously-created brushes}
183 \twocolitem{\helpref{wxCursor}{wxcursor}}{A small, transparent bitmap representing the cursor}
184 \twocolitem{\helpref{wxFont}{wxfont}}{Represents fonts}
185 \twocolitem{\helpref{wxFontList}{wxfontlist}}{The list of previously-created fonts}
186 \twocolitem{\helpref{wxIcon}{wxicon}}{A small, transparent bitmap for assigning to frames and drawing on device contexts}
187 \twocolitem{\helpref{wxImage}{wximage}}{A platform-independent image class}
188 \twocolitem{\helpref{wxImageList}{wximagelist}}{A list of images, used with some controls}
189 \twocolitem{\helpref{wxMask}{wxmask}}{Represents a mask to be used with a bitmap for transparent drawing}
190 \twocolitem{\helpref{wxPen}{wxpen}}{Used for drawing lines on a device context}
191 \twocolitem{\helpref{wxPenList}{wxpenlist}}{The list of previously-created pens}
192 \twocolitem{\helpref{wxPalette}{wxpalette}}{Represents a table of indices into RGB values}
193 \twocolitem{\helpref{wxRegion}{wxregion}}{Represents a simple or complex region on a window or device context}
194 \end{twocollist}
195
196 {\large {\bf Events}}
197
198 \overview{Overview}{eventhandlingoverview}
199
200 An event object contains information about a specific event. Event handlers
201 (usually member functions) have a single, event argument.
202
203 \twocolwidtha{6cm}
204 \begin{twocollist}\itemsep=0pt
205 \twocolitem{\helpref{wxActivateEvent}{wxactivateevent}}{A window or application activation event}
206 \twocolitem{\helpref{wxCalendarEvent}{wxcalendarevent}}{Used with \helpref{wxCalendarCtrl}{wxcalendarctrl}}
207 \twocolitem{\helpref{wxCalculateLayoutEvent}{wxcalculatelayoutevent}}{Used to calculate window layout}
208 \twocolitem{\helpref{wxCloseEvent}{wxcloseevent}}{A close window or end session event}
209 \twocolitem{\helpref{wxCommandEvent}{wxcommandevent}}{An event from a variety of standard controls}
210 \twocolitem{\helpref{wxDialUpEvent}{wxdialupevent}}{Event send by \helpref{wxDialUpManager}{wxdialupmanager}}
211 \twocolitem{\helpref{wxDropFilesEvent}{wxdropfilesevent}}{A drop files event}
212 \twocolitem{\helpref{wxEraseEvent}{wxeraseevent}}{An erase background event}
213 \twocolitem{\helpref{wxEvent}{wxevent}}{The event base class}
214 \twocolitem{\helpref{wxFindDialogEvent}{wxfinddialogevent}}{Event sent by
215 \helpref{wxFindReplaceDialog}{wxfindreplacedialog}}
216 \twocolitem{\helpref{wxFocusEvent}{wxfocusevent}}{A window focus event}
217 \twocolitem{\helpref{wxKeyEvent}{wxkeyevent}}{A keypress event}
218 \twocolitem{\helpref{wxIconizeEvent}{wxiconizeevent}}{An iconize/restore event}
219 \twocolitem{\helpref{wxIdleEvent}{wxidleevent}}{An idle event}
220 \twocolitem{\helpref{wxInitDialogEvent}{wxinitdialogevent}}{A dialog initialisation event}
221 \twocolitem{\helpref{wxJoystickEvent}{wxjoystickevent}}{A joystick event}
222 \twocolitem{\helpref{wxListEvent}{wxlistevent}}{A list control event}
223 \twocolitem{\helpref{wxMaximizeEvent}{wxmaximizeevent}}{A maximize event}
224 \twocolitem{\helpref{wxMenuEvent}{wxmenuevent}}{A menu event}
225 \twocolitem{\helpref{wxMouseCaptureChangedEvent}{wxmousecapturechangedevent}}{A mouse capture changed event}
226 \twocolitem{\helpref{wxMouseEvent}{wxmouseevent}}{A mouse event}
227 \twocolitem{\helpref{wxMoveEvent}{wxmoveevent}}{A move event}
228 \twocolitem{\helpref{wxNotebookEvent}{wxnotebookevent}}{A notebook control event}
229 \twocolitem{\helpref{wxNotifyEvent}{wxnotifyevent}}{A notification event, which can be vetoed}
230 \twocolitem{\helpref{wxPaintEvent}{wxpaintevent}}{A paint event}
231 \twocolitem{\helpref{wxProcessEvent}{wxprocessevent}}{A process ending event}
232 \twocolitem{\helpref{wxQueryLayoutInfoEvent}{wxquerylayoutinfoevent}}{Used to query layout information}
233 \twocolitem{\helpref{wxScrollEvent}{wxscrollevent}}{A scroll event from sliders, stand-alone scrollbars and spin buttons}
234 \twocolitem{\helpref{wxScrollWinEvent}{wxscrollwinevent}}{A scroll event from scrolled windows}
235 \twocolitem{\helpref{wxSizeEvent}{wxsizeevent}}{A size event}
236 \twocolitem{\helpref{wxSocketEvent}{wxsocketevent}}{A socket event}
237 \twocolitem{\helpref{wxSpinEvent}{wxspinevent}}{An event from \helpref{wxSpinButton}{wxspinbutton}}
238 \twocolitem{\helpref{wxSysColourChangedEvent}{wxsyscolourchangedevent}}{A system colour change event}
239 \twocolitem{\helpref{wxTabEvent}{wxtabevent}}{A tab control event}
240 \twocolitem{\helpref{wxTreeEvent}{wxtreeevent}}{A tree control event}
241 \twocolitem{\helpref{wxUpdateUIEvent}{wxupdateuievent}}{A user interface update event}
242 \twocolitem{\helpref{wxWizardEvent}{wxwizardevent}}{A wizard event}
243 \end{twocollist}
244
245 {\large {\bf Validators}}
246
247 \overview{Overview}{validatoroverview}
248
249 These are the window validators, used for filtering and validating
250 user input.
251
252 \twocolwidtha{6cm}
253 \begin{twocollist}\itemsep=0pt
254 \twocolitem{\helpref{wxValidator}{wxvalidator}}{Base validator class}
255 \twocolitem{\helpref{wxTextValidator}{wxtextvalidator}}{Text control validator class}
256 \twocolitem{\helpref{wxGenericValidator}{wxgenericvalidator}}{Generic control validator class}
257 \end{twocollist}
258
259 {\large {\bf Data structures}}
260
261 These are the data structure classes supported by wxWindows.
262
263 \twocolwidtha{6cm}
264 \begin{twocollist}\itemsep=0pt
265 \twocolitem{\helpref{wxCmdLineParser}{wxcmdlineparser}}{Command line parser class}
266 \twocolitem{\helpref{wxDate}{wxdate}}{A class for date manipulation (deprecated in favour of wxDateTime)}
267 \twocolitem{\helpref{wxDateSpan}{wxdatespan}}{A logical time interval.}
268 \twocolitem{\helpref{wxDateTime}{wxdatetime}}{A class for date/time manipulations}
269 \twocolitem{\helpref{wxExpr}{wxexpr}}{A class for flexible I/O}
270 \twocolitem{\helpref{wxExprDatabase}{wxexprdatabase}}{A class for flexible I/O}
271 \twocolitem{\helpref{wxHashMap}{wxhashmap}}{A simple hash map implementation}
272 \twocolitem{\helpref{wxHashTable}{wxhashtable}}{A simple hash table implementation (deprecated, use wxHashMap)}
273 % \twocolitem{\helpref{wxHashTableLong}{wxhashtablelong}}{A wxHashTable version for storing long data}
274 \twocolitem{\helpref{wxList}{wxlist}}{A simple linked list implementation}
275 \twocolitem{\helpref{wxLongLong}{wxlonglong}}{A portable 64 bit integer type}
276 \twocolitem{\helpref{wxNode}{wxnode}}{Represents a node in the wxList implementation}
277 \twocolitem{\helpref{wxObject}{wxobject}}{The root class for most wxWindows classes}
278 \twocolitem{\helpref{wxPathList}{wxpathlist}}{A class to help search multiple paths}
279 \twocolitem{\helpref{wxPoint}{wxpoint}}{Representation of a point}
280 \twocolitem{\helpref{wxRect}{wxrect}}{A class representing a rectangle}
281 \twocolitem{\helpref{wxRegEx}{wxregex}}{Regular expression support}
282 \twocolitem{\helpref{wxRegion}{wxregion}}{A class representing a region}
283 \twocolitem{\helpref{wxString}{wxstring}}{A string class}
284 \twocolitem{\helpref{wxStringList}{wxstringlist}}{A class representing a list of strings}
285 \twocolitem{\helpref{wxStringTokenizer}{wxstringtokenizer}}{A class for interpreting a string as a list of tokens or words}
286 \twocolitem{\helpref{wxRealPoint}{wxrealpoint}}{Representation of a point using floating point numbers}
287 \twocolitem{\helpref{wxSize}{wxsize}}{Representation of a size}
288 \twocolitem{\helpref{wxTime}{wxtime}}{A class for time manipulation (deprecated in favour of wxDateTime)}
289 \twocolitem{\helpref{wxTimeSpan}{wxtimespan}}{A time interval.}
290 \twocolitem{\helpref{wxVariant}{wxvariant}}{A class for storing arbitrary types that may change at run-time}
291 \end{twocollist}
292
293 {\large {\bf Run-time class information system}}
294
295 \overview{Overview}{runtimeclassoverview}
296
297 wxWindows supports run-time manipulation of class information, and dynamic
298 creation of objects given class names.
299
300 \twocolwidtha{6cm}
301 \begin{twocollist}\itemsep=0pt
302 \twocolitem{\helpref{wxClassInfo}{wxclassinfo}}{Holds run-time class information}
303 \twocolitem{\helpref{wxObject}{wxobject}}{Root class for classes with run-time information}
304 \twocolitem{\helpref{RTTI macros}{rttimacros}}{Macros for manipulating run-time information}
305 \end{twocollist}
306
307 {\large {\bf Debugging features}}
308
309 \overview{Overview}{wxlogoverview}
310
311 wxWindows provides several classes and functions for the message logging.
312 Please see the \helpref{wxLog overview}{wxlogoverview} for more details.
313
314 \twocolwidtha{6cm}
315 \begin{twocollist}\itemsep=0pt
316 \twocolitem{\helpref{wxLog}{wxlog}}{The base log class}
317 \twocolitem{\helpref{wxLogStderr}{wxlogstderr}}{Log messages to a C STDIO stream}
318 \twocolitem{\helpref{wxLogStream}{wxlogstream}}{Log messages to a C++ iostream}
319 \twocolitem{\helpref{wxLogTextCtrl}{wxlogtextctrl}}{Log messages to a \helpref{wxTextCtrl}{wxtextctrl}}
320 \twocolitem{\helpref{wxLogWindow}{wxlogwindow}}{Log messages to a log frame}
321 \twocolitem{\helpref{wxLogGui}{wxloggui}}{Default log target for GUI programs}
322 \twocolitem{\helpref{wxLogNull}{wxlognull}}{Temporarily suppress message logging}
323 \twocolitem{\helpref{wxLogChain}{wxlogchain}}{Allows to chain two log targets}
324 \twocolitem{\helpref{wxLogPassThrough}{wxlogpassthrough}}{Allows to filter the log messages}
325 \twocolitem{\helpref{wxStreamToTextRedirector}{wxstreamtotextredirector}}{Allows
326 to redirect output sent to {\tt cout} to a \helpref{wxTextCtrl}{wxtextctrl}}
327 \twocolitem{\helpref{Log functions}{logfunctions}}{Error and warning logging functions}
328 \end{twocollist}
329
330 {\large {\bf Debugging features}}
331
332 \overview{Overview}{debuggingoverview}
333
334 wxWindows supports some aspects of debugging an application through
335 classes, functions and macros.
336
337 \twocolwidtha{6cm}
338 \begin{twocollist}\itemsep=0pt
339 \twocolitem{\helpref{wxDebugContext}{wxdebugcontext}}{Provides memory-checking facilities}
340 %\twocolitem{\helpref{wxDebugStreamBuf}{wxdebugstreambuf}}{A stream buffer writing to the debug stream}
341 \twocolitem{\helpref{Debugging macros}{debugmacros}}{Debug macros for assertion and checking}
342 \twocolitem{\helpref{WXDEBUG\_NEW}{debugnew}}{Use this macro to give further debugging information}
343 %\twocolitem{\helpref{WXTRACE}{trace}}{Trace macro}
344 %\twocolitem{\helpref{WXTRACELEVEL}{tracelevel}}{Trace macro with levels}
345 \end{twocollist}
346
347 {\large {\bf Networking classes}}
348
349 wxWindows provides its own classes for socket based networking.
350
351 \twocolwidtha{6cm}
352 \begin{twocollist}\itemsep=0pt
353 \twocolitem{\helpref{wxDialUpManager}{wxdialupmanager}}{Provides functions to check the status of network connection and to establish one}
354 \twocolitem{\helpref{wxIPV4address}{wxipv4address}}{Represents an Internet address}
355 \twocolitem{\helpref{wxSocketBase}{wxsocketbase}}{Represents a socket base object}
356 \twocolitem{\helpref{wxSocketClient}{wxsocketclient}}{Represents a socket client}
357 \twocolitem{\helpref{wxSocketServer}{wxsocketserver}}{Represents a socket server}
358 \twocolitem{\helpref{wxSocketEvent}{wxsocketevent}}{A socket event}
359 \twocolitem{\helpref{wxFTP}{wxftp}}{FTP protocol class}
360 \twocolitem{\helpref{wxHTTP}{wxhttp}}{HTTP protocol class}
361 \twocolitem{\helpref{wxURL}{wxurl}}{Represents a Universal Resource Locator}
362 \end{twocollist}
363
364
365 {\large {\bf Interprocess communication}}
366
367 \overview{Overview}{ipcoverview}
368
369 wxWindows provides a simple interprocess communications facilities
370 based on DDE.
371
372 \twocolwidtha{6cm}
373 \begin{twocollist}\itemsep=0pt
374 \twocolitem{\helpref{wxDDEClient}{wxddeclient}}{Represents a client}
375 \twocolitem{\helpref{wxDDEConnection}{wxddeconnection}}{Represents the connection between a client and a server}
376 \twocolitem{\helpref{wxDDEServer}{wxddeserver}}{Represents a server}
377 \twocolitem{\helpref{wxTCPClient}{wxtcpclient}}{Represents a client}
378 \twocolitem{\helpref{wxTCPConnection}{wxtcpconnection}}{Represents the connection between a client and a server}
379 \twocolitem{\helpref{wxTCPServer}{wxtcpserver}}{Represents a server}
380 %\twocolitem{\helpref{wxSocketHandler}{wxsockethandler}}{Represents a socket handler}
381 \end{twocollist}
382
383 {\large {\bf Document/view framework}}
384
385 \overview{Overview}{docviewoverview}
386
387 wxWindows supports a document/view framework which provides
388 housekeeping for a document-centric application.
389
390 \twocolwidtha{6cm}
391 \begin{twocollist}\itemsep=0pt
392 \twocolitem{\helpref{wxDocument}{wxdocument}}{Represents a document}
393 \twocolitem{\helpref{wxView}{wxview}}{Represents a view}
394 \twocolitem{\helpref{wxDocTemplate}{wxdoctemplate}}{Manages the relationship between a document class and a view class}
395 \twocolitem{\helpref{wxDocManager}{wxdocmanager}}{Manages the documents and views in an application}
396 \twocolitem{\helpref{wxDocChildFrame}{wxdocchildframe}}{A child frame for showing a document view}
397 \twocolitem{\helpref{wxDocParentFrame}{wxdocparentframe}}{A parent frame to contain views}
398 %\twocolitem{\helpref{wxMDIDocChildFrame}{wxmdidocchildframe}}{An MDI child frame for showing a document view}
399 %\twocolitem{\helpref{wxMDIDocParentFrame}{wxmdidocparentframe}}{An MDI parent frame to contain views}
400 \end{twocollist}
401
402 {\large {\bf Printing framework}}
403
404 \overview{Overview}{printingoverview}
405
406 A printing and previewing framework is implemented to
407 make it relatively straightforward to provide document printing
408 facilities.
409
410 \twocolwidtha{6cm}
411 \begin{twocollist}\itemsep=0pt
412 \twocolitem{\helpref{wxPreviewFrame}{wxpreviewframe}}{Frame for displaying a print preview}
413 \twocolitem{\helpref{wxPreviewCanvas}{wxpreviewcanvas}}{Canvas for displaying a print preview}
414 \twocolitem{\helpref{wxPreviewControlBar}{wxpreviewcontrolbar}}{Standard control bar for a print preview}
415 \twocolitem{\helpref{wxPrintDialog}{wxprintdialog}}{Standard print dialog}
416 \twocolitem{\helpref{wxPageSetupDialog}{wxpagesetupdialog}}{Standard page setup dialog}
417 \twocolitem{\helpref{wxPrinter}{wxprinter}}{Class representing the printer}
418 \twocolitem{\helpref{wxPrinterDC}{wxprinterdc}}{Printer device context}
419 \twocolitem{\helpref{wxPrintout}{wxprintout}}{Class representing a particular printout}
420 \twocolitem{\helpref{wxPrintPreview}{wxprintpreview}}{Class representing a print preview}
421 \twocolitem{\helpref{wxPrintData}{wxprintdata}}{Represents information about the document being printed}
422 \twocolitem{\helpref{wxPrintDialogData}{wxprintdialogdata}}{Represents information about the print dialog}
423 \twocolitem{\helpref{wxPageSetupDialogData}{wxpagesetupdialogdata}}{Represents information about the page setup dialog}
424 \end{twocollist}
425
426 {\large {\bf Drag and drop and clipboard classes}}
427
428 \overview{Drag and drop and clipboard overview}{wxdndoverview}
429
430 \twocolwidtha{6cm}
431 \begin{twocollist}\itemsep=0pt
432 \twocolitem{\helpref{wxDataObject}{wxdataobject}}{Data object class}
433 \twocolitem{\helpref{wxDataFormat}{wxdataformat}}{Represents a data format}
434 \twocolitem{\helpref{wxTextDataObject}{wxtextdataobject}}{Text data object class}
435 \twocolitem{\helpref{wxFileDataObject}{wxtextdataobject}}{File data object class}
436 \twocolitem{\helpref{wxBitmapDataObject}{wxbitmapdataobject}}{Bitmap data object class}
437 \twocolitem{\helpref{wxCustomDataObject}{wxcustomdataobject}}{Custom data object class}
438 \twocolitem{\helpref{wxClipboard}{wxclipboard}}{Clipboard class}
439 \twocolitem{\helpref{wxDropTarget}{wxdroptarget}}{Drop target class}
440 \twocolitem{\helpref{wxFileDropTarget}{wxfiledroptarget}}{File drop target class}
441 \twocolitem{\helpref{wxTextDropTarget}{wxtextdroptarget}}{Text drop target class}
442 \twocolitem{\helpref{wxDropSource}{wxdropsource}}{Drop source class}
443 \end{twocollist}
444
445 {\large {\bf File related classes}}
446
447 wxWindows has several small classes to work with disk files, see \helpref{file classes
448 overview}{wxfileoverview} for more details.
449
450 \twocolwidtha{6cm}
451 \begin{twocollist}\itemsep=0pt
452 \twocolitem{\helpref{wxFileName}{wxfilename}}{Operations with the file name and attributes}
453 \twocolitem{\helpref{wxDir}{wxdir}}{Class for enumerating files/subdirectories.}
454 \twocolitem{\helpref{wxDirTraverser}{wxdirtraverser}}{Class used together with wxDir for recursively enumerating the files/subdirectories}
455 \twocolitem{\helpref{wxFile}{wxfile}}{Low-level file input/output class.}
456 \twocolitem{\helpref{wxFFile}{wxffile}}{Another low-level file input/output class.}
457 \twocolitem{\helpref{wxTempFile}{wxtempfile}}{Class to safely replace an existing file}
458 \twocolitem{\helpref{wxTextFile}{wxtextfile}}{Class for working with text files as with arrays of lines}
459 \end{twocollist}
460
461 {\large {\bf Stream classes}}
462
463 wxWindows has its own set of stream classes, as an alternative to often buggy standard stream
464 libraries, and to provide enhanced functionality.
465
466 \twocolwidtha{6cm}
467 \begin{twocollist}\itemsep=0pt
468 \twocolitem{\helpref{wxStreamBase}{wxstreambase}}{Stream base class}
469 \twocolitem{\helpref{wxStreamBuffer}{wxstreambuffer}}{Stream buffer class}
470 \twocolitem{\helpref{wxInputStream}{wxinputstream}}{Input stream class}
471 \twocolitem{\helpref{wxOutputStream}{wxoutputstream}}{Output stream class}
472 \twocolitem{\helpref{wxCountingOutputStream}{wxcountingoutputstream}}{Stream class for querying what size a stream would have.}
473 \twocolitem{\helpref{wxFilterInputStream}{wxfilterinputstream}}{Filtered input stream class}
474 \twocolitem{\helpref{wxFilterOutputStream}{wxfilteroutputstream}}{Filtered output stream class}
475 \twocolitem{\helpref{wxBufferedInputStream}{wxbufferedinputstream}}{Buffered input stream class}
476 \twocolitem{\helpref{wxBufferedOutputStream}{wxbufferedoutputstream}}{Buffered output stream class}
477 \twocolitem{\helpref{wxMemoryInputStream}{wxmeminputstream}}{Memory input stream class}
478 \twocolitem{\helpref{wxMemoryOutputStream}{wxmemoutputstream}}{Memory output stream class}
479 \twocolitem{\helpref{wxDataInputStream}{wxdatainputstream}}{Platform-independent binary data input stream class}
480 \twocolitem{\helpref{wxDataOutputStream}{wxdataoutputstream}}{Platform-independent binary data output stream class}
481 \twocolitem{\helpref{wxTextInputStream}{wxtextinputstream}}{Platform-independent text data input stream class}
482 \twocolitem{\helpref{wxTextOutputStream}{wxtextoutputstream}}{Platform-independent text data output stream class}
483 \twocolitem{\helpref{wxFileInputStream}{wxfileinputstream}}{File input stream class}
484 \twocolitem{\helpref{wxFileOutputStream}{wxfileoutputstream}}{File output stream class}
485 \twocolitem{\helpref{wxFFileInputStream}{wxffileinputstream}}{Another file input stream class}
486 \twocolitem{\helpref{wxFFileOutputStream}{wxffileoutputstream}}{Another file output stream class}
487 \twocolitem{\helpref{wxZlibInputStream}{wxzlibinputstream}}{Zlib (compression) input stream class}
488 \twocolitem{\helpref{wxZlibOutputStream}{wxzliboutputstream}}{Zlib (compression) output stream class}
489 \twocolitem{\helpref{wxZipInputStream}{wxzipinputstream}}{Input stream for reading from ZIP archives}
490 \twocolitem{\helpref{wxSocketInputStream}{wxsocketinputstream}}{Socket input stream class}
491 \twocolitem{\helpref{wxSocketOutputStream}{wxsocketoutputstream}}{Socket output stream class}
492 \end{twocollist}
493
494 {\large {\bf Threading classes}}
495
496 \overview{Multithreading overview}{wxthreadoverview}
497
498 wxWindows provides a set of classes to make use of the native thread
499 capabilities of the various platforms.
500
501 \twocolwidtha{6cm}
502 \begin{twocollist}\itemsep=0pt
503 \twocolitem{\helpref{wxThread}{wxthread}}{Thread class}
504 \twocolitem{\helpref{wxMutex}{wxmutex}}{Mutex class}
505 \twocolitem{\helpref{wxMutexLocker}{wxmutexlocker}}{Mutex locker utility class}
506 \twocolitem{\helpref{wxCriticalSection}{wxcriticalsection}}{Critical section class}
507 \twocolitem{\helpref{wxCriticalSectionLocker}{wxcriticalsectionlocker}}{Critical section locker utility class}
508 \twocolitem{\helpref{wxCondition}{wxcondition}}{Condition class}
509 \twocolitem{\helpref{wxSemaphore}{wxsemaphore}}{Semaphore class}
510 \end{twocollist}
511
512 {\large {\bf HTML classes}}
513
514 wxWindows provides a set of classes to display text in HTML format. These
515 class include a help system based on the HTML widget.
516
517 \twocolwidtha{6cm}
518 \begin{twocollist}\itemsep=0pt
519 \twocolitem{\helpref{wxHtmlHelpController}{wxhtmlhelpcontroller}}{HTML help controller class}
520 \twocolitem{\helpref{wxHtmlWindow}{wxhtmlwindow}}{HTML window class}
521 \twocolitem{\helpref{wxHtmlEasyPrinting}{wxhtmleasyprinting}}{Simple class for printing HTML}
522 \twocolitem{\helpref{wxHtmlPrintout}{wxhtmlprintout}}{Generic HTML wxPrintout class}
523 \twocolitem{\helpref{wxHtmlParser}{wxhtmlparser}}{Generic HTML parser class}
524 \twocolitem{\helpref{wxHtmlTagHandler}{wxhtmltaghandler}}{HTML tag handler, pluginable into wxHtmlParser}
525 \twocolitem{\helpref{wxHtmlWinParser}{wxhtmlwinparser}}{HTML parser class for wxHtmlWindow}
526 \twocolitem{\helpref{wxHtmlWinTagHandler}{wxhtmlwintaghandler}}{HTML tag handler, pluginable into wxHtmlWinParser}
527 \end{twocollist}
528
529 {\large {\bf Virtual file system classes}}
530
531 wxWindows provides a set of classes that implement an extensible virtual file system,
532 used internally by the HTML classes.
533
534 \twocolwidtha{6cm}
535 \begin{twocollist}\itemsep=0pt
536 \twocolitem{\helpref{wxFSFile}{wxfsfile}}{Represents a file in the virtual file system}
537 \twocolitem{\helpref{wxFileSystem}{wxfilesystem}}{Main interface for the virtual file system}
538 \twocolitem{\helpref{wxFileSystemHandler}{wxfilesystemhandler}}{Class used to announce file system type}
539 \end{twocollist}
540
541 {\large {\bf XML-based resource system classes}}
542
543 \overview{XML-based resource system overview}{xrcoverview}
544
545 Resources allow your application to create controls and other user interface elements
546 from specifications stored in an XML format.
547
548 \twocolwidtha{6cm}
549 \begin{twocollist}\itemsep=0pt
550 \twocolitem{\helpref{wxXmlResource}{wxxmlresource}}{The main class for working with resources.}
551 \twocolitem{\helpref{wxXmlResourceHandler}{wxxmlresourcehandler}}{The base class for XML resource handlers.}
552 \end{twocollist}
553
554 {\large {\bf Online help}}
555
556 \twocolwidtha{6cm}
557 \begin{twocollist}\itemsep=0pt
558 \twocolitem{\helpref{wxHelpController}{wxhelpcontroller}}{Family of classes for controlling help windows}
559 \twocolitem{\helpref{wxHtmlHelpController}{wxhtmlhelpcontroller}}{HTML help controller class}
560 \twocolitem{\helpref{wxContextHelp}{wxcontexthelp}}{Class to put application into context-sensitive help mode}
561 \twocolitem{\helpref{wxContextHelpButton}{wxcontexthelpbutton}}{Button class for putting application into context-sensitive help mode}
562 \twocolitem{\helpref{wxHelpProvider}{wxhelpprovider}}{Abstract class for context-sensitive help provision}
563 \twocolitem{\helpref{wxSimpleHelpProvider}{wxsimplehelpprovider}}{Class for simple context-sensitive help provision}
564 \twocolitem{\helpref{wxHelpControllerHelpProvider}{wxhelpcontrollerhelpprovider}}{Class for context-sensitive help provision via a help controller}
565 \twocolitem{\helpref{wxToolTip}{wxtooltip}}{Class implementing tooltips}
566 \end{twocollist}
567
568 {\large {\bf Database classes}}
569
570 \overview{Database classes overview}{odbcoverview}
571
572 wxWindows provides two alternative sets of classes for accessing Microsoft's ODBC (Open Database Connectivity)
573 product. The new version by Remstar, known as wxODBC, is more powerful,
574 portable, flexible and better supported, so please use the classes below for
575 working with databases:
576
577 \twocolwidtha{6cm}
578 \begin{twocollist}\itemsep=0pt
579 \twocolitem{\helpref{wxDb}{wxdb}}{ODBC database connection}
580 \twocolitem{\helpref{wxDbTable}{wxdbtable}}{Provides access to a database table}
581 \twocolitem{\helpref{wxDbInf}{wxdbinf}}{}
582 \twocolitem{\helpref{wxDbTableInf}{wxdbtableinf}}{}
583 \twocolitem{\helpref{wxDbColDef}{wxdbcoldef}}{}
584 \twocolitem{\helpref{wxDbColInf}{wxdbcolinf}}{}
585 \twocolitem{\helpref{wxDbColDataPtr}{wxdbcoldataptr}}{}
586 \twocolitem{\helpref{wxDbColFor}{wxdbcolfor}}{}
587 \twocolitem{\helpref{wxDbConnectInf}{wxdbconnectinf}}{}
588 \twocolitem{\helpref{wxDbIdxDef}{wxdbidxdef}}{}
589 \end{twocollist}
590
591 The documentation for the older classes is still included, but you should avoid
592 using any of them in new programs:
593
594 \twocolwidtha{6cm}
595 \begin{twocollist}\itemsep=0pt
596 \twocolitem{\helpref{wxDatabase}{wxdatabase}}{Database class}
597 \twocolitem{\helpref{wxQueryCol}{wxquerycol}}{Class representing a column}
598 \twocolitem{\helpref{wxQueryField}{wxqueryfield}}{Class representing a field}
599 \twocolitem{\helpref{wxRecordSet}{wxrecordset}}{Class representing one or more record}
600 \end{twocollist}
601
602 {\large {\bf Miscellaneous}}
603
604 \twocolwidtha{6cm}
605 \begin{twocollist}\itemsep=0pt
606 \twocolitem{\helpref{wxApp}{wxapp}}{Application class}
607 \twocolitem{\helpref{wxCaret}{wxcaret}}{A caret (cursor) object}
608 \twocolitem{\helpref{wxCmdLineParser}{wxcmdlineparser}}{Command line parser class}
609 \twocolitem{\helpref{wxConfig}{wxconfigbase}}{Classes for configuration reading/writing (using either INI files or registry)}
610 \twocolitem{\helpref{wxDllLoader}{wxdllloader}}{Class to work with shared libraries.}
611 \twocolitem{\helpref{wxLayoutAlgorithm}{wxlayoutalgorithm}}{An alternative window layout facility}
612 \twocolitem{\helpref{wxProcess}{wxprocess}}{Process class}
613 \twocolitem{\helpref{wxTimer}{wxtimer}}{Timer class}
614 \twocolitem{\helpref{wxStopWatch}{wxstopwatch}}{Stop watch class}
615 \twocolitem{\helpref{wxMimeTypesManager}{wxmimetypesmanager}}{MIME-types manager class}
616 \twocolitem{\helpref{wxSystemSettings}{wxsystemsettings}}{System settings class for obtaining various global parameters}
617 \twocolitem{\helpref{wxSystemOptions}{wxsystemoptions}}{System options class for run-time configuration}
618 \twocolitem{\helpref{wxAcceleratorTable}{wxacceleratortable}}{Accelerator table}
619 \twocolitem{\helpref{wxAutomationObject}{wxautomationobject}}{OLE automation class}
620 \twocolitem{\helpref{wxFontMapper}{wxfontmapper}}{Font mapping, finding suitable font for given encoding}
621 \twocolitem{\helpref{wxEncodingConverter}{wxencodingconverter}}{Encoding conversions}
622 \twocolitem{\helpref{wxCalendarDateAttr}{wxcalendardateattr}}{Used with \helpref{wxCalendarCtrl}{wxcalendarctrl}}
623 \twocolitem{\helpref{wxQuantize}{wxquantize}}{Class to perform quantization, or colour reduction}
624 \twocolitem{\helpref{wxSingleInstanceChecker}{wxsingleinstancechecker}}{Check that only single program instance is running}
625 \end{twocollist}
626