NAME
XSetIconSizes − set the value of the XA_WM_ICON_SIZE property.
Synopsis
XSetIconSizes(display, w, size_list, count)
Display *display;
Window w;
XIconSize *size_list;
int count;
Arguments
displaySpecifies a connection to an X server; returned from XOpenDisplay().
wSpecifies the ID of the window whose icon size property is to be set. Normally the root window.
size_listSpecifies a pointer to the size list.
countSpecifies the number of items in the size list.
Description
XSetIconSizes() is normally used by a window manager to set the range of preferred icon sizes in the XA_WM_ICON_SIZE property of the root window. Applications can then read the property with XGetIconSizes().
Structures
typedef struct {
int min_width, min_height;
int max_width, max_height;
int width_inc, height_inc;
} XIconSize;
Errors
BadAlloc
BadWindow
See Also
XAllocIconSize(), XGetClassHint(), XGetIconSizes(), XGetNormalHints(), XGetSizeHints(), XGetTransientForHint(), XGetWMHints(), XGetZoomHints(), XSetClassHint(), XSetCommand(), XSetNormalHints(), XSetSizeHints(), XSetTransientForHint(), XSetWMHints(), XSetZoomHints(),
Copyright O’Reilly & Assoc. —