Definition at line 11 of file TextInput.cs .
◆ TextInput()
BioGTK.TextInput.TextInput
(
Builder builder ,
IntPtr handle )
protected
Definition at line 45 of file TextInput.cs .
45 : base(handle)
46 {
47 _builder = builder;
48 builder.Autoconnect(this );
49 okBut.ButtonPressEvent += OkBut_ButtonPressEvent;
50 cancelBut.ButtonPressEvent += CancelBut_ButtonPressEvent;
51 textinputBox.Activated += TextinputBox_Activated;
52 App.ApplyStyles(this );
53 }
◆ Create()
static TextInput BioGTK.TextInput.Create
(
bool ROItype = true )
static
It creates a new TextInput object, which is a Gtk.Window, and returns it
Returns A new instance of the TextInput class.
Definition at line 36 of file TextInput.cs .
37 {
38 Builder builder = new Builder(new FileStream(System.IO.Path.GetDirectoryName(Environment.ProcessPath) + "/" + "Glade/TextInput.glade" , FileMode.Open));
39 var ti = new TextInput(builder, builder.GetObject("textInput" ).Handle);
40 ti.ROItype = ROItype;
41 return ti;
42 }
◆ FontFamily
string BioGTK.TextInput.FontFamily
get
Definition at line 119 of file TextInput.cs .
120 {
121 get
122 {
123 return fontBut.FontOptions.HintStyle.ToString();
124 }
125 }
◆ RGBA
Gdk.RGBA BioGTK.TextInput.RGBA
get
Definition at line 113 of file TextInput.cs .
114 {
115 get { return colorBut.Rgba; }
116 }
◆ Text
string BioGTK.TextInput.Text
get
Definition at line 107 of file TextInput.cs .
108 {
109 get { return textinputBox.Text; }
110 }
The documentation for this class was generated from the following file: