summaryrefslogtreecommitdiff
path: root/gtk/gtkdialog.c
diff options
context:
space:
mode:
authorHavoc Pennington <hp@pobox.com>2001-09-08 19:33:06 +0000
committerHavoc Pennington <hp@src.gnome.org>2001-09-08 19:33:06 +0000
commit9ddcb3e07ec94a4526377d07e6f785e81d9166a0 (patch)
treefe22e908eba247683a67d6436b78f9bb67a5c61e /gtk/gtkdialog.c
parent9e1fc3a7babc6c6b611024a1856573ab12c65386 (diff)
downloadgtk+-9ddcb3e07ec94a4526377d07e6f785e81d9166a0.tar.gz
default xscale/yscale to 0.0, not 0.5, 0.5 isn't useful
2001-09-08 Havoc Pennington <hp@pobox.com> * gtk/gtkalignment.c (gtk_alignment_class_init): default xscale/yscale to 0.0, not 0.5, 0.5 isn't useful * tests/testtextbuffer.c: fix usage of gtk_text_iter_spew * gtk/gtktextiter.c: fix docs (gtk_text_iter_spew): get rid of this * gtk/gtklayout.c: docs * gtk/gtkbutton.c (gtk_button_construct_child): add an alignment to center image and label together, instead of having image on left and label centered, patch/suggestion from Jacob * gtk/gtkdialog.c: docs 2001-09-08 Havoc Pennington <hp@pobox.com> * gtk/tmpl/gtklayout.sgml: docs * gdk-pixbuf/gdk-pixbuf.sgml: remove the section on compiling gdk-pixbuf since it isn't a standalone package anymore * gtk/building.sgml: section on compiling GTK itself
Diffstat (limited to 'gtk/gtkdialog.c')
-rw-r--r--gtk/gtkdialog.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/gtk/gtkdialog.c b/gtk/gtkdialog.c
index 15398ce199..c758db0943 100644
--- a/gtk/gtkdialog.c
+++ b/gtk/gtkdialog.c
@@ -689,6 +689,15 @@ gtk_dialog_set_default_response (GtkDialog *dialog,
g_list_free (children);
}
+/**
+ * gtk_dialog_set_has_separator:
+ * @dialog: a #GtkDialog
+ * @setting: %TRUE to have a separator
+ *
+ * Sets whether the dialog has a separator above the buttons.
+ * %TRUE by default.
+ *
+ **/
void
gtk_dialog_set_has_separator (GtkDialog *dialog,
gboolean setting)
@@ -718,6 +727,14 @@ gtk_dialog_set_has_separator (GtkDialog *dialog,
g_object_notify (G_OBJECT (dialog), "has_separator");
}
+/**
+ * gtk_dialog_get_has_separator:
+ * @dialog: a #GtkDialog
+ *
+ * Accessor for whether the dialog has a separator.
+ *
+ * Return value: %TRUE if the dialog has a separator
+ **/
gboolean
gtk_dialog_get_has_separator (GtkDialog *dialog)
{