2000-02-03 09:47:15 +08:00
|
|
|
<!-- ##### SECTION Title ##### -->
|
|
|
|
GimpChainButton
|
|
|
|
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
2000-02-12 10:16:59 +08:00
|
|
|
Widget to visually connect two entry widgets.
|
2000-02-03 09:47:15 +08:00
|
|
|
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
|
|
<para>
|
2000-02-12 10:16:59 +08:00
|
|
|
This widget provides a button showing either a linked or a broken
|
|
|
|
chain that can be used to link two entries, spinbuttons, colors
|
|
|
|
or other GUI elements and show that they may be locked. Use it for
|
|
|
|
example to connect X and Y ratios to provide the possibility of a
|
|
|
|
constrained aspect ratio.
|
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
The #GimpChainButton only gives visual feedback, it does not really
|
|
|
|
connect widgets. You have to take care of locking the values yourself
|
|
|
|
by checking the state of the #GimpChainButton whenever a value changes
|
|
|
|
in one of the connected widgets and adjusting the other value if
|
|
|
|
necessary.
|
2000-02-03 09:47:15 +08:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
|
|
<para>
|
2000-02-12 10:16:59 +08:00
|
|
|
You may want to use the convenience function gimp_coordinates_new() to set
|
2000-02-19 00:00:19 +08:00
|
|
|
up two GimpSizeEntries (see #GimpSizeEntry) linked with a #GimpChainButton.
|
2000-02-03 09:47:15 +08:00
|
|
|
</para>
|
|
|
|
|
2002-05-13 18:37:53 +08:00
|
|
|
<!-- ##### STRUCT GimpChainButton ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
2000-02-03 09:47:15 +08:00
|
|
|
<!-- ##### ENUM GimpChainPosition ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2001-05-05 04:39:29 +08:00
|
|
|
@GIMP_CHAIN_TOP:
|
|
|
|
@GIMP_CHAIN_LEFT:
|
|
|
|
@GIMP_CHAIN_BOTTOM:
|
|
|
|
@GIMP_CHAIN_RIGHT:
|
2000-02-03 09:47:15 +08:00
|
|
|
|
|
|
|
<!-- ##### FUNCTION gimp_chain_button_new ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@position:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gimp_chain_button_set_active ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@gcb:
|
2002-03-08 20:36:40 +08:00
|
|
|
@active:
|
|
|
|
<!-- # Unused Parameters # -->
|
2000-02-03 09:47:15 +08:00
|
|
|
@is_active:
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### FUNCTION gimp_chain_button_get_active ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@gcb:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
2000-10-15 06:15:11 +08:00
|
|
|
<!-- ##### SIGNAL GimpChainButton::toggled ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@gimpchainbutton: the object which received the signal.
|
|
|
|
|