mirror of https://github.com/GNOME/gimp.git
104 lines
1.5 KiB
Plaintext
104 lines
1.5 KiB
Plaintext
<!-- ##### 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>
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
<para>
|
|
#libgimpcolor-gimpcolorspace
|
|
</para>
|
|
|
|
<!-- ##### STRUCT GimpColorButton ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
|
<!-- ##### FUNCTION gimp_color_button_new ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@title:
|
|
@width:
|
|
@height:
|
|
@color:
|
|
@type:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gimp_color_button_set_color ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@button:
|
|
@color:
|
|
|
|
|
|
<!-- ##### FUNCTION gimp_color_button_get_color ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@button:
|
|
@color:
|
|
|
|
|
|
<!-- ##### FUNCTION gimp_color_button_set_update ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@button:
|
|
@continuous:
|
|
|
|
|
|
<!-- ##### FUNCTION gimp_color_button_get_update ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@button:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gimp_color_button_has_alpha ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@button:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION gimp_color_button_set_type ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@button:
|
|
@type:
|
|
|
|
|
|
<!-- ##### SIGNAL GimpColorButton::color-changed ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@gimpcolorbutton: the object which received the signal.
|
|
|