From 7fa24c92de9a517b38e6b748887f830e9482562a Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 1 Jul 2003 19:59:59 +0000 Subject: [PATCH] New docs for new widgets. --- docs/reference/ChangeLog | 12 +- docs/reference/gtk/tmpl/gtkcolorbutton.sgml | 131 ++++++++++++++ docs/reference/gtk/tmpl/gtkfontbutton.sgml | 186 ++++++++++++++++++++ 3 files changed, 324 insertions(+), 5 deletions(-) create mode 100644 docs/reference/gtk/tmpl/gtkcolorbutton.sgml create mode 100644 docs/reference/gtk/tmpl/gtkfontbutton.sgml diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index 11ad48fd0b..629d25afce 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,12 +1,14 @@ 2003-07-01 Matthias Clasen - * gtk/tmpl/gtkexpander.sgml: New file. Template for GtkExpander docs. + * gtk/tmpl/gtkcolorbutton.sgml: + * gtk/tmpl/gtkfontbutton.sgml: + * gtk/tmpl/gtkexpander.sgml: New files. Templates for GtkExpander, GtkFontButton and GtkColorButton. - * gtk/gtk-sections.txt: Add a section for GtkExpander. + * gtk/gtk-sections.txt: Add a sections for GtkExpander, GtkColorButton and GtkFontButton. - * gtk/gtk-docs.sgml: Add an entity for GtkExpander. - - * gtk/gtk.types: Add gtk_expander_get_type + * gtk/gtk-docs.sgml: Add an entities for GtkExpander, GtkColorButton and GtkFontButton. + + * gtk/gtk.types: Add gtk_expander_get_type, gtk_color_button_get_type() and gtk_font_button_get_type(). * gdk/gdk-sections.txt: Add gdk_cursor_new_from_pixbuf(), gdk_display_supports_cursor_alpha(), diff --git a/docs/reference/gtk/tmpl/gtkcolorbutton.sgml b/docs/reference/gtk/tmpl/gtkcolorbutton.sgml new file mode 100644 index 0000000000..f9ff2fa72b --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkcolorbutton.sgml @@ -0,0 +1,131 @@ + +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 + + + + + + + + + + + + + +@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: + + + + + + + +@colorbutton: the object which received the signal. + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/reference/gtk/tmpl/gtkfontbutton.sgml b/docs/reference/gtk/tmpl/gtkfontbutton.sgml new file mode 100644 index 0000000000..641e3a010c --- /dev/null +++ b/docs/reference/gtk/tmpl/gtkfontbutton.sgml @@ -0,0 +1,186 @@ + +GtkFontButton + + +A button to launch a font selection dialog + + + +The #GtkFontButton is a button which displays the currently selected font an allows to open a font selection +dialog to change the font. It is suitable widget for selecting a font in a preference dialog. + + + + +#GtkFontSelectionDialog, #GtkColorButton. + + + + + + + + + + + + + +@Returns: + + + + + + + +@fontname: +@Returns: + + + + + + + +@font_button: +@fontname: +@Returns: + + + + + + + +@font_button: +@Returns: + + + + + + + +@font_button: +@show_style: + + + + + + + +@font_button: +@Returns: + + + + + + + +@font_button: +@show_size: + + + + + + + +@font_button: +@Returns: + + + + + + + +@font_button: +@use_font: + + + + + + + +@font_button: +@Returns: + + + + + + + +@font_button: +@use_size: + + + + + + + +@font_button: +@Returns: + + + + + + + +@font_button: +@title: + + + + + + + +@font_button: +@Returns: + + + + + + + +@fontbutton: the object which received the signal. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +