Window.setHints

Warning gdk_window_set_hints is deprecated and should not be used in newly-written code. This function is broken and useless and you should ignore it. If using GTK+, use functions such as gtk_window_resize(), gtk_window_set_size_request(), gtk_window_move(), gtk_window_parse_geometry(), and gtk_window_set_geometry_hints(), depending on what you're trying to do. If using GDK directly, use gdk_window_set_geometry_hints().

class Window
void
setHints
(
int x
,
int y
,,,,,
int flags
)

Parameters

x int

ignored field, does not matter

y int

ignored field, does not matter

minWidth int

minimum width hint

minHeight int

minimum height hint

maxWidth int

max width hint

maxHeight int

max height hint

flags int

logical OR of GDK_HINT_POS, GDK_HINT_MIN_SIZE, and/or GDK_HINT_MAX_SIZE

Meta