gimp/devel-docs/libgimp/tmpl/gimpcolorbutton.sgml

83 lines
1.4 KiB
Text
Raw Normal View History

2000-02-03 01:47:15 +00:00
<!-- ##### SECTION Title ##### -->
GimpColorButton
<!-- ##### SECTION Short_Description ##### -->
Widget for selecting a color.
2000-02-03 01:47:15 +00:00
<!-- ##### 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.
2000-02-03 01:47:15 +00:00
</para>
<!-- ##### SECTION See_Also ##### -->
<para>
#libgimp-gimpcolorspace
2000-02-03 01:47:15 +00:00
</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.
2000-02-03 01:47:15 +00:00
</para>
@obj: The pointer to cast.
2000-02-03 01:47:15 +00:00
<!-- ##### 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:
2000-02-03 01:47:15 +00:00
<!-- ##### FUNCTION gimp_color_button_update ##### -->
<para>
</para>
@gcb:
<!-- ##### SIGNAL GimpColorButton::color-changed ##### -->
<para>
</para>
@gimpcolorbutton: the object which received the signal.