BioGTK  5.1.1
A .NET library & program for annotating, editing various microscopy imaging formats using Bioformats supported images.
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]
 

Constructor & Destructor Documentation

◆ Functions()

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

Specialised constructor for use only by derived class.

Parameters
builderThe builder.
handleThe handle.
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 ( )
inlinestatic

Default Shared Constructor.

Returns
A TestForm1.
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 ( )
inlineprotected

Sets up the handlers.

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