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 Inserts a new page at the specified position. InsertPage (size_t index, wxWindow *page, const wxString &text, bool select=false, int imageId= NO_IMAGE) 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 wxNOT_FOUND if none was selected. SetPageText (size_t page, const wxString &text) Returns the image index for the given page. Sets the amount of space around each page's icon and label, in pixels. More.Īn event handler function, called when the page selection is changed. If running under Windows and themes are enabled for the application, this function returns a suitable colour for painting the background of a notebook page, and can be passed to SetBackgroundColour(). Returns the number of rows in the notebook control. WxNotebook ( wxWindow *parent, wxWindowID id, const wxPoint &pos= wxDefaultPosition, const wxSize &size= wxDefaultSize, long style=0, const wxString &name=wxNotebookNameStr)Ĭreate ( wxWindow *parent, wxWindowID id, const wxPoint &pos= wxDefaultPosition, const wxSize &size= wxDefaultSize, long style=0, const wxString &name=wxNotebookNameStr) See also wxBookCtrl, wxBookCtrlEvent, wxImageList, Notebook Sample
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |