]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/category.tex
2nd attempt at MDI in wxMotif, using wxNotebook this time (still some probs).
[wxWidgets.git] / docs / latex / wx / category.tex
CommitLineData
a660d684
KB
1\chapter{Classes by category}\label{classesbycat}
2\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
3\setfooter{\thepage}{}{}{}{}{\thepage}%
4
5A classification of wxWindows classes by category.
6\twocolwidtha{5cm}
7
8{\large {\bf Managed windows}}
9
10There are several types of window that are directly controlled by the
11window manager (such as MS Windows, or the Motif Window Manager).
12Frames may contain windows, and dialog boxes may directly contain controls.
13
14\begin{twocollist}\itemsep=0pt
15\twocolitem{\helpref{wxDialog}{wxdialog}}{Dialog box}
16\twocolitem{\helpref{wxFrame}{wxframe}}{Normal frame}
17\twocolitem{\helpref{wxMDIParentFrame}{wxmdiparentframe}}{MDI parent frame}
18\twocolitem{\helpref{wxMDIChildFrame}{wxmdichildframe}}{MDI child frame}
19\twocolitem{\helpref{wxMiniFrame}{wxminiframe}}{A frame with a small title bar}
20\twocolitem{\helpref{wxTabbedDialog}{wxtabbeddialog}}{Tabbed dialog}
21\end{twocollist}
22
23See also {\bf Common dialogs}.
24
25{\large {\bf Miscellaneous windows}}
26
27The following are a variety of windows that are derived from wxWindow.
28
29\begin{twocollist}\itemsep=0pt
30\twocolitem{\helpref{wxGrid}{wxgrid}}{A grid (table) window}
31\twocolitem{\helpref{wxPanel}{wxpanel}}{A window whose colour changes according to current user settings}
6fb26ea3
JS
32\twocolitem{\helpref{wxSashWindow}{wxsashwindow}}{Window with four optional sashes that can be dragged}
33\twocolitem{\helpref{wxSashLayoutWindow}{wxsashlayoutwindow}}{Window that can be involved in an IDE-like layout arrangement}
a660d684
KB
34\twocolitem{\helpref{wxScrolledWindow}{wxscrolledwindow}}{Window with automatically managed scrollbars}
35\twocolitem{\helpref{wxSplitterWindow}{wxsplitterwindow}}{Window which can be split vertically or horizontally}
36\twocolitem{\helpref{wxStatusBar}{wxstatusbar}}{Implements the status bar on a frame}
81d66cf3 37\twocolitem{\helpref{wxToolBar}{wxtoolbar}}{Toolbar class}
3972fb49
JS
38%\twocolitem{\helpref{wxTabbedPanel}{wxtabbedpanel}}{Tabbed panel (to be replaced with wxNotebook)}
39\twocolitem{\helpref{wxNotebook}{wxnotebook}}{Notebook class}
a660d684
KB
40\end{twocollist}
41
42{\large {\bf Common dialogs}}
43
44\overview{Overview}{commondialogsoverview}
45
46Common dialogs are ready-made dialog classes which are frequently used
47in an application.
48
49\begin{twocollist}\itemsep=0pt
50\twocolitem{\helpref{wxDialog}{wxdialog}}{Base class for common dialogs}
51\twocolitem{\helpref{wxColourDialog}{wxcolourdialog}}{Colour chooser dialog}
52\twocolitem{\helpref{wxDirDialog}{wxdirdialog}}{Directory selector dialog}
53\twocolitem{\helpref{wxFileDialog}{wxfiledialog}}{File selector dialog}
54\twocolitem{\helpref{wxMultipleChoiceDialog}{wxmultiplechoicedialog}}{Dialog to get one or more selections from a list}
55\twocolitem{\helpref{wxSingleChoiceDialog}{wxsinglechoicedialog}}{Dialog to get a single selection from a list and return the string}
56\twocolitem{\helpref{wxTextEntryDialog}{wxtextentrydialog}}{Dialog to get a single line of text from the user}
57\twocolitem{\helpref{wxFontDialog}{wxfontdialog}}{Font chooser dialog}
58\twocolitem{\helpref{wxPageSetupDialog}{wxpagesetupdialog}}{Standard page setup dialog}
59\twocolitem{\helpref{wxPrintDialog}{wxprintdialog}}{Standard print dialog}
60\twocolitem{\helpref{wxMessageDialog}{wxmessagedialog}}{Simple message box dialog}
61\end{twocollist}
62
63{\large {\bf Controls}}
64
65Typically, these are small windows which provide interaction with the user. Controls
66that are not static can have \helpref{validators}{wxvalidator} associated with them.
67
68\begin{twocollist}\itemsep=0pt
69\twocolitem{\helpref{wxControl}{wxcontrol}}{The base class for controls}
70\twocolitem{\helpref{wxButton}{wxbutton}}{Push button control, displaying text}
71\twocolitem{\helpref{wxBitmapButton}{wxbitmapbutton}}{Push button control, displaying a bitmap}
72\twocolitem{\helpref{wxCheckBox}{wxcheckbox}}{Checkbox control}
73\twocolitem{\helpref{wxCheckListBox}{wxchecklistbox}}{A listbox with a checkbox to the left of each item}
74\twocolitem{\helpref{wxChoice}{wxchoice}}{Choice control (a combobox without the editable area)}
75\twocolitem{\helpref{wxComboBox}{wxcombobox}}{A choice with an editable area}
76\twocolitem{\helpref{wxGauge}{wxgauge}}{A control to represent a varying quantity, such as time remaining}
77\twocolitem{\helpref{wxStaticBox}{wxstaticbox}}{A static, or group box for visually grouping related controls}
78\twocolitem{\helpref{wxListBox}{wxlistbox}}{A list of strings for single or multiple selection}
79\twocolitem{\helpref{wxListCtrl}{wxlistctrl}}{A control for displaying lists of strings and/or icons, plus a multicolumn report view}
80\twocolitem{\helpref{wxTabCtrl}{wxtabctrl}}{Manages several tabs}
81\twocolitem{\helpref{wxTextCtrl}{wxtextctrl}}{Single or multline text editing control}
82\twocolitem{\helpref{wxTreeCtrl}{wxtreectrl}}{Tree (hierachy) control}
83\twocolitem{\helpref{wxScrollBar}{wxscrollbar}}{Scrollbar control}
84\twocolitem{\helpref{wxSpinButton}{wxspinbutton}}{A spin or `up-down' control}
85\twocolitem{\helpref{wxStaticText}{wxstatictext}}{One or more lines of non-editable text}
86\twocolitem{\helpref{wxStaticBitmap}{wxstaticbitmap}}{A control to display a bitmap}
87\twocolitem{\helpref{wxRadioBox}{wxradiobox}}{A group of radio buttons}
88\twocolitem{\helpref{wxRadioButton}{wxradiobutton}}{A round button to be used with others in a mutually exclusive way}
89\twocolitem{\helpref{wxSlider}{wxslider}}{A slider that can be dragged by the user}
90\end{twocollist}
91
92{\large {\bf Menus}}
93
94\begin{twocollist}\itemsep=0pt
95\twocolitem{\helpref{wxMenu}{wxmenu}}{Displays a series of menu items for selection}
96\twocolitem{\helpref{wxMenuBar}{wxmenubar}}{Contains a series of menus for use with a frame}
97\twocolitem{\helpref{wxMenuItem}{wxmenuitem}}{Represents a single menu item}
98\end{twocollist}
99
100{\large {\bf Window layout}}
101
102\overview{Overview}{constraintsoverview}
103
104These are the classes relevant to automated window layout.
105
106\begin{twocollist}\itemsep=0pt
107\twocolitem{\helpref{wxIndividualLayoutConstraint}{wxindividuallayoutconstraint}}{Represents a single constraint dimension}
108\twocolitem{\helpref{wxLayoutConstraints}{wxlayoutconstraints}}{Represents the constraints for a window class}
109\end{twocollist}
110
111{\large {\bf Device contexts}}
112
113\overview{Overview}{dcoverview}
114
115Device contexts are surfaces that may be drawn on, and provide an
116abstraction that allows parameterisation of your drawing code
117by passing different device contexts.
118
119\begin{twocollist}\itemsep=0pt
120\twocolitem{\helpref{wxClientDC}{wxclientdc}}{A device context to access the client area outside {\bf OnPaint} events}
121\twocolitem{\helpref{wxPaintDC}{wxpaintdc}}{A device context to access the client area inside {\bf OnPaint} events}
122\twocolitem{\helpref{wxWindowDC}{wxwindowdc}}{A device context to access the non-client area}
123\twocolitem{\helpref{wxScreenDC}{wxscreendc}}{A device context to access the entire screen}
124\twocolitem{\helpref{wxDC}{wxdc}}{The device context base class}
125\twocolitem{\helpref{wxMemoryDC}{wxmemorydc}}{A device context for drawing into bitmaps}
126\twocolitem{\helpref{wxMetaFileDC}{wxmetafiledc}}{A device context for drawing into metafiles}
127\twocolitem{\helpref{wxPostScriptDC}{wxpostscriptdc}}{A device context for drawing into PostScript files}
128\twocolitem{\helpref{wxPrinterDC}{wxprinterdc}}{A device context for drawing to printers}
129\end{twocollist}
130
131{\large {\bf Graphics device interface}}
132
133\overview{Bitmaps overview}{wxbitmapoverview}
134
135These classes are related to drawing on device contexts and windows.
136
137\begin{twocollist}\itemsep=0pt
138\twocolitem{\helpref{wxColour}{wxcolour}}{Represents the red, blue and green elements of a colour}
139\twocolitem{\helpref{wxBitmap}{wxbitmap}}{Represents a bitmap}
140\twocolitem{\helpref{wxBrush}{wxbrush}}{Used for filling areas on a device context}
141\twocolitem{\helpref{wxBrushList}{wxbrushlist}}{The list of previously-created brushes}
142\twocolitem{\helpref{wxCursor}{wxcursor}}{A small, transparent bitmap representing the cursor}
143\twocolitem{\helpref{wxFont}{wxfont}}{Represents fonts}
144\twocolitem{\helpref{wxFontList}{wxfontlist}}{The list of previously-created fonts}
145\twocolitem{\helpref{wxIcon}{wxicon}}{A small, transparent bitmap for assigning to frames and drawing on device contexts}
146\twocolitem{\helpref{wxImageList}{wximagelist}}{A list of images, used with some controls}
147\twocolitem{\helpref{wxMask}{wxmask}}{Represents a mask to be used with a bitmap for transparent drawing}
148\twocolitem{\helpref{wxPen}{wxpen}}{Used for drawing lines on a device context}
149\twocolitem{\helpref{wxPenList}{wxpenlist}}{The list of previously-created pens}
150\twocolitem{\helpref{wxPalette}{wxpalette}}{Represents a table of indices into RGB values}
151\twocolitem{\helpref{wxRegion}{wxregion}}{Represents a simple or complex region on a window or device context}
152\end{twocollist}
153
154{\large {\bf Events}}
155
156\overview{Overview}{eventhandlingoverview}
157
158An event object contains information about a specific event. Event handlers
159(usually member functions) have a single, event argument.
160
161\begin{twocollist}\itemsep=0pt
162\twocolitem{\helpref{wxActivateEvent}{wxactivateevent}}{A window or application activation event}
6fb26ea3 163\twocolitem{\helpref{wxCalculateLayoutEvent}{wxcalculatelayoutevent}}{Used to calculate window layout}
a660d684
KB
164\twocolitem{\helpref{wxCloseEvent}{wxcloseevent}}{A close window or end session event}
165\twocolitem{\helpref{wxCommandEvent}{wxcommandevent}}{An event from a variety of standard controls}
166\twocolitem{\helpref{wxDropFilesEvent}{wxdropfilesevent}}{A drop files event}
167\twocolitem{\helpref{wxEraseEvent}{wxeraseevent}}{An erase background event}
168\twocolitem{\helpref{wxEvent}{wxevent}}{The event base class}
169\twocolitem{\helpref{wxFocusEvent}{wxfocusevent}}{A window focus event}
170\twocolitem{\helpref{wxKeyEvent}{wxkeyevent}}{A keypress event}
171\twocolitem{\helpref{wxIdleEvent}{wxidleevent}}{An idle event}
172\twocolitem{\helpref{wxInitDialogEvent}{wxinitdialogevent}}{A dialog initialisation event}
173\twocolitem{\helpref{wxJoystickEvent}{wxjoystickevent}}{A joystick event}
174\twocolitem{\helpref{wxListEvent}{wxlistevent}}{A list control event}
175\twocolitem{\helpref{wxMenuEvent}{wxmenuevent}}{A menu event}
176\twocolitem{\helpref{wxMouseEvent}{wxmouseevent}}{A mouse event}
177\twocolitem{\helpref{wxMoveEvent}{wxmoveevent}}{A move event}
3972fb49 178\twocolitem{\helpref{wxNotebookEvent}{wxnotebookevent}}{A notebook control event}
a660d684 179\twocolitem{\helpref{wxPaintEvent}{wxpaintevent}}{A paint event}
3972fb49 180\twocolitem{\helpref{wxProcessEvent}{wxprocessevent}}{A process ending event}
6fb26ea3 181\twocolitem{\helpref{wxQueryLayoutInfoEvent}{wxquerylayoutinfoevent}}{Used to query layout information}
a660d684 182\twocolitem{\helpref{wxSizeEvent}{wxsizeevent}}{A size event}
42ff6409 183\twocolitem{\helpref{wxSocketEvent}{wxsocketevent}}{A socket event}
a660d684 184\twocolitem{\helpref{wxSysColourChangedEvent}{wxsyscolourchangedevent}}{A system colour change event}
fe604ccd 185\twocolitem{\helpref{wxTabEvent}{wxtabevent}}{A tab control event}
a660d684
KB
186\twocolitem{\helpref{wxTreeEvent}{wxtreeevent}}{A tree control event}
187\twocolitem{\helpref{wxUpdateUIEvent}{wxupdateuievent}}{A user interface update event}
188\end{twocollist}
189
190{\large {\bf Validators}}
191
6b037754
JS
192\overview{Overview}{validatoroverview}
193
a660d684
KB
194These are the window validators, used for filtering and validating
195user input.
196
197\begin{twocollist}\itemsep=0pt
198\twocolitem{\helpref{wxValidator}{wxvalidator}}{Base validator class.}
199\twocolitem{\helpref{wxTextValidator}{wxtextvalidator}}{Text control validator class.}
200\end{twocollist}
201
202{\large {\bf Data structures}}
203
204These are the data structure classes supported by wxWindows.
205
206\begin{twocollist}\itemsep=0pt
207\twocolitem{\helpref{wxExpr}{wxexpr}}{A class for flexible I/O}
208\twocolitem{\helpref{wxExprDatabase}{wxexprdatabase}}{A class for flexible I/O}
209\twocolitem{\helpref{wxDate}{wxdate}}{A class for date manipulation}
210\twocolitem{\helpref{wxHashTable}{wxhashtable}}{A simple hash table implementation}
211\twocolitem{\helpref{wxList}{wxlist}}{A simple linked list implementation}
212\twocolitem{\helpref{wxNode}{wxnode}}{Represents a node in the wxList implementation}
213\twocolitem{\helpref{wxObject}{wxobject}}{The root class for most wxWindows classes}
214\twocolitem{\helpref{wxPathList}{wxpathlist}}{A class to help search multiple paths}
215\twocolitem{\helpref{wxPoint}{wxpoint}}{Representation of a point}
216\twocolitem{\helpref{wxRect}{wxrect}}{A class representing a rectangle}
217\twocolitem{\helpref{wxRegion}{wxregion}}{A class representing a region}
218\twocolitem{\helpref{wxString}{wxstring}}{A string class}
219\twocolitem{\helpref{wxStringList}{wxstringlist}}{A class representing a list of strings}
220\twocolitem{\helpref{wxRealPoint}{wxrealpoint}}{Representation of a point using floating point numbers}
221\twocolitem{\helpref{wxSize}{wxsize}}{Representation of a size}
222\twocolitem{\helpref{wxTime}{wxtime}}{A class for time manipulation}
223\end{twocollist}
224
225{\large {\bf Run-time class information system}}
226
227\overview{Overview}{runtimeclassoverview}
228
229wxWindows supports run-time manipulation of class information, and dynamic
230creation of objects given class names.
231
232\begin{twocollist}\itemsep=0pt
233\twocolitem{\helpref{wxClassInfo}{wxclassinfo}}{Holds run-time class information}
234\twocolitem{\helpref{wxObject}{wxobject}}{Root class for classes with run-time information}
235\twocolitem{\helpref{Macros}{macros}}{Macros for manipulating run-time information}
236\end{twocollist}
237
238{\large {\bf Debugging features}}
239
240\overview{Overview}{debuggingoverview}
241
242wxWindows supports some aspects of debugging an application through
243classes, functions and macros.
244
245\begin{twocollist}\itemsep=0pt
6b037754 246\twocolitem{\helpref{wxDebugContext}{wxdebugcontext}}{Provides memory-checking facilities}
6fb26ea3 247%\twocolitem{\helpref{wxDebugStreamBuf}{wxdebugstreambuf}}{A stream buffer writing to the debug stream}
42ff6409 248\twocolitem{\helpref{wxLog}{wxlog}}{Logging facility}
6fb26ea3 249\twocolitem{\helpref{Log functions}{logfunctions}}{Error and warning logging functions}
6b037754 250\twocolitem{\helpref{Debugging macros}{debugmacros}}{Debug macros for assertion and checking}
6fb26ea3
JS
251%\twocolitem{\helpref{wxTrace}{wxtrace}}{Tracing facility}
252%\twocolitem{\helpref{wxTraceLevel}{wxtracelevel}}{Tracing facility with levels}
a660d684 253\twocolitem{\helpref{WXDEBUG\_NEW}{debugnew}}{Use this macro to give further debugging information}
6fb26ea3
JS
254%\twocolitem{\helpref{WXTRACE}{trace}}{Trace macro}
255%\twocolitem{\helpref{WXTRACELEVEL}{tracelevel}}{Trace macro with levels}
a660d684
KB
256\end{twocollist}
257
258{\large {\bf Interprocess communication}}
259
260\overview{Overview}{ipcoverview}
261
262wxWindows provides a simple interprocess communications facilities
263based on DDE.
264
265\begin{twocollist}\itemsep=0pt
266\twocolitem{\helpref{wxDDEClient}{wxddeclient}}{Represents a client}
267\twocolitem{\helpref{wxDDEConnection}{wxddeconnection}}{Represents the connection between a client and a server}
268\twocolitem{\helpref{wxDDEServer}{wxddeserver}}{Represents a server}
42ff6409
JS
269\twocolitem{\helpref{wxSocketClient}{wxsocketclient}}{Represents a socket client}
270\twocolitem{\helpref{wxSocketHandler}{wxsockethandler}}{Represents a socket handler}
271\twocolitem{\helpref{wxSocketServer}{wxsocketserver}}{Represents a socket server}
a660d684
KB
272\end{twocollist}
273
274{\large {\bf Document/view framework}}
275
276\overview{Overview}{docviewoverview}
277
278wxWindows supports a document/view framework which provides
279housekeeping for a document-centric application.
280
a660d684
KB
281\begin{twocollist}\itemsep=0pt
282\twocolitem{\helpref{wxDocument}{wxdocument}}{Represents a document}
283\twocolitem{\helpref{wxView}{wxview}}{Represents a view}
284\twocolitem{\helpref{wxDocTemplate}{wxdoctemplate}}{Manages the relationship between a document class and a veiw class}
285\twocolitem{\helpref{wxDocManager}{wxdocmanager}}{Manages the documents and views in an application}
286\twocolitem{\helpref{wxDocChildFrame}{wxdocchildframe}}{A child frame for showing a document view}
287\twocolitem{\helpref{wxDocParentFrame}{wxdocparentframe}}{A parent frame to contain views}
6fb26ea3
JS
288%\twocolitem{\helpref{wxMDIDocChildFrame}{wxmdidocchildframe}}{An MDI child frame for showing a document view}
289%\twocolitem{\helpref{wxMDIDocParentFrame}{wxmdidocparentframe}}{An MDI parent frame to contain views}
a660d684
KB
290\end{twocollist}
291
292{\large {\bf Printing framework}}
293
294\overview{Overview}{printingoverview}
295
296A printing and previewing framework is implemented to
297make it relatively straighforward to provide document printing
298facilities.
299
300\begin{twocollist}\itemsep=0pt
301\twocolitem{\helpref{wxPreviewFrame}{wxpreviewframe}}{Frame for displaying a print preview}
302\twocolitem{\helpref{wxPreviewCanvas}{wxpreviewcanvas}}{Canvas for displaying a print preview}
303\twocolitem{\helpref{wxPreviewControlBar}{wxpreviewcontrolbar}}{Standard control bar for a print preview}
304\twocolitem{\helpref{wxPrintData}{wxprintdata}}{Represents information about the document being printed}
305\twocolitem{\helpref{wxPrintDialog}{wxprintdialog}}{Standard print dialog}
306\twocolitem{\helpref{wxPrinter}{wxprinter}}{Class representing the printer}
307\twocolitem{\helpref{wxPrinterDC}{wxprinterdc}}{Printer device context}
308\twocolitem{\helpref{wxPrintout}{wxprintout}}{Class representing a particular printout}
309\twocolitem{\helpref{wxPrintPreview}{wxprintpreview}}{Class representing a print preview}
310\end{twocollist}
311
312{\large {\bf Database classes}}
313
314\overview{Database classes overview}{odbcoverview}
315
316wxWindows provides a set of classes for accessing Microsoft's ODBC (Open Database Connectivity)
317product.
318
319\begin{twocollist}\itemsep=0pt
320\twocolitem{\helpref{wxDatabase}{wxdatabase}}{Database class}
321\twocolitem{\helpref{wxQueryCol}{wxquerycol}}{Class representing a column}
322\twocolitem{\helpref{wxQueryField}{wxqueryfield}}{Class representing a field}
323\twocolitem{\helpref{wxRecordSet}{wxrecordset}}{Class representing one or more record}
324\end{twocollist}
325
326{\large {\bf Miscellaneous}}
327
328\begin{twocollist}\itemsep=0pt
3972fb49 329\twocolitem{\helpref{wxAcceleratorTable}{wxacceleratortable}}{Accelerator table}
a660d684 330\twocolitem{\helpref{wxApp}{wxapp}}{Application class}
3972fb49 331\twocolitem{\helpref{wxConfig}{wxconfigbase}}{Classes for configuration reading/writing}
6fb26ea3
JS
332\twocolitem{\helpref{wxHelpController}{wxhelpcontroller}}{Family of classes for controlling help windows}
333\twocolitem{\helpref{wxLayoutAlgorithm}{wxlayoutalgorithm}}{An alternative window layout facility}
3972fb49 334\twocolitem{\helpref{wxProcess}{wxprocess}}{Process class}
a660d684
KB
335\twocolitem{\helpref{wxTimer}{wxtimer}}{Timer class}
336\twocolitem{\helpref{wxSystemSettings}{wxsystemsettings}}{System settings class}
337\end{twocollist}
338
339