![]() Overridden to indicate whether this window or one of its children accepts focus. 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. More.Ĭreate ( wxWindow *parent, wxWindowID id, const wxPoint &pos= wxDefaultPosition, const wxSize &size= wxDefaultSize, long style=0, const wxString &name=wxPanelNameStr) 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. 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. More.Ĭreate ( wxWindow *parent, wxWindowID id, const wxPoint &pos= wxDefaultPosition, const wxSize &size= wxDefaultSize, long style=0, const wxValidator &validator= wxDefaultValidator, const wxString &name=wxControlNameStr) 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. ![]() Public Member Functions inherited from wxControl Returns the window at the given page position. Returns the number of pages in the control. More.ĭeletes the specified page, without deleting the associated window. Inserts a new page at the specified position. InsertPage (size_t index, wxWindow *page, const wxString &text, bool select=false, int imageId= NO_IMAGE)=0 More.ĪddPage ( wxWindow *page, const wxString &text, bool select=false, int imageId= NO_IMAGE)ĭeletes the specified page, and the associated window. Returns the index of the specified tab window or wxNOT_FOUND if not found. More.Ĭhanges the selection to the given page, returning the previous selection. Sets the selection to the given page, returning the previous selection. Returns the currently selected page or NULL. Returns the currently selected page, or wxNOT_FOUND if none was selected. SetPageText (size_t page, const wxString &text)=0 Returns the image index for the given page. Returns the index of the tab at the specified position or wxNOT_FOUND if none. HitTest (const wxPoint &pt, long *flags=NULL) const More.Ĭreate ( wxWindow *parent, wxWindowID winid, const wxPoint &pos= wxDefaultPosition, const wxSize &size= wxDefaultSize, long style=0, const wxString &name= w圎mptyString) WxBookCtrlBase ( wxWindow *parent, wxWindowID winid, const wxPoint &pos= wxDefaultPosition, const wxSize &size= wxDefaultSize, long style=0, const wxString &name= w圎mptyString)Ĭonstructs the book control with the given parameters. Public Member Functions inherited from wxBookCtrlBase Returns the wxListView associated with the control. ![]() WxListbook ( wxWindow *parent, wxWindowID id, const wxPoint &pos= wxDefaultPosition, const wxSize &size= wxDefaultSize, long style=0, const wxString &name= w圎mptyString)Ĭreate ( wxWindow *parent, wxWindowID id, const wxPoint &pos= wxDefaultPosition, const wxSize &size= wxDefaultSize, long style=0, const wxString &name= w圎mptyString)Ĭreate the list book control that has already been constructed with the default constructor. See also wxBookCtrl, wxNotebook, Notebook Sample
0 Comments
Leave a Reply. |