Evt_text Not Generated By Textctrl For Mac

On PocketPC and Smartphone, causes the first letter to be capitalized. Note that alignment styles (wxTELEFT, wxTECENTRE and wxTERIGHT) can be changed dynamically after control creation on wxMSW, wxGTK and wxOSX.

WxTEREADONLY, wxTEPASSWORD and wrapping styles can be dynamically changed under wxGTK but not wxMSW. The other styles can be only set during control creation. WxTextCtrl Text Format The multiline text controls always store the text as a sequence of lines separated by ' n' characters, i.e. In the Unix text format even on non-Unix platforms.

This allows the user code to ignore the differences between the platforms but at a price: the indices in the control such as those returned by or can not be used as indices into the string returned by as they're going to be slightly off for platforms using ' r n' as separator (as Windows does). Instead, if you need to obtain a substring between the 2 indices obtained from the control with the help of the functions mentioned above, you should use.

And the indices themselves can only be passed to other methods, for example. To summarize: never use the indices returned by (multiline) as indices into the string it contains, but only as arguments to be passed back to the other methods. This problem doesn't arise for single-line platforms however where the indices in the control do correspond to the positions in the value string. WxTextCtrl Positions and Coordinates It is possible to use either linear positions, i.e. Roughly (but not always exactly, as explained in the previous section) the index of the character in the text contained in the control or X-Y coordinates, i.e. Column and line of the character when working with this class and it provides the functions and to convert between the two.

Additionally, a position in the control can be converted to its coordinates in pixels using which can be useful to e.g. Show a popup menu near the given character. And, in the other direction, can be used to find the character under, or near, the given pixel coordinates.

To be more precise, positions actually refer to the gaps between characters and not the characters themselves. Thus, position 0 is the one before the very first character in the control and so is a valid position even when the control is empty. And if the control contains a single character, it has two valid positions: 0 before this character and 1 – after it. This, when the documentation of various functions mentions 'invalid position', it doesn't consider the position just after the last character of the line to be invalid, only the positions beyond that one (e.g. 2 and greater in the single character example) are actually invalid. WxTextCtrl Styles. Multi-line text controls support styling, i.e.

Provide a possibility to set colours and font for individual characters in it (note that under Windows wxTERICH style is required for style support). To use the styles you can either call before inserting the text or call later to change the style of the text already in the control (the first solution is much more efficient). In either case, if the style doesn't specify some of the attributes (for example you only want to set the text colour but without changing the font nor the text background), the values of the default style will be used for them. If there is no default style, the attributes of the text control itself are used.

So the following code correctly describes what it does: the second call to doesn't change the text foreground colour (which stays red) while the last one doesn't change the background colour (which stays grey). WxOSX Appearance See also, Public Member Functions Default ctor.

(.parent, id, const &value=, const &pos=, const &size=, long style=0, const &validator=, const &name=wxTextCtrlNameStr) Constructor, creating and showing a text control. Virtual Destructor, destroying the text control. Bool (.parent, id, const &value=, const &pos=, const &size=, long style=0, const &validator=, const &name=wxTextCtrlNameStr) Creates the text control for two-step construction. Virtual void Resets the internal modified flag as if the current changes had been saved. Virtual bool (const &event) This function inserts into the control the character which would have been inserted if the given key event had occurred in the text control.

Virtual const & const Returns the style currently used for the new text. Virtual int (long lineNo) const Gets the length of the specified line, not including any trailing newline character(s).

Virtual (long lineNo) const Returns the contents of a given line in the text control, not including any trailing newline character(s). Virtual int const Returns the number of lines in the text control buffer. Virtual bool (long position, &style) Returns the style at this position in the text control.

(const &pt, long.pos) const Finds the position of the character at the specified point. (const &pt,.col,.row) const Finds the row and column of the character at the specified point. Virtual bool const Returns true if the text has been modified by user.

Bool const Returns true if this is a multi line edit control and false otherwise. Bool const Returns true if this is a single line edit control and false otherwise. Bool (const &filename, int fileType=) Loads and displays the named file, if it exists. Virtual void Mark text as modified (dirty).

Void ( &event) This event handler function implements default drag and drop behaviour, which is to load the first dropped file into the control. Virtual bool (long pos, long.x, long.y) const Converts given position to a zero-based column, line number pair. (long pos) const Converts given text position to client coordinates in pixels.

Bool (const &filename=, int fileType=) Saves the contents of the control in a text file. Virtual bool (const &style) Changes the default style to use for the new text which is going to be added to the control. Void (bool modified) Marks the control as being modified by the user or not. Virtual bool (long start, long end, const &style) Changes the style of the given range. Virtual void (long pos) Makes the line containing the given position visible. Virtual long (long x, long y) const Converts the given zero based column and line number to a position.

& (const &s) Operator definitions for appending to a text control. & (int i) Operator definitions for appending to a text control.

& (long i) Operator definitions for appending to a text control. & (float f) Operator definitions for appending to a text control.

& (double d) Operator definitions for appending to a text control. & (char c) Operator definitions for appending to a text control. & (wchart c) Operator definitions for appending to a text control. Public Member Functions inherited from (.parent, id, const &pos=, const &size=, long style=0, const &validator=, const &name=wxControlNameStr) Constructs a control. Default constructor to allow 2-phase creation. Bool (.parent, id, const &pos=, const &size=, long style=0, const &validator=, const &name=wxControlNameStr) virtual void ( &event) Simulates the effect of the user issuing a command to the item.

const Returns the control's label, as it was passed to. const Returns the control's label without mnemonics.

(int xlen, int ylen=-1) const Determine the size needed by the control to leave the given area for its text. (const &tsize) const This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Void (const &label) Sets the control's label. Void (const &text) Sets the control's label to exactly the given string. Bool (const &markup) Sets the controls label to a string using markup. Public Member Functions inherited from Default constructor.

(.parent, id, const &pos=, const &size=, long style=0, const &name=wxPanelNameStr) Constructs a window, which can be a child of a frame, dialog or any other non-control window. Virtual Destructor. Bool (.parent, id, const &pos=, const &size=, long style=0, const &name=wxPanelNameStr) Construct the actual window object after creating the C object. Virtual bool const This method may be overridden in the derived classes to return false to indicate that this control doesn't accept input at all (i.e. Behaves like e.g.

) and so doesn't need focus. Virtual bool const This method may be overridden in the derived classes to return false to indicate that while this control can, in principle, have focus if the user clicks it with the mouse, it shouldn't be included in the TAB traversal chain when using the keyboard.

Virtual bool const Overridden to indicate whether this window or one of its children accepts focus. Bool const Can this window itself have focus? Bool const Can this window have focus right now? Bool const Can this window be assigned focus from keyboard right now? Virtual bool const Returns true if the window (or in case of composite controls, its main child window) has focus.

Virtual void (bool canFocus) This method is only implemented by ports which have support for native TAB traversal (such as GTK+ 2.0). Virtual void This sets the window to receive keyboard input. Virtual void This function is called by wxWidgets keyboard navigation code when the user gives the focus to this window from keyboard (e.g. Using TAB key). Virtual void (.child) Adds a child window. Bool Destroys all children of a window.

(long id) const Find a child of this window, by id. (const &name) const Find a child of this window, by name.

WxWindowList & Returns a reference to the list of the window's children. Const wxWindowList & const Returns a const reference to the list of the window's children. Virtual void (.child) Removes a child window. const Returns the grandparent of a window, or NULL if there isn't one. const Returns the next window after this one among the parent's children or NULL if this window is the last child.

Jan 3, 2013 - Dell V313 AIO Inkjet printer Driver for Mac OS 10.6, Mac OS 10.7.x and Mac OS 10.8. This Mac Driver is for Dell V313 AIO Inkjet printer Driver for Mac OS 10.3.x, Mac OS 10.4.x, Mac OS 10.5.x, Mac OS 10.6. To install printer, double click on 'Install' icon on the V313WebInstaller_1.0.1.dmg. Follow the instructions given by setup assistant to complete the printer. Get drivers and downloads for your Dell V313 All In One Inkjet Printer. Download and install the latest drivers, firmware and software. This Mac Driver is for Dell V313W AIO Inkjet printer Driver for Mac OS 10.3.x, Mac OS 10.4.x, Mac OS 10.5.x, Mac OS 10.6. Dell v313w driver for mac.

const Returns the parent of the window, or NULL if there is no parent. const Returns the previous window before this one among the parent's children or NULL if this window is the first child.

Bool (.win) const Check if the specified window is a descendant of this one. Virtual bool (.newParent) Reparents the window, i.e. The window will be removed from its current parent window (e.g. Virtual void (bool hflag=true, bool vflag=true) Call this function to force one or both scrollbars to be always shown, even if the window is big enough to show its entire contents without scrolling. Virtual int (int orientation) const Returns the built-in scrollbar position. Virtual int (int orientation) const Returns the built-in scrollbar range.

Virtual int (int orientation) const Returns the built-in scrollbar thumb size. Bool (int orient) const Returns true if this window can have a scroll bar in this orientation. Bool (int orient) const Returns true if this window currently has a scroll bar for this orientation. Virtual bool (int orient) const Return whether a scrollbar is always shown. Virtual bool (int lines) Scrolls the window by the given number of lines down (if lines is positive) or up.

Virtual bool (int pages) Scrolls the window by the given number of pages down (if pages is positive) or up. Virtual void (int dx, int dy, const.rect=NULL) Physically scrolls the pixels in the window and move child windows accordingly. Bool Same as (-1). Bool Same as (1). Bool Same as (-1). Bool Same as (1).

Virtual void (int orientation, int pos, bool refresh=true) Sets the position of one of the built-in scrollbars. Virtual void (int orientation, int position, int thumbSize, int range, bool refresh=true) Sets the scrollbar properties of a built-in scrollbar.

Void (int dir=) A synonym for. Void (int dir=) A synonym for. Void (int direction=) Centres the window. Void (int direction=) Centres the window on its parent. Void (int.x, int.y) const This gets the position of the window in pixels, relative to the parent window for the child windows or relative to the display origin for the top level windows.

const This gets the position of the window in pixels, relative to the parent window for the child windows or relative to the display origin for the top level windows. const Returns the position and size of the window as a object. Void (int.x, int.y) const Returns the window position in screen coordinates, whether the window is a child window or a top level one.

const Returns the window position in screen coordinates, whether the window is a child window or a top level one. const Returns the position and size of the window on the screen as a object. Virtual const Get the origin of the client area of the window relative to the window top left corner (the client area may be shifted because of the borders, scrollbars, other decorations.) const Get the client rectangle in window (i.e. Client) coordinates. Void (int x, int y, int flags=) Moves the window to the given position. Void (const &pt, int flags=) Moves the window to the given position.

Void (const &pt) Moves the window to the specified position. Void (int.x, int.y) const Converts to screen coordinates from coordinates relative to this window. (const &pt) const Converts to screen coordinates from coordinates relative to this window. (const &pt) const Converts a point or size from dialog units to pixels. (const &sz) const This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. (const &pt) const Converts a point or size from pixels to dialog units.

(const &sz) const This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Void (int.x, int.y) const Converts from screen to client window coordinates.

(const &pt) const Converts from screen to client window coordinates. Virtual void Clears the window by filling it with the current background colour.

Void Freezes the window or, in other words, prevents any updates from taking place on screen, the window is not redrawn at all. Void Re-enables window updating after a previous call to. Bool const Returns true if the window is currently frozen by a call to. const Returns the background colour of the window. Virtual const Returns the background style of the window.

Virtual int const Returns the character height for this window. Virtual int const Returns the average character width for this window. Virtual const Currently this is the same as calling wxWindow::GetClassDefaultAttributes(wxWindow::GetWindowVariant). const Returns the font for this window.

const Returns the foreground colour of the window. Void (const &string, int.w, int.h, int.descent=NULL, int.externalLeading=NULL, const.font=NULL) const Gets the dimensions of the string as it would be drawn on the window with the currently selected font. (const &string) const Gets the dimensions of the string as it would be drawn on the window with the currently selected font. Const & const Returns the region specifying which parts of the window have been damaged. const Get the update rectangle bounding box in client coords. Virtual bool Returns true if this window background is transparent (as, for example, for ) and should show the parent window background. Virtual void (bool eraseBackground=true, const.rect=NULL) Causes this window, and all of its children recursively (except under wxGTK1 where this is not implemented), to be repainted.

Void (const &rect, bool eraseBackground=true) Redraws the contents of the given rectangle: only the area inside it will be repainted. Virtual void Calling this method immediately repaints the invalidated area of the window and all of its children recursively (this normally only happens when the flow of control returns to the event loop). Virtual bool (const &colour) Sets the background colour of the window. Virtual bool ( style) Sets the background style of the window. Virtual bool (.reason=NULL) const Checks whether using transparent background might work. Virtual bool (const &font) Sets the font for this window. Virtual bool (const &colour) Sets the foreground colour of the window.

Void (const &colour) Sets the background colour of the window but prevents it from being inherited by the children of this window. Bool const Return true if this window inherits the background colour from its parent. Bool const Return true if a background colour has been set for this window. Bool const Return true if a background colour has been set for this window. Void (const &font) Sets the font of the window but prevents it from being inherited by the children of this window. Void (const &colour) Sets the foreground colour of the window but prevents it from being inherited by the children of this window. Bool const Return true if a foreground colour has been set for this window.

Bool const Return true if this window inherits the foreground colour from its parent. Void (const &pal) virtual bool const Return true from here to allow the colours of this window to be changed. Virtual void (bool enable) This function tells a window if it should use the system's 'theme' code to draw the windows' background instead of its own background drawing code. Virtual bool const Clears the window by filling it with the current background colour. Virtual bool Returns true if the system supports transparent windows and calling may succeed.

Virtual bool ( alpha) Set the transparency of the window. const Returns the event handler for this window. Bool (const &event) This function will generate the appropriate call to if the key event is one normally used for keyboard navigation and return true in this case. Bool ( &event) const Shorthand for: bool ( &event) Convenient wrapper for. Bool ( &event) Wrapper for. (bool deleteHandler=false) Removes and returns the top-most event handler on the event handler stack.

Void (.handler) Pushes this event handler onto the event stack for the window. Bool (.handler) Find the given handler in the windows event handler stack and removes (but does not delete) it from the stack. Void (.handler) Sets the event handler for this window. Virtual void (.handler) wxWindows cannot be used to form event handler chains; this function thus will assert when called.

Virtual void (.handler) wxWindows cannot be used to form event handler chains; this function thus will assert when called. Long const Returns the extra style bits for the window.

Virtual long const Gets the window style that was passed to the constructor or method. Long const See for more info. Bool (int exFlag) const Returns true if the window has the given exFlag bit set in its extra styles. Bool (int flag) const Returns true if the window has the given flag bit set. Virtual void (long exStyle) Sets the extra style bits for the window. Virtual void (long style) Sets the style of the window.

Void (long style) See for more info. Bool (int flag) Turns the given flag on if it's currently turned off and vice versa.

Void (.win) Moves this window in the tab navigation order after the specified win. Void (.win) Same as except that it inserts this window just before win instead of putting it right after it. Bool (int flags=) Performs a keyboard navigation action starting from this window. Bool (int flags=) Performs a keyboard navigation action inside this window.

Virtual void Lowers the window to the bottom of the window hierarchy (Z-order). Virtual void Raises the window to the top of the window hierarchy (Z-order). Bool Equivalent to calling ( false). Virtual bool ( effect, unsigned int timeout=0) This function hides a window, like, but using a special visual effect if possible. Bool const Returns true if the window is enabled, i.e. If it accepts user input, false otherwise.

Bool (int x, int y) const Returns true if the given point or rectangle area has been exposed since the last repaint. Bool ( &pt) const This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Bool (int x, int y, int w, int h) const This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Bool ( &rect) const This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Virtual bool const Returns true if the window is shown, false if it has been hidden. Virtual bool const Returns true if the window is physically visible on the screen, i.e. It is shown and all its parents up to the toplevel window are shown as well.

Bool Disables the window. Virtual bool (bool enable=true) Enable or disable the window for user input. Virtual bool (bool show=true) Shows or hides the window. Virtual bool ( effect, unsigned int timeout=0) This function shows a window, like, but using a special visual effect if possible.

const Gets the help text to be used as context-sensitive help for this window. Void (const &helpText) Sets the help text to be used as context-sensitive help for this window. Virtual (const &point, origin) const Gets the help text to be used as context-sensitive help for this window. const Get the associated tooltip or NULL if none. const Get the text of the associated tooltip or empty string if none. Void (const &tipString) Attach a tooltip to the window. Void (.tip) This is an overloaded member function, provided for convenience.

It differs from the above function only in what argument(s) it accepts. Void Unset any existing tooltip. Int ( &menu, const &pos=) This function shows a popup menu at the given position in this window and returns the selected id. Int ( &menu, int x, int y) This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Bool (.menu, const &pos=) Pops up the given menu at the specified coordinates, relative to this window, and returns control when the user has dismissed the menu. Bool (.menu, int x, int y) This is an overloaded member function, provided for convenience.

It differs from the above function only in what argument(s) it accepts. Virtual.

Validator functions. Virtual void (const &validator) Deletes the current validator (if any) and sets the window validator, having called to create a new validator of this type. Virtual bool Transfers values from child controls to data areas specified by their validators. Virtual bool Transfers values to child controls from data areas specified by their validators. Virtual bool Validates the current values of the child controls using their validators. const Returns the identifier of the window.

Virtual const Returns the layout direction for this window, Note that wxLayoutDefault is returned if layout direction is not supported. Virtual ( x, width, widthTotal) const Mirror coordinates for RTL layout if this window uses it and if the mirroring is not done automatically like Win32. Virtual const Returns the window's name.

const Returns the value previously passed to. Void ( winid) Sets the identifier of the window. Virtual void ( dir) Sets the layout direction for this window. Virtual void (const &name) Sets the window's name. Void ( variant) Chooses a different variant of the window display to use.

Gets the accelerator table for this window. Returns the accessible object for this window, if any. Virtual void (const &accel) Sets the accelerator table for this window. Void (.accessible) Sets the accessible for this window. Bool (bool force=false) This function simply generates a whose handler usually tries to close the window. Virtual bool Destroys the window safely.

Bool const Returns true if this window is in process of being destroyed. Virtual. const Returns the associated drop target, which may be NULL. Virtual void (.target) Associates a drop target with this window. Virtual void (bool accept) Enables or disables eligibility for drop file events (OnDropFiles). const Returns the sizer of which this window is a member, if any, otherwise NULL. const Returns the sizer associated with the window by a previous call to, or NULL.

Void (.sizer, bool deleteOld=true) Sets the window to have the given layout sizer. Void (.sizer, bool deleteOld=true) Associate the sizer with the window and set the window size and minimal size accordingly. const Returns a pointer to the window's layout constraints, or NULL if there are none. Void (.constraints) Sets the window to have the given layout constraints. Virtual bool Invokes the constraint-based layout algorithm or the sizer-based algorithm for this window. Void (bool autoLayout) Determines whether the function will be called automatically when the window is resized.

Bool const Returns the sizer of which this window is a member, if any, otherwise NULL. Void Directs all mouse input to this window. const Returns the caret associated with the window. Const & const Return the cursor associated with this window.

Virtual bool const Returns true if this window has the current mouse capture. Void Releases mouse input captured with. Void (.caret) Sets the caret associated with the window. Virtual bool (const &cursor) Sets the window's cursor. Virtual void (int x, int y) Moves the pointer to the given position on the window. Virtual bool (int eventsMask) Request generation of touch events for this window.

Evt_text not generated by textctrl for mac free

Evt_text Not Generated By Textctrl For Mac

( x, y) const Return where the given point lies, exactly. (const &pt) const This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. (long flags) const Get the window border style from the given flags: this is different from simply doing flags & wxBORDERMASK because it uses GetDefaultBorder to translate wxBORDERDEFAULT to something reasonable. const Get border for the flags of this window. Virtual void ( &event) Does the window-specific updating after processing the update event. Virtual WXWidget const Returns the platform-specific handle of the physical window.

Virtual bool const This method should be overridden to return true if this window has multiple pages. Virtual void This function is (or should be, in case of custom controls) called during window creation to intelligently set up the window visual attributes, that is the font and the foreground and background colours. Virtual void Sends an wxEVTINITDIALOG event, whose handler usually transfers data to the dialog via validators. Virtual bool const Returns true if the window contents is double-buffered by the system, i.e. If any drawing done on the window is really done on a temporary backing surface and transferred to the screen all at once later.

Void (bool on) Turn on or off double buffering of the window if the system supports it. Virtual bool const Returns true if the window is retained, false otherwise. Bool const Returns true if this window is intrinsically enabled, false otherwise, i.e. If Enable( false) had been called. Virtual bool const Returns true if the given window is a top-level one. Virtual void This virtual function is normally only used internally, but sometimes an application may need it to implement functionality that should not be disabled by an application defining an OnIdle handler in a derived class. Virtual bool ( &event) Send idle event to window and all subwindows.

Virtual bool (int hotkeyId, int modifiers, int virtualKeyCode) Registers a system wide hotkey. Virtual bool (int hotkeyId) Unregisters a system wide hotkey. Virtual void (long flags=) This function sends one or more to the window. Bool Prepare for changing positions of multiple child windows. Void Fix child window positions after setting all of them at once.

Void (const &size) const Sets the cached best size value. Virtual (const &size) const Converts client area size size to corresponding window size. Virtual (const &size) const Converts window size size to corresponding client area size In other words, the returned value is what would return if this window had given window size. Virtual void Sizes the window to fit its best size.

Virtual void Similar to, but sizes the interior (virtual) size of a window. (const &sz) const Convert DPI-independent pixel values to the value in pixels appropriate for the current toolkit. (const &pt) const int (int d) const Convert DPI-independent distance in pixels to the value in pixels appropriate for the current toolkit. (const &sz) const Convert pixel values of the current toolkit to DPI-independent pixel values.

(const &pt) const int (int d) const Convert pixel values of the current toolkit to DPI-independent pixel values. const This functions returns the best acceptable minimal size for the window. Int (int width) const Returns the best height needed by this window if it had the given width. Int (int height) const Returns the best width needed by this window if it had the given height. Void (int.width, int.height) const Returns the size of the window 'client area' in pixels. const This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Virtual const Merges the window's best size into the min size and returns the result. Virtual const Returns the maximum size of window's client area. Virtual const Returns the maximum size of the window. Virtual const Returns the minimum size of window's client area, an indication to the sizer layout mechanism that this is the minimum required size of its client area. Virtual const Returns the minimum size of the window, an indication to the sizer layout mechanism that this is the minimum required size.

Int const Returns the horizontal component of window minimal size. Int const Returns the vertical component of window minimal size. Int const Returns the horizontal component of window maximal size.

Int const Returns the vertical component of window maximal size. Void (int.width, int.height) const Returns the size of the entire window in pixels, including title bar, border, scrollbars, etc. const See the GetSize(int.,int.) overload for more info.

const This gets the virtual size of the window in pixels. Void (int.width, int.height) const Like the other overload but uses pointers instead.

Virtual const Return the largest of ClientSize and BestSize (as determined by a sizer, interior children, or other means) double const Returns the magnification of the backing store of this window, eg 2.0 for a window on a retina screen. Virtual const Returns the size of the left/right and top/bottom borders of this window in x and y components of the result respectively. Virtual bool (int direction, int size, int availableOtherDir) and friends use this to give a chance to a component to recalc its min size once one of the final size components is known. Void Resets the cached best size value so it will be recalculated the next time it is needed. Void Posts a size event to the window.

Void Posts a size event to the parent of this window. Virtual void (int flags=0) This function sends a dummy to the window allowing it to re-layout its children positions. Void (int flags=0) Safe wrapper for. Void (int width, int height) This sets the size of the window client area in pixels. Void (const &size) This is an overloaded member function, provided for convenience.

It differs from the above function only in what argument(s) it accepts. Void (const &rect) This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Void (.sizer) This normally does not need to be called by user code. Void (const &size=) A smart SetSize that will fill in default size components with the window's best size values. Virtual void (const &size) Sets the maximum client size of the window, to indicate to the sizer layout mechanism that this is the maximum possible size of its client area. Virtual void (const &size) Sets the maximum size of the window, to indicate to the sizer layout mechanism that this is the maximum possible size.

Virtual void (const &size) Sets the minimum client size of the window, to indicate to the sizer layout mechanism that this is the minimum required size of window's client area. Virtual void (const &size) Sets the minimum size of the window, to indicate to the sizer layout mechanism that this is the minimum required size. Void (int x, int y, int width, int height, int sizeFlags=) Sets the size of the window in pixels. Void (const &rect) Sets the size of the window in pixels.

Void (const &size) This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Void (int width, int height) This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Virtual void (const &minSize, const &maxSize=, const &incSize=) Use of this function for windows which are not toplevel windows (such as or ) is discouraged. Virtual void (int minW, int minH, int maxW=-1, int maxH=-1, int incW=-1, int incH=-1) This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Void (int width, int height) Sets the virtual size of the window in pixels.

Void (const &size) This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Public Member Functions inherited from Constructor. Virtual Destructor. Template void (void(T::.method)(T1.), T1 x1.) Asynchronously call the given method. Template void (const T &functor) Asynchronously call the given functor. Bool ( &event) Try to process the event in this handler and all those chained to it.

Bool ( &event) Processes an event by calling and handles any exceptions that occur in the process. Void Processes the pending events previously queued using or; you must call this function only if you are sure there are pending events for this handler, otherwise a wxCHECK will fail. Void Deletes all events queued on this event handler using. Void (int id, int lastId, eventType, wxObjectEventFunction function,.userData=NULL,.eventSink=NULL) Connects the given function dynamically with the event handler, id and event type.

Void (int id, eventType, wxObjectEventFunction function,.userData=NULL,.eventSink=NULL) See the overload for more info. Void ( eventType, wxObjectEventFunction function,.userData=NULL,.eventSink=NULL) See the overload for more info. Bool ( eventType, wxObjectEventFunction function,.userData=NULL,.eventSink=NULL) Disconnects the given function dynamically from the event handler, using the specified parameters as search criteria and returning true if a matching function has been found and removed. Bool (int id=, eventType=, wxObjectEventFunction function=NULL,.userData=NULL,.eventSink=NULL) See the overload for more info. Bool (int id, int lastId, eventType, wxObjectEventFunction function=NULL,.userData=NULL,.eventSink=NULL) See the overload for more info. Template void (const EventTag &eventType, Functor functor, int id=, int lastId=,.userData=NULL) Binds the given function, functor or method dynamically with the event. Template void (const EventTag &eventType, void(Class::.method)(EventArg &), EventHandler.handler, int id=, int lastId=,.userData=NULL) See the overload for more info.

Template bool (const EventTag &eventType, Functor functor, int id=, int lastId=,.userData=NULL) Unbinds the given function, functor or method dynamically from the event handler, using the specified parameters as search criteria and returning true if a matching function has been found and removed. Template bool (const EventTag &eventType, void(Class::.method)(EventArg &), EventHandler.handler, int id=, int lastId=,.userData=NULL) See the overload for more info. Void.

const Returns user-supplied client data. const Returns a pointer to the user-supplied client data object. Void (void.data) Sets user-supplied client data. Void (.data) Set the client data object. Bool const Returns true if the event handler is enabled, false otherwise.

const Returns the pointer to the next handler in the chain. const Returns the pointer to the previous handler in the chain.

Void (bool enabled) Enables or disables the event handler. Void Unlinks this event handler from the chain it's part of (if any); then links the 'previous' event handler to the 'next' one (so that the chain won't be interrupted). Bool const Returns true if the next and the previous handler pointers of this event handler instance are NULL.

Public Member Functions inherited from Default ctor; initializes to NULL the internal reference data. (const &other) Copy ctor. Virtual Destructor. Virtual. const This virtual function is redefined for every class that requires run-time type information, when using the macro (or similar). const Returns the pointer, i.e. The data referenced by this object.

Evt_text not generated by textctrl for mac

Bool (const.info) const Determines whether this class is a subclass of (or the same class as) the given class. Bool (const &obj) const Returns true if this object has the same data pointer as obj. Void (const &clone) Makes this object refer to the data in clone. Void (.data) Sets the pointer. Void Decrements the reference count in the associated data, and if it is zero, deletes the data. Void This is the same of but this method is public. Void (void.buf) The delete operator is defined for debugging versions of the library only, when the identifier WXDEBUG is defined.

Void. (sizet size, const &filename=NULL, int lineNum=0) The new operator is defined for debugging versions of the library only, when the identifier WXDEBUG is defined. Public Member Functions inherited from virtual void (const &text) Appends the text to the end of the text control. Bool (const &choices) Call this function to enable auto-completion of the text typed in a single-line text control using the given choices.

Bool (.completer) Enable auto-completion using the provided completer object. Bool Call this function to enable auto-completion of the text typed in a single-line text control using all valid file system paths. Bool Call this function to enable auto-completion of the text using the file system directories. Virtual bool const Returns true if the selection can be copied to the clipboard. Virtual bool const Returns true if the selection can be cut to the clipboard. Virtual bool const Returns true if the contents of the clipboard can be pasted into the text control.

