.TH "ggiWmhMove" 3 "2006-12-30" "libggiwmh-0.3.x" GGI .SH NAME \fBggiWmhMove\fR, \fBggiWmhGetPos\fR, \fBggiWmhResize\fR, \fBggiWmhGetSize\fR, \fBggiWmhAllowResize\fR, \fBggiWmhMaximize\fR : Moving and Resizing Windows .SH SYNOPSIS .nb .nf #include int ggiWmhMove(ggi_visual_t vis, int x, int y); int ggiWmhGetPos(ggi_visual_t vis, int *x, int *y); int ggiWmhResize(ggi_visual_t vis, int x, int y); int ggiWmhGetSize(ggi_visual_t vis, int *x, int *y); int ggiWmhAllowResize(ggi_visual_t vis,int xmin,int ymin, int xmax,int ymax,int xstep,int ystep); int ggiWmhMaximize(ggi_visual_t vis,int xperc,int yperc); .fi .SH DESCRIPTION \fBggiWmhMove\fR moves the window to the specified \fIx\fR, \fIy\fR position, where \fIx\fR,:p:\fBy\fR specifies the top-left corner. \fBggiWmhGetPos\fR returns the window position, whereas \fIx\fR, \fIy\fR specifies the top-left corner. \fBggiWmhResize\fR resizes the window, whereas \fIx\fR, \fIy\fR specifies the new width and height. \fBggiWmhGetSize\fR returns the window size, whereas \fIx\fR, \fIy\fR specifies the window width and height. \fBggiWmhAllowResize\fR enables the window attributes to allow resizing. \fIxmin\fR, \fIymin\fR specifies the minimized window width and height. \fIxmax\fR, \fIymax\fR specifies the maximized window width and height. \fIxstep\fR, \fIystep\fR specifies the resizing steps. \fBggiWmhMaximize\fR maximizes the window. \fIxperc\fR is the horizontal percentage of the screen width and \fIyperc\fR is the vertical percentage of the screen height. .SH RETURN VALUES All six return \fB0\fR for success and an \f(CWggi-error(3)\fR code on failure. .SH SEE ALSO \f(CWggiWmhSetTitle(3)\fR