ggiWmhIconify(3)

ggiWmhIconify3

Modify icon handling

Usage

#include <ggi/wmh.>
int ggiWmhIconify      (ggi_visual_t vis,int icon);
int ggiWmhMoveIcon     (ggi_visual_t vis,int x,int y);
int ggiWmhSetIconTitle (ggi_visual_t vis, const char *title);

Overview

ggiWmhIconify switches the window into one of three different states according to the icon argument:

GGI_WMH_MAPSTATE_NORMAL: Normal state.

GGI_WMH_MAPSTATE_ICON: Iconified state.

GGI_WMH_MAPSTATE_WITHDRAWN: Withdrawn state (invisible).

ggiWmhMoveIcon moves the icon to the position, where x, y specifies the top-left icon corner.

ggiWmhSetIconTitle sets the name to be displayed in a window's icon.

Return value

All three functions return 0 for success, otherwise an ggi-error(3) code on failure.

Releases

3 releases since Debian 4.0 (Etch); the text changed 1 time.

  1. 4.0
  2. 5.0–6.0

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