Virtual bool const Returns true if there is a redo facility available and the last operation can be redone. Virtual bool const Returns true if there is an undo facility available and the last operation can be undone. Virtual void (const &value) Sets the new text control value. Virtual void Clears the text in the control. Virtual void Copies the selected text to the clipboard. Virtual void Copies the selected text to the clipboard and removes it from the control. Void Convert all text entered into the control to upper case.

Virtual long const Returns the insertion point, or cursor, position. Virtual const Returns the zero based index of the last position in the text control, which is equal to the number of characters in the control. Virtual (long from, long to) const Returns the string containing the text starting in the positions from and up to to in the control. Virtual void (long.from, long.to) const Gets the current selection span. Virtual const Gets the text currently selected in the control. Virtual const Gets the contents of the control.

Virtual bool const Returns true if the controls contents may be edited by user (note that it always can be changed by the program). Virtual bool const Returns true if the control is currently empty. Virtual void Pastes text from the clipboard to the text item. Virtual void If there is a redo facility and the last operation can be redone, redoes the last operation. Virtual void (long from, long to) Removes the text starting at the first given position up to (but not including) the character at the last position. Virtual void (long from, long to, const &value) Replaces the text starting at the first position up to (but not including) the character at the last position with the given text. Virtual void (bool editable) Makes the text item editable or read-only, overriding the wxTEREADONLY flag.

Virtual void (long pos) Sets the insertion point at the given position. Virtual void Sets the insertion point at the end of the text control. Virtual void (unsigned long len) This function sets the maximum number of characters the user can enter into the control.

Virtual void (long from, long to) Selects the text starting at the first position up to (but not including) the character at the last position. Virtual void Selects all text in the control. Virtual void Deselects selected text in the control. Virtual bool (const &hint) Sets a hint shown in an empty unfocused text control.

Virtual const Returns the current hint string. const Returns the margins used by the control. Virtual void (const &value) Sets the new text control value. Virtual void If there is an undo facility and the last operation can be undone, undoes the last operation. Virtual void (const &text) Writes the text into the text control at the current insertion position. Bool (const &pt) Attempts to set the control margins.

Bool ( left, top=-1) Attempts to set the control margins. Additional Inherited Members Static Public Member Functions inherited from static (const &label) Returns the given label string without mnemonics ('&' characters). Static (const &str) Returns the given str string without mnemonics ('&' characters). Static (const &text) Escapes the special mnemonics characters ('&') in the given string. Static (const &label, const &dc, mode, int maxWidth, int flags=) Replaces parts of the label string with ellipsis, if needed, so that it fits into maxWidth pixels if possible. Static Public Member Functions inherited from static ( variant=) Returns the default font and colours which are used by the control.

