diff --git a/docs/reference/gtk/tmpl/.gitignore b/docs/reference/gtk/tmpl/.gitignore index 83501438ff..28b7b357be 100644 --- a/docs/reference/gtk/tmpl/.gitignore +++ b/docs/reference/gtk/tmpl/.gitignore @@ -8,6 +8,7 @@ gtkbuilder.sgml gtkbutton.sgml gtkcalendar.sgml gtkcelleditable.sgml +gtkcolorbutton.sgml gtkcombobox.sgml gtkcomboboxentry.sgml gtkcontainer.sgml diff --git a/docs/reference/gtk/tmpl/gtkcolorbutton.sgml b/docs/reference/gtk/tmpl/gtkcolorbutton.sgml deleted file mode 100644 index f51aeca4b1..0000000000 --- a/docs/reference/gtk/tmpl/gtkcolorbutton.sgml +++ /dev/null @@ -1,148 +0,0 @@ - -GtkColorButton - - -A button to launch a color selection dialog - - - -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. - - - - -#GtkColorSelectionDialog, #GtkFontButton - - - - - - - - - - -The GtkColorButton struct has only private fields and -should not be used directly. - - - - - - - - -@colorbutton: the object which received the signal. - - - - - - - - - - - - - - - - - - - - - - - - - - -@void: -@Returns: - - - - - - - -@color: -@Returns: - - - - - - - -@color_button: -@color: - - - - - - - -@color_button: -@color: - - - - - - - -@color_button: -@alpha: - - - - - - - -@color_button: -@Returns: - - - - - - - -@color_button: -@use_alpha: - - - - - - - -@color_button: -@Returns: - - - - - - - -@color_button: -@title: - - - - - - - -@color_button: -@Returns: - - diff --git a/gtk/gtkcolorbutton.c b/gtk/gtkcolorbutton.c index 2e2214f85b..c363f3aa26 100644 --- a/gtk/gtkcolorbutton.c +++ b/gtk/gtkcolorbutton.c @@ -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)