BioGTK  6.0.0
A .NET library & program for annotating, editing various microscopy imaging formats using Bioformats supported images. Including whole slide, pyramidal, and series.
All Classes Namespaces Functions
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 10 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 78 of file Functions.cs.

78 : base(handle)
79 {
80 _builder = builder;
81 builder.Autoconnect(this);
83 Init();
84 App.ApplyStyles(this);
85 }
void SetupHandlers()
Sets up the handlers.
Definition Functions.cs:92

Member Function Documentation

◆ Create()

static Functions BioGTK.Functions.Create ( )
static

Default Shared Constructor.

Returns
A TestForm1.

Definition at line 69 of file Functions.cs.

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

◆ SetupHandlers()

void BioGTK.Functions.SetupHandlers ( )
protected

Sets up the handlers.

Definition at line 92 of file Functions.cs.

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

Property Documentation

◆ Func

Function BioGTK.Functions.Func
getset

Definition at line 14 of file Functions.cs.

15 {
16 get
17 {
18 return func;
19 }
20 set
21 {
22 func = value;
23 }
24 }

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