![]() ![]() Sets the identifier of the button which should work like the standard "Cancel" button in this dialog. Sets the identifier to be used as OK button. Returns true if the dialog box is modal, false otherwise. Returns true if id is in the array of identifiers to be regarded as the main buttons for the non-scrolling area of a dialog. ![]() Returns true if the dialog box is iconized. On PocketPC, a dialog is automatically provided with an empty toolbar. Returns an array of identifiers to be regarded as the main buttons for the non-scrolling area of a dialog. Gets the adaptation mode, overriding the global adaptation flag. Gets a value representing the aggressiveness of search for buttons and sizers to be in the non-scrolling part of a layout-adapted dialog. Returns true if the dialog has been adapted, usually by making it scrollable to work with a small display. Gets the identifier of the button to map presses of ESC button to. Override this to return a window containing the main content of the dialog. Gets the identifier of the button which works like standard OK button in this dialog. More.Įnds a modal dialog, passing a value to be returned from the ShowModal() invocation. This function is called when the titlebar OK button is pressed (PocketPC only). Performs layout adaptation, usually if the dialog is too large to fit on the display. Splits text up at newlines and places the lines into wxStaticText objects in a vertical wxBoxSizer. More.ĬreateTextSizer (const wxString &message) More.Ĭreates a wxStdDialogButtonSizer with standard buttons. Returns the sizer containing the given one with a separating wxStaticLine if necessarily. More.Ĭreates a sizer with standard buttons using CreateButtonSizer() separated from the rest of the dialog contents by a horizontal wxStaticLine. More.Ĭreates a sizer with standard buttons. Used for two-step dialog box construction. More.Ĭreate ( wxWindow *parent, wxWindowID id, const wxString &title, const wxPoint &pos= wxDefaultPosition, const wxSize &size= wxDefaultSize, long style= wxDEFAULT_DIALOG_STYLE, const wxString &name=wxDialogNameStr) More.Ĭentres the dialog box on the display. Returns true if this dialog can and should perform layout adaptation using DoLayoutAdaptation(), usually if the dialog is too large to fit on the display. WxDialog ( wxWindow *parent, wxWindowID id, const wxString &title, const wxPoint &pos= wxDefaultPosition, const wxSize &size= wxDefaultSize, long style= wxDEFAULT_DIALOG_STYLE, const wxString &name=wxDialogNameStr)Īdds an identifier to be regarded as a main button for the non-scrolling area of a dialog. Public Member Functions inherited from wxDialog Shows the dialog, returning wxID_OK if the user pressed OK, and wxID_CANCEL otherwise. ![]() Sets the wildcard, which can contain multiple file types, for example: "BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif". Sets the path (the combined directory and filename that will be returned when the dialog is dismissed). Sets the message that will be displayed on the dialog. ![]() Sets the default filter index, starting from zero. SetFilename (const wxString &setfilename) SetExtraControlCreator ( ExtraControlCreatorFunction creator)Ĭustomize file dialog by adding extra window, which is typically placed below the list of files and above the buttons. #Findfocus browser extension full#More.įills the array paths with the full paths of the files chosen. Returns the full path (directory and filename) of the selected file. Returns the message that will be displayed on the dialog. Returns the index into the list of filters supplied, optionally, in the wildcard parameter. GetFilenames ( wxArrayString &filenames) constįills the array filenames with the names of the files chosen. If functions SetExtraControlCreator() and ShowModal() were called, returns the extra window. Returns the path of the file currently selected in dialog. WxFileDialog ( wxWindow *parent, const wxString &message=wxFileSelectorPromptStr, const wxString &defaultDir= w圎mptyString, const wxString &defaultFile= w圎mptyString, const wxString &wildcard= wxFileSelectorDefaultWildcardStr, long style= wxFD_DEFAULT_STYLE, const wxPoint &pos= wxDefaultPosition, const wxSize &size= wxDefaultSize, const wxString &name=wxFileDialogNameStr) The type of function used as an argument for SetExtraControlCreator(). Category: Common Dialogs See also wxFileDialog Overview, wxFileSelector()ĮxtraControlCreatorFunction )( wxWindow *) ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |