Public Types | |
enum | { wxCENTER = 0x00000001, wxCENTRE = 0x00000001, wxYES = 0x00000002, wxOK = 0x00000004, wxNO = 0x00000008, wxCANCEL = 0x00000010, wxYES_NO = (wxYES | wxNO), wxYES_DEFAULT = 0x00000000, wxNO_DEFAULT = 0x00000080, wxICON_EXCLAMATION = 0x00000100, wxICON_HAND = 0x00000200, wxICON_WARNING = wxICON_EXCLAMATION, wxICON_ERROR = wxICON_HAND, wxICON_QUESTION = 0x00000400, wxICON_INFORMATION = 0x00000800, wxICON_STOP = wxICON_HAND, wxICON_ASTERISK = wxICON_INFORMATION, wxICON_MASK = (0x00000100|0x00000200|0x00000400|0x00000800), wxFORWARD = 0x00001000, wxBACKWARD = 0x00002000, wxRESET = 0x00004000, wxHELP = 0x00008000, wxMORE = 0x00010000, wxSETUP = 0x00020000 } |
Public Member Functions | |
this (IntPtr wxobj) | |
this () | |
this (Window parent, int id, string title, Point pos=wxDefaultPosition, Size size=wxDefaultSize, int style=wxDEFAULT_DIALOG_STYLE, string name=wxDialogNameStr) | |
this (Window parent, string title, Point pos=wxDefaultPosition, Size size=wxDefaultSize, int style=wxDEFAULT_DIALOG_STYLE, string name=wxDialogNameStr) | |
bool | Create (Window window, int id, string title, inout Point pos, inout Size size, int style, string name) |
int | ReturnCode () |
void | ReturnCode (int value) |
override string | Title () |
override void | Title (string value) |
void | EndModal (int retCode) |
void | SetIcon (Icon icon) |
virtual int | ShowModal () |
deprecated void | Modal (bool value) |
bool | Modal () |
Public Attributes | |
const string | wxDialogNameStr = "dialog" |
anonymous enum |
this | ( | IntPtr | wxobj | ) |
Reimplemented from Window.
Reimplemented in SingleChoiceDialog, MultiChoiceDialog, ColourDialog, DirDialog, FindReplaceDialog, FontDialog, NumberEntryDialog, ProgressDialog, TextEntryDialog, and Wizard.
this | ( | ) |
Reimplemented in ColourDialog, FindReplaceDialog, and FontDialog.
public this | ( | Window | parent, | |
int | id, | |||
string | title, | |||
Point | pos = wxDefaultPosition , |
|||
Size | size = wxDefaultSize , |
|||
int | style = wxDEFAULT_DIALOG_STYLE , |
|||
string | name = wxDialogNameStr | |||
) |
Constructor.
parent | Can be NULL, a frame or another dialog box. | |
id | An identifier for the dialog. A value of -1 is taken to mean a default. | |
title | The title of the dialog. | |
pos | The dialog position. A value of (-1, -1) indicates a default position, chosen by either the windowing system or wxWidgets, depending on platform. | |
size | The dialog size. A value of (-1, -1) indicates a default size, chosen by either the windowing system or wxWidgets, depending on platform. | |
style | The window style. See wxDialog. | |
name | Used to associate a name with the window, allowing the application user to set Motif resource values for individual dialog boxes. |
this | ( | Window | parent, | |
string | title, | |||
Point | pos = wxDefaultPosition , |
|||
Size | size = wxDefaultSize , |
|||
int | style = wxDEFAULT_DIALOG_STYLE , |
|||
string | name = wxDialogNameStr | |||
) |
bool Create | ( | Window | window, | |
int | id, | |||
string | title, | |||
inout Point | pos, | |||
inout Size | size, | |||
int | style, | |||
string | name | |||
) |
int ReturnCode | ( | ) |
void ReturnCode | ( | int | value | ) |
override string Title | ( | ) |
Reimplemented from Window.
override void Title | ( | string | value | ) |
Reimplemented from Window.
void EndModal | ( | int | retCode | ) |
void SetIcon | ( | Icon | icon | ) |
virtual int ShowModal | ( | ) |
Reimplemented in ColourDialog, DirDialog, FontDialog, MessageDialog, NumberEntryDialog, and TextEntryDialog.
deprecated void Modal | ( | bool | value | ) |
bool Modal | ( | ) |
const string wxDialogNameStr = "dialog" |