Static. Finds the window or control which currently has the keyboard focus. Static. (long id, const.parent=0) Find the first window with the given id. Static. (const &label, const.parent=0) Find a window by its label.

Static. (const &name, const.parent=0) Find a window by its name (as given in a window constructor or function call).

Static. Returns the currently captured window. Static (int count=1) Create a new ID or range of IDs that are not currently in use.

Static void ( id, int count=1) Unreserve an ID or range of IDs that was reserved. Static (const &sz, const.w) Non window-specific DPI-independent pixels conversion functions. Static (const &pt, const.w) static int (int d, const.w) static (const &sz, const.w) Non window-specific pixel to DPI-independent pixels conversion functions. Static (const &pt, const.w) static int (int d, const.w) Static Public Member Functions inherited from static void (.filter) Add an event filter whose FilterEvent method will be called for each and every event processed by wxWidgets. Static void (.filter) Remove a filter previously installed with. Protected Member Functions inherited from virtual void (int direction) Centres the window.

Virtual const Implementation of that can be overridden. Virtual const Override this method to return the best size for a custom control. Virtual int (int width) const Override this method to implement height-for-width best size calculation. Virtual int (int height) const Override this method to implement width-for-height best size calculation. Virtual void (const &size) Sets the initial window size if none is given (i.e. At least one of the components of the size passed to ctor/Create is wxDefaultCoord). Void Generate for this window.

