| Goffice Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | ||||
GogText; GogTextClass; char * gog_text_get_str (GogText *text); #define GOG_TYPE_LABEL #define GOG_LABEL (o) #define GOG_IS_LABEL (o) GType gog_label_get_type (void); #define GOG_TYPE_REG_EQN #define GOG_REG_EQN (o) #define GOG_IS_REG_EQN (o) GType gog_reg_eqn_get_type (void);
GObject +----GogObject +----GogStyledObject +----GogOutlinedObject +----GogText +----GogLabel +----GogRegEqn
"allow-markup" gboolean : Read / Write "allow-wrap" gboolean : Read / Write "rotate-bg" gboolean : Read / Write "rotate-frame" gboolean : Read / Write
A text label for use in a graph. Can for instance be used as a title of a GogChart or GogGraph.
typedef struct {
GogOutlinedObjectClass base;
char *(*get_str) (GogText *text);
PangoAttrList *(*get_markup) (GogText *text);
} GogTextClass;
#define GOG_REG_EQN(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GOG_TYPE_REG_EQN, GogRegEqn))
|
"allow-markup" property"allow-markup" gboolean : Read / Write
Support basic html-ish markup.
Default value: FALSE
"allow-wrap" property"allow-wrap" gboolean : Read / Write
Whether the text might be displayed using several lines.
Default value: FALSE
"rotate-bg" property"rotate-bg" gboolean : Read / Write
Whether the background should be rotated with the text.
Default value: FALSE
"rotate-frame" property"rotate-frame" gboolean : Read / Write
Whether the frame should be rotated with the text.
Default value: FALSE