Removed the old, manual entry function, macro, and class category pages and replaced them with the new, finished versions auto-generated by Doxygen.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
cbe733bdec
commit
409e6ce4dc
@ -1,816 +0,0 @@
|
|||||||
/////////////////////////////////////////////////////////////////////////////
|
|
||||||
// Name: cat_classes.h
|
|
||||||
// Purpose: Classes-by-category page of the Doxygen manual
|
|
||||||
// Author: wxWidgets team
|
|
||||||
// RCS-ID: $Id$
|
|
||||||
// Licence: wxWindows license
|
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
|
||||||
|
|
||||||
/**
|
|
||||||
|
|
||||||
@page page_class_cat Classes by Category
|
|
||||||
|
|
||||||
@beginInvisibleTable
|
|
||||||
<tr><td>
|
|
||||||
@li @ref page_class_cat_managedwnd
|
|
||||||
@li @ref page_class_cat_miscwnd
|
|
||||||
@li @ref page_class_cat_aui
|
|
||||||
@li @ref page_class_cat_winlayout
|
|
||||||
@li @ref page_class_cat_cmndlg
|
|
||||||
@li @ref page_class_cat_ctrl
|
|
||||||
@li @ref page_class_cat_miscpickers
|
|
||||||
@li @ref page_class_cat_menus
|
|
||||||
@li @ref page_class_cat_dc
|
|
||||||
@li @ref page_class_cat_gdi
|
|
||||||
@li @ref page_class_cat_events
|
|
||||||
@li @ref page_class_cat_validator
|
|
||||||
@li @ref page_class_cat_data
|
|
||||||
</td><td>
|
|
||||||
@li @ref page_class_cat_containers
|
|
||||||
@li @ref page_class_cat_smartpointers
|
|
||||||
@li @ref page_class_cat_logging
|
|
||||||
@li @ref page_class_cat_debugging
|
|
||||||
@li @ref page_class_cat_net
|
|
||||||
@li @ref page_class_cat_ipc
|
|
||||||
@li @ref page_class_cat_dvf
|
|
||||||
@li @ref page_class_cat_printing
|
|
||||||
@li @ref page_class_cat_dnd
|
|
||||||
@li @ref page_class_cat_file
|
|
||||||
@li @ref page_class_cat_vfs
|
|
||||||
@li @ref page_class_cat_streams
|
|
||||||
</td><td>
|
|
||||||
@li @ref page_class_cat_threading
|
|
||||||
@li @ref page_class_cat_rtti
|
|
||||||
@li @ref page_class_cat_appmanagement
|
|
||||||
@li @ref page_class_cat_html
|
|
||||||
@li @ref page_class_cat_richtext
|
|
||||||
@li @ref page_class_cat_stc
|
|
||||||
@li @ref page_class_cat_xml
|
|
||||||
@li @ref page_class_cat_xrc
|
|
||||||
@li @ref page_class_cat_help
|
|
||||||
@li @ref page_class_cat_media
|
|
||||||
@li @ref page_class_cat_gl
|
|
||||||
@li @ref page_class_cat_archive
|
|
||||||
@li @ref page_class_cat_misc
|
|
||||||
</td></tr>
|
|
||||||
@endTable
|
|
||||||
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
|
|
||||||
@section page_class_cat_managedwnd Managed Windows
|
|
||||||
|
|
||||||
There are several types of window that are directly controlled by the window
|
|
||||||
manager (such as MS Windows, or the Motif Window Manager). Frames and dialogs
|
|
||||||
are similar in wxWidgets, but only dialogs may be modal.
|
|
||||||
|
|
||||||
Related Overviews: @ref overview_cmndlg
|
|
||||||
|
|
||||||
@li wxTopLevelWindow: Any top level window, dialog or frame
|
|
||||||
@li wxDialog: Dialog box
|
|
||||||
@li wxFrame: Normal frame
|
|
||||||
@li wxMDIChildFrame: MDI child frame
|
|
||||||
@li wxMDIParentFrame: MDI parent frame
|
|
||||||
@li wxMiniFrame: A frame with a small title bar
|
|
||||||
@li wxPropertySheetDialog: Property sheet dialog
|
|
||||||
@li wxSplashScreen: Splash screen class
|
|
||||||
@li wxTipWindow: Shows text in a small window
|
|
||||||
@li wxWizard: A wizard dialog
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@section page_class_cat_miscwnd Miscellaneous Windows
|
|
||||||
|
|
||||||
The following are a variety of classes that are derived from wxWindow.
|
|
||||||
|
|
||||||
@li wxPanel: A window whose colour changes according to current user settings
|
|
||||||
@li wxScrolledWindow: Window with automatically managed scrollbars
|
|
||||||
@li wxGrid: A grid (table) window
|
|
||||||
@li wxSplitterWindow: Window which can be split vertically or horizontally
|
|
||||||
@li wxStatusBar: Implements the status bar on a frame
|
|
||||||
@li wxToolBar: Toolbar class
|
|
||||||
@li wxNotebook: Notebook class
|
|
||||||
@li wxListbook: Similar to notebook but using list control
|
|
||||||
@li wxChoicebook: Similar to notebook but using choice control
|
|
||||||
@li wxTreebook: Similar to notebook but using tree control
|
|
||||||
@li wxSashWindow: Window with four optional sashes that can be dragged
|
|
||||||
@li wxSashLayoutWindow: Window that can be involved in an IDE-like layout
|
|
||||||
arrangement
|
|
||||||
@li wxVScrolledWindow: As wxScrolledWindow but supports lines of variable
|
|
||||||
height
|
|
||||||
@li wxWizardPage: A base class for the page in wizard dialog.
|
|
||||||
@li wxWizardPageSimple: A page in wizard dialog.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@section page_class_cat_aui Window Docking (wxAUI)
|
|
||||||
|
|
||||||
wxAUI is a set classes for writing a customizable application interface
|
|
||||||
with built-in docking, floatable panes and a flexible MDI-like interface.
|
|
||||||
|
|
||||||
Related Overviews: @ref overview_aui
|
|
||||||
|
|
||||||
@li wxAuiManager: The central class for managing the interface
|
|
||||||
@li wxAuiNotebook: A replacement notebook class with extra features
|
|
||||||
@li wxAuiPaneInfo: Describes a single pane
|
|
||||||
@li wxAuiDockArt: Art and metrics provider for customizing the docking user
|
|
||||||
interface
|
|
||||||
@li wxAuiTabArt: Art and metrics provider for customizing the notebook user
|
|
||||||
interface
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@section page_class_cat_winlayout Window Layout
|
|
||||||
|
|
||||||
There are two different systems for laying out windows (and dialogs in
|
|
||||||
particular). One is based upon so-called sizers and it requires less typing,
|
|
||||||
thinking and calculating and will in almost all cases produce dialogs looking
|
|
||||||
equally well on all platforms, the other is based on so-called constraints and
|
|
||||||
is deprecated, though still available.
|
|
||||||
|
|
||||||
Related Overviews: @ref overview_sizer, @ref overview_constraints
|
|
||||||
|
|
||||||
These are the classes relevant to sizer-based layout:
|
|
||||||
|
|
||||||
@li wxSizer: Abstract base class
|
|
||||||
@li wxGridSizer: A sizer for laying out windows in a grid with all fields
|
|
||||||
having the same size
|
|
||||||
@li wxFlexGridSizer: A sizer for laying out windows in a flexible grid
|
|
||||||
@li wxGridBagSizer: Another grid sizer that lets you specify the cell an item
|
|
||||||
is in, and items can span rows and/or columns.
|
|
||||||
@li wxBoxSizer: A sizer for laying out windows in a row or column
|
|
||||||
@li wxStaticBoxSizer: Same as wxBoxSizer, but with a surrounding static box
|
|
||||||
@li wxWrapSizer: A sizer which wraps its child controls as size permits
|
|
||||||
|
|
||||||
These are the classes relevant to constraints-based window layout:
|
|
||||||
|
|
||||||
@li wxIndividualLayoutConstraint: Represents a single constraint dimension
|
|
||||||
@li wxLayoutConstraints: Represents the constraints for a window class
|
|
||||||
|
|
||||||
Other layout classes:
|
|
||||||
|
|
||||||
@li wxLayoutAlgorithm: An alternative window layout facility
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@section page_class_cat_cmndlg Common Dialogs
|
|
||||||
|
|
||||||
Common dialogs are ready-made dialog classes which are frequently used in an
|
|
||||||
application.
|
|
||||||
|
|
||||||
Related Overviews: @ref overview_cmndlg
|
|
||||||
|
|
||||||
@li wxDialog: Base class for common dialogs
|
|
||||||
@li wxColourDialog: Colour chooser dialog
|
|
||||||
@li wxDirDialog: Directory selector dialog
|
|
||||||
@li wxFileDialog: File selector dialog
|
|
||||||
@li wxFindReplaceDialog: Text search/replace dialog
|
|
||||||
@li wxMultiChoiceDialog: Dialog to get one or more selections from a list
|
|
||||||
@li wxSingleChoiceDialog: Dialog to get a single selection from a list and
|
|
||||||
return the string
|
|
||||||
@li wxTextEntryDialog: Dialog to get a single line of text from the user
|
|
||||||
@li wxPasswordEntryDialog: Dialog to get a password from the user
|
|
||||||
@li wxFontDialog: Font chooser dialog
|
|
||||||
@li wxPageSetupDialog: Standard page setup dialog
|
|
||||||
@li wxPrintDialog: Standard print dialog
|
|
||||||
@li wxProgressDialog: Progress indication dialog
|
|
||||||
@li wxMessageDialog: Simple message box dialog
|
|
||||||
@li wxSymbolPickerDialog: Symbol selector dialog
|
|
||||||
@li wxRichTextFormattingDialog: A dialog for formatting the content of a
|
|
||||||
wxRichTextCtrl
|
|
||||||
@li wxWizard: A wizard dialog.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@section page_class_cat_ctrl Controls
|
|
||||||
|
|
||||||
Typically, these are small windows which provide interaction with the user.
|
|
||||||
Controls that are not static can have wxValidator associated with them.
|
|
||||||
|
|
||||||
@li wxAnimationCtrl: A control to display an animation
|
|
||||||
@li wxControl: The base class for controls
|
|
||||||
@li wxButton: Push button control, displaying text
|
|
||||||
@li wxBitmapButton: Push button control, displaying a bitmap
|
|
||||||
@li wxBitmapComboBox: A combobox with bitmaps next to text items
|
|
||||||
@li wxToggleButton: A button which stays pressed when clicked by user.
|
|
||||||
@li wxBitmapToggleButton: A toggle button with bitmaps.
|
|
||||||
@li wxCalendarCtrl: Control showing an entire calendar month
|
|
||||||
@li wxCheckBox: Checkbox control
|
|
||||||
@li wxCheckListBox: A listbox with a checkbox to the left of each item
|
|
||||||
@li wxChoice: Choice control (a combobox without the editable area)
|
|
||||||
@li wxCollapsiblePane: A panel which can be shown/hidden by the user
|
|
||||||
@li wxComboBox: A choice with an editable area
|
|
||||||
@li wxComboCtrl: A combobox with application defined popup
|
|
||||||
@li wxDataViewCtrl: A control to tabular or tree like data
|
|
||||||
@li wxDataViewTreeCtrl: A specialized wxDataViewCtrl with wxTreeCtrl-like API
|
|
||||||
@li wxGauge: A control to represent a varying quantity, such as time remaining
|
|
||||||
@li wxGenericDirCtrl: A control for displaying a directory tree
|
|
||||||
@li wxHtmlListBox: An abstract class for creating listboxes showing HTML
|
|
||||||
content
|
|
||||||
@li wxSimpleHtmlListBox: A listbox showing HTML content
|
|
||||||
@li wxStaticBox: A static, or group box for visually grouping related controls
|
|
||||||
@li wxListBox: A list of strings for single or multiple selection
|
|
||||||
@li wxListCtrl: A control for displaying lists of strings and/or icons, plus a
|
|
||||||
multicolumn report view
|
|
||||||
@li wxListView: A simpler interface (façade) for wxListCtrl in report
|
|
||||||
mode
|
|
||||||
@li wxOwnerDrawnComboBox: A combobox with owner-drawn list items
|
|
||||||
@li wxRichTextCtrl: Generic rich text editing control
|
|
||||||
@li wxTextCtrl: Single or multiline text editing control
|
|
||||||
@li wxTreeCtrl: Tree (hierarchy) control
|
|
||||||
@li wxScrollBar: Scrollbar control
|
|
||||||
@li wxSpinButton: A spin or `up-down' control
|
|
||||||
@li wxSpinCtrl: A spin control - i.e. spin button and text control
|
|
||||||
@li wxStaticText: One or more lines of non-editable text
|
|
||||||
@li wxHyperlinkCtrl: A static text which opens an URL when clicked
|
|
||||||
@li wxStaticBitmap: A control to display a bitmap
|
|
||||||
@li wxRadioBox: A group of radio buttons
|
|
||||||
@li wxRadioButton: A round button to be used with others in a mutually
|
|
||||||
exclusive way
|
|
||||||
@li wxSlider: A slider that can be dragged by the user
|
|
||||||
@li wxVListBox: A listbox supporting variable height rows
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@section page_class_cat_miscpickers Picker Controls
|
|
||||||
|
|
||||||
A picker control is a control whose appearance and behaviour is highly
|
|
||||||
platform-dependent.
|
|
||||||
|
|
||||||
@li wxColourPickerCtrl: A control which allows the user to choose a colour
|
|
||||||
@li wxDirPickerCtrl: A control which allows the user to choose a directory
|
|
||||||
@li wxFilePickerCtrl: A control which allows the user to choose a file
|
|
||||||
@li wxFontPickerCtrl: A control which allows the user to choose a font
|
|
||||||
@li wxDatePickerCtrl: Small date picker control
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@section page_class_cat_menus Menus
|
|
||||||
|
|
||||||
@li wxMenu: Displays a series of menu items for selection
|
|
||||||
@li wxMenuBar: Contains a series of menus for use with a frame
|
|
||||||
@li wxMenuItem: Represents a single menu item
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@section page_class_cat_dc Device Contexts
|
|
||||||
|
|
||||||
Device contexts are surfaces that may be drawn on, and provide an abstraction
|
|
||||||
that allows parameterisation of your drawing code by passing different device
|
|
||||||
contexts.
|
|
||||||
|
|
||||||
Related Overviews: @ref overview_dc
|
|
||||||
|
|
||||||
@li wxAutoBufferedPaintDC: A helper device context for double buffered drawing
|
|
||||||
inside @b OnPaint().
|
|
||||||
@li wxBufferedDC: A helper device context for double buffered drawing.
|
|
||||||
@li wxBufferedPaintDC: A helper device context for double buffered drawing
|
|
||||||
inside @b OnPaint().
|
|
||||||
@li wxClientDC: A device context to access the client area outside
|
|
||||||
@b OnPaint() events
|
|
||||||
@li wxPaintDC: A device context to access the client area inside @b OnPaint()
|
|
||||||
events
|
|
||||||
@li wxWindowDC: A device context to access the non-client area
|
|
||||||
@li wxScreenDC: A device context to access the entire screen
|
|
||||||
@li wxDC: The device context base class
|
|
||||||
@li wxMemoryDC: A device context for drawing into bitmaps
|
|
||||||
@li wxMetafileDC: A device context for drawing into metafiles
|
|
||||||
@li wxMirrorDC: A proxy device context allowing for simple mirroring.
|
|
||||||
@li wxPostScriptDC: A device context for drawing into PostScript files
|
|
||||||
@li wxPrinterDC: A device context for drawing to printers
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@section page_class_cat_gdi Graphics Device Interface
|
|
||||||
|
|
||||||
These classes are related to drawing on device contexts and windows.
|
|
||||||
|
|
||||||
Related Overviews: @ref overview_bitmap
|
|
||||||
|
|
||||||
@li wxColour: Represents the red, blue and green elements of a colour
|
|
||||||
@li wxDCClipper: Wraps the operations of setting and destroying the clipping
|
|
||||||
region
|
|
||||||
@li wxBitmap: Represents a bitmap
|
|
||||||
@li wxBrush: Used for filling areas on a device context
|
|
||||||
@li wxBrushList: The list of previously-created brushes
|
|
||||||
@li wxCursor: A small, transparent bitmap representing the cursor
|
|
||||||
@li wxFont: Represents fonts
|
|
||||||
@li wxFontList: The list of previously-created fonts
|
|
||||||
@li wxIcon: A small, transparent bitmap for assigning to frames and drawing on
|
|
||||||
device contexts
|
|
||||||
@li wxImage: A platform-independent image class
|
|
||||||
@li wxImageList: A list of images, used with some controls
|
|
||||||
@li wxMask: Represents a mask to be used with a bitmap for transparent drawing
|
|
||||||
@li wxPen: Used for drawing lines on a device context
|
|
||||||
@li wxPenList: The list of previously-created pens
|
|
||||||
@li wxPalette: Represents a table of indices into RGB values
|
|
||||||
@li wxRegion: Represents a simple or complex region on a window or device
|
|
||||||
context
|
|
||||||
@li wxAnimation: Represents an animation
|
|
||||||
@li wxRendererNative: Abstracts high-level drawing primitives
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@section page_class_cat_events Events
|
|
||||||
|
|
||||||
An event object contains information about a specific event. Event handlers
|
|
||||||
(usually member functions) have a single, event argument.
|
|
||||||
|
|
||||||
Related Overviews: @ref overview_eventhandling
|
|
||||||
|
|
||||||
@li wxActivateEvent: A window or application activation event
|
|
||||||
@li wxCalendarEvent: Used with wxCalendarCtrl
|
|
||||||
@li wxCalculateLayoutEvent: Used to calculate window layout
|
|
||||||
@li wxChildFocusEvent: A child window focus event
|
|
||||||
@li wxClipboardTextEvent: A clipboard copy/cut/paste treebook event event
|
|
||||||
@li wxCloseEvent: A close window or end session event
|
|
||||||
@li wxCommandEvent: An event from a variety of standard controls
|
|
||||||
@li wxContextMenuEvent: An event generated when the user issues a context menu
|
|
||||||
command
|
|
||||||
@li wxDateEvent: Used with wxDatePickerCtrl
|
|
||||||
@li wxDialUpEvent: Event send by wxDialUpManager
|
|
||||||
@li wxDropFilesEvent: A drop files event
|
|
||||||
@li wxEraseEvent: An erase background event
|
|
||||||
@li wxEvent: The event base class
|
|
||||||
@li wxFindDialogEvent: Event sent by wxFindReplaceDialog
|
|
||||||
@li wxFocusEvent: A window focus event
|
|
||||||
@li wxKeyEvent: A keypress event
|
|
||||||
@li wxIconizeEvent: An iconize/restore event
|
|
||||||
@li wxIdleEvent: An idle event
|
|
||||||
@li wxInitDialogEvent: A dialog initialisation event
|
|
||||||
@li wxJoystickEvent: A joystick event
|
|
||||||
@li wxListEvent: A list control event
|
|
||||||
@li wxMaximizeEvent: A maximize event
|
|
||||||
@li wxMenuEvent: A menu event
|
|
||||||
@li wxMouseCaptureChangedEvent: A mouse capture changed event
|
|
||||||
@li wxMouseCaptureLostEvent: A mouse capture lost event
|
|
||||||
@li wxMouseEvent: A mouse event
|
|
||||||
@li wxMoveEvent: A move event
|
|
||||||
@li wxNavigationKeyEvent: An event set by navigation keys such as tab
|
|
||||||
@li wxNotebookEvent: A notebook control event
|
|
||||||
@li wxNotifyEvent: A notification event, which can be vetoed
|
|
||||||
@li wxPaintEvent: A paint event
|
|
||||||
@li wxProcessEvent: A process ending event
|
|
||||||
@li wxQueryLayoutInfoEvent: Used to query layout information
|
|
||||||
@li wxRichTextEvent: A rich text editing event
|
|
||||||
@li wxScrollEvent: A scroll event from sliders, stand-alone scrollbars and spin
|
|
||||||
buttons
|
|
||||||
@li wxScrollWinEvent: A scroll event from scrolled windows
|
|
||||||
@li wxSizeEvent: A size event
|
|
||||||
@li wxSocketEvent: A socket event
|
|
||||||
@li wxSpinEvent: An event from wxSpinButton
|
|
||||||
@li wxSplitterEvent: An event from wxSplitterWindow
|
|
||||||
@li wxSysColourChangedEvent: A system colour change event
|
|
||||||
@li wxTimerEvent: A timer expiration event
|
|
||||||
@li wxTreebookEvent: A treebook control event
|
|
||||||
@li wxTreeEvent: A tree control event
|
|
||||||
@li wxUpdateUIEvent: A user interface update event
|
|
||||||
@li wxWindowCreateEvent: A window creation event
|
|
||||||
@li wxWindowDestroyEvent: A window destruction event
|
|
||||||
@li wxWizardEvent: A wizard event
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@section page_class_cat_validator Validators
|
|
||||||
|
|
||||||
These are the window validators, used for filtering and validating user input.
|
|
||||||
|
|
||||||
Related Overviews: @ref overview_validator
|
|
||||||
|
|
||||||
@li wxValidator: Base validator class
|
|
||||||
@li wxTextValidator: Text control validator class
|
|
||||||
@li wxGenericValidator: Generic control validator class
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@section page_class_cat_data Data Structures
|
|
||||||
|
|
||||||
These are the data structure classes supported by wxWidgets.
|
|
||||||
|
|
||||||
@li wxCmdLineParser: Command line parser class
|
|
||||||
@li wxDateSpan: A logical time interval.
|
|
||||||
@li wxDateTime: A class for date/time manipulations
|
|
||||||
@li wxLongLong: A portable 64 bit integer type
|
|
||||||
@li wxObject: The root class for most wxWidgets classes
|
|
||||||
@li wxPathList: A class to help search multiple paths
|
|
||||||
@li wxPoint: Representation of a point
|
|
||||||
@li wxRect: A class representing a rectangle
|
|
||||||
@li wxRegEx: Regular expression support
|
|
||||||
@li wxRegion: A class representing a region
|
|
||||||
@li wxString: A string class
|
|
||||||
@li wxStringTokenizer: A class for interpreting a string as a list of tokens or
|
|
||||||
words
|
|
||||||
@li wxRealPoint: Representation of a point using floating point numbers
|
|
||||||
@li wxSize: Representation of a size
|
|
||||||
@li wxTimeSpan: A time interval.
|
|
||||||
@li wxURI: Represents a Uniform Resource Identifier
|
|
||||||
@li wxVariant: A class for storing arbitrary types that may change at run-time
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@section page_class_cat_containers Containers
|
|
||||||
|
|
||||||
These are classes, templates and class macros are used by wxWidgets. Most of
|
|
||||||
these classes provide a subset or almost complete STL API.
|
|
||||||
|
|
||||||
Related Overviews: @ref overview_container
|
|
||||||
|
|
||||||
@li wxArray<T>: A type-safe dynamic array implementation (macro based)
|
|
||||||
@li wxArrayString: An efficient container for storing wxString objects
|
|
||||||
@li wxHashMap<T>: A type-safe hash map implementation (macro based)
|
|
||||||
@li wxHashSet<T>: A type-safe hash set implementation(macro based)
|
|
||||||
@li wxHashTable: A simple hash table implementation (deprecated, use wxHashMap)
|
|
||||||
@li wxList<T>: A type-safe linked list implementation (macro based)
|
|
||||||
@li wxVector<T>: Template base vector implementation identical to std::vector
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@section page_class_cat_smartpointers Smart Pointers
|
|
||||||
|
|
||||||
wxWidgets provides a few smart pointer class templates.
|
|
||||||
|
|
||||||
@li wxObjectDataPtr<T>: A shared pointer (using intrusive reference counting)
|
|
||||||
@li wxScopedPtr<T>: A scoped pointer
|
|
||||||
@li wxSharedPtr<T>: A shared pointer (using non-intrusive reference counting)
|
|
||||||
@li wxWeakRef<T>: A weak reference
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@section page_class_cat_logging Logging
|
|
||||||
|
|
||||||
wxWidgets provides several classes and functions for message logging.
|
|
||||||
|
|
||||||
Related Overviews: @ref overview_log
|
|
||||||
|
|
||||||
@li wxLog: The base log class
|
|
||||||
@li wxLogStderr: Log messages to a C STDIO stream
|
|
||||||
@li wxLogStream: Log messages to a C++ iostream
|
|
||||||
@li wxLogTextCtrl: Log messages to a wxTextCtrl
|
|
||||||
@li wxLogWindow: Log messages to a log frame
|
|
||||||
@li wxLogGui: Default log target for GUI programs
|
|
||||||
@li wxLogNull: Temporarily suppress message logging
|
|
||||||
@li wxLogChain: Allows to chain two log targets
|
|
||||||
@li wxLogInterposer: Allows to filter the log messages
|
|
||||||
@li wxLogInterposerTemp: Allows to filter the log messages
|
|
||||||
@li wxStreamToTextRedirector: Allows to redirect output sent to @c cout to a wxTextCtrl
|
|
||||||
@li Log functions: Error and warning logging functions
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@section page_class_cat_debugging Debugging
|
|
||||||
|
|
||||||
wxWidgets supports some aspects of debugging an application through classes,
|
|
||||||
functions and macros.
|
|
||||||
|
|
||||||
Related Overviews: @ref overview_debugging
|
|
||||||
|
|
||||||
@li wxDebugContext: Provides memory-checking facilities
|
|
||||||
@li Debugging macros: Debug macros for assertion and checking
|
|
||||||
@li WXDEBUG_NEW: Use this macro to give further debugging information
|
|
||||||
@li wxDebugReport: Base class for creating debug reports in case of a program
|
|
||||||
crash.
|
|
||||||
@li wxDebugReportCompress: Class for creating compressed debug reports.
|
|
||||||
@li wxDebugReportUpload: Class for uploading compressed debug reports via HTTP.
|
|
||||||
@li wxDebugReportPreview: Abstract base class for previewing the contents of a
|
|
||||||
debug report.
|
|
||||||
@li wxDebugReportPreviewStd: Standard implementation of wxDebugReportPreview.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@section page_class_cat_net Networking
|
|
||||||
|
|
||||||
wxWidgets provides its own classes for socket based networking.
|
|
||||||
|
|
||||||
@li wxDialUpManager: Provides functions to check the status of network
|
|
||||||
connection and to establish one
|
|
||||||
@li wxIPV4address: Represents an Internet address
|
|
||||||
@li wxIPaddress: Represents an Internet address
|
|
||||||
@li wxSocketBase: Represents a socket base object
|
|
||||||
@li wxSocketClient: Represents a socket client
|
|
||||||
@li wxSocketServer: Represents a socket server
|
|
||||||
@li wxSocketEvent: A socket event
|
|
||||||
@li wxFTP: FTP protocol class
|
|
||||||
@li wxHTTP: HTTP protocol class
|
|
||||||
@li wxURL: Represents a Universal Resource Locator
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@section page_class_cat_ipc Interprocess Communication
|
|
||||||
|
|
||||||
wxWidgets provides simple interprocess communications facilities based on
|
|
||||||
Windows DDE, but available on most platforms using TCP.
|
|
||||||
|
|
||||||
Related Overviews: @ref overview_ipc
|
|
||||||
|
|
||||||
@li wxClient, wxDDEClient: Represents a client
|
|
||||||
@li wxConnection, wxDDEConnection: Represents the connection between a client
|
|
||||||
and a server
|
|
||||||
@li wxServer, wxDDEServer: Represents a server
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@section page_class_cat_dvf Document/View Framework
|
|
||||||
|
|
||||||
wxWidgets supports a document/view framework which provides housekeeping for a
|
|
||||||
document-centric application.
|
|
||||||
|
|
||||||
Related Overviews: @ref overview_docview
|
|
||||||
|
|
||||||
@li wxCommand: Base class for undo/redo actions
|
|
||||||
@li wxCommandProcessor: Maintains the undo/redo stack
|
|
||||||
@li wxDocument: Represents a document
|
|
||||||
@li wxView: Represents a view
|
|
||||||
@li wxDocTemplate: Manages the relationship between a document class and a
|
|
||||||
view class
|
|
||||||
@li wxDocManager: Manages the documents and views in an application
|
|
||||||
@li wxDocChildFrame: A child frame for showing a document view
|
|
||||||
@li wxDocParentFrame: A parent frame to contain views
|
|
||||||
@li wxDocMDIChildFrame: An MDI child frame for showing a document view
|
|
||||||
@li wxDocMDIParentFrame: An MDI parent frame to contain views
|
|
||||||
@li wxFileHistory: Maintains a list of the most recently visited files
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@section page_class_cat_printing Printing Framework
|
|
||||||
|
|
||||||
A printing and previewing framework is implemented to make it relatively
|
|
||||||
straightforward to provide document printing facilities.
|
|
||||||
|
|
||||||
Related Overviews: @ref overview_printing
|
|
||||||
|
|
||||||
@li wxPreviewFrame: Frame for displaying a print preview
|
|
||||||
@li wxPreviewCanvas: Canvas for displaying a print preview
|
|
||||||
@li wxPreviewControlBar: Standard control bar for a print preview
|
|
||||||
@li wxPrintDialog: Standard print dialog
|
|
||||||
@li wxPageSetupDialog: Standard page setup dialog
|
|
||||||
@li wxPrinter: Class representing the printer
|
|
||||||
@li wxPrinterDC: Printer device context
|
|
||||||
@li wxPrintout: Class representing a particular printout
|
|
||||||
@li wxPrintPreview: Class representing a print preview
|
|
||||||
@li wxPrintData: Represents information about the document being printed
|
|
||||||
@li wxPrintDialogData: Represents information about the print dialog
|
|
||||||
@li wxPageSetupDialogData: Represents information about the page setup dialog
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@section page_class_cat_dnd Clipboard and Drag & Drop
|
|
||||||
|
|
||||||
Related Overviews: @ref overview_dnd
|
|
||||||
|
|
||||||
@li wxDataObject: Data object class
|
|
||||||
@li wxDataFormat: Represents a data format
|
|
||||||
@li wxTextDataObject: Text data object class
|
|
||||||
@li wxFileDataObject: File data object class
|
|
||||||
@li wxBitmapDataObject: Bitmap data object class
|
|
||||||
@li wxURLDataObject: URL data object class
|
|
||||||
@li wxCustomDataObject: Custom data object class
|
|
||||||
@li wxClipboard: Clipboard class
|
|
||||||
@li wxDropTarget: Drop target class
|
|
||||||
@li wxFileDropTarget: File drop target class
|
|
||||||
@li wxTextDropTarget: Text drop target class
|
|
||||||
@li wxDropSource: Drop source class
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@section page_class_cat_file File Handling
|
|
||||||
|
|
||||||
wxWidgets has several small classes to work with disk files and directories.
|
|
||||||
|
|
||||||
Related Overviews: @ref overview_file
|
|
||||||
|
|
||||||
@li wxFileName: Operations with the file name and attributes
|
|
||||||
@li wxDir: Class for enumerating files/subdirectories.
|
|
||||||
@li wxDirTraverser: Class used together with wxDir for recursively enumerating
|
|
||||||
the files/subdirectories
|
|
||||||
@li wxFile: Low-level file input/output class.
|
|
||||||
@li wxFFile: Another low-level file input/output class.
|
|
||||||
@li wxTempFile: Class to safely replace an existing file
|
|
||||||
@li wxTextFile: Class for working with text files as with arrays of lines
|
|
||||||
@li wxStandardPaths: Paths for standard directories
|
|
||||||
@li wxPathList: A class to help search multiple paths
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@section page_class_cat_vfs Virtual File System
|
|
||||||
|
|
||||||
wxWidgets provides a set of classes that implement an extensible virtual file
|
|
||||||
system, used internally by the HTML classes.
|
|
||||||
|
|
||||||
@li wxFSFile: Represents a file in the virtual file system
|
|
||||||
@li wxFileSystem: Main interface for the virtual file system
|
|
||||||
@li wxFileSystemHandler: Class used to announce file system type
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@section page_class_cat_streams Streams
|
|
||||||
|
|
||||||
wxWidgets has its own set of stream classes, as an alternative to often buggy
|
|
||||||
standard stream libraries, and to provide enhanced functionality.
|
|
||||||
|
|
||||||
@li wxStreamBase: Stream base class
|
|
||||||
@li wxStreamBuffer: Stream buffer class
|
|
||||||
@li wxInputStream: Input stream class
|
|
||||||
@li wxOutputStream: Output stream class
|
|
||||||
@li wxCountingOutputStream: Stream class for querying what size a stream would
|
|
||||||
have.
|
|
||||||
@li wxFilterInputStream: Filtered input stream class
|
|
||||||
@li wxFilterOutputStream: Filtered output stream class
|
|
||||||
@li wxBufferedInputStream: Buffered input stream class
|
|
||||||
@li wxBufferedOutputStream: Buffered output stream class
|
|
||||||
@li wxMemoryInputStream: Memory input stream class
|
|
||||||
@li wxMemoryOutputStream: Memory output stream class
|
|
||||||
@li wxDataInputStream: Platform-independent binary data input stream class
|
|
||||||
@li wxDataOutputStream: Platform-independent binary data output stream class
|
|
||||||
@li wxTextInputStream: Platform-independent text data input stream class
|
|
||||||
@li wxTextOutputStream: Platform-independent text data output stream class
|
|
||||||
@li wxFileInputStream: File input stream class
|
|
||||||
@li wxFileOutputStream: File output stream class
|
|
||||||
@li wxFFileInputStream: Another file input stream class
|
|
||||||
@li wxFFileOutputStream: Another file output stream class
|
|
||||||
@li wxTempFileOutputStream: Stream to safely replace an existing file
|
|
||||||
@li wxStringInputStream: String input stream class
|
|
||||||
@li wxStringOutputStream: String output stream class
|
|
||||||
@li wxZlibInputStream: Zlib and gzip (compression) input stream class
|
|
||||||
@li wxZlibOutputStream: Zlib and gzip (compression) output stream class
|
|
||||||
@li wxZipInputStream: Input stream for reading from ZIP archives
|
|
||||||
@li wxZipOutputStream: Output stream for writing from ZIP archives
|
|
||||||
@li wxTarInputStream: Input stream for reading from tar archives
|
|
||||||
@li wxTarOutputStream: Output stream for writing from tar archives
|
|
||||||
@li wxSocketInputStream: Socket input stream class
|
|
||||||
@li wxSocketOutputStream: Socket output stream class
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@section page_class_cat_threading Threading
|
|
||||||
|
|
||||||
wxWidgets provides a set of classes to make use of the native thread
|
|
||||||
capabilities of the various platforms.
|
|
||||||
|
|
||||||
Related Overviews: @ref overview_thread
|
|
||||||
|
|
||||||
@li wxThread: Thread class
|
|
||||||
@li wxThreadHelper: Manages background threads easily
|
|
||||||
@li wxMutex: Mutex class
|
|
||||||
@li wxMutexLocker: Mutex locker utility class
|
|
||||||
@li wxCriticalSection: Critical section class
|
|
||||||
@li wxCriticalSectionLocker: Critical section locker utility class
|
|
||||||
@li wxCondition: Condition class
|
|
||||||
@li wxSemaphore: Semaphore class
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@section page_class_cat_rtti Runtime Type Information (RTTI)
|
|
||||||
|
|
||||||
wxWidgets supports runtime manipulation of class information, and dynamic
|
|
||||||
creation of objects given class names.
|
|
||||||
|
|
||||||
Related Overviews: @ref overview_rtti
|
|
||||||
|
|
||||||
See also: @ref page_macro_cat_rtti
|
|
||||||
|
|
||||||
@li wxClassInfo: Holds runtime class information
|
|
||||||
@li wxObject: Root class for classes with runtime information
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@section page_class_cat_appmanagement Application and Process Management
|
|
||||||
|
|
||||||
@li wxApp: Application class
|
|
||||||
@li wxCmdLineParser: Command line parser class
|
|
||||||
@li wxDllLoader: Class to work with shared libraries.
|
|
||||||
@li wxProcess: Process class
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@section page_class_cat_html HTML
|
|
||||||
|
|
||||||
wxWidgets provides a set of classes to display text in HTML format. These
|
|
||||||
classes include a help system based on the HTML widget.
|
|
||||||
|
|
||||||
@li wxHtmlHelpController: HTML help controller class
|
|
||||||
@li wxHtmlWindow: HTML window class
|
|
||||||
@li wxHtmlEasyPrinting: Simple class for printing HTML
|
|
||||||
@li wxHtmlPrintout: Generic HTML wxPrintout class
|
|
||||||
@li wxHtmlParser: Generic HTML parser class
|
|
||||||
@li wxHtmlTagHandler: HTML tag handler, pluginable into wxHtmlParser
|
|
||||||
@li wxHtmlWinParser: HTML parser class for wxHtmlWindow
|
|
||||||
@li wxHtmlWinTagHandler: HTML tag handler, pluginable into wxHtmlWinParser
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@section page_class_cat_richtext Rich Text
|
|
||||||
|
|
||||||
wxWidgets provides a set of generic classes to edit and print simple rich text
|
|
||||||
with character and paragraph formatting.
|
|
||||||
|
|
||||||
@li wxTextAttr: Attributes specifying text styling.
|
|
||||||
@li wxRichTextCtrl: A rich text control.
|
|
||||||
@li wxRichTextBuffer: The content of a rich text control.
|
|
||||||
@li wxRichTextCharacterStyleDefinition: Definition of character styling.
|
|
||||||
@li wxRichTextParagraphStyleDefinition: Definition of paragraph styling.
|
|
||||||
@li wxRichTextListStyleDefinition: Definition of list styling.
|
|
||||||
@li wxRichTextStyleSheet: A set of style definitions.
|
|
||||||
@li wxRichTextStyleComboCtrl: A drop-down control for applying styles.
|
|
||||||
@li wxRichTextStyleListBox: A listbox for applying styles.
|
|
||||||
@li wxRichTextStyleOrganiserDialog: A dialog that can be used for managing or
|
|
||||||
browsing styles.
|
|
||||||
@li wxRichTextEvent: A rich text event.
|
|
||||||
@li wxRichTextRange: Specification for ranges in a rich text control or buffer.
|
|
||||||
@li wxRichTextFileHandler: File handler base class.
|
|
||||||
@li wxRichTextHTMLHandler: A handler for converting rich text to HTML.
|
|
||||||
@li wxRichTextXMLHandler: A handler for loading and saving rich text XML.
|
|
||||||
@li wxRichTextFormattingDialog: A dialog for rich text formatting.
|
|
||||||
@li wxRichTextPrinting: A class for easy printing of rich text buffers.
|
|
||||||
@li wxRichTextPrintout: A class used by wxRichTextPrinting.
|
|
||||||
@li wxRichTextHeaderFooterData: Header and footer data specification.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@section page_class_cat_stc Scintilla Text Editor
|
|
||||||
|
|
||||||
wxWidgets also provides a wrapper around the Scintilla text editor control,
|
|
||||||
which is a control for plain-text editing with support for highlighting, smart
|
|
||||||
indentation, etc.
|
|
||||||
|
|
||||||
@li wxStyledTextCtrl: A wxWidgets implementation of the Scintilla source code
|
|
||||||
editing component.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@section page_class_cat_xml XML
|
|
||||||
|
|
||||||
@li wxXmlDocument: A class to parse XML files
|
|
||||||
@li wxXmlNode: A class which represents XML nodes
|
|
||||||
@li wxXmlAttribute: A class which represent an XML attribute
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@section page_class_cat_xrc XML Based Resource System (XRC)
|
|
||||||
|
|
||||||
Resources allow your application to create controls and other user interface
|
|
||||||
elements from specifications stored in an XML format.
|
|
||||||
|
|
||||||
Related Overviews: @ref overview_xrc
|
|
||||||
|
|
||||||
@li wxXmlResource: The main class for working with resources
|
|
||||||
@li wxXmlResourceHandler: The base class for XML resource handlers
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@section page_class_cat_help Help
|
|
||||||
|
|
||||||
@li wxHelpController: Family of classes for controlling help windows
|
|
||||||
@li wxHtmlHelpController: HTML help controller class
|
|
||||||
@li wxContextHelp: Class to put application into context-sensitive help mode
|
|
||||||
@li wxContextHelpButton: Button class for putting application into
|
|
||||||
context-sensitive help mode
|
|
||||||
@li wxHelpProvider: Abstract class for context-sensitive help provision
|
|
||||||
@li wxSimpleHelpProvider: Class for simple context-sensitive help provision
|
|
||||||
@li wxHelpControllerHelpProvider: Class for context-sensitive help provision
|
|
||||||
via a help controller
|
|
||||||
@li wxToolTip: Class implementing tooltips
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@section page_class_cat_media Multimedia
|
|
||||||
|
|
||||||
@li wxMediaCtrl: Display multimedia contents.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@section page_class_cat_gl OpenGL
|
|
||||||
|
|
||||||
@li wxGLCanvas: Canvas that you can render OpenGL calls to.
|
|
||||||
@li wxGLContext: Class to ease sharing of OpenGL data resources.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@section page_class_cat_archive Archive
|
|
||||||
|
|
||||||
@li wxArchiveInputStream
|
|
||||||
@li wxArchiveOutputStream
|
|
||||||
@li wxArchiveEntry
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@section page_class_cat_misc Miscellaneous
|
|
||||||
|
|
||||||
@li wxCaret: A caret (cursor) object
|
|
||||||
@li wxConfigBase: Classes for reading/writing the configuration settings
|
|
||||||
@li wxTimer: Timer class
|
|
||||||
@li wxStopWatch: Stop watch class
|
|
||||||
@li wxMimeTypesManager: MIME-types manager class
|
|
||||||
@li wxSystemSettings: System settings class for obtaining various global
|
|
||||||
parameters
|
|
||||||
@li wxSystemOptions: System options class for run-time configuration
|
|
||||||
@li wxAcceleratorTable: Accelerator table
|
|
||||||
@li wxAutomationObject: OLE automation class
|
|
||||||
@li wxFontMapper: Font mapping, finding suitable font for given encoding
|
|
||||||
@li wxEncodingConverter: Encoding conversions
|
|
||||||
@li wxCalendarDateAttr: Used with wxCalendarCtrl
|
|
||||||
@li wxQuantize: Class to perform quantization, or colour reduction
|
|
||||||
@li wxSingleInstanceChecker: Check that only single program instance is running
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
@ -1,367 +0,0 @@
|
|||||||
/////////////////////////////////////////////////////////////////////////////
|
|
||||||
// Name: cat_functions.h
|
|
||||||
// Purpose: Functions-by-category page of the Doxygen manual
|
|
||||||
// Author: wxWidgets team
|
|
||||||
// RCS-ID: $Id$
|
|
||||||
// Licence: wxWindows license
|
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
|
||||||
|
|
||||||
/**
|
|
||||||
|
|
||||||
@page page_func_cat Functions by Category
|
|
||||||
|
|
||||||
@li @ref page_func_cat_appinitterm
|
|
||||||
@li @ref page_func_cat_procctrl
|
|
||||||
@li @ref page_func_cat_thread
|
|
||||||
@li @ref page_func_cat_file
|
|
||||||
@li @ref page_func_cat_networkuseros
|
|
||||||
@li @ref page_func_cat_string
|
|
||||||
@li @ref page_func_cat_dialog
|
|
||||||
@li @ref page_func_cat_math
|
|
||||||
@li @ref page_func_cat_gdi
|
|
||||||
@li @ref page_func_cat_clipboard
|
|
||||||
@li @ref page_func_cat_log
|
|
||||||
@li @ref page_func_cat_time
|
|
||||||
@li @ref page_func_cat_debug
|
|
||||||
@li @ref page_func_cat_env
|
|
||||||
@li @ref page_func_cat_atomic
|
|
||||||
@li @ref page_func_cat_misc
|
|
||||||
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@section page_func_cat_appinitterm Application Initialization and Termination
|
|
||||||
|
|
||||||
The functions in this section are used on application startup/shutdown and also
|
|
||||||
to control the behaviour of the main event loop of the GUI programs.
|
|
||||||
|
|
||||||
@li wxEntry()
|
|
||||||
@li wxEntryCleanup()
|
|
||||||
@li wxEntryStart()
|
|
||||||
@li wxGetApp()
|
|
||||||
@li wxHandleFatalExceptions()
|
|
||||||
@li wxInitAllImageHandlers()
|
|
||||||
@li wxInitialize()
|
|
||||||
@li wxSafeYield()
|
|
||||||
@li wxUninitialize()
|
|
||||||
@li wxYield()
|
|
||||||
@li wxWakeUpIdle()
|
|
||||||
|
|
||||||
|
|
||||||
@section page_func_cat_procctrl Process Control
|
|
||||||
|
|
||||||
The functions in this section are used to launch or terminate the other
|
|
||||||
processes.
|
|
||||||
|
|
||||||
@li wxExecute()
|
|
||||||
@li wxExit()
|
|
||||||
@li wxJoin()
|
|
||||||
@li wxKill()
|
|
||||||
@li wxGetProcessId()
|
|
||||||
@li wxShell()
|
|
||||||
@li wxShutdown()
|
|
||||||
|
|
||||||
|
|
||||||
@section page_func_cat_thread Threads
|
|
||||||
|
|
||||||
The functions and macros here mainly exist to make it writing the code which
|
|
||||||
may be compiled in multi thread build (wxUSE_THREADS = 1) as well as in single
|
|
||||||
thread configuration (wxUSE_THREADS = 0).
|
|
||||||
|
|
||||||
For example, a static variable must be protected against simultaneous access by
|
|
||||||
multiple threads in the former configuration but in the latter the extra
|
|
||||||
overhead of using the critical section is not needed. To solve this problem,
|
|
||||||
the wxCRITICAL_SECTION macro may be used to create and use the critical section
|
|
||||||
only when needed.
|
|
||||||
|
|
||||||
@header{wx/thread.h}
|
|
||||||
|
|
||||||
@sa wxThread, wxMutex, @ref overview_thread
|
|
||||||
|
|
||||||
@li wxIsMainThread()
|
|
||||||
@li wxMutexGuiEnter()
|
|
||||||
@li wxMutexGuiLeave()
|
|
||||||
|
|
||||||
|
|
||||||
@section page_func_cat_file Files and Directories
|
|
||||||
|
|
||||||
@header{wx/filefn.h}
|
|
||||||
|
|
||||||
@sa wxPathList, wxDir, wxFile, wxFileName
|
|
||||||
|
|
||||||
@li wxDos2UnixFilename()
|
|
||||||
@li wxFileExists()
|
|
||||||
@li wxFileModificationTime()
|
|
||||||
@li wxFileNameFromPath()
|
|
||||||
@li wxFindFirstFile()
|
|
||||||
@li wxFindNextFile()
|
|
||||||
@li wxGetDiskSpace()
|
|
||||||
@li wxGetFileKind()
|
|
||||||
@li wxGetOSDirectory()
|
|
||||||
@li wxIsAbsolutePath()
|
|
||||||
@li wxDirExists()
|
|
||||||
@li wxPathOnly()
|
|
||||||
@li wxUnix2DosFilename()
|
|
||||||
@li wxConcatFiles()
|
|
||||||
@li wxCopyFile()
|
|
||||||
@li wxGetCwd()
|
|
||||||
@li wxGetWorkingDirectory()
|
|
||||||
@li wxGetTempFileName()
|
|
||||||
@li wxIsWild()
|
|
||||||
@li wxMatchWild()
|
|
||||||
@li wxMkdir()
|
|
||||||
@li wxParseCommonDialogsFilter()
|
|
||||||
@li wxRemoveFile()
|
|
||||||
@li wxRenameFile()
|
|
||||||
@li wxRmdir()
|
|
||||||
@li wxSetWorkingDirectory()
|
|
||||||
@li wxSplit()
|
|
||||||
@li wxSplitPath()
|
|
||||||
@li wxTransferFileToStream()
|
|
||||||
@li wxTransferStreamToFile()
|
|
||||||
|
|
||||||
|
|
||||||
@section page_func_cat_networkuseros Network, User and OS
|
|
||||||
|
|
||||||
The functions in this section are used to retrieve information about the
|
|
||||||
current computer and/or user characteristics.
|
|
||||||
|
|
||||||
@li wxGetEmailAddress()
|
|
||||||
@li wxGetFreeMemory()
|
|
||||||
@li wxGetFullHostName()
|
|
||||||
@li wxGetHomeDir()
|
|
||||||
@li wxGetHostName()
|
|
||||||
@li wxGetOsDescription()
|
|
||||||
@li wxGetOsVersion()
|
|
||||||
@li wxIsPlatformLittleEndian()
|
|
||||||
@li wxIsPlatform64Bit()
|
|
||||||
@li wxGetUserHome()
|
|
||||||
@li wxGetUserId()
|
|
||||||
@li wxGetUserName()
|
|
||||||
|
|
||||||
|
|
||||||
@section page_func_cat_string Strings
|
|
||||||
|
|
||||||
@li wxGetTranslation()
|
|
||||||
@li wxIsEmpty()
|
|
||||||
@li wxStrcmp()
|
|
||||||
@li wxStricmp()
|
|
||||||
@li wxStringEq()
|
|
||||||
@li wxStringMatch()
|
|
||||||
@li wxStringTokenize()
|
|
||||||
@li wxStrlen()
|
|
||||||
@li wxSnprintf()
|
|
||||||
@li wxVsnprintf()
|
|
||||||
|
|
||||||
|
|
||||||
@section page_func_cat_dialog Dialogs
|
|
||||||
|
|
||||||
Below are a number of convenience functions for getting input from the user
|
|
||||||
or displaying messages. Note that in these functions the last three parameters
|
|
||||||
are optional. However, it is recommended to pass a parent frame parameter, or
|
|
||||||
(in MS Windows or Motif) the wrong window frame may be brought to the front when
|
|
||||||
the dialog box is popped up.
|
|
||||||
|
|
||||||
@li wxAboutBox()
|
|
||||||
@li wxBeginBusyCursor()
|
|
||||||
@li wxBell()
|
|
||||||
@li wxCreateFileTipProvider()
|
|
||||||
@li wxDirSelector()
|
|
||||||
@li wxFileSelector()
|
|
||||||
@li wxEndBusyCursor()
|
|
||||||
@li wxGenericAboutBox()
|
|
||||||
@li wxGetColourFromUser()
|
|
||||||
@li wxGetFontFromUser()
|
|
||||||
@li wxGetMultipleChoices()
|
|
||||||
@li wxGetNumberFromUser()
|
|
||||||
@li wxGetPasswordFromUser()
|
|
||||||
@li wxGetTextFromUser()
|
|
||||||
@li wxGetSingleChoice()
|
|
||||||
@li wxGetSingleChoiceIndex()
|
|
||||||
@li wxGetSingleChoiceData()
|
|
||||||
@li wxInfoMessageBox()
|
|
||||||
@li wxIsBusy()
|
|
||||||
@li wxMessageBox()
|
|
||||||
@li wxShowTip()
|
|
||||||
|
|
||||||
|
|
||||||
@section page_func_cat_math Math
|
|
||||||
|
|
||||||
@header{wx/math.h}
|
|
||||||
|
|
||||||
@li wxFinite()
|
|
||||||
@li wxIsNaN()
|
|
||||||
|
|
||||||
|
|
||||||
@section page_func_cat_gdi Graphics Device Interface
|
|
||||||
|
|
||||||
The following are relevant to the GDI (Graphics Device Interface).
|
|
||||||
|
|
||||||
@header{wx/gdicmn.h}
|
|
||||||
|
|
||||||
@li wxBITMAP()
|
|
||||||
@li wxClientDisplayRect()
|
|
||||||
@li wxColourDisplay()
|
|
||||||
@li wxDisplayDepth()
|
|
||||||
@li wxDisplaySize()
|
|
||||||
@li wxDisplaySizeMM()
|
|
||||||
@li wxDROP_ICON()
|
|
||||||
@li wxICON()
|
|
||||||
@li wxMakeMetafilePlaceable()
|
|
||||||
@li wxSetCursor()
|
|
||||||
|
|
||||||
|
|
||||||
@section page_func_cat_clipboard Clipboard
|
|
||||||
|
|
||||||
@warning These functions are deprecated, use the wxClipboard class instead.
|
|
||||||
|
|
||||||
These clipboard functions are implemented for Windows only.
|
|
||||||
|
|
||||||
@header{wx/clipbrd.h}
|
|
||||||
|
|
||||||
@li wxClipboardOpen()
|
|
||||||
@li wxCloseClipboard()
|
|
||||||
@li wxEmptyClipboard()
|
|
||||||
@li wxEnumClipboardFormats()
|
|
||||||
@li wxGetClipboardData()
|
|
||||||
@li wxGetClipboardFormatName()
|
|
||||||
@li wxIsClipboardFormatAvailable()
|
|
||||||
@li wxOpenClipboard()
|
|
||||||
@li wxRegisterClipboardFormat()
|
|
||||||
@li wxSetClipboardData()
|
|
||||||
|
|
||||||
|
|
||||||
@section page_func_cat_log Logging
|
|
||||||
|
|
||||||
These functions provide a variety of logging functions. The functions use
|
|
||||||
(implicitly) the currently active log target, so their descriptions here may
|
|
||||||
not apply if the log target is not the standard one (installed by wxWidgets in
|
|
||||||
the beginning of the program).
|
|
||||||
|
|
||||||
Related Overviews: @ref overview_log
|
|
||||||
|
|
||||||
@header{wx/log.h}
|
|
||||||
|
|
||||||
@li wxDebugMsg()
|
|
||||||
@li wxError()
|
|
||||||
@li wxFatalError()
|
|
||||||
@li wxLogError()
|
|
||||||
@li wxLogFatalError()
|
|
||||||
@li wxLogWarning()
|
|
||||||
@li wxLogMessage()
|
|
||||||
@li wxLogVerbose()
|
|
||||||
@li wxLogStatus()
|
|
||||||
@li wxLogSysError()
|
|
||||||
@li wxLogDebug()
|
|
||||||
@li wxLogTrace()
|
|
||||||
@li wxSafeShowMessage()
|
|
||||||
@li wxSysErrorCode()
|
|
||||||
@li wxSysErrorMsg()
|
|
||||||
@li wxTrace()
|
|
||||||
@li wxTraceLevel()
|
|
||||||
|
|
||||||
|
|
||||||
@section page_func_cat_time Time
|
|
||||||
|
|
||||||
The functions in this section deal with getting the current time and sleeping
|
|
||||||
for the specified time interval.
|
|
||||||
|
|
||||||
@li wxGetLocalTime()
|
|
||||||
@li wxGetLocalTimeMillis()
|
|
||||||
@li wxGetUTCTime()
|
|
||||||
@li wxMicroSleep()
|
|
||||||
@li wxMilliSleep()
|
|
||||||
@li wxNow()
|
|
||||||
@li wxSleep()
|
|
||||||
@li wxUsleep()
|
|
||||||
|
|
||||||
|
|
||||||
@section page_func_cat_debug Debugging
|
|
||||||
|
|
||||||
Useful macros and functions for error checking and defensive programming.
|
|
||||||
wxWidgets defines three families of the assert-like macros: the wxASSERT and
|
|
||||||
wxFAIL macros only do anything if __WXDEBUG__ is defined (in other words, in
|
|
||||||
the debug build) but disappear completely in the release build. On the other
|
|
||||||
hand, the wxCHECK macros stay event in release builds but a check failure
|
|
||||||
doesn't generate any user-visible effects then. Finally, the compile time
|
|
||||||
assertions don't happen during the run-time but result in the compilation error
|
|
||||||
messages if the condition they check fail.
|
|
||||||
|
|
||||||
@header{wx/debug.h}
|
|
||||||
|
|
||||||
@li wxOnAssert()
|
|
||||||
@li wxTrap()
|
|
||||||
@li wxIsDebuggerRunning()
|
|
||||||
|
|
||||||
|
|
||||||
@section page_func_cat_env Environment
|
|
||||||
|
|
||||||
The functions in this section allow to access (get) or change value of
|
|
||||||
environment variables in a portable way. They are currently implemented under
|
|
||||||
Win32 and POSIX-like systems (Unix).
|
|
||||||
|
|
||||||
@header{wx/utils.h}
|
|
||||||
|
|
||||||
@li wxGetenv()
|
|
||||||
@li wxGetEnv()
|
|
||||||
@li wxSetEnv()
|
|
||||||
@li wxUnsetEnv()
|
|
||||||
|
|
||||||
|
|
||||||
@section page_func_cat_atomic Atomic Operations
|
|
||||||
|
|
||||||
When using multi-threaded applications, it is often required to access or
|
|
||||||
modify memory which is shared between threads. Atomic integer and pointer
|
|
||||||
operations are an efficient way to handle this issue (another, less efficient,
|
|
||||||
way is to use a mutex or critical section). A native implementation exists for
|
|
||||||
Windows, Linux, Solaris and Mac OS X, for other OS, a wxCriticalSection is used
|
|
||||||
to protect the data.
|
|
||||||
|
|
||||||
One particular application is reference counting (used by so-called smart
|
|
||||||
pointers).
|
|
||||||
|
|
||||||
You should define your variable with the type wxAtomicInt in order to apply
|
|
||||||
atomic operations to it.
|
|
||||||
|
|
||||||
@header{wx/atomic.h}
|
|
||||||
|
|
||||||
@li wxAtomicInc()
|
|
||||||
@li wxAtomicDec()
|
|
||||||
|
|
||||||
|
|
||||||
@section page_func_cat_misc Miscellaneous
|
|
||||||
|
|
||||||
@li wxBase64Decode()
|
|
||||||
@li wxBase64DecodedSize()
|
|
||||||
@li wxBase64Encode()
|
|
||||||
@li wxBase64EncodedSize()
|
|
||||||
@li wxGetKeyState()
|
|
||||||
@li wxNewId()
|
|
||||||
@li wxRegisterId()
|
|
||||||
@li wxDDECleanUp()
|
|
||||||
@li wxDDEInitialize()
|
|
||||||
@li wxEnableTopLevelWindows()
|
|
||||||
@li wxFindMenuItemId()
|
|
||||||
@li wxFindWindowByLabel()
|
|
||||||
@li wxFindWindowByName()
|
|
||||||
@li wxFindWindowAtPoint()
|
|
||||||
@li wxFindWindowAtPointer()
|
|
||||||
@li wxGetActiveWindow()
|
|
||||||
@li wxGetBatteryState()
|
|
||||||
@li wxGetDisplayName()
|
|
||||||
@li wxGetPowerType()
|
|
||||||
@li wxGetMousePosition()
|
|
||||||
@li wxGetMouseState()
|
|
||||||
@li wxGetStockLabel()
|
|
||||||
@li wxGetTopLevelParent()
|
|
||||||
@li wxLaunchDefaultBrowser()
|
|
||||||
@li wxLoadUserResource()
|
|
||||||
@li wxPostDelete()
|
|
||||||
@li wxPostEvent()
|
|
||||||
@li wxSetDisplayName()
|
|
||||||
@li wxStripMenuCodes()
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
@ -1,165 +0,0 @@
|
|||||||
/////////////////////////////////////////////////////////////////////////////
|
|
||||||
// Name: cat_macros.h
|
|
||||||
// Purpose: Macros-by-category page of the Doxygen manual
|
|
||||||
// Author: wxWidgets team
|
|
||||||
// RCS-ID: $Id$
|
|
||||||
// Licence: wxWindows license
|
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
|
||||||
|
|
||||||
/**
|
|
||||||
|
|
||||||
@page page_macro_cat Macros by Category
|
|
||||||
|
|
||||||
@li @ref page_macro_cat_version
|
|
||||||
@li @ref page_macro_cat_byteorder
|
|
||||||
@li @ref page_macro_cat_rtti
|
|
||||||
@li @ref page_macro_cat_debugging
|
|
||||||
@li @ref page_macro_cat_misc
|
|
||||||
|
|
||||||
|
|
||||||
<hr>
|
|
||||||
|
|
||||||
|
|
||||||
@section page_macro_cat_version Versioning
|
|
||||||
|
|
||||||
The following constants are defined in wxWidgets:
|
|
||||||
|
|
||||||
@beginDefList
|
|
||||||
@itemdef{ wxMAJOR_VERSION, The major version of wxWidgets }
|
|
||||||
@itemdef{ wxMINOR_VERSION, The minor version of wxWidgets }
|
|
||||||
@itemdef{ wxRELEASE_NUMBER, The release number }
|
|
||||||
@itemdef{ wxSUBRELEASE_NUMBER, The subrelease number which is 0 for all
|
|
||||||
official releases }
|
|
||||||
@endDefList
|
|
||||||
|
|
||||||
For example, the values or these constants for wxWidgets 2.8.7
|
|
||||||
are 2, 8, 7 and 0.
|
|
||||||
|
|
||||||
Additionally, wxVERSION_STRING is a user-readable string containing the full
|
|
||||||
wxWidgets version and wxVERSION_NUMBER is a combination of the three version
|
|
||||||
numbers above: for 2.1.15, it is 2115 and it is 2200 for wxWidgets 2.2.
|
|
||||||
|
|
||||||
The subrelease number is only used for the sources in between official releases
|
|
||||||
and so normally is not useful.
|
|
||||||
|
|
||||||
@header{wx/version.h}
|
|
||||||
@header{wx/defs.h}
|
|
||||||
|
|
||||||
@li wxCHECK_GCC_VERSION()
|
|
||||||
@li wxCHECK_SUNCC_VERSION()
|
|
||||||
@li wxCHECK_VERSION()
|
|
||||||
@li wxCHECK_VERSION_FULL()
|
|
||||||
@li wxCHECK_VISUALC_VERSION()
|
|
||||||
@li wxCHECK_W32API_VERSION()
|
|
||||||
|
|
||||||
|
|
||||||
@section page_macro_cat_misc Miscellaneous
|
|
||||||
|
|
||||||
@header{FIXME}
|
|
||||||
|
|
||||||
@li wxCONCAT()
|
|
||||||
@li wxDECLARE_APP()
|
|
||||||
@li wxDYNLIB_FUNCTION()
|
|
||||||
@li wxDEPRECATED()
|
|
||||||
@li wxDEPRECATED_BUT_USED_INTERNALLY()
|
|
||||||
@li wxDEPRECATED_INLINE()
|
|
||||||
@li wxEXPLICIT()
|
|
||||||
@li wxON_BLOCK_EXIT()
|
|
||||||
@li wxON_BLOCK_EXIT_OBJ()
|
|
||||||
@li wxSTRINGIZE()
|
|
||||||
@li wxSTRINGIZE_T()
|
|
||||||
@li wxSUPPRESS_GCC_PRIVATE_DTOR_WARNING()
|
|
||||||
@li __WXFUNCTION__()
|
|
||||||
@li wxS()
|
|
||||||
@li wxT()
|
|
||||||
@li wxTRANSLATE()
|
|
||||||
@li _()
|
|
||||||
@li wxPLURAL()
|
|
||||||
@li _T()
|
|
||||||
@li WXTRACE()
|
|
||||||
@li WXTRACELEVEL()
|
|
||||||
|
|
||||||
|
|
||||||
@section page_macro_cat_byteorder Byte Order
|
|
||||||
|
|
||||||
@header{FIXME}
|
|
||||||
|
|
||||||
The endian-ness issues (that is the difference between big-endian and
|
|
||||||
little-endian architectures) are important for the portable programs working
|
|
||||||
with the external binary data (for example, data files or data coming from
|
|
||||||
network) which is usually in some fixed, platform-independent format.
|
|
||||||
|
|
||||||
The macros are helpful for transforming the data to the correct format.
|
|
||||||
|
|
||||||
@li wxINTXX_SWAP_ALWAYS()
|
|
||||||
@li wxINTXX_SWAP_ON_BE()
|
|
||||||
@li wxINTXX_SWAP_ON_LE()
|
|
||||||
@li wxFORCE_LINK_THIS_MODULE()
|
|
||||||
@li wxFORCE_LINK_MODULE()
|
|
||||||
@li wxIMPLEMENT_APP()
|
|
||||||
|
|
||||||
|
|
||||||
@section page_macro_cat_rtti Runtime Type Information (RTTI)
|
|
||||||
|
|
||||||
wxWidgets uses its own RTTI ("run-time type identification") system which
|
|
||||||
predates the current standard C++ RTTI and so is kept for backwards
|
|
||||||
compatibility reasons but also because it allows some things which the standard
|
|
||||||
RTTI doesn't directly support (such as creating a class from its name). The
|
|
||||||
standard C++ RTTI can be used in the user code without any problems and in
|
|
||||||
general you shouldn't need to use the functions and the macros in this section
|
|
||||||
unless you are thinking of modifying or adding any wxWidgets classes.
|
|
||||||
|
|
||||||
Related Overviews: @ref overview_rtti
|
|
||||||
|
|
||||||
@li CLASSINFO()
|
|
||||||
@li DECLARE_ABSTRACT_CLASS()
|
|
||||||
@li DECLARE_APP()
|
|
||||||
@li DECLARE_CLASS()
|
|
||||||
@li DECLARE_DYNAMIC_CLASS()
|
|
||||||
@li IMPLEMENT_ABSTRACT_CLASS()
|
|
||||||
@li IMPLEMENT_ABSTRACT_CLASS2()
|
|
||||||
@li IMPLEMENT_APP()
|
|
||||||
@li IMPLEMENT_CLASS()
|
|
||||||
@li IMPLEMENT_CLASS2()
|
|
||||||
@li IMPLEMENT_DYNAMIC_CLASS()
|
|
||||||
@li IMPLEMENT_DYNAMIC_CLASS2()
|
|
||||||
@li wxConstCast()
|
|
||||||
@li wxCreateDynamicObject()
|
|
||||||
@li WXDEBUG_NEW()
|
|
||||||
@li wxDynamicCast()
|
|
||||||
@li wxDynamicCastThis()
|
|
||||||
@li wxStaticCast()
|
|
||||||
@li wx_const_cast()
|
|
||||||
@li wx_reinterpret_cast()
|
|
||||||
@li wx_static_cast()
|
|
||||||
@li wx_truncate_cast()
|
|
||||||
|
|
||||||
|
|
||||||
@section page_macro_cat_debugging Debugging
|
|
||||||
|
|
||||||
Useful macros and functions for error checking and defensive programming.
|
|
||||||
wxWidgets defines three families of the assert-like macros: the wxASSERT and
|
|
||||||
wxFAIL macros only do anything if __WXDEBUG__ is defined (in other words, in
|
|
||||||
the debug build) but disappear completely in the release build. On the other
|
|
||||||
hand, the wxCHECK macros stay event in release builds but a check failure
|
|
||||||
doesn't generate any user-visible effects then. Finally, the compile time
|
|
||||||
assertions don't happen during the run-time but result in the compilation error
|
|
||||||
messages if the condition they check fail.
|
|
||||||
|
|
||||||
@header{wx/debug.h}
|
|
||||||
|
|
||||||
@li wxASSERT()
|
|
||||||
@li wxASSERT_MIN_BITSIZE()
|
|
||||||
@li wxASSERT_MSG()
|
|
||||||
@li wxCOMPILE_TIME_ASSERT()
|
|
||||||
@li wxCOMPILE_TIME_ASSERT2()
|
|
||||||
@li wxFAIL()
|
|
||||||
@li wxFAIL_MSG()
|
|
||||||
@li wxCHECK()
|
|
||||||
@li wxCHECK_MSG()
|
|
||||||
@li wxCHECK_RET()
|
|
||||||
@li wxCHECK2()
|
|
||||||
@li wxCHECK2_MSG()
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
@ -203,7 +203,7 @@ which is either wxBIG_ENDIAN or wxLITTLE_ENDIAN (in the future maybe wxPDP_ENDIA
|
|||||||
as well).
|
as well).
|
||||||
|
|
||||||
The macros handling bit-swapping with respect to the applications endianness
|
The macros handling bit-swapping with respect to the applications endianness
|
||||||
are described in the @ref page_macro_cat_byteorder section.
|
are described in the @ref group_funcmacro_byteorder section.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -305,7 +305,7 @@ from these differences.
|
|||||||
Of course, there are also 3rd party utilities such as @c dos2unix and @c unix2dos
|
Of course, there are also 3rd party utilities such as @c dos2unix and @c unix2dos
|
||||||
which do the EOL conversions.
|
which do the EOL conversions.
|
||||||
|
|
||||||
See also the @ref page_func_cat_file section of the reference
|
See also the @ref group_funcmacro_file section of the reference
|
||||||
manual for the description of miscellaneous file handling functions.
|
manual for the description of miscellaneous file handling functions.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
@ -24,9 +24,8 @@
|
|||||||
@li @subpage page_strategies
|
@li @subpage page_strategies
|
||||||
@li @subpage page_libs
|
@li @subpage page_libs
|
||||||
@li @subpage page_constants
|
@li @subpage page_constants
|
||||||
@li @subpage page_class_cat
|
@li @subpage group_class
|
||||||
@li @subpage page_func_cat
|
@li @subpage group_funcmacro
|
||||||
@li @subpage page_macro_cat
|
|
||||||
@li @subpage page_topics
|
@li @subpage page_topics
|
||||||
@li @subpage page_port
|
@li @subpage page_port
|
||||||
|
|
||||||
|
@ -102,7 +102,7 @@ trivial programs.
|
|||||||
@subsection page_strategies_debug_uselogging Use logging functions
|
@subsection page_strategies_debug_uselogging Use logging functions
|
||||||
|
|
||||||
There is a variety of logging functions that you can use in your program:
|
There is a variety of logging functions that you can use in your program:
|
||||||
see @ref page_func_cat_log.
|
see @ref group_funcmacro_log.
|
||||||
|
|
||||||
Using tracing statements may be more convenient than using the debugger
|
Using tracing statements may be more convenient than using the debugger
|
||||||
in some circumstances (such as when your debugger doesn't support a lot
|
in some circumstances (such as when your debugger doesn't support a lot
|
||||||
@ -116,7 +116,7 @@ automatically check for memory leaks at the end of the program if wxWidgets is s
|
|||||||
configured. Depending on the operating system and compiler, more or less
|
configured. Depending on the operating system and compiler, more or less
|
||||||
specific information about the problem will be logged.
|
specific information about the problem will be logged.
|
||||||
|
|
||||||
You should also use @ref page_macro_cat_debugging as part of a `defensive programming' strategy,
|
You should also use @ref group_funcmacro_debugging as part of a `defensive programming' strategy,
|
||||||
scattering wxASSERTs liberally to test for problems in your code as early as possible.
|
scattering wxASSERTs liberally to test for problems in your code as early as possible.
|
||||||
Forward thinking will save a surprising amount of time in the long run.
|
Forward thinking will save a surprising amount of time in the long run.
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
@page overview_debugging Debugging
|
@page overview_debugging Debugging
|
||||||
|
|
||||||
Classes, functions and macros: wxDebugContext, wxObject, wxLog,
|
Classes, functions and macros: wxDebugContext, wxObject, wxLog,
|
||||||
@ref page_func_cat_log, @ref page_macro_cat_debugging
|
@ref group_funcmacro_log, @ref group_funcmacro_debugging
|
||||||
|
|
||||||
Various classes, functions and macros are provided in wxWidgets to help you debug
|
Various classes, functions and macros are provided in wxWidgets to help you debug
|
||||||
your application. Most of these are only available if you compile both wxWidgets,
|
your application. Most of these are only available if you compile both wxWidgets,
|
||||||
@ -73,7 +73,7 @@ compilers allow this definition to work properly, but most do.
|
|||||||
|
|
||||||
@section overview_debugging_dbgmacros Debug macros
|
@section overview_debugging_dbgmacros Debug macros
|
||||||
|
|
||||||
You should also use @ref page_macro_cat_debugging as part of a 'defensive programming'
|
You should also use @ref group_funcmacro_debugging as part of a 'defensive programming'
|
||||||
strategy, scattering wxASSERTs liberally to test for problems in your code as early as
|
strategy, scattering wxASSERTs liberally to test for problems in your code as early as
|
||||||
possible.
|
possible.
|
||||||
Forward thinking will save a surprising amount of time in the long run.
|
Forward thinking will save a surprising amount of time in the long run.
|
||||||
|
@ -22,7 +22,7 @@ be used for placing controls, with the following exceptions:
|
|||||||
until the dialog box is dismissed.
|
until the dialog box is dismissed.
|
||||||
|
|
||||||
For a set of dialog convenience functions, including file selection, see
|
For a set of dialog convenience functions, including file selection, see
|
||||||
@ref page_func_cat_dialog.
|
@ref group_funcmacro_dialog.
|
||||||
|
|
||||||
See also wxTopLevelWindow and wxWindow for inherited
|
See also wxTopLevelWindow and wxWindow for inherited
|
||||||
member functions. Validation of data in controls is covered in @ref overview_validator.
|
member functions. Validation of data in controls is covered in @ref overview_validator.
|
||||||
|
@ -99,7 +99,7 @@ connect the events to the handlers dynamically, during run-time. See the
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
@section overview_eventhandling_processing How events are processed
|
@section overview_eventhandling_processing How Events are Processed
|
||||||
|
|
||||||
When an event is received from the windowing system, wxWidgets calls
|
When an event is received from the windowing system, wxWidgets calls
|
||||||
wxEvtHandler::ProcessEvent on the first
|
wxEvtHandler::ProcessEvent on the first
|
||||||
@ -228,7 +228,7 @@ will have to be written that will override ProcessEvent() in order to pass
|
|||||||
all events (or any selection of them) to the parent window.
|
all events (or any selection of them) to the parent window.
|
||||||
|
|
||||||
|
|
||||||
@section overview_eventhandling_prog Events generated by the user vs programmatically generated events
|
@section overview_eventhandling_prog User Generated Events vs Programmatically Generated Events
|
||||||
|
|
||||||
While generically wxEvents can be generated both by user
|
While generically wxEvents can be generated both by user
|
||||||
actions (e.g. resize of a wxWindow) and by calls to functions
|
actions (e.g. resize of a wxWindow) and by calls to functions
|
||||||
@ -251,7 +251,7 @@ equivalents.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
@section overview_eventhandling_pluggable Pluggable event handlers
|
@section overview_eventhandling_pluggable Pluggable Event Handlers
|
||||||
|
|
||||||
In fact, you don't have to derive a new class from a window class
|
In fact, you don't have to derive a new class from a window class
|
||||||
if you don't want to. You can derive a new class from wxEvtHandler instead,
|
if you don't want to. You can derive a new class from wxEvtHandler instead,
|
||||||
@ -283,7 +283,7 @@ range of events independently from the other handlers.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
@section overview_eventhandling_winid Window identifiers
|
@section overview_eventhandling_winid Window Identifiers
|
||||||
|
|
||||||
Window identifiers are integers, and are used to
|
Window identifiers are integers, and are used to
|
||||||
uniquely determine window identity in the event system (though you can use it
|
uniquely determine window identity in the event system (though you can use it
|
||||||
@ -311,7 +311,7 @@ If you use wxNewId() consistently in your application, you can be sure that
|
|||||||
the your identifiers don't conflict accidentally.
|
the your identifiers don't conflict accidentally.
|
||||||
|
|
||||||
|
|
||||||
@section overview_eventhandling_custom Custom event summary
|
@section overview_eventhandling_custom Custom Event Summary
|
||||||
|
|
||||||
@subsection overview_eventhandling_custom_general General approach
|
@subsection overview_eventhandling_custom_general General approach
|
||||||
|
|
||||||
@ -346,7 +346,7 @@ See also the @ref page_samples_event for an example of code
|
|||||||
defining and working with the custom event types.
|
defining and working with the custom event types.
|
||||||
|
|
||||||
|
|
||||||
@subsection overview_eventhandling_custom_existing Using existing event classes
|
@subsection overview_eventhandling_custom_existing Using Existing Event Classes
|
||||||
|
|
||||||
If you just want to use a wxCommandEvent with
|
If you just want to use a wxCommandEvent with
|
||||||
a new event type, you can then use one of the generic event table macros
|
a new event type, you can then use one of the generic event table macros
|
||||||
@ -388,7 +388,7 @@ void MyWindow::SendEvent()
|
|||||||
@endcode
|
@endcode
|
||||||
|
|
||||||
|
|
||||||
@subsection overview_eventhandling_custom_generic Generic event table macros
|
@subsection overview_eventhandling_custom_generic Generic Event Table Macros
|
||||||
|
|
||||||
@beginTable
|
@beginTable
|
||||||
@row2col{EVT_CUSTOM(event\, id\, func),
|
@row2col{EVT_CUSTOM(event\, id\, func),
|
||||||
@ -412,7 +412,7 @@ void MyWindow::SendEvent()
|
|||||||
@endTable
|
@endTable
|
||||||
|
|
||||||
|
|
||||||
@subsection overview_eventhandling_custom_ownclass Defining your own event class
|
@subsection overview_eventhandling_custom_ownclass Defining Your Own Event Class
|
||||||
|
|
||||||
Under certain circumstances, it will be required to define your own event
|
Under certain circumstances, it will be required to define your own event
|
||||||
class e.g. for sending more complex data from one place to another. Apart
|
class e.g. for sending more complex data from one place to another. Apart
|
||||||
@ -480,12 +480,10 @@ void MyWindow::SendEvent()
|
|||||||
@endcode
|
@endcode
|
||||||
|
|
||||||
|
|
||||||
|
@section overview_eventhandling_macros Event Handling Summary
|
||||||
|
|
||||||
@section overview_eventhandling_macros Event macros summary
|
|
||||||
|
|
||||||
For the full list of event classes, please see the
|
For the full list of event classes, please see the
|
||||||
@ref page_class_cat_events page.
|
@ref group_class_events "event classes group page".
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
Classes: wxFile, wxDir, wxTempFile, wxTextFile
|
Classes: wxFile, wxDir, wxTempFile, wxTextFile
|
||||||
|
|
||||||
Functions: see @ref page_func_cat_file.
|
Functions: see @ref group_funcmacro_file.
|
||||||
|
|
||||||
wxWidgets provides some functions and classes to facilitate working with files.
|
wxWidgets provides some functions and classes to facilitate working with files.
|
||||||
As usual, the accent is put on cross-platform features which explains, for
|
As usual, the accent is put on cross-platform features which explains, for
|
||||||
|
@ -50,13 +50,13 @@ you need wxHelp and the wxHelpController class to control wxHelp.
|
|||||||
|
|
||||||
GUI applications aren't all graphical wizardry. List and hash table needs are
|
GUI applications aren't all graphical wizardry. List and hash table needs are
|
||||||
catered for by wxList and wxHashMap. You will undoubtedly need some
|
catered for by wxList and wxHashMap. You will undoubtedly need some
|
||||||
platform-independent @ref page_func_cat_file, and you may find it handy to
|
platform-independent @ref group_funcmacro_file, and you may find it handy to
|
||||||
maintain and search a list of paths using wxPathList. There's many
|
maintain and search a list of paths using wxPathList. There's many
|
||||||
@ref page_func_cat_misc of operating system methods and other functions.
|
@ref group_funcmacro_misc of operating system methods and other functions.
|
||||||
|
|
||||||
@see
|
@see
|
||||||
|
|
||||||
@li @ref page_class_cat
|
@li @ref group_class
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user