ButtonBox.setChildSecondary
void setChildSecondary(gtk.widget.Widget child, bool isSecondary)Sets whether child should appear in a secondary group of children. A typical use of a secondary child is the help button in a dialog.
This group appears after the other children if the style is [gtk.types.ButtonBoxStyle.Start], [gtk.types.ButtonBoxStyle.Spread] or [gtk.types.ButtonBoxStyle.Edge], and before the other children if the style is [gtk.types.ButtonBoxStyle.End]. For horizontal button boxes, the definition of before/after depends on direction of the widget (see [gtk.widget.Widget.setDirection]). If the style is [gtk.types.ButtonBoxStyle.Start] or [gtk.types.ButtonBoxStyle.End], then the secondary children are aligned at the other end of the button box from the main children. For the other styles, they appear immediately next to the main children.
Parameters
child | a child of widget |
isSecondary | if true, the child appears in a secondary group of the button box. |