BioGTK  5.1.1
A .NET library & program for annotating, editing various microscopy imaging formats using Bioformats supported images.
Loading...
Searching...
No Matches
BioGTK.Recorder Class Reference
Inheritance diagram for BioGTK.Recorder:

Static Public Member Functions

static Recorder Create ()
 
static void AddLine (string s)
 

Static Public Attributes

static string log = ""
 

Protected Member Functions

 Recorder (Builder builder, IntPtr handle)
 
void SetupHandlers ()
 It sets up the event handlers for the delete event and the clear button.
 

Constructor & Destructor Documentation

◆ Recorder()

BioGTK.Recorder.Recorder ( Builder  builder,
IntPtr  handle 
)
inlineprotected
49 : base(handle)
50 {
51 _builder = builder;
52 builder.Autoconnect(this);
54 App.ApplyStyles(this);
55 }
void SetupHandlers()
It sets up the event handlers for the delete event and the clear button.
Definition Recorder.cs:63

Member Function Documentation

◆ AddLine()

static void BioGTK.Recorder.AddLine ( string  s)
inlinestatic

It adds a line to the log

Parameters
sThe string to add to the log.
45 {
46 log += s + Environment.NewLine;
47 }
static string log
Definition Recorder.cs:18

◆ Create()

static Recorder BioGTK.Recorder.Create ( )
inlinestatic

‍Create a new instance of the Recorder class

Returns
A new instance of the Recorder class.
36 {
37 Builder builder = new Builder(new FileStream(System.IO.Path.GetDirectoryName(Environment.ProcessPath) + "/" + "Glade/Recorder.glade", FileMode.Open));
38 return new Recorder(builder, builder.GetObject("recorderWindow").Handle);
39 }
Recorder(Builder builder, IntPtr handle)
Definition Recorder.cs:49

◆ SetupHandlers()

void BioGTK.Recorder.SetupHandlers ( )
inlineprotected

It sets up the event handlers for the delete event and the clear button.

64 {
65 clearBut.Clicked += ClearBut_Clicked;
66 this.FocusInEvent += Recorder_FocusActivated;
67 }

Member Data Documentation

◆ log

string BioGTK.Recorder.log = ""
static

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