BioGTK  6.5.0
A .NET library & program for annotating, editing various microscopy imaging formats using Bioformats supported images. Including whole slide, pyramidal, and series.
Loading...
Searching...
No Matches
BioGTK.OpenUrlBox Class Reference
Inheritance diagram for BioGTK.OpenUrlBox:

Public Member Functions

string GetUrl ()
 

Static Public Member Functions

static OpenUrlBox Create ()
 

Protected Member Functions

 OpenUrlBox (Builder builder, IntPtr handle)
 

Detailed Description

Definition at line 9 of file OpenURLBox.cs.

Constructor & Destructor Documentation

◆ 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 }

Member Function Documentation

◆ Create()

static OpenUrlBox BioGTK.OpenUrlBox.Create ( )
static

"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: