gtk_window_set_resizable sets window to minimum

2019-09-12 03:36发布

问题:

I have a question like this. But it concern to answer. I mean that call like

gtk_window_set_default_size (GTK_WINDOW(window), width, height);
gtk_window_set_resizable (GTK_WINDOW(window), FALSE);

sets my window to tiniest one. Have you any idea?

Thanks.

Yury

回答1:

Try gtk_window_set_geometry_hints to set minimum size of window.



标签: c gcc window gtk