gtk_window_set_geometry_hints()
- From: Kevin Connor Arpe <kevinarpe gmail com>
- To: gtk-app-devel-list gnome org
- Subject: gtk_window_set_geometry_hints()
- Date: Sun, 22 Jan 2017 22:26:46 +0800
Hello,
Reading the docs/source for v3.22 of gtk_window_set_geometry_hints()
shows...
Ref: https://git.gnome.org/browse/gtk+/tree/gtk/gtkwindow.c?h=gtk-3-22#n4019
Docs:
* @geometry_widget: (allow-none): widget the geometry hints used to be
applied to
* or %NULL. Since 3.20 this argument is ignored and GTK behaves as if
%NULL was
* set.
Code:
if (geometry_widget)
info->mask &= ~(GDK_HINT_BASE_SIZE | GDK_HINT_RESIZE_INC);
I am confused. It appears that 'geometry_widget' with non-NULL value will
change behaviour.
Can you please explain?
Kind regards,
Kevin Connor ARPE
Hongkong
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]