2000-02-03 01:47:15 +00:00
|
|
|
<!-- ##### SECTION Title ##### -->
|
|
|
|
GimpColorButton
|
|
|
|
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
2000-02-03 02:35:08 +00:00
|
|
|
Widget for selecting a color.
|
2000-02-03 01:47:15 +00:00
|
|
|
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
|
|
<para>
|
2000-02-07 20:35:13 +00:00
|
|
|
This widget provides a simple button with a preview showing the
|
|
|
|
color.
|
|
|
|
</para>
|
|
|
|
<para>
|
2000-02-03 02:35:08 +00:00
|
|
|
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
|
2000-02-07 20:35:13 +00:00
|
|
|
color, the "color_changed" signal is emitted.
|
|
|
|
</para>
|
2000-02-03 01:47:15 +00:00
|
|
|
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
|
|
<para>
|
2001-05-04 20:39:29 +00:00
|
|
|
#libgimpcolor-gimpcolorspace
|
2000-02-03 01:47:15 +00:00
|
|
|
</para>
|
|
|
|
|
2002-05-13 10:37:53 +00:00
|
|
|
<!-- ##### STRUCT GimpColorButton ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
2001-05-04 20:39:29 +00:00
|
|
|
<!-- ##### FUNCTION gimp_color_button_new ##### -->
|
2000-02-03 01:47:15 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2001-05-04 20:39:29 +00:00
|
|
|
@title:
|
|
|
|
@width:
|
|
|
|
@height:
|
|
|
|
@color:
|
|
|
|
@type:
|
|
|
|
@Returns:
|
|
|
|
<!-- # Unused Parameters # -->
|
|
|
|
@alpha:
|
|
|
|
|
2000-02-03 01:47:15 +00:00
|
|
|
|
2001-05-04 20:39:29 +00:00
|
|
|
<!-- ##### FUNCTION gimp_color_button_set_color ##### -->
|
2000-02-03 01:47:15 +00:00
|
|
|
<para>
|
2001-05-04 20:39:29 +00:00
|
|
|
|
2000-02-03 01:47:15 +00:00
|
|
|
</para>
|
|
|
|
|
2001-05-04 20:39:29 +00:00
|
|
|
@gcb:
|
|
|
|
@color:
|
2000-02-03 01:47:15 +00:00
|
|
|
|
|
|
|
|
2001-05-04 20:39:29 +00:00
|
|
|
<!-- ##### FUNCTION gimp_color_button_get_color ##### -->
|
2000-02-03 01:47:15 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2001-05-04 20:39:29 +00:00
|
|
|
@gcb:
|
2000-02-03 01:47:15 +00:00
|
|
|
@color:
|
|
|
|
|
|
|
|
|
2001-05-04 20:39:29 +00:00
|
|
|
<!-- ##### FUNCTION gimp_color_button_has_alpha ##### -->
|
2000-02-18 16:00:19 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
2001-05-04 20:39:29 +00:00
|
|
|
@gcb:
|
2000-02-18 16:00:19 +00:00
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
2001-05-04 20:39:29 +00:00
|
|
|
<!-- ##### FUNCTION gimp_color_button_set_type ##### -->
|
2000-02-03 01:47:15 +00:00
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@gcb:
|
2002-03-08 12:36:40 +00:00
|
|
|
@type:
|
|
|
|
<!-- # Unused Parameters # -->
|
2001-05-04 20:39:29 +00:00
|
|
|
@alpha:
|
2000-02-03 01:47:15 +00:00
|
|
|
|
|
|
|
|
|
|
|
<!-- ##### SIGNAL GimpColorButton::color-changed ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@gimpcolorbutton: the object which received the signal.
|
|
|
|
|