// Advances to the next widget depending on the autotab setting public void Increment() { if (AutoTab) { CompositeWidget.TabNext(); } }
public LabeledEdit(CompositeWidget parent, string caption) : base(parent) { Gap = 0; new Fill(this) { ExpandX = true }; new Label(this, caption) { ExpandY = true }; new Edit(this); }
public Separator(CompositeWidget parent, bool vertical) { if (vertical) { ExpandY = true; } else { ExpandX = true; } AttachDriverObject(parent, Guppy.Driver.CreateSeparator(this, vertical)); }
public ButtonBar(CompositeWidget parent, params string[] buttons) : base(parent) { new Fill(this) { ExpandX = true }; foreach (string str in buttons) { new Button(this, str) { UniformWidth = true }; } new Fill(this); }
public void UpdateLabel() { Text = string.Join(",", _bindings.Where(str => !string.IsNullOrWhiteSpace(str))); CompositeWidget.RefreshTooltip(); }
public Fill(CompositeWidget parent) { AttachDriverObject(parent, null); }
public GridBox(CompositeWidget parent, int linecnt, bool vertical) : base(parent, null, null) { this.linecount = linecnt; this.vertical = vertical; }
public HBox(CompositeWidget parent) : base(parent, null, null) { ChildrenAlign = GuppyEx.LayoutAlign.Center; //ChildrenExpandX = false; }
public VBox(CompositeWidget parent) : base(parent, null, null) //vbox has no driver representation { }
public TableLayout(CompositeWidget parent) { AttachDriverObject(parent, null); }