carta
ggiWmhResize(3)

ggiWmhResize3

Moving and resizing windows

Part of ggiWmhMove(3).

Usage

int xmax,int ymax,int xstep,int ystep);

int ggiWmhMaximize(ggi_visual_t vis,int xperc,int yperc);

Overview

ggiWmhMove moves the window to the specified x, y position, where x,:p:y specifies the top-left corner.

ggiWmhGetPos returns the window position, whereas x, y specifies the top-left corner.

ggiWmhResize resizes the window, whereas x, y specifies the new width and height.

ggiWmhGetSize returns the window size, whereas x, y specifies the window width and height.

ggiWmhAllowResize enables the window attributes to allow resizing. xmin, ymin specifies the minimized window width and height. xmax, ymax specifies the maximized window width and height. xstep, ystep specifies the resizing steps.

ggiWmhMaximize maximizes the window. xperc is the horizontal percentage of the screen width and yperc is the vertical percentage of the screen height.

Return values

All six return 0 for success and an ggi-error(3) code on failure.

History

  • Debian 6.0 (Squeeze) to Debian 5.0 (Lenny): the text shown here
  • Debian 4.0 (Etch)

From libggiwmh0-dev 0.3.2-2 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.