|
| | Resolutions (Builder builder, IntPtr handle, Resolution[] res) |
| |
| void | SetupHandlers () |
| | It sets up the event handlers for the delete event and the ok and cancel buttons.
|
| |
Definition at line 14 of file Resolutions.cs.
◆ Resolutions()
| BioGTK.Resolutions.Resolutions |
( |
Builder | builder, |
|
|
IntPtr | handle, |
|
|
Resolution[] | res ) |
|
protected |
Definition at line 55 of file Resolutions.cs.
55 : base(handle)
56 {
57 _builder = builder;
58 builder.Autoconnect(this);
59 resolutionsBox.Adjustment.Upper = res.Length - 1;
60 resolutionsBox.Adjustment.StepIncrement = 1;
61 resolutionsBox.Adjustment.PageIncrement = 1;
63 App.ApplyStyles(this);
64 }
void SetupHandlers()
It sets up the event handlers for the delete event and the ok and cancel buttons.
◆ Create()
| static Resolutions BioGTK.Resolutions.Create |
( |
Resolution[] | re | ) |
|
|
static |
Create a new Resolutions object, and return it
- Parameters
-
| ress | The array of resolutions to be displayed. |
- Returns
- A new instance of the Resolutions class.
Definition at line 47 of file Resolutions.cs.
48 {
49 Builder builder = new Builder(new FileStream(System.IO.Path.GetDirectoryName(Environment.ProcessPath) + "/" + "Glade/Resolutions.glade", FileMode.Open));
50 Resolutions res = new Resolutions(builder, builder.GetObject("resolutions").Handle, re);
51 return res;
52 }
◆ SetupHandlers()
| void BioGTK.Resolutions.SetupHandlers |
( |
| ) |
|
|
protected |
It sets up the event handlers for the delete event and the ok and cancel buttons.
Definition at line 72 of file Resolutions.cs.
73 {
74 okBut.Clicked += OkBut_Clicked;
75 resolutionsBox.Changed += ResolutionsBox_Changed;
76 this.DeleteEvent += Resolutions_DeleteEvent;
77 }
◆ resolution
| int BioGTK.Resolutions.resolution |
|
static |
◆ Resolution
| int BioGTK.Resolutions.Resolution |
|
get |
Definition at line 35 of file Resolutions.cs.
36 {
37 get { return resolution; }
38 }
The documentation for this class was generated from the following file: