示例#1
0
 public Window(Bounds bounds)
     : this(bounds,0)
 {
 }
示例#2
0
 public Label(Widget parent,Bounds bounds,string text)
     : base(label_widget_create_with_text(parent.Handle,bounds.Handle,0,text),parent)
 {
 }
示例#3
0
 public Window(Bounds bounds, int flags)
     : base(window_widget_create(IntPtr.Zero,bounds.Handle,flags))
 {
 }
示例#4
0
 public Window(Bounds bounds, bool resize)
     : base(window_widget_create(IntPtr.Zero,bounds.Handle,resize?0:4))
 {
 }
示例#5
0
 public Canvas(Widget parent,Bounds bounds)
     : base(canvas_widget_create(parent.Handle,bounds.Handle,0),parent)
 {
 }
示例#6
0
 public Window(Widget parent,Bounds bounds,int flags)
     : base(window_widget_create(parent.Handle,bounds.Handle,flags))
 {
 }
示例#7
0
 public Button(Widget parent,Bounds bounds,string label)
     : this(parent,bounds)
 {
     Text = label;
 }
示例#8
0
 public Button(Widget parent,Bounds bounds)
     : base(button_widget_create(parent.Handle,bounds.Handle,0),parent)
 {
 }
示例#9
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))
 {
 }
示例#10
0
 public Textarea(Widget parent,Bounds bounds)
     : base(textarea_widget_create(parent.Handle,bounds.Handle,0),parent)
 {
 }
示例#11
0
 public Progress(Widget parent,Bounds bounds)
     : base(progress_widget_create(parent.Handle,bounds.Handle,0),parent)
 {
 }