| libfep-glib Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | ||||
typedef enum {
/* compatible with IBusAttrType */
FEP_G_ATTR_TYPE_UNDERLINE = 0,
FEP_G_ATTR_TYPE_FOREGROUND = 1,
FEP_G_ATTR_TYPE_BACKGROUND = 2,
/* libfep specific */
FEP_G_ATTR_TYPE_NONE = 3,
FEP_G_ATTR_TYPE_STANDOUT = 4,
FEP_G_ATTR_TYPE_BOLD = 5,
FEP_G_ATTR_TYPE_BLINK = 6
} FepGAttrType;
typedef enum {
/* compatible with IBusAttrUnderline */
FEP_G_ATTR_UNDERLINE_NONE = 0,
FEP_G_ATTR_UNDERLINE_SINGLE = 1,
FEP_G_ATTR_UNDERLINE_DOUBLE = 2,
FEP_G_ATTR_UNDERLINE_LOW = 3,
FEP_G_ATTR_UNDERLINE_ERROR = 4,
} FepGAttrUnderline;
typedef struct {
FepGAttrType type;
guint value;
guint start_index;
guint end_index;
} FepGAttribute;
FepGAttrType |
type of the attribute |
guint |
value of the attribute |
guint |
starting position of the attribute |
guint |
end position (exclusive) of the attribute |