Virtual bool ( &event) This function is public in but protected in because for wxWindows you should always call on the pointer returned by and not on the object itself. Bool ( &event) See for more info about why you shouldn't use this function and the reason for making this function protected in. Virtual void (.event) See for more info about why you shouldn't use this function and the reason for making this function protected in. Virtual void (const &event) See for more info about why you shouldn't use this function and the reason for making this function protected in. Void See for more info about why you shouldn't use this function and the reason for making this function protected in. Bool (const &event) See for more info about why you shouldn't use this function and the reason for making this function protected in.

Protected Member Functions inherited from virtual bool ( &event) Method called by before examining this object event tables. Virtual bool ( &event) Method called by as last resort.

Protected Member Functions inherited from void Ensure that this object's data is not shared with any other object. Virtual. const Creates a new instance of the wxObjectRefData-derived class specific to this object and returns it.

Virtual. (const.data) const Creates a new instance of the wxObjectRefData-derived class specific to this object and initializes it copying data. Protected Attributes inherited from.

Pointer to an object which is the object's reference-counted data. Constructor & Destructor Documentation. Constructor, creating and showing a text control. Parameters parent Parent window. Should not be NULL. Id Control identifier. A value of -1 denotes a default value.

Value Default text value. Pos Text control position. Size Text control size.

Style Window style. Validator Window validator. Name Window name. Remarks The horizontal scrollbar (wxHSCROLL style flag) will only be created for multi-line text controls.

Without a horizontal scrollbar, text lines that don't fit in the control's size will be wrapped (but no newline character is inserted). Single line controls don't have a horizontal scrollbar, the text is automatically scrolled so that the insertion point is always visible. Returns the number of lines in the text control buffer. The returned number is the number of logical lines, i.e. Just the count of the number of newline characters in the control + 1, for wxGTK and wxOSX/Cocoa ports while it is the number of physical lines, i.e. The count of lines actually shown in the control, in wxMSW.

Because of this discrepancy, it is not recommended to use this function. Remarks Note that even empty text controls have one line (where the insertion point is), so never returns 0. Finds the position of the character at the specified point. If the return code is not wxTEHTUNKNOWN the position of the character closest to this position is returned, otherwise the output parameter is not modified. Please note that this function is currently only implemented in wxUniv, wxMSW and wxGTK ports and always returns wxTEHTUNKNOWN in the other ports. WxPerl Note: In wxPerl this function takes only the pt argument and returns a 2-element list (result, pos). Parameters pt The position of the point to check, in window device coordinates.

Pos Receives the position of the character at the given position. Finds the row and column of the character at the specified point. If the return code is not wxTEHTUNKNOWN the row and column of the character closest to this position are returned, otherwise the output parameters are not modified. Please note that this function is currently only implemented in wxUniv, wxMSW and wxGTK ports and always returns wxTEHTUNKNOWN in the other ports.

WxPerl Note: In wxPerl this function takes only the pt argument and returns a 3-element list (result, col, row). Parameters pt The position of the point to check, in window device coordinates.

Col Receives the column of the character at the given position. Row Receives the row of the character at the given position. Changes the default style to use for the new text which is going to be added to the control. This applies both to the text added programmatically using or and to the text entered by the user interactively. If either of the font, foreground, or background colour is not set in style, the values of the previous default style are used for them. If the previous default style didn't set them neither, the global font or colours of the text control itself are used as fall back. However if the style parameter is the default, then the default style is just reset (instead of being combined with the new style which wouldn't change it at all).

Parameters style The style for the new text. Returns true on success, false if an error occurred (this may also mean that the styles are not supported under this platform).