XSetIconSizes() XSetIconSizes()
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
display Specifies a connection to an X server; returned from XOpenDisplay().
w Specifies the ID of the window whose icon size property is to be set. Normally the root window.
size_list Specifies a pointer to the size list.
count Specifies 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(), XFetchName(), XGetClassHint(), XGetIconName(), XGetIconSizes(), XGetNormalHints(), XGetSizeHints(), XGetTransient-
ForHint(), XGetWMHints(), XGetZoomHints(), XSetClassHint(), XSetCommand(), XSetIconName(), XSetNormalHints(), XSetSizeHints(), XSetTran-
sientForHint(), XSetWMHints(), XSetZoomHints(), XStoreName().
Xlib - Window Manager Hints XSetIconSizes()