summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2003-07-01 19:59:59 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2003-07-01 19:59:59 +0000
commit7fa24c92de9a517b38e6b748887f830e9482562a (patch)
tree6774997fb2aeb29bc68f93f7ba1b28b0992b77fe
parentb0b5e9f90fbe87c7028f6fe722d2c637dec04020 (diff)
downloadgdk-pixbuf-7fa24c92de9a517b38e6b748887f830e9482562a.tar.gz
New docs for new widgets.
-rw-r--r--docs/reference/ChangeLog12
-rw-r--r--docs/reference/gtk/tmpl/gtkcolorbutton.sgml131
-rw-r--r--docs/reference/gtk/tmpl/gtkfontbutton.sgml186
3 files changed, 324 insertions, 5 deletions
diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog
index 11ad48fd0..629d25afc 100644
--- a/docs/reference/ChangeLog
+++ b/docs/reference/ChangeLog
@@ -1,12 +1,14 @@
2003-07-01 Matthias Clasen <maclas@gmx.de>
- * 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 000000000..f9ff2fa72
--- /dev/null
+++ b/docs/reference/gtk/tmpl/gtkcolorbutton.sgml
@@ -0,0 +1,131 @@
+<!-- ##### 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>
+
+<!-- ##### STRUCT GtkColorButton ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### FUNCTION gtk_color_button_new ##### -->
+<para>
+
+</para>
+
+@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:
+
+
+<!-- ##### 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>
+
diff --git a/docs/reference/gtk/tmpl/gtkfontbutton.sgml b/docs/reference/gtk/tmpl/gtkfontbutton.sgml
new file mode 100644
index 000000000..641e3a010
--- /dev/null
+++ b/docs/reference/gtk/tmpl/gtkfontbutton.sgml
@@ -0,0 +1,186 @@
+<!-- ##### SECTION Title ##### -->
+GtkFontButton
+
+<!-- ##### SECTION Short_Description ##### -->
+A button to launch a font selection dialog
+
+<!-- ##### SECTION Long_Description ##### -->
+<para>
+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.
+</para>
+
+<!-- ##### SECTION See_Also ##### -->
+<para>
+#GtkFontSelectionDialog, #GtkColorButton.
+</para>
+
+<!-- ##### STRUCT GtkFontButton ##### -->
+<para>
+
+</para>
+
+
+<!-- ##### FUNCTION gtk_font_button_new ##### -->
+<para>
+
+</para>
+
+@Returns:
+
+
+<!-- ##### FUNCTION gtk_font_button_new_with_font ##### -->
+<para>
+
+</para>
+
+@fontname:
+@Returns:
+
+
+<!-- ##### FUNCTION gtk_font_button_set_font_name ##### -->
+<para>
+
+</para>
+
+@font_button:
+@fontname:
+@Returns:
+
+
+<!-- ##### FUNCTION gtk_font_button_get_font_name ##### -->
+<para>
+
+</para>
+
+@font_button:
+@Returns:
+
+
+<!-- ##### FUNCTION gtk_font_button_set_show_style ##### -->
+<para>
+
+</para>
+
+@font_button:
+@show_style:
+
+
+<!-- ##### FUNCTION gtk_font_button_get_show_style ##### -->
+<para>
+
+</para>
+
+@font_button:
+@Returns:
+
+
+<!-- ##### FUNCTION gtk_font_button_set_show_size ##### -->
+<para>
+
+</para>
+
+@font_button:
+@show_size:
+
+
+<!-- ##### FUNCTION gtk_font_button_get_show_size ##### -->
+<para>
+
+</para>
+
+@font_button:
+@Returns:
+
+
+<!-- ##### FUNCTION gtk_font_button_set_use_font ##### -->
+<para>
+
+</para>
+
+@font_button:
+@use_font:
+
+
+<!-- ##### FUNCTION gtk_font_button_get_use_font ##### -->
+<para>
+
+</para>
+
+@font_button:
+@Returns:
+
+
+<!-- ##### FUNCTION gtk_font_button_set_use_size ##### -->
+<para>
+
+</para>
+
+@font_button:
+@use_size:
+
+
+<!-- ##### FUNCTION gtk_font_button_get_use_size ##### -->
+<para>
+
+</para>
+
+@font_button:
+@Returns:
+
+
+<!-- ##### FUNCTION gtk_font_button_set_title ##### -->
+<para>
+
+</para>
+
+@font_button:
+@title:
+
+
+<!-- ##### FUNCTION gtk_font_button_get_title ##### -->
+<para>
+
+</para>
+
+@font_button:
+@Returns:
+
+
+<!-- ##### SIGNAL GtkFontButton::font-set ##### -->
+<para>
+
+</para>
+
+@fontbutton: the object which received the signal.
+
+<!-- ##### ARG GtkFontButton:font-name ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkFontButton:show-size ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkFontButton:show-style ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkFontButton:title ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkFontButton:use-font ##### -->
+<para>
+
+</para>
+
+<!-- ##### ARG GtkFontButton:use-size ##### -->
+<para>
+
+</para>
+