Definition at line 9 of file OpenURLBox.cs.
◆ OpenUrlBox()
| BioGTK.OpenUrlBox.OpenUrlBox |
( |
Builder | builder, |
|
|
IntPtr | handle ) |
|
protected |
Definition at line 42 of file OpenURLBox.cs.
42 : base(handle)
43 {
44 _builder = builder;
45 builder.Autoconnect(this);
46 App.ApplyStyles(this);
47 okBut.Clicked += OkButton_Clicked;
48 cancelBut.Clicked += CancelBut_Clicked;
49 }
◆ Create()
"Create a new instance of the SetTool class, using the Builder class to load the glade file
and get the handle of the main window."
The Builder class is a class that is used to load the glade file and get the handle of the main window
- Returns
- A new instance of the SetTool class.
Definition at line 36 of file OpenURLBox.cs.
37 {
38 Builder builder = new Builder(new FileStream(System.IO.Path.GetDirectoryName(Environment.ProcessPath) + "/" + "Glade/OpenURLBox.glade", FileMode.Open));
39 return new OpenUrlBox(builder, builder.GetObject("mainwindow").Handle);
40 }
◆ GetUrl()
| string BioGTK.OpenUrlBox.GetUrl |
( |
| ) |
|
Definition at line 63 of file OpenURLBox.cs.
64 {
65 return textBox.Text;
66 }
The documentation for this class was generated from the following file: