| Libcroco Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
CRStyleSheet; CRStyleSheet * cr_stylesheet_new (CRStatement *a_stmts); gchar * cr_stylesheet_to_string (CRStyleSheet const *a_this); void cr_stylesheet_dump (CRStyleSheet const *a_this,FILE *a_fp); gint cr_stylesheet_nr_rules (CRStyleSheet const *a_this); CRStatement * cr_stylesheet_statement_get_from_list (CRStyleSheet *a_this,int itemnr); void cr_stylesheet_ref (CRStyleSheet *a_this); gboolean cr_stylesheet_unref (CRStyleSheet *a_this); void cr_stylesheet_destroy (CRStyleSheet *a_this);
typedef struct {
/**The css statements list*/
CRStatement *statements ;
enum CRStyleOrigin origin ;
/*the parent import rule, if any.*/
CRStatement *parent_import_rule ;
/**custom data used by libcroco*/
gpointer croco_data ;
/**
*custom application data pointer
*Can be used by applications.
*/
gpointer app_data ;
/**
*the reference count of this insance
*Please, don't never ever modify it
*directly. Use cr_stylesheet_ref()
*and cr_stylesheet_unref() instead.
*/
gulong ref_count ;
} CRStyleSheet;
gchar * cr_stylesheet_to_string (CRStyleSheet const *a_this);
|
|
Returns : |
void cr_stylesheet_dump (CRStyleSheet const *a_this,FILE *a_fp);
|
|
|
gint cr_stylesheet_nr_rules (CRStyleSheet const *a_this);
|
|
Returns : |
CRStatement * cr_stylesheet_statement_get_from_list (CRStyleSheet *a_this,int itemnr);
|
|
|
|
Returns : |