Beispiel #1
0
 public Window(Widget parent,Bounds bounds,int flags)
     : base(window_widget_create(parent.Handle,bounds.Handle,flags))
 {
 }
Beispiel #2
0
 public Label(Widget parent,Bounds bounds,string text)
     : base(label_widget_create_with_text(parent.Handle,bounds.Handle,0,text),parent)
 {
 }
Beispiel #3
0
 public Button(Widget parent,Bounds bounds,string label)
     : this(parent,bounds)
 {
     Text = label;
 }
Beispiel #4
0
 public Canvas(Widget parent,Bounds bounds)
     : base(canvas_widget_create(parent.Handle,bounds.Handle,0),parent)
 {
 }
Beispiel #5
0
 public Layout(Widget parent,string layout,Bounds bounds,int min_w,int min_h)
     : base(layout_create(parent.Handle,layout,new bounds_t(bounds.X,bounds.Y,bounds.Width,bounds.Height),min_w,min_h))
 {
 }
Beispiel #6
0
 public Button(Widget parent,Bounds bounds)
     : base(button_widget_create(parent.Handle,bounds.Handle,0),parent)
 {
 }
Beispiel #7
0
 public Textarea(Widget parent,Bounds bounds)
     : base(textarea_widget_create(parent.Handle,bounds.Handle,0),parent)
 {
 }
Beispiel #8
0
 public Statusbar(Widget parent)
     : base(statusbar_widget_create(parent.Handle,0),parent)
 {
 }
Beispiel #9
0
 public Progress(Widget parent,Bounds bounds)
     : base(progress_widget_create(parent.Handle,bounds.Handle,0),parent)
 {
 }
Beispiel #10
0
 public Menubar(Widget parent)
     : base(menubar_widget_create(parent.Handle,0))
 {
 }
Beispiel #11
0
 public Widget(IntPtr handle,Widget parent)
     : base(handle,parent)
 {
 }