mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 03:10:09 +00:00
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:
parent
9800f731e0
commit
d5db986a0b
@ -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.
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user