![]() |
![]() |
![]() |
xmlroff Reference Manual | ![]() |
---|---|---|---|---|
FoText; FoTextClass; FoFo* fo_text_new (void); void fo_text_set_color (FoFo *fo_fo, FoProperty *new_color); FoProperty* fo_text_get_color (FoFo *fo_fo); void fo_text_set_font_family (FoFo *fo_fo, FoProperty *new_font_family); FoProperty* fo_text_get_font_family (FoFo *fo_fo); void fo_text_set_font_size (FoFo *fo_fo, FoProperty *new_font_size); FoProperty* fo_text_get_font_size (FoFo *fo_fo); void fo_text_set_font_stretch (FoFo *fo_fo, FoProperty *new_font_stretch); FoProperty* fo_text_get_font_stretch (FoFo *fo_fo); void fo_text_set_font_style (FoFo *fo_fo, FoProperty *new_font_style); FoProperty* fo_text_get_font_style (FoFo *fo_fo); void fo_text_set_font_variant (FoFo *fo_fo, FoProperty *new_font_variant); FoProperty* fo_text_get_font_variant (FoFo *fo_fo); void fo_text_set_font_weight (FoFo *fo_fo, FoProperty *new_font_weight); FoProperty* fo_text_get_font_weight (FoFo *fo_fo); void fo_text_set_score_spaces (FoFo *fo_fo, FoProperty *new_score_spaces); FoProperty* fo_text_get_score_spaces (FoFo *fo_fo); void fo_text_set_value (FoFo *fo_fo, const gchar *new_value); const gchar* fo_text_get_value (FoFo *fo_fo); gboolean fo_text_get_whitespace_only (FoFo *fo_fo);
"color" FoProperty* : Read "font-family" FoProperty* : Read "font-size" FoProperty* : Read "font-stretch" FoProperty* : Read "font-style" FoProperty* : Read "font-variant" FoProperty* : Read "font-weight" FoProperty* : Read "score-spaces" FoProperty* : Read "value" gchar* : Read "whitespace-only" gboolean : Read
FoFo* fo_text_new (void);
Creates a new FoText initialized to default value.
Returns : |
the new FoText |
void fo_text_set_color (FoFo *fo_fo, FoProperty *new_color);
Sets the color property of text
to new_color
|
The FoFo object
|
|
The new "color" property value |
FoProperty* fo_text_get_color (FoFo *fo_fo);
Gets the color property of text
|
The FoFo object
|
Returns : |
The "color" property value |
void fo_text_set_font_family (FoFo *fo_fo, FoProperty *new_font_family);
Sets the font-family property of text
to new_font_family
|
The FoFo object
|
|
The new "font-family" property value |
FoProperty* fo_text_get_font_family (FoFo *fo_fo);
Gets the font-family property of text
|
The FoFo object
|
Returns : |
The "font-family" property value |
void fo_text_set_font_size (FoFo *fo_fo, FoProperty *new_font_size);
Sets the font-size property of text
to new_font_size
|
The FoFo object
|
|
The new "font-size" property value |
FoProperty* fo_text_get_font_size (FoFo *fo_fo);
Gets the font-size property of text
|
The FoFo object
|
Returns : |
The "font-size" property value |
void fo_text_set_font_stretch (FoFo *fo_fo, FoProperty *new_font_stretch);
Sets the font-stretch property of text
to new_font_stretch
|
The FoFo object
|
|
The new "font-stretch" property value |
FoProperty* fo_text_get_font_stretch (FoFo *fo_fo);
Gets the font-stretch property of text
|
The FoFo object
|
Returns : |
The "font-stretch" property value |
void fo_text_set_font_style (FoFo *fo_fo, FoProperty *new_font_style);
Sets the font-style property of text
to new_font_style
|
The FoFo object
|
|
The new "font-style" property value |
FoProperty* fo_text_get_font_style (FoFo *fo_fo);
Gets the font-style property of text
|
The FoFo object
|
Returns : |
The "font-style" property value |
void fo_text_set_font_variant (FoFo *fo_fo, FoProperty *new_font_variant);
Sets the font-variant property of text
to new_font_variant
|
The FoFo object
|
|
The new "font-variant" property value |
FoProperty* fo_text_get_font_variant (FoFo *fo_fo);
Gets the font-variant property of text
|
The FoFo object
|
Returns : |
The "font-variant" property value |
void fo_text_set_font_weight (FoFo *fo_fo, FoProperty *new_font_weight);
Sets the font-weight property of text
to new_font_weight
|
The FoFo object
|
|
The new "font-weight" property value |
FoProperty* fo_text_get_font_weight (FoFo *fo_fo);
Gets the font-weight property of text
|
The FoFo object
|
Returns : |
The "font-weight" property value |
void fo_text_set_score_spaces (FoFo *fo_fo, FoProperty *new_score_spaces);
Sets the score-spaces property of text
to new_score_spaces
|
The FoFo object
|
|
The new "score-spaces" property value |
FoProperty* fo_text_get_score_spaces (FoFo *fo_fo);
Gets the score-spaces property of text
|
The FoFo object
|
Returns : |
The "score-spaces" property value |
void fo_text_set_value (FoFo *fo_fo, const gchar *new_value);
Sets the value property of fo_fo
to new_value
|
The FoText object |
|
The new "value" property value |
const gchar* fo_text_get_value (FoFo *fo_fo);
Gets the "value" property of fo_text
|
The FoText object |
Returns : |
The "value" property value |
"whitespace-only"
property"whitespace-only" gboolean : Read
Whether or not the text object contains only whitespace characters.
Default value: FALSE