[ CCode ( cname = "gimp_chain_button_new" , has_construct_function = false , type = "GtkWidget*" ) ]
public ChainButton (ChainPosition position)
Creates a new ChainButton widget.
This returns a button showing either a broken or a linked chain and small clamps attached to both sides that visually group the two widgets you want to connect. This widget looks best when attached to a grid taking up two columns (or rows respectively) next to the widgets that it is supposed to connect. It may work for more than two widgets, but the look is optimized for two.
| position |
The position you are going to use for the button with respect to the widgets you want to chain. |
|
Pointer to the new ChainButton, which is inactive by default. Use set_active to change its state. |