GR_WM_PROPERTIES

Name

GR_WM_PROPERTIES -- Window manager property configuration

Synopsis

typedef struct 
{
    GR_WM_PROPS     flags;
    GR_WM_PROPS     props;
    GR_CHAR        *title;
    GR_COLOR        background;
    GR_SIZE         bordersize;
    GR_COLOR        bordercolor;
} GR_WM_PROPERTIES;
  

Description

A GR_WM_PROPERTIES structure is used to set and get a window's window manager properties.

Fields

TypeNameDescription
GR_WM_PROPSflagsThese flags indicate which fields within this structure have significance when this structure is used with the function GrSetWMProperties(). NOTE: This variable has nothing in common with a GR_WM_PROPS type, except that it consumes the same amount of memory. See the table below for the meaning of the bits within this field.
GR_WM_PROPSpropsThe window manager property flags.
GR_CHAR *titleThe text that appears on the window title bar.
GR_COLORbackgroundThe color of the window background.
GR_SIZEbordersizeThe width of the window border.
GR_COLORbordercolorThe color of the window border.

Table 3-1. GR_WM_PROPERTIES Flags

ValueDescription
GR_WM_FLAGS_PROPSThe props field is set.
GR_WM_FLAGS_TITLEThe title field is set.
GR_WM_FLAGS_BACKGROUNDThe background field is set.
GR_WM_FLAGS_BORDERSIZEThe bordersize field is set.
GR_WM_FLAGS_BORDERCOLORThe bordercolor field is set.

See Also

GrSetWMProperties(), GrGetWMProperties(), GrSetWindowBackgroundColor(), GrSetWindowBorderSize(), GrSetWindowBorderColor(), GrSetWindowTitle().