|
| Progress (Builder builder, IntPtr handle, string title, string status, string state) |
|
◆ Progress()
BioGTK.Progress.Progress |
( |
Builder |
builder, |
|
|
IntPtr |
handle, |
|
|
string |
title, |
|
|
string |
status, |
|
|
string |
state |
|
) |
| |
|
inlineprotected |
86 : base(handle)
87 {
88 _builder = builder;
89 builder.Autoconnect(this);
90 this.Title = title;
91 this.statusLabel.Text = status;
92 this.progLabel.Text = state;
93 App.ApplyStyles(this);
94 }
◆ Create()
static Progress BioGTK.Progress.Create |
( |
string |
title, |
|
|
string |
status, |
|
|
string |
state |
|
) |
| |
|
inlinestatic |
79 {
80 Builder builder = new Builder(new FileStream(System.IO.Path.GetDirectoryName(Environment.ProcessPath) + "/" + "Glade/Progress.glade", FileMode.Open));
81 return new Progress(builder, builder.GetObject(
"progress").Handle, title, status, state);
82 }
Progress(Builder builder, IntPtr handle, string title, string status, string state)
Definition Progress.cs:86
◆ ProgressValue
double BioGTK.Progress.ProgressValue |
|
getset |
22 {
23 get
24 {
25 return progressBar.Fraction;
26 }
27 set
28 {
29
30 Application.Invoke(delegate
31 {
32 progressBar.Fraction = value;
33 statusLabel.Text = BioImage.status;
34 });
35 }
36 }
◆ Status
string BioGTK.Progress.Status |
|
getset |
52 {
53 get { return statusLabel.Text; }
54 set
55 {
56
57 Application.Invoke(delegate
58 {
59 statusLabel.Text = value;
60 });
61 }
62 }
◆ Text
string BioGTK.Progress.Text |
|
getset |
39 {
40 get { return progLabel.Text; }
41 set
42 {
43
44 Application.Invoke(delegate
45 {
46 progLabel.Text = value;
47 });
48 }
49 }
The documentation for this class was generated from the following file: