Method

GdkWindowresize

Declaration [src]

void
gdk_window_resize (
  GdkWindow* window,
  gint width,
  gint height
)

Description [src]

Resizes window; for toplevel windows, asks the window manager to resize the window. The window manager may not allow the resize. When using GTK+, use gtk_window_resize() instead of this low-level GDK function.

Windows may not be resized below 1x1.

If you’re also planning to move the window, use gdk_window_move_resize() to both move and resize simultaneously, for a nicer visual effect.

Parameters

width

Type: gint

New width of the window.

height

Type: gint

New height of the window.