made parasites use g* types and documented gimpchainbutton

--Sven
This commit is contained in:
Sven Neumann
2000-02-12 02:16:59 +00:00
parent 0a6a2aa3ab
commit e01d964527
14 changed files with 317 additions and 213 deletions

View File

@ -1,3 +1,8 @@
Sat Feb 12 03:14:38 CET 2000 Sven Neumann <sven@gimp.org>
* devel-docs/libgimp/tmpl/gimpchainbutton.sgml: documented
GimpChainButton
2000-02-08 Michael Natterer <mitch@gimp.org>
* libgimp/libgimp-decl.txt

View File

@ -2,16 +2,28 @@
GimpChainButton
<!-- ##### SECTION Short_Description ##### -->
Widget to visually connect two entry widgets.
<!-- ##### SECTION Long_Description ##### -->
<para>
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.
</para>
<!-- ##### SECTION See_Also ##### -->
<para>
You may want to use the convenience function gimp_coordinates_new() to set
up two GimpSizeEntries (see #GimpSizeEntry) linked with a #GimpChainbutton.
</para>
<!-- ##### STRUCT GimpChainButton ##### -->
@ -22,10 +34,11 @@ GimpChainButton
<!-- ##### MACRO GIMP_CHAIN_BUTTON ##### -->
<para>
Checks if the passed pointer is a pointer to a #GimpChainButton and
performes the cast if valid.
</para>
@obj:
@obj: The pointer to cast.
<!-- ##### ENUM GimpChainPosition ##### -->
@ -33,10 +46,14 @@ GimpChainButton
</para>
@GIMP_CHAIN_TOP:
@GIMP_CHAIN_LEFT:
@GIMP_CHAIN_BOTTOM:
@GIMP_CHAIN_RIGHT:
@GIMP_CHAIN_TOP: Use if the GimpChainButton is used attached to the top of
the widgets it connects.
@GIMP_CHAIN_LEFT: Use if the GimpChainButton is used attached to the left of
the widgets it connects.
@GIMP_CHAIN_BOTTOM: Use if the GimpChainButton is used attached to the bottom
of the widgets it connects.
@GIMP_CHAIN_RIGHT: Use if the GimpChainButton is used attached to the right of
the widgets it connects.
<!-- ##### FUNCTION gimp_chain_button_new ##### -->
<para>