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

Static Public Member Functions

static TextInput Create ()
 

Protected Member Functions

 TextInput (Builder builder, IntPtr handle)
 

Properties

string Text [get]
 
Gdk.RGBA RGBA [get]
 
string FontFamily [get]
 

Constructor & Destructor Documentation

◆ TextInput()

BioGTK.TextInput.TextInput ( Builder  builder,
IntPtr  handle 
)
inlineprotected
43 : base(handle)
44 {
45 _builder = builder;
46 builder.Autoconnect(this);
47 okBut.ButtonPressEvent += OkBut_ButtonPressEvent;
48 cancelBut.ButtonPressEvent += CancelBut_ButtonPressEvent;
49 textinputBox.Activated += TextinputBox_Activated;
50 App.ApplyStyles(this);
51 }

Member Function Documentation

◆ Create()

static TextInput BioGTK.TextInput.Create ( )
inlinestatic

It creates a new TextInput object, which is a Gtk.Window, and returns it

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

Property Documentation

◆ FontFamily

string BioGTK.TextInput.FontFamily
get
109 {
110 get
111 {
112 return fontBut.FontOptions.HintStyle.ToString();
113 }
114 }

◆ RGBA

Gdk.RGBA BioGTK.TextInput.RGBA
get
103 {
104 get { return colorBut.Rgba; }
105 }

◆ Text

string BioGTK.TextInput.Text
get
97 {
98 get { return textinputBox.Text; }
99 }

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