◆ Resolutions()
BioGTK.Resolutions.Resolutions |
( |
Builder |
builder, |
|
|
IntPtr |
handle, |
|
|
Resolution[] |
res |
|
) |
| |
|
inlineprotected |
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.
Definition Resolutions.cs:72
◆ Create()
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.
48 {
49 Builder builder = new Builder(new FileStream(System.IO.Path.GetDirectoryName(Environment.ProcessPath) + "/" + "Glade/Resolutions.glade", FileMode.Open));
51 return res;
52 }
Resolutions(Builder builder, IntPtr handle, Resolution[] res)
Definition Resolutions.cs:55
◆ SetupHandlers()
void BioGTK.Resolutions.SetupHandlers |
( |
| ) |
|
|
inlineprotected |
It sets up the event handlers for the delete event and the ok and cancel buttons.
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 |
36 {
38 }
static int resolution
Definition Resolutions.cs:18
The documentation for this class was generated from the following file: