mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 09:23:24 +00:00

2000-05-28 Michael Natterer <mitch@gimp.org> * libgimp/gimp.h * libgimp/gimpcolordisplay.h * libgimp/gimpcolorselector.h * libgimp/gimpmatrix.h * libgimp/gimpmodule.h * libgimp/gimpunit_pdb.c: purely cosmetic stuff and added some typedefs to make the html documentation nicer. Moved the module documentation from the headers to the sgml files. * app/module_db.[ch]: The type of the "init" and "unload" functions has changed. Code cleanup. 2000-05-28 Michael Natterer <mitch@gimp.org> * libgimp/libgimp-decl.txt * libgimp/libgimp-docs.sgml * libgimp/libgimp-sections.txt * libgimp/tmpl/gimp.sgml * libgimp/tmpl/gimpcolorbutton.sgml * libgimp/tmpl/gimpcolordisplay.sgml * libgimp/tmpl/gimpcolorselector.sgml * libgimp/tmpl/gimpcolorspace.sgml * libgimp/tmpl/gimpcompat.sgml * libgimp/tmpl/gimpenums.sgml * libgimp/tmpl/gimpfeatures.sgml * libgimp/tmpl/gimplimits.sgml * libgimp/tmpl/gimpmath.sgml * libgimp/tmpl/gimpmodule.sgml * libgimp/tmpl/gimpparasite.sgml * libgimp/tmpl/gimpparasiteio.sgml * libgimp/tmpl/gimppixmap.sgml * libgimp/tmpl/gimpprotocol.sgml * libgimp/tmpl/gimpsignal.sgml * libgimp/tmpl/gimpui.sgml * libgimp/tmpl/gimpunit.sgml * libgimp/tmpl/gimputils.sgml * libgimp/tmpl/gimpvector.sgml * libgimp/tmpl/gimpwire.sgml * libgimp/tmpl/libgimp-unused.sgml: Moved the module documentation from the libgimp headers here, updates, cleanups.
82 lines
1.4 KiB
Text
82 lines
1.4 KiB
Text
<!-- ##### SECTION Title ##### -->
|
|
GimpColorButton
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
|
Widget for selecting a color.
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
<para>
|
|
This widget provides a simple button with a preview showing the
|
|
color.
|
|
</para>
|
|
<para>
|
|
On click a GtkColorSelectionDialog is opened. Additionally the button
|
|
supports Drag and Drop and has a right-click menu that allows to choose
|
|
the color from the current FG or BG color. If the user changes the
|
|
color, the "color_changed" signal is emitted.
|
|
</para>
|
|
<para>
|
|
Note that the color is changed in place.
|
|
</para>
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
<para>
|
|
#libgimp-gimpcolorspace
|
|
</para>
|
|
|
|
<!-- ##### STRUCT GimpColorButton ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
|
<!-- ##### MACRO GIMP_COLOR_BUTTON ##### -->
|
|
<para>
|
|
Checks if the passed pointer is a pointer to a #GimpColorButton and
|
|
performs the cast if valid.
|
|
</para>
|
|
|
|
@obj: The pointer to cast.
|
|
|
|
|
|
<!-- ##### FUNCTION gimp_color_button_new ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@title:
|
|
@width:
|
|
@height:
|
|
@color:
|
|
@bpp:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gimp_color_button_double_new ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@title:
|
|
@width:
|
|
@height:
|
|
@color:
|
|
@bpp:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gimp_color_button_update ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@gcb:
|
|
|
|
|
|
<!-- ##### SIGNAL GimpColorButton::color-changed ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@gimpcolorbutton: the object which received the signal.
|
|
|