![]() ![]() Returns the parent of the window, or NULL if there is no parent. Returns the next window after this one among the parent's children or NULL if this window is the last child. Returns the grandparent of a window, or NULL if there isn't one. Returns a reference to the list of the window's children. This function is called by wxWidgets keyboard navigation code when the user gives the focus to this window from keyboard (e.g. ![]() This sets the window to receive keyboard input. This method is only implemented by ports which have support for native TAB traversal (such as GTK+ 2.0). Returns true if the window (or in case of composite controls, its main child window) has focus. Overridden to indicate whether this window or one of its children accepts focus.Ĭan this window be assigned focus from keyboard right now? 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. 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. WxWindow ( wxWindow *parent, wxWindowID id, const wxPoint &pos= wxDefaultPosition, const wxSize &size= wxDefaultSize, long style=0, const wxString &name=wxPanelNameStr)Ĭonstructs a window, which can be a child of a frame, dialog or any other non-control window.Ĭreate ( wxWindow *parent, wxWindowID id, const wxPoint &pos= wxDefaultPosition, const wxSize &size= wxDefaultSize, long style=0, const wxString &name=wxPanelNameStr) Public Member Functions inherited from wxWindow Sets the controls label to a string using markup. Sets the control's label to exactly the given string. It differs from the above function only in what argument(s) it accepts. This is an overloaded member function, provided for convenience. GetSizeFromTextSize (const wxSize &tsize) const GetSizeFromTextSize (int xlen, int ylen=-1) constĭetermine the size needed by the control to leave the given area for its text. Returns the control's label without mnemonics. Returns the control's label, as it was passed to SetLabel(). Simulates the effect of the user issuing a command to the item. WxControl ( wxWindow *parent, wxWindowID id, const wxPoint &pos= wxDefaultPosition, const wxSize &size= wxDefaultSize, long style=0, const wxValidator &validator= wxDefaultValidator, const wxString &name=wxControlNameStr)ĭefault constructor to allow 2-phase creation.Ĭreate ( wxWindow *parent, wxWindowID id, const wxPoint &pos= wxDefaultPosition, const wxSize &size= wxDefaultSize, long style=0, const wxValidator &validator= wxDefaultValidator, const wxString &name=wxControlNameStr) Public Member Functions inherited from wxControl Sets the valid range for the date selection.Ĭhanges the current value of the control. SetRange (const wxDateTime &dt1, const wxDateTime &dt2) ![]() If the control had been previously limited to a range of dates using SetRange(), returns the lower and upper bounds of this range. ![]() GetRange ( wxDateTime *dt1, wxDateTime *dt2) const Initializes the object and calls Create() with all the parameters.Ĭreate ( wxWindow *parent, wxWindowID id, const wxDateTime &dt= wxDefaultDateTime, const wxPoint &pos= wxDefaultPosition, const wxSize &size= wxDefaultSize, long style= wxDP_DEFAULT| wxDP_SHOWCENTURY, const wxValidator &validator= wxDefaultValidator, const wxString &name="datectrl") WxDatePickerCtrl ( wxWindow *parent, wxWindowID id, const wxDateTime &dt= wxDefaultDateTime, const wxPoint &pos= wxDefaultPosition, const wxSize &size= wxDefaultSize, long style= wxDP_DEFAULT| wxDP_SHOWCENTURY, const wxValidator &validator= wxDefaultValidator, const wxString &name="datectrl") ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |