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.Functions Class Reference
Inheritance diagram for BioGTK.Functions:

Static Public Member Functions

static Functions Create ()
 Default Shared Constructor.
 

Protected Member Functions

 Functions (Builder builder, IntPtr handle)
 Specialised constructor for use only by derived class.
 
void SetupHandlers ()
 Sets up the handlers.
 

Properties

Function Func [get, set]
 

Detailed Description

Definition at line 13 of file Functions.cs.

Constructor & Destructor Documentation

◆ Functions()

BioGTK.Functions.Functions ( Builder builder,
IntPtr handle )
protected

Specialised constructor for use only by derived class.

Parameters
builderThe builder.
handleThe handle.

Definition at line 81 of file Functions.cs.

81 : base(handle)
82 {
83 _builder = builder;
84 builder.Autoconnect(this);
86 Init();
87 App.ApplyStyles(this);
88 }
void SetupHandlers()
Sets up the handlers.
Definition Functions.cs:95

Member Function Documentation

◆ Create()

static Functions BioGTK.Functions.Create ( )
static

Default Shared Constructor.

Returns
A TestForm1.

Definition at line 72 of file Functions.cs.

73 {
74 Builder builder = new Builder(new FileStream(System.IO.Path.GetDirectoryName(Environment.ProcessPath) + "/" + "Glade/Functions.glade", FileMode.Open));
75 return new Functions(builder, builder.GetObject("functions").Handle);
76 }
Functions(Builder builder, IntPtr handle)
Specialised constructor for use only by derived class.
Definition Functions.cs:81

◆ SetupHandlers()

void BioGTK.Functions.SetupHandlers ( )
protected

Sets up the handlers.

Definition at line 95 of file Functions.cs.

96 {
97 funcsBox.Changed += FuncsBox_Changed;
98 keysBox.Changed += KeysBox_Changed;
99 stateBox.Changed += StateBox_Changed;
100 modifierBox.Changed += ModifiersBox_Changed;
101 okBut.Clicked += OkBut_Clicked;
102 cancelBut.Clicked += CancelBut_Clicked;
103 setMacroFileBut.Clicked += SetMacroFileBut_Clicked;
104 setScriptFileBut.Clicked += SetScriptFileBut_Clicked;
105 valBox.ChangeValue += ValBox_ChangeValue;
106 textBox.Buffer.Changed += Buffer_Changed;
107 imagejRadioBut.Clicked += ImagejRadioBut_Clicked;
108 bioRadioBut.Clicked += BioRadioBut_Clicked;
109 this.KeyPressEvent += Functions_KeyPressEvent;
110 this.DeleteEvent += Functions_DeleteEvent;
111 }

Property Documentation

◆ Func

Function BioGTK.Functions.Func
getset

Definition at line 17 of file Functions.cs.

18 {
19 get
20 {
21 return func;
22 }
23 set
24 {
25 func = value;
26 }
27 }

The documentation for this class was generated from the following file: