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