Contents
TwAddSeparator (function)DescriptionThis function adds a horizontal separator line to a tweak bar. It may be useful if one wants to separate several sets of variables inside a same group. Note that you can also add a line of text in a tweak bar using a special button, see TwAddButton. ParametersbarThe tweak bar to which adding the separator. name
The name of the separator. It is optional, this parameter can be set to def
An optional definition string used to modify the behavior of this new entry. This string must follow the variable parameters syntax, or set to Return value
ExampleTwAddSeparator(bar, NULL, " group='Parameters' "); TwAddSeparator(bar, "sep1", NULL); TwDefine(" barName/sep1 group='Parameters' "); See also |