|
| | YesNoDialog (Builder builder, IntPtr handle, string text) |
| |
Definition at line 11 of file YesNoDialog.cs.
◆ YesNoDialog()
| BioGTK.YesNoDialog.YesNoDialog |
( |
Builder | builder, |
|
|
IntPtr | handle, |
|
|
string | text ) |
|
protected |
Definition at line 38 of file YesNoDialog.cs.
38 : base(handle)
39 {
40 _builder = builder;
41 builder.Autoconnect(this);
42 Text = text;
43 yesBut.ButtonPressEvent += OkBut_ButtonPressEvent;
44 noBut.ButtonPressEvent += CancelBut_ButtonPressEvent;
45 }
◆ Create()
| static YesNoDialog BioGTK.YesNoDialog.Create |
( |
string | text | ) |
|
|
static |
It creates a new ComboPicker object, which is a Gtk.Window, and returns it
- Returns
- A new instance of the ComboPicker class.
Definition at line 32 of file YesNoDialog.cs.
33 {
34 Builder builder = new Builder(new FileStream(System.IO.Path.GetDirectoryName(Environment.ProcessPath) + "/" + "Glade/YesNoDialog.glade", FileMode.Open));
35 return new YesNoDialog(builder, builder.GetObject("yesDialog").Handle, text);
36 }
◆ Text
| string BioGTK.YesNoDialog.Text |
|
getset |
Definition at line 63 of file YesNoDialog.cs.
64 {
65 get
66 {
67 return textLabel.Text;
68 }
69 set
70 {
71 textLabel.Text = value;
72 }
73 }
The documentation for this class was generated from the following file: