fo-property-background-color

fo-property-background-color —

Synopsis




enum        FoEnumBackgroundColor;
#define     FO_TYPE_ENUM_BACKGROUND_COLOR
struct      FoPropertyBackgroundColor;
struct      FoPropertyBackgroundColorClass;
GType       fo_property_background_color_get_type
                                            (void);
FoProperty* fo_property_background_color_new
                                            (void);
FoDatatype* fo_property_background_color_new_from_expression
                                            (const gchar *expression,
                                             FoContext *context,
                                             FoProperty *current_font_size,
                                             FoFo *fo_node,
                                             GError **error);
FoDatatype* fo_property_background_color_get_initial
                                            (void);
PangoAttribute* fo_property_background_color_new_attr
                                            (FoDatatype *datatype);

Description

Details

enum FoEnumBackgroundColor

typedef enum {
  FO_ENUM_BACKGROUND_COLOR_TRANSPARENT
} FoEnumBackgroundColor;


FO_TYPE_ENUM_BACKGROUND_COLOR

#define FO_TYPE_ENUM_BACKGROUND_COLOR fo_enum_background_color_get_type ()


struct FoPropertyBackgroundColor

struct FoPropertyBackgroundColor;

The FoPropertyBackgroundColor structure represents one instance of the 'background-color' property.


struct FoPropertyBackgroundColorClass

struct FoPropertyBackgroundColorClass;

The FoPropertyBackgroundColorClass structure represents the type of the 'background-color' XSL property.


fo_property_background_color_get_type ()

GType       fo_property_background_color_get_type
                                            (void);

Register the FoPropertyBackgroundColor type if not already registered and return its GType value.

Returns : GType of FoPropertyBackgroundColor.

fo_property_background_color_new ()

FoProperty* fo_property_background_color_new
                                            (void);

Creates a new FoPropertyBackgroundColor initialized to default value.

Returns : the new FoPropertyBackgroundColor.

fo_property_background_color_new_from_expression ()

FoDatatype* fo_property_background_color_new_from_expression
                                            (const gchar *expression,
                                             FoContext *context,
                                             FoProperty *current_font_size,
                                             FoFo *fo_node,
                                             GError **error);

expression :
context :
current_font_size :
fo_node :
error :
Returns :

fo_property_background_color_get_initial ()

FoDatatype* fo_property_background_color_get_initial
                                            (void);

Get an instance of the property with the correct initial value.

Returns an FoDatatype as part of ongoing test to see if FoProperty child types can be abstract or can be omitted.

Returns : An FoDatatype.

fo_property_background_color_new_attr ()

PangoAttribute* fo_property_background_color_new_attr
                                            (FoDatatype *datatype);

Makes a new PangoAttribute representing the current property.

datatype : FoDatatype from which to create a PangoAttribute.
Returns : New PangoAttribute.