remove trailer (gtk_entry_set_property): remove trailer

2001-03-07  Havoc Pennington  <hp@redhat.com>

	* gtk/gtkentry.c (gtk_entry_get_property): remove trailer
	(gtk_entry_set_property): remove trailer

	* gtk/gtkentry.c (gtk_entry_set_width_chars):
	(gtk_entry_get_width_chars): new functions, to set size request to
	a given number of characters

	* gtk/testgtk.c (create_dialog): beef up the dialog test slightly

	* gtk/gtkdialog.c (gtk_dialog_set_has_separator): new function
	(gtk_dialog_get_has_separator): new function
        (run_delete_handler): fix to not emit "response" signal
	because we already did in the delete event handler installed
	at dialog creation time.

	* gtk/gtkdialog.h: add a has_separator property,
	add GTK_DIALOG_NO_SEPARATOR flag
This commit is contained in:
Havoc Pennington
2001-03-07 21:32:51 +00:00
committed by Havoc Pennington
parent 9d1e2a1323
commit 29b902a481
16 changed files with 451 additions and 39 deletions

View File

@ -144,6 +144,7 @@ gtk_window_set_title(). See the #GtkWindow section for more).
@GTK_DIALOG_MODAL:
@GTK_DIALOG_DESTROY_WITH_PARENT:
@GTK_DIALOG_NO_SEPARATOR:
<!-- ##### ENUM GtkResponseType ##### -->
<para>
@ -246,3 +247,8 @@ was clicked.
@dialog: the object which received the signal.
@arg1: the response ID
<!-- ##### ARG GtkDialog:has-separator ##### -->
<para>
</para>

View File

@ -300,3 +300,8 @@ are visible or not. See gtk_entry_set_visibility().
</para>
<!-- ##### ARG GtkEntry:width-chars ##### -->
<para>
</para>