Re: gtk_window_set_geometry_hints()
- From: Kevin Connor Arpe <kevinarpe gmail com>
- To: gtk-app-devel-list gnome org
- Subject: Re: gtk_window_set_geometry_hints()
- Date: Thu, 26 Jan 2017 23:47:21 +0800
Hello,
I did not see any replies to this message. Was it sent to the wrong
mailing list?
On Sun, Jan 22, 2017 at 10:26 PM, Kevin Connor Arpe <kevinarpe gmail com>
wrote:
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]