fix docs for gtk_window_set_policy() to reflect existence of

2001-11-20  Havoc Pennington  <hp@pobox.com>

	* gtk/tmpl/gtkwindow.sgml: fix docs for gtk_window_set_policy() to
	reflect existence of gtk_window_set_resizable()
This commit is contained in:
Havoc Pennington 2001-11-21 03:08:56 +00:00 committed by Havoc Pennington
parent 9800f731e0
commit d5db986a0b
2 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2001-11-20 Havoc Pennington <hp@pobox.com>
* gtk/tmpl/gtkwindow.sgml: fix docs for gtk_window_set_policy() to
reflect existence of gtk_window_set_resizable()
2001-11-20 Matthias Clasen <matthiasc@poet.de>
* gdk/tmpl/event_structs.sgml: Small fixes.

View File

@ -74,11 +74,10 @@ be resized by users.
<para>
The basic ugly truth of this function is that it should be simply:
<programlisting>
void gtk_window_set_user_resizeable(GtkWidget* window, gboolean setting);
void gtk_window_set_resizable(GtkWidget* window, gboolean setting);
</programlisting>
So, pretend it is like that, and only use the two policies mentioned above.
GTK+ 1.4 may replace gtk_window_set_policy() with a nicer function like
gtk_window_set_user_resizeable().
...which is why GTK+ 2.0 introduces gtk_window_set_resizable(), which you
should use instead of gtk_window_set_policy().
</para>
<para>