Commit a31142a8 authored by Javier Jardón's avatar Javier Jardón Committed by Tristan Van Berkom

docs: move documentation to inline comments: GtkColorButton

parent 65834294
......@@ -8,6 +8,7 @@ gtkbuilder.sgml
gtkbutton.sgml
gtkcalendar.sgml
gtkcelleditable.sgml
gtkcolorbutton.sgml
gtkcombobox.sgml
gtkcomboboxentry.sgml
gtkcontainer.sgml
......
<!-- ##### SECTION Title ##### -->
GtkColorButton
<!-- ##### SECTION Short_Description ##### -->
A button to launch a color selection dialog
<!-- ##### SECTION Long_Description ##### -->
<para>
The #GtkColorButton is a button which displays the currently selected color
an allows to open a color selection dialog to change the color. It is suitable
widget for selecting a color in a preference dialog.
</para>
<!-- ##### SECTION See_Also ##### -->
<para>
#GtkColorSelectionDialog, #GtkFontButton
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### SECTION Image ##### -->
<!-- ##### STRUCT GtkColorButton ##### -->
<para>
The GtkColorButton struct has only private fields and
should not be used directly.
</para>
<!-- ##### SIGNAL GtkColorButton::color-set ##### -->
<para>
</para>
@colorbutton: the object which received the signal.
<!-- ##### ARG GtkColorButton:alpha ##### -->
<para>
</para>
<!-- ##### ARG GtkColorButton:color ##### -->
<para>
</para>
<!-- ##### ARG GtkColorButton:title ##### -->
<para>
</para>
<!-- ##### ARG GtkColorButton:use-alpha ##### -->
<para>
</para>
<!-- ##### FUNCTION gtk_color_button_new ##### -->
<para>
</para>
@void:
@Returns:
<!-- ##### FUNCTION gtk_color_button_new_with_color ##### -->
<para>
</para>
@color:
@Returns:
<!-- ##### FUNCTION gtk_color_button_set_color ##### -->
<para>
</para>
@color_button:
@color:
<!-- ##### FUNCTION gtk_color_button_get_color ##### -->
<para>
</para>
@color_button:
@color:
<!-- ##### FUNCTION gtk_color_button_set_alpha ##### -->
<para>
</para>
@color_button:
@alpha:
<!-- ##### FUNCTION gtk_color_button_get_alpha ##### -->
<para>
</para>
@color_button:
@Returns:
<!-- ##### FUNCTION gtk_color_button_set_use_alpha ##### -->
<para>
</para>
@color_button:
@use_alpha:
<!-- ##### FUNCTION gtk_color_button_get_use_alpha ##### -->
<para>
</para>
@color_button:
@Returns:
<!-- ##### FUNCTION gtk_color_button_set_title ##### -->
<para>
</para>
@color_button:
@title:
<!-- ##### FUNCTION gtk_color_button_get_title ##### -->
<para>
</para>
@color_button:
@Returns:
......@@ -45,6 +45,19 @@
#include "gtkprivate.h"
#include "gtkintl.h"
/**
* SECTION:gtkcolorbutton
* @Short_description: A button to launch a color selection dialog
* @Title: GtkColorButton
* @See_also: #GtkColorSelectionDialog, #GtkFontButton
*
* The #GtkColorButton is a button which displays the currently selected color
* an allows to open a color selection dialog to change the color. It is suitable
* widget for selecting a color in a preference dialog.
*/
/* Size of checks and gray levels for alpha compositing checkerboard */
#define CHECK_SIZE 4
#define CHECK_DARK (1.0 / 3.0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment