rsvg2 2.2.4-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README +35 -0
- data/Rakefile +69 -0
- data/ext/rsvg2/depend +6 -0
- data/ext/rsvg2/extconf.rb +89 -0
- data/ext/rsvg2/rbrsvg.c +206 -0
- data/ext/rsvg2/rbrsvgdimensiondata.c +194 -0
- data/ext/rsvg2/rbrsvghandle.c +496 -0
- data/ext/rsvg2/rsvg2.def +2 -0
- data/ext/rsvg2/rsvg2.h +70 -0
- data/extconf.rb +49 -0
- data/lib/2.0/rsvg2.so +0 -0
- data/lib/2.1/rsvg2.so +0 -0
- data/lib/2.2/rsvg2.so +0 -0
- data/lib/rsvg2.rb +33 -0
- data/sample/svg-viewer.rb +44 -0
- data/sample/svg2.rb +60 -0
- data/test/rsvg2-test-utils.rb +23 -0
- data/test/run-test.rb +49 -0
- data/test/test-handle.rb +91 -0
- data/vendor/local/bin/croco-0.6-config +87 -0
- data/vendor/local/bin/csslint-0.6.exe +0 -0
- data/vendor/local/bin/libcroco-0.6-3.dll +0 -0
- data/vendor/local/bin/librsvg-2-2.dll +0 -0
- data/vendor/local/bin/rsvg-convert.exe +0 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-additional-sel.h +98 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-attr-sel.h +74 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-cascade.h +74 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-declaration.h +136 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-doc-handler.h +298 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-enc-handler.h +94 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-fonts.h +315 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-input.h +174 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-num.h +127 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-om-parser.h +98 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-parser.h +128 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-parsing-location.h +70 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-prop-list.h +80 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-pseudo.h +64 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-rgb.h +94 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-sel-eng.h +110 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-selector.h +95 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-simple-sel.h +130 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-statement.h +440 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-string.h +76 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-style.h +339 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-stylesheet.h +102 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-term.h +190 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-tknzr.h +115 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-token.h +212 -0
- data/vendor/local/include/libcroco-0.6/libcroco/cr-utils.h +246 -0
- data/vendor/local/include/libcroco-0.6/libcroco/libcroco-config.h +17 -0
- data/vendor/local/include/libcroco-0.6/libcroco/libcroco.h +44 -0
- data/vendor/local/include/librsvg-2.0/librsvg/librsvg-enum-types.h +24 -0
- data/vendor/local/include/librsvg-2.0/librsvg/librsvg-features.h +28 -0
- data/vendor/local/include/librsvg-2.0/librsvg/rsvg-cairo.h +42 -0
- data/vendor/local/include/librsvg-2.0/librsvg/rsvg.h +264 -0
- data/vendor/local/lib/girepository-1.0/Rsvg-2.0.typelib +0 -0
- data/vendor/local/lib/libcroco-0.6.a +0 -0
- data/vendor/local/lib/libcroco-0.6.dll.a +0 -0
- data/vendor/local/lib/libcroco-0.6.la +41 -0
- data/vendor/local/lib/librsvg-2.a +0 -0
- data/vendor/local/lib/librsvg-2.dll.a +0 -0
- data/vendor/local/lib/librsvg-2.la +41 -0
- data/vendor/local/lib/pkgconfig/libcroco-0.6.pc +11 -0
- data/vendor/local/lib/pkgconfig/librsvg-2.0.pc +15 -0
- data/vendor/local/share/gir-1.0/Rsvg-2.0.gir +754 -0
- data/vendor/local/share/gtk-doc/html/libcroco/ch01.html +113 -0
- data/vendor/local/share/gtk-doc/html/libcroco/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/libcroco/index.html +109 -0
- data/vendor/local/share/gtk-doc/html/libcroco/index.sgml +582 -0
- data/vendor/local/share/gtk-doc/html/libcroco/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-additional-sel.html +337 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-attr-sel.html +203 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-cascade.html +240 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-declaration.html +642 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-doc-handler.html +517 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-enc-handler.html +164 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-fonts.html +670 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-input.html +1102 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-num.html +265 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-om-parser.html +380 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-parser.html +913 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-parsing-location.html +205 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-prop-list.html +421 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-pseudo.html +141 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-rgb.html +503 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-sel-eng.html +346 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-selector.html +246 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-simple-sel.html +240 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-statement.html +1408 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-string.html +137 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-style.html +384 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-stylesheet.html +158 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-term.html +304 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-tknzr.html +312 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-token.html +428 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-cr-utils.html +334 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco-libcroco-config.html +80 -0
- data/vendor/local/share/gtk-doc/html/libcroco/libcroco.devhelp2 +511 -0
- data/vendor/local/share/gtk-doc/html/libcroco/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/libcroco/style.css +266 -0
- data/vendor/local/share/gtk-doc/html/libcroco/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/RsvgHandle.html +1420 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/annotation-glossary.html +55 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-14.html +55 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-22.html +43 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-32.html +47 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-36.html +46 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-4.html +39 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-8.html +54 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-2-9.html +53 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-deprecated.html +100 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/api-index-full.html +323 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/index.html +88 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/index.sgml +106 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/licence.html +57 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/object-tree.html +38 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-2.0.devhelp2 +94 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-GIO.html +360 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-GdkPixbuf.html +484 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Using-RSVG-with-cairo.html +154 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg-Version-check-and-feature-tests.html +142 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/rsvg.html +57 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/style.css +476 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/rsvg-2.0/up.png +0 -0
- data/vendor/local/share/license/libcroco/AUTHORS +13 -0
- data/vendor/local/share/license/libcroco/COPYING +481 -0
- data/vendor/local/share/license/libcroco/COPYING.LIB +481 -0
- data/vendor/local/share/license/librsvg/AUTHORS +1 -0
- data/vendor/local/share/license/librsvg/COPYING +340 -0
- data/vendor/local/share/license/librsvg/COPYING.LIB +482 -0
- data/vendor/local/share/man/man1/rsvg-convert.1 +55 -0
- metadata +209 -0
@@ -0,0 +1,346 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
+
<title>cr-sel-eng</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
|
7
|
+
<link rel="home" href="index.html" title="Libcroco Reference Manual">
|
8
|
+
<link rel="up" href="ch01.html" title="Extensive APIs description">
|
9
|
+
<link rel="prev" href="libcroco-cr-rgb.html" title="cr-rgb">
|
10
|
+
<link rel="next" href="libcroco-cr-selector.html" title="cr-selector">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
|
12
|
+
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
+
</head>
|
14
|
+
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
|
16
|
+
<tr valign="middle">
|
17
|
+
<td><a accesskey="p" href="libcroco-cr-rgb.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
18
|
+
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
19
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
20
|
+
<th width="100%" align="center">Libcroco Reference Manual</th>
|
21
|
+
<td><a accesskey="n" href="libcroco-cr-selector.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
22
|
+
</tr>
|
23
|
+
<tr><td colspan="5" class="shortcuts">
|
24
|
+
<a href="#libcroco-cr-sel-eng.synopsis" class="shortcut">Top</a>
|
25
|
+
|
|
26
|
+
<a href="#libcroco-cr-sel-eng.description" class="shortcut">Description</a>
|
27
|
+
</td></tr>
|
28
|
+
</table>
|
29
|
+
<div class="refentry">
|
30
|
+
<a name="libcroco-cr-sel-eng"></a><div class="titlepage"></div>
|
31
|
+
<div class="refnamediv"><table width="100%"><tr>
|
32
|
+
<td valign="top">
|
33
|
+
<h2><span class="refentrytitle"><a name="libcroco-cr-sel-eng.top_of_page"></a>cr-sel-eng</span></h2>
|
34
|
+
<p>cr-sel-eng</p>
|
35
|
+
</td>
|
36
|
+
<td valign="top" align="right"></td>
|
37
|
+
</tr></table></div>
|
38
|
+
<div class="refsynopsisdiv">
|
39
|
+
<a name="libcroco-cr-sel-eng.synopsis"></a><h2>Synopsis</h2>
|
40
|
+
<pre class="synopsis"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> (<a class="link" href="libcroco-cr-sel-eng.html#CRPseudoClassSelectorHandler" title="CRPseudoClassSelectorHandler ()">*CRPseudoClassSelectorHandler</a>) (<em class="parameter"><code><a class="link" href="libcroco-cr-sel-eng.html#CRSelEng" title="struct CRSelEng"><span class="type">CRSelEng</span></a> *a_this</code></em>,
|
41
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-additional-sel.html#CRAdditionalSel" title="struct CRAdditionalSel"><span class="type">CRAdditionalSel</span></a> *a_add_sel</code></em>,
|
42
|
+
<em class="parameter"><code><span class="type">xmlNode</span> *a_node</code></em>);
|
43
|
+
struct <a class="link" href="libcroco-cr-sel-eng.html#CRSelEng" title="struct CRSelEng">CRSelEng</a>;
|
44
|
+
<a class="link" href="libcroco-cr-sel-eng.html#CRSelEngPriv" title="CRSelEngPriv">CRSelEngPriv</a>;
|
45
|
+
<span class="returnvalue">void</span> <a class="link" href="libcroco-cr-sel-eng.html#cr-sel-eng-destroy" title="cr_sel_eng_destroy ()">cr_sel_eng_destroy</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-sel-eng.html#CRSelEng" title="struct CRSelEng"><span class="type">CRSelEng</span></a> *a_this</code></em>);
|
46
|
+
enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-sel-eng.html#cr-sel-eng-get-matched-properties-from-cascade" title="cr_sel_eng_get_matched_properties_from_cascade ()">cr_sel_eng_get_matched_properties_from_cascade</a>
|
47
|
+
(<em class="parameter"><code><a class="link" href="libcroco-cr-sel-eng.html#CRSelEng" title="struct CRSelEng"><span class="type">CRSelEng</span></a> *a_this</code></em>,
|
48
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a> *a_cascade</code></em>,
|
49
|
+
<em class="parameter"><code><span class="type">xmlNode</span> *a_node</code></em>,
|
50
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="type">CRPropList</span></a> **a_props</code></em>);
|
51
|
+
enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-sel-eng.html#cr-sel-eng-get-matched-rulesets" title="cr_sel_eng_get_matched_rulesets ()">cr_sel_eng_get_matched_rulesets</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-sel-eng.html#CRSelEng" title="struct CRSelEng"><span class="type">CRSelEng</span></a> *a_this</code></em>,
|
52
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-statement.html#CRStyleSheet" title="CRStyleSheet"><span class="type">CRStyleSheet</span></a> *a_sheet</code></em>,
|
53
|
+
<em class="parameter"><code><span class="type">xmlNode</span> *a_node</code></em>,
|
54
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRStatement" title="CRStatement"><span class="type">CRStatement</span></a> ***a_rulesets</code></em>,
|
55
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> *a_len</code></em>);
|
56
|
+
enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-sel-eng.html#cr-sel-eng-get-matched-style" title="cr_sel_eng_get_matched_style ()">cr_sel_eng_get_matched_style</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-sel-eng.html#CRSelEng" title="struct CRSelEng"><span class="type">CRSelEng</span></a> *a_this</code></em>,
|
57
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a> *a_cascade</code></em>,
|
58
|
+
<em class="parameter"><code><span class="type">xmlNode</span> *a_node</code></em>,
|
59
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-style.html#CRStyle" title="struct CRStyle"><span class="type">CRStyle</span></a> *a_parent_style</code></em>,
|
60
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-style.html#CRStyle" title="struct CRStyle"><span class="type">CRStyle</span></a> **a_style</code></em>,
|
61
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> a_set_props_to_initial_values</code></em>);
|
62
|
+
enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-sel-eng.html#cr-sel-eng-get-pseudo-class-selector-handler" title="cr_sel_eng_get_pseudo_class_selector_handler ()">cr_sel_eng_get_pseudo_class_selector_handler</a>
|
63
|
+
(<em class="parameter"><code><a class="link" href="libcroco-cr-sel-eng.html#CRSelEng" title="struct CRSelEng"><span class="type">CRSelEng</span></a> *a_this</code></em>,
|
64
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *a_pseudo_class_sel_name</code></em>,
|
65
|
+
<em class="parameter"><code><span class="type">enum CRPseudoType</span> a_pseudo_class_type</code></em>,
|
66
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-sel-eng.html#CRPseudoClassSelectorHandler" title="CRPseudoClassSelectorHandler ()"><span class="type">CRPseudoClassSelectorHandler</span></a> *a_handler</code></em>);
|
67
|
+
enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-sel-eng.html#cr-sel-eng-matches-node" title="cr_sel_eng_matches_node ()">cr_sel_eng_matches_node</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-sel-eng.html#CRSelEng" title="struct CRSelEng"><span class="type">CRSelEng</span></a> *a_this</code></em>,
|
68
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-simple-sel.html#CRSimpleSel" title="struct CRSimpleSel"><span class="type">CRSimpleSel</span></a> *a_sel</code></em>,
|
69
|
+
<em class="parameter"><code><span class="type">xmlNode</span> *a_node</code></em>,
|
70
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> *a_result</code></em>);
|
71
|
+
<a class="link" href="libcroco-cr-sel-eng.html#CRSelEng" title="struct CRSelEng"><span class="returnvalue">CRSelEng</span></a> * <a class="link" href="libcroco-cr-sel-eng.html#cr-sel-eng-new" title="cr_sel_eng_new ()">cr_sel_eng_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
|
72
|
+
enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-sel-eng.html#cr-sel-eng-register-pseudo-class-sel-handler" title="cr_sel_eng_register_pseudo_class_sel_handler ()">cr_sel_eng_register_pseudo_class_sel_handler</a>
|
73
|
+
(<em class="parameter"><code><a class="link" href="libcroco-cr-sel-eng.html#CRSelEng" title="struct CRSelEng"><span class="type">CRSelEng</span></a> *a_this</code></em>,
|
74
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *a_pseudo_class_sel_name</code></em>,
|
75
|
+
<em class="parameter"><code><span class="type">enum CRPseudoType</span> a_pseudo_class_type</code></em>,
|
76
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-sel-eng.html#CRPseudoClassSelectorHandler" title="CRPseudoClassSelectorHandler ()"><span class="type">CRPseudoClassSelectorHandler</span></a> a_handler</code></em>);
|
77
|
+
enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-sel-eng.html#cr-sel-eng-unregister-all-pseudo-class-sel-handlers" title="cr_sel_eng_unregister_all_pseudo_class_sel_handlers ()">cr_sel_eng_unregister_all_pseudo_class_sel_handlers</a>
|
78
|
+
(<em class="parameter"><code><a class="link" href="libcroco-cr-sel-eng.html#CRSelEng" title="struct CRSelEng"><span class="type">CRSelEng</span></a> *a_this</code></em>);
|
79
|
+
enum <span class="returnvalue">CRStatus</span> <a class="link" href="libcroco-cr-sel-eng.html#cr-sel-eng-unregister-pseudo-class-sel-handler" title="cr_sel_eng_unregister_pseudo_class_sel_handler ()">cr_sel_eng_unregister_pseudo_class_sel_handler</a>
|
80
|
+
(<em class="parameter"><code><a class="link" href="libcroco-cr-sel-eng.html#CRSelEng" title="struct CRSelEng"><span class="type">CRSelEng</span></a> *a_this</code></em>,
|
81
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *a_pseudo_class_sel_name</code></em>,
|
82
|
+
<em class="parameter"><code><span class="type">enum CRPseudoType</span> a_pseudo_class_type</code></em>);
|
83
|
+
</pre>
|
84
|
+
</div>
|
85
|
+
<div class="refsect1">
|
86
|
+
<a name="libcroco-cr-sel-eng.description"></a><h2>Description</h2>
|
87
|
+
<p>
|
88
|
+
</p>
|
89
|
+
</div>
|
90
|
+
<div class="refsect1">
|
91
|
+
<a name="libcroco-cr-sel-eng.details"></a><h2>Details</h2>
|
92
|
+
<div class="refsect2">
|
93
|
+
<a name="CRPseudoClassSelectorHandler"></a><h3>CRPseudoClassSelectorHandler ()</h3>
|
94
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> (*CRPseudoClassSelectorHandler) (<em class="parameter"><code><a class="link" href="libcroco-cr-sel-eng.html#CRSelEng" title="struct CRSelEng"><span class="type">CRSelEng</span></a> *a_this</code></em>,
|
95
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-additional-sel.html#CRAdditionalSel" title="struct CRAdditionalSel"><span class="type">CRAdditionalSel</span></a> *a_add_sel</code></em>,
|
96
|
+
<em class="parameter"><code><span class="type">xmlNode</span> *a_node</code></em>);</pre>
|
97
|
+
<p>
|
98
|
+
</p>
|
99
|
+
</div>
|
100
|
+
<hr>
|
101
|
+
<div class="refsect2">
|
102
|
+
<a name="CRSelEng"></a><h3>struct CRSelEng</h3>
|
103
|
+
<pre class="programlisting">struct CRSelEng {
|
104
|
+
CRSelEngPriv *priv ;
|
105
|
+
};
|
106
|
+
</pre>
|
107
|
+
<p>
|
108
|
+
</p>
|
109
|
+
</div>
|
110
|
+
<hr>
|
111
|
+
<div class="refsect2">
|
112
|
+
<a name="CRSelEngPriv"></a><h3>CRSelEngPriv</h3>
|
113
|
+
<pre class="programlisting">typedef struct _CRSelEngPriv CRSelEngPriv;</pre>
|
114
|
+
<p>
|
115
|
+
</p>
|
116
|
+
</div>
|
117
|
+
<hr>
|
118
|
+
<div class="refsect2">
|
119
|
+
<a name="cr-sel-eng-destroy"></a><h3>cr_sel_eng_destroy ()</h3>
|
120
|
+
<pre class="programlisting"><span class="returnvalue">void</span> cr_sel_eng_destroy (<em class="parameter"><code><a class="link" href="libcroco-cr-sel-eng.html#CRSelEng" title="struct CRSelEng"><span class="type">CRSelEng</span></a> *a_this</code></em>);</pre>
|
121
|
+
<p>
|
122
|
+
The destructor of <a class="link" href="libcroco-cr-sel-eng.html#CRSelEng" title="struct CRSelEng"><span class="type">CRSelEng</span></a>
|
123
|
+
</p>
|
124
|
+
<div class="variablelist"><table border="0">
|
125
|
+
<col align="left" valign="top">
|
126
|
+
<tbody><tr>
|
127
|
+
<td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
|
128
|
+
<td>the current instance of the selection engine.</td>
|
129
|
+
</tr></tbody>
|
130
|
+
</table></div>
|
131
|
+
</div>
|
132
|
+
<hr>
|
133
|
+
<div class="refsect2">
|
134
|
+
<a name="cr-sel-eng-get-matched-properties-from-cascade"></a><h3>cr_sel_eng_get_matched_properties_from_cascade ()</h3>
|
135
|
+
<pre class="programlisting">enum <span class="returnvalue">CRStatus</span> cr_sel_eng_get_matched_properties_from_cascade
|
136
|
+
(<em class="parameter"><code><a class="link" href="libcroco-cr-sel-eng.html#CRSelEng" title="struct CRSelEng"><span class="type">CRSelEng</span></a> *a_this</code></em>,
|
137
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a> *a_cascade</code></em>,
|
138
|
+
<em class="parameter"><code><span class="type">xmlNode</span> *a_node</code></em>,
|
139
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-prop-list.html#CRPropList" title="struct CRPropList"><span class="type">CRPropList</span></a> **a_props</code></em>);</pre>
|
140
|
+
<p>
|
141
|
+
</p>
|
142
|
+
</div>
|
143
|
+
<hr>
|
144
|
+
<div class="refsect2">
|
145
|
+
<a name="cr-sel-eng-get-matched-rulesets"></a><h3>cr_sel_eng_get_matched_rulesets ()</h3>
|
146
|
+
<pre class="programlisting">enum <span class="returnvalue">CRStatus</span> cr_sel_eng_get_matched_rulesets (<em class="parameter"><code><a class="link" href="libcroco-cr-sel-eng.html#CRSelEng" title="struct CRSelEng"><span class="type">CRSelEng</span></a> *a_this</code></em>,
|
147
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-statement.html#CRStyleSheet" title="CRStyleSheet"><span class="type">CRStyleSheet</span></a> *a_sheet</code></em>,
|
148
|
+
<em class="parameter"><code><span class="type">xmlNode</span> *a_node</code></em>,
|
149
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-declaration.html#CRStatement" title="CRStatement"><span class="type">CRStatement</span></a> ***a_rulesets</code></em>,
|
150
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> *a_len</code></em>);</pre>
|
151
|
+
<p>
|
152
|
+
Returns an array of pointers to selectors that matches
|
153
|
+
the xml node given in parameter.
|
154
|
+
</p>
|
155
|
+
<div class="variablelist"><table border="0">
|
156
|
+
<col align="left" valign="top">
|
157
|
+
<tbody>
|
158
|
+
<tr>
|
159
|
+
<td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
|
160
|
+
<td>the current instance of the selection engine.</td>
|
161
|
+
</tr>
|
162
|
+
<tr>
|
163
|
+
<td><p><span class="term"><em class="parameter"><code>a_sheet</code></em> :</span></p></td>
|
164
|
+
<td>the stylesheet that holds the selectors.</td>
|
165
|
+
</tr>
|
166
|
+
<tr>
|
167
|
+
<td><p><span class="term"><em class="parameter"><code>a_node</code></em> :</span></p></td>
|
168
|
+
<td>the xml node to consider during the walk thru
|
169
|
+
the stylesheet.</td>
|
170
|
+
</tr>
|
171
|
+
<tr>
|
172
|
+
<td><p><span class="term"><em class="parameter"><code>a_rulesets</code></em> :</span></p></td>
|
173
|
+
<td>out parameter. A pointer to an array of
|
174
|
+
rulesets statement pointers. *a_rulesets is allocated by
|
175
|
+
this function and must be freed by the caller. However, the caller
|
176
|
+
must not alter the rulesets statements pointer because they
|
177
|
+
point to statements that are still in the css stylesheet.</td>
|
178
|
+
</tr>
|
179
|
+
<tr>
|
180
|
+
<td><p><span class="term"><em class="parameter"><code>a_len</code></em> :</span></p></td>
|
181
|
+
<td>the length of *a_ruleset.</td>
|
182
|
+
</tr>
|
183
|
+
<tr>
|
184
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
185
|
+
<td>CR_OK upon sucessfull completion, an error code otherwise.</td>
|
186
|
+
</tr>
|
187
|
+
</tbody>
|
188
|
+
</table></div>
|
189
|
+
</div>
|
190
|
+
<hr>
|
191
|
+
<div class="refsect2">
|
192
|
+
<a name="cr-sel-eng-get-matched-style"></a><h3>cr_sel_eng_get_matched_style ()</h3>
|
193
|
+
<pre class="programlisting">enum <span class="returnvalue">CRStatus</span> cr_sel_eng_get_matched_style (<em class="parameter"><code><a class="link" href="libcroco-cr-sel-eng.html#CRSelEng" title="struct CRSelEng"><span class="type">CRSelEng</span></a> *a_this</code></em>,
|
194
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-cascade.html#CRCascade" title="struct CRCascade"><span class="type">CRCascade</span></a> *a_cascade</code></em>,
|
195
|
+
<em class="parameter"><code><span class="type">xmlNode</span> *a_node</code></em>,
|
196
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-style.html#CRStyle" title="struct CRStyle"><span class="type">CRStyle</span></a> *a_parent_style</code></em>,
|
197
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-style.html#CRStyle" title="struct CRStyle"><span class="type">CRStyle</span></a> **a_style</code></em>,
|
198
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> a_set_props_to_initial_values</code></em>);</pre>
|
199
|
+
<p>
|
200
|
+
</p>
|
201
|
+
</div>
|
202
|
+
<hr>
|
203
|
+
<div class="refsect2">
|
204
|
+
<a name="cr-sel-eng-get-pseudo-class-selector-handler"></a><h3>cr_sel_eng_get_pseudo_class_selector_handler ()</h3>
|
205
|
+
<pre class="programlisting">enum <span class="returnvalue">CRStatus</span> cr_sel_eng_get_pseudo_class_selector_handler
|
206
|
+
(<em class="parameter"><code><a class="link" href="libcroco-cr-sel-eng.html#CRSelEng" title="struct CRSelEng"><span class="type">CRSelEng</span></a> *a_this</code></em>,
|
207
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *a_pseudo_class_sel_name</code></em>,
|
208
|
+
<em class="parameter"><code><span class="type">enum CRPseudoType</span> a_pseudo_class_type</code></em>,
|
209
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-sel-eng.html#CRPseudoClassSelectorHandler" title="CRPseudoClassSelectorHandler ()"><span class="type">CRPseudoClassSelectorHandler</span></a> *a_handler</code></em>);</pre>
|
210
|
+
<p>
|
211
|
+
</p>
|
212
|
+
</div>
|
213
|
+
<hr>
|
214
|
+
<div class="refsect2">
|
215
|
+
<a name="cr-sel-eng-matches-node"></a><h3>cr_sel_eng_matches_node ()</h3>
|
216
|
+
<pre class="programlisting">enum <span class="returnvalue">CRStatus</span> cr_sel_eng_matches_node (<em class="parameter"><code><a class="link" href="libcroco-cr-sel-eng.html#CRSelEng" title="struct CRSelEng"><span class="type">CRSelEng</span></a> *a_this</code></em>,
|
217
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-simple-sel.html#CRSimpleSel" title="struct CRSimpleSel"><span class="type">CRSimpleSel</span></a> *a_sel</code></em>,
|
218
|
+
<em class="parameter"><code><span class="type">xmlNode</span> *a_node</code></em>,
|
219
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> *a_result</code></em>);</pre>
|
220
|
+
<p>
|
221
|
+
Evaluates a chained list of simple selectors (known as a css2 selector).
|
222
|
+
Says wheter if this selector matches the xml node given in parameter or
|
223
|
+
not.
|
224
|
+
</p>
|
225
|
+
<div class="variablelist"><table border="0">
|
226
|
+
<col align="left" valign="top">
|
227
|
+
<tbody>
|
228
|
+
<tr>
|
229
|
+
<td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
|
230
|
+
<td>the selection engine.</td>
|
231
|
+
</tr>
|
232
|
+
<tr>
|
233
|
+
<td><p><span class="term"><em class="parameter"><code>a_sel</code></em> :</span></p></td>
|
234
|
+
<td>the simple selector against which the xml node
|
235
|
+
is going to be matched.</td>
|
236
|
+
</tr>
|
237
|
+
<tr>
|
238
|
+
<td><p><span class="term"><em class="parameter"><code>a_node</code></em> :</span></p></td>
|
239
|
+
<td>the node against which the selector is going to be matched.</td>
|
240
|
+
</tr>
|
241
|
+
<tr>
|
242
|
+
<td><p><span class="term"><em class="parameter"><code>a_result</code></em> :</span></p></td>
|
243
|
+
<td>out parameter. The result of the match. Is set to
|
244
|
+
TRUE if the selector matches the node, FALSE otherwise. This value
|
245
|
+
is considered if and only if this functions returns CR_OK.</td>
|
246
|
+
</tr>
|
247
|
+
<tr>
|
248
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
249
|
+
<td>the CR_OK if the selection ran correctly, an error code otherwise.</td>
|
250
|
+
</tr>
|
251
|
+
</tbody>
|
252
|
+
</table></div>
|
253
|
+
</div>
|
254
|
+
<hr>
|
255
|
+
<div class="refsect2">
|
256
|
+
<a name="cr-sel-eng-new"></a><h3>cr_sel_eng_new ()</h3>
|
257
|
+
<pre class="programlisting"><a class="link" href="libcroco-cr-sel-eng.html#CRSelEng" title="struct CRSelEng"><span class="returnvalue">CRSelEng</span></a> * cr_sel_eng_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
|
258
|
+
<div class="variablelist"><table border="0">
|
259
|
+
<col align="left" valign="top">
|
260
|
+
<tbody><tr>
|
261
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
262
|
+
<td>the newly built instance of <a class="link" href="libcroco-cr-sel-eng.html#CRSelEng" title="struct CRSelEng"><span class="type">CRSelEng</span></a> of
|
263
|
+
NULL if an error occurs.</td>
|
264
|
+
</tr></tbody>
|
265
|
+
</table></div>
|
266
|
+
</div>
|
267
|
+
<hr>
|
268
|
+
<div class="refsect2">
|
269
|
+
<a name="cr-sel-eng-register-pseudo-class-sel-handler"></a><h3>cr_sel_eng_register_pseudo_class_sel_handler ()</h3>
|
270
|
+
<pre class="programlisting">enum <span class="returnvalue">CRStatus</span> cr_sel_eng_register_pseudo_class_sel_handler
|
271
|
+
(<em class="parameter"><code><a class="link" href="libcroco-cr-sel-eng.html#CRSelEng" title="struct CRSelEng"><span class="type">CRSelEng</span></a> *a_this</code></em>,
|
272
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *a_pseudo_class_sel_name</code></em>,
|
273
|
+
<em class="parameter"><code><span class="type">enum CRPseudoType</span> a_pseudo_class_type</code></em>,
|
274
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-sel-eng.html#CRPseudoClassSelectorHandler" title="CRPseudoClassSelectorHandler ()"><span class="type">CRPseudoClassSelectorHandler</span></a> a_handler</code></em>);</pre>
|
275
|
+
<p>
|
276
|
+
Adds a new handler entry in the handlers entry table.
|
277
|
+
</p>
|
278
|
+
<div class="variablelist"><table border="0">
|
279
|
+
<col align="left" valign="top">
|
280
|
+
<tbody>
|
281
|
+
<tr>
|
282
|
+
<td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
|
283
|
+
<td>the current instance of <a class="link" href="libcroco-cr-sel-eng.html#CRSelEng" title="struct CRSelEng"><span class="type">CRSelEng</span></a>
|
284
|
+
</td>
|
285
|
+
</tr>
|
286
|
+
<tr>
|
287
|
+
<td><p><span class="term"><em class="parameter"><code>a_pseudo_class_sel_name</code></em> :</span></p></td>
|
288
|
+
<td>the name of the pseudo class selector.</td>
|
289
|
+
</tr>
|
290
|
+
<tr>
|
291
|
+
<td><p><span class="term"><em class="parameter"><code>a_pseudo_class_type</code></em> :</span></p></td>
|
292
|
+
<td>the type of the pseudo class selector.</td>
|
293
|
+
</tr>
|
294
|
+
<tr>
|
295
|
+
<td><p><span class="term"><em class="parameter"><code>a_handler</code></em> :</span></p></td>
|
296
|
+
<td>the actual handler or callback to be called during
|
297
|
+
the selector evaluation process.</td>
|
298
|
+
</tr>
|
299
|
+
<tr>
|
300
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
301
|
+
<td>CR_OK, upon successful completion, an error code otherwise.</td>
|
302
|
+
</tr>
|
303
|
+
</tbody>
|
304
|
+
</table></div>
|
305
|
+
</div>
|
306
|
+
<hr>
|
307
|
+
<div class="refsect2">
|
308
|
+
<a name="cr-sel-eng-unregister-all-pseudo-class-sel-handlers"></a><h3>cr_sel_eng_unregister_all_pseudo_class_sel_handlers ()</h3>
|
309
|
+
<pre class="programlisting">enum <span class="returnvalue">CRStatus</span> cr_sel_eng_unregister_all_pseudo_class_sel_handlers
|
310
|
+
(<em class="parameter"><code><a class="link" href="libcroco-cr-sel-eng.html#CRSelEng" title="struct CRSelEng"><span class="type">CRSelEng</span></a> *a_this</code></em>);</pre>
|
311
|
+
<p>
|
312
|
+
Unregisters all the pseudo class sel handlers
|
313
|
+
and frees all the associated allocated datastructures.
|
314
|
+
</p>
|
315
|
+
<div class="variablelist"><table border="0">
|
316
|
+
<col align="left" valign="top">
|
317
|
+
<tbody>
|
318
|
+
<tr>
|
319
|
+
<td><p><span class="term"><em class="parameter"><code>a_this</code></em> :</span></p></td>
|
320
|
+
<td>the current instance of <a class="link" href="libcroco-cr-sel-eng.html#CRSelEng" title="struct CRSelEng"><span class="type">CRSelEng</span></a> .</td>
|
321
|
+
</tr>
|
322
|
+
<tr>
|
323
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
324
|
+
<td>CR_OK upon succesful completion, an error code
|
325
|
+
otherwise.</td>
|
326
|
+
</tr>
|
327
|
+
</tbody>
|
328
|
+
</table></div>
|
329
|
+
</div>
|
330
|
+
<hr>
|
331
|
+
<div class="refsect2">
|
332
|
+
<a name="cr-sel-eng-unregister-pseudo-class-sel-handler"></a><h3>cr_sel_eng_unregister_pseudo_class_sel_handler ()</h3>
|
333
|
+
<pre class="programlisting">enum <span class="returnvalue">CRStatus</span> cr_sel_eng_unregister_pseudo_class_sel_handler
|
334
|
+
(<em class="parameter"><code><a class="link" href="libcroco-cr-sel-eng.html#CRSelEng" title="struct CRSelEng"><span class="type">CRSelEng</span></a> *a_this</code></em>,
|
335
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *a_pseudo_class_sel_name</code></em>,
|
336
|
+
<em class="parameter"><code><span class="type">enum CRPseudoType</span> a_pseudo_class_type</code></em>);</pre>
|
337
|
+
<p>
|
338
|
+
</p>
|
339
|
+
</div>
|
340
|
+
</div>
|
341
|
+
</div>
|
342
|
+
<div class="footer">
|
343
|
+
<hr>
|
344
|
+
Generated by GTK-Doc V1.18</div>
|
345
|
+
</body>
|
346
|
+
</html>
|
@@ -0,0 +1,246 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
+
<title>cr-selector</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
|
7
|
+
<link rel="home" href="index.html" title="Libcroco Reference Manual">
|
8
|
+
<link rel="up" href="ch01.html" title="Extensive APIs description">
|
9
|
+
<link rel="prev" href="libcroco-cr-sel-eng.html" title="cr-sel-eng">
|
10
|
+
<link rel="next" href="libcroco-cr-simple-sel.html" title="cr-simple-sel">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
|
12
|
+
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
+
</head>
|
14
|
+
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
|
16
|
+
<tr valign="middle">
|
17
|
+
<td><a accesskey="p" href="libcroco-cr-sel-eng.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
18
|
+
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
19
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
20
|
+
<th width="100%" align="center">Libcroco Reference Manual</th>
|
21
|
+
<td><a accesskey="n" href="libcroco-cr-simple-sel.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
22
|
+
</tr>
|
23
|
+
<tr><td colspan="5" class="shortcuts">
|
24
|
+
<a href="#libcroco-cr-selector.synopsis" class="shortcut">Top</a>
|
25
|
+
|
|
26
|
+
<a href="#libcroco-cr-selector.description" class="shortcut">Description</a>
|
27
|
+
</td></tr>
|
28
|
+
</table>
|
29
|
+
<div class="refentry">
|
30
|
+
<a name="libcroco-cr-selector"></a><div class="titlepage"></div>
|
31
|
+
<div class="refnamediv"><table width="100%"><tr>
|
32
|
+
<td valign="top">
|
33
|
+
<h2><span class="refentrytitle"><a name="libcroco-cr-selector.top_of_page"></a>cr-selector</span></h2>
|
34
|
+
<p>cr-selector</p>
|
35
|
+
</td>
|
36
|
+
<td valign="top" align="right"></td>
|
37
|
+
</tr></table></div>
|
38
|
+
<div class="refsynopsisdiv">
|
39
|
+
<a name="libcroco-cr-selector.synopsis"></a><h2>Synopsis</h2>
|
40
|
+
<pre class="synopsis">struct <a class="link" href="libcroco-cr-selector.html#CRSelector" title="struct CRSelector">CRSelector</a>;
|
41
|
+
<a class="link" href="libcroco-cr-selector.html#CRSelector" title="struct CRSelector"><span class="returnvalue">CRSelector</span></a> * <a class="link" href="libcroco-cr-selector.html#cr-selector-append" title="cr_selector_append ()">cr_selector_append</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-selector.html#CRSelector" title="struct CRSelector"><span class="type">CRSelector</span></a> *a_this</code></em>,
|
42
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-selector.html#CRSelector" title="struct CRSelector"><span class="type">CRSelector</span></a> *a_new</code></em>);
|
43
|
+
<a class="link" href="libcroco-cr-selector.html#CRSelector" title="struct CRSelector"><span class="returnvalue">CRSelector</span></a> * <a class="link" href="libcroco-cr-selector.html#cr-selector-append-simple-sel" title="cr_selector_append_simple_sel ()">cr_selector_append_simple_sel</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-selector.html#CRSelector" title="struct CRSelector"><span class="type">CRSelector</span></a> *a_this</code></em>,
|
44
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-simple-sel.html#CRSimpleSel" title="struct CRSimpleSel"><span class="type">CRSimpleSel</span></a> *a_simple_sel</code></em>);
|
45
|
+
<span class="returnvalue">void</span> <a class="link" href="libcroco-cr-selector.html#cr-selector-destroy" title="cr_selector_destroy ()">cr_selector_destroy</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-selector.html#CRSelector" title="struct CRSelector"><span class="type">CRSelector</span></a> *a_this</code></em>);
|
46
|
+
<span class="returnvalue">void</span> <a class="link" href="libcroco-cr-selector.html#cr-selector-dump" title="cr_selector_dump ()">cr_selector_dump</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-selector.html#CRSelector" title="struct CRSelector"><span class="type">CRSelector</span></a> const *a_this</code></em>,
|
47
|
+
<em class="parameter"><code><span class="type">FILE</span> *a_fp</code></em>);
|
48
|
+
<a class="link" href="libcroco-cr-selector.html#CRSelector" title="struct CRSelector"><span class="returnvalue">CRSelector</span></a> * <a class="link" href="libcroco-cr-selector.html#cr-selector-new" title="cr_selector_new ()">cr_selector_new</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-simple-sel.html#CRSimpleSel" title="struct CRSimpleSel"><span class="type">CRSimpleSel</span></a> *a_sel_expr</code></em>);
|
49
|
+
<a class="link" href="libcroco-cr-selector.html#CRSelector" title="struct CRSelector"><span class="returnvalue">CRSelector</span></a> * <a class="link" href="libcroco-cr-selector.html#cr-selector-parse-from-buf" title="cr_selector_parse_from_buf ()">cr_selector_parse_from_buf</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *a_char_buf</code></em>,
|
50
|
+
<em class="parameter"><code><span class="type">enum CREncoding</span> a_enc</code></em>);
|
51
|
+
<a class="link" href="libcroco-cr-selector.html#CRSelector" title="struct CRSelector"><span class="returnvalue">CRSelector</span></a> * <a class="link" href="libcroco-cr-selector.html#cr-selector-prepend" title="cr_selector_prepend ()">cr_selector_prepend</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-selector.html#CRSelector" title="struct CRSelector"><span class="type">CRSelector</span></a> *a_this</code></em>,
|
52
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-selector.html#CRSelector" title="struct CRSelector"><span class="type">CRSelector</span></a> *a_new</code></em>);
|
53
|
+
<span class="returnvalue">void</span> <a class="link" href="libcroco-cr-selector.html#cr-selector-ref" title="cr_selector_ref ()">cr_selector_ref</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-selector.html#CRSelector" title="struct CRSelector"><span class="type">CRSelector</span></a> *a_this</code></em>);
|
54
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="returnvalue">guchar</span></a> * <a class="link" href="libcroco-cr-selector.html#cr-selector-to-string" title="cr_selector_to_string ()">cr_selector_to_string</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-selector.html#CRSelector" title="struct CRSelector"><span class="type">CRSelector</span></a> const *a_this</code></em>);
|
55
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libcroco-cr-selector.html#cr-selector-unref" title="cr_selector_unref ()">cr_selector_unref</a> (<em class="parameter"><code><a class="link" href="libcroco-cr-selector.html#CRSelector" title="struct CRSelector"><span class="type">CRSelector</span></a> *a_this</code></em>);
|
56
|
+
</pre>
|
57
|
+
</div>
|
58
|
+
<div class="refsect1">
|
59
|
+
<a name="libcroco-cr-selector.description"></a><h2>Description</h2>
|
60
|
+
<p>
|
61
|
+
</p>
|
62
|
+
</div>
|
63
|
+
<div class="refsect1">
|
64
|
+
<a name="libcroco-cr-selector.details"></a><h2>Details</h2>
|
65
|
+
<div class="refsect2">
|
66
|
+
<a name="CRSelector"></a><h3>struct CRSelector</h3>
|
67
|
+
<pre class="programlisting">struct CRSelector {
|
68
|
+
/**
|
69
|
+
*A Selection expression.
|
70
|
+
*It is a list of basic selectors.
|
71
|
+
*Each basic selector can be either an element
|
72
|
+
*selector, an id selector, a class selector, an
|
73
|
+
*attribute selector, an universal selector etc ...
|
74
|
+
*/
|
75
|
+
CRSimpleSel *simple_sel ;
|
76
|
+
|
77
|
+
/**The next selector list element*/
|
78
|
+
CRSelector *next ;
|
79
|
+
CRSelector *prev ;
|
80
|
+
CRParsingLocation location ;
|
81
|
+
glong ref_count ;
|
82
|
+
};
|
83
|
+
</pre>
|
84
|
+
<p>
|
85
|
+
</p>
|
86
|
+
</div>
|
87
|
+
<hr>
|
88
|
+
<div class="refsect2">
|
89
|
+
<a name="cr-selector-append"></a><h3>cr_selector_append ()</h3>
|
90
|
+
<pre class="programlisting"><a class="link" href="libcroco-cr-selector.html#CRSelector" title="struct CRSelector"><span class="returnvalue">CRSelector</span></a> * cr_selector_append (<em class="parameter"><code><a class="link" href="libcroco-cr-selector.html#CRSelector" title="struct CRSelector"><span class="type">CRSelector</span></a> *a_this</code></em>,
|
91
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-selector.html#CRSelector" title="struct CRSelector"><span class="type">CRSelector</span></a> *a_new</code></em>);</pre>
|
92
|
+
<p>
|
93
|
+
<em class="parameter"><code>a_this</code></em>: the current instance of <a class="link" href="libcroco-cr-selector.html#CRSelector" title="struct CRSelector"><span class="type">CRSelector</span></a>.
|
94
|
+
<em class="parameter"><code>a_new</code></em>: the instance of <a class="link" href="libcroco-cr-selector.html#CRSelector" title="struct CRSelector"><span class="type">CRSelector</span></a> to be appended.
|
95
|
+
</p>
|
96
|
+
<p>
|
97
|
+
Appends a new instance of <a class="link" href="libcroco-cr-selector.html#CRSelector" title="struct CRSelector"><span class="type">CRSelector</span></a> to the current selector list.
|
98
|
+
</p>
|
99
|
+
<div class="variablelist"><table border="0">
|
100
|
+
<col align="left" valign="top">
|
101
|
+
<tbody><tr>
|
102
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
103
|
+
<td>the new list.</td>
|
104
|
+
</tr></tbody>
|
105
|
+
</table></div>
|
106
|
+
</div>
|
107
|
+
<hr>
|
108
|
+
<div class="refsect2">
|
109
|
+
<a name="cr-selector-append-simple-sel"></a><h3>cr_selector_append_simple_sel ()</h3>
|
110
|
+
<pre class="programlisting"><a class="link" href="libcroco-cr-selector.html#CRSelector" title="struct CRSelector"><span class="returnvalue">CRSelector</span></a> * cr_selector_append_simple_sel (<em class="parameter"><code><a class="link" href="libcroco-cr-selector.html#CRSelector" title="struct CRSelector"><span class="type">CRSelector</span></a> *a_this</code></em>,
|
111
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-simple-sel.html#CRSimpleSel" title="struct CRSimpleSel"><span class="type">CRSimpleSel</span></a> *a_simple_sel</code></em>);</pre>
|
112
|
+
<p>
|
113
|
+
<em class="parameter"><code>a_this</code></em>: the current instance of <a class="link" href="libcroco-cr-selector.html#CRSelector" title="struct CRSelector"><span class="type">CRSelector</span></a>.
|
114
|
+
<em class="parameter"><code>a_simple_sel</code></em>: the simple selector to append.
|
115
|
+
</p>
|
116
|
+
<p>
|
117
|
+
append a simple selector to the current <a class="link" href="libcroco-cr-selector.html#CRSelector" title="struct CRSelector"><span class="type">CRSelector</span></a> list.
|
118
|
+
</p>
|
119
|
+
<div class="variablelist"><table border="0">
|
120
|
+
<col align="left" valign="top">
|
121
|
+
<tbody><tr>
|
122
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
123
|
+
<td>the new list or NULL in case of failure.</td>
|
124
|
+
</tr></tbody>
|
125
|
+
</table></div>
|
126
|
+
</div>
|
127
|
+
<hr>
|
128
|
+
<div class="refsect2">
|
129
|
+
<a name="cr-selector-destroy"></a><h3>cr_selector_destroy ()</h3>
|
130
|
+
<pre class="programlisting"><span class="returnvalue">void</span> cr_selector_destroy (<em class="parameter"><code><a class="link" href="libcroco-cr-selector.html#CRSelector" title="struct CRSelector"><span class="type">CRSelector</span></a> *a_this</code></em>);</pre>
|
131
|
+
<p>
|
132
|
+
<em class="parameter"><code>a_this</code></em>: the current instance of <a class="link" href="libcroco-cr-selector.html#CRSelector" title="struct CRSelector"><span class="type">CRSelector</span></a>.
|
133
|
+
</p>
|
134
|
+
<p>
|
135
|
+
Destroys the selector list.
|
136
|
+
</p>
|
137
|
+
</div>
|
138
|
+
<hr>
|
139
|
+
<div class="refsect2">
|
140
|
+
<a name="cr-selector-dump"></a><h3>cr_selector_dump ()</h3>
|
141
|
+
<pre class="programlisting"><span class="returnvalue">void</span> cr_selector_dump (<em class="parameter"><code><a class="link" href="libcroco-cr-selector.html#CRSelector" title="struct CRSelector"><span class="type">CRSelector</span></a> const *a_this</code></em>,
|
142
|
+
<em class="parameter"><code><span class="type">FILE</span> *a_fp</code></em>);</pre>
|
143
|
+
<p>
|
144
|
+
<em class="parameter"><code>a_this</code></em>: the current instance of <a class="link" href="libcroco-cr-selector.html#CRSelector" title="struct CRSelector"><span class="type">CRSelector</span></a>.
|
145
|
+
<em class="parameter"><code>a_fp</code></em>: the destination file.
|
146
|
+
</p>
|
147
|
+
<p>
|
148
|
+
Serializes the current instance of <a class="link" href="libcroco-cr-selector.html#CRSelector" title="struct CRSelector"><span class="type">CRSelector</span></a> to a file.
|
149
|
+
</p>
|
150
|
+
</div>
|
151
|
+
<hr>
|
152
|
+
<div class="refsect2">
|
153
|
+
<a name="cr-selector-new"></a><h3>cr_selector_new ()</h3>
|
154
|
+
<pre class="programlisting"><a class="link" href="libcroco-cr-selector.html#CRSelector" title="struct CRSelector"><span class="returnvalue">CRSelector</span></a> * cr_selector_new (<em class="parameter"><code><a class="link" href="libcroco-cr-simple-sel.html#CRSimpleSel" title="struct CRSimpleSel"><span class="type">CRSimpleSel</span></a> *a_sel_expr</code></em>);</pre>
|
155
|
+
<p>
|
156
|
+
<em class="parameter"><code>a_simple_sel</code></em>: the initial simple selector list
|
157
|
+
of the current instance of <a class="link" href="libcroco-cr-selector.html#CRSelector" title="struct CRSelector"><span class="type">CRSelector</span></a>.
|
158
|
+
</p>
|
159
|
+
<p>
|
160
|
+
Creates a new instance of <a class="link" href="libcroco-cr-selector.html#CRSelector" title="struct CRSelector"><span class="type">CRSelector</span></a>.
|
161
|
+
</p>
|
162
|
+
<div class="variablelist"><table border="0">
|
163
|
+
<col align="left" valign="top">
|
164
|
+
<tbody><tr>
|
165
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
166
|
+
<td>the newly built instance of <a class="link" href="libcroco-cr-selector.html#CRSelector" title="struct CRSelector"><span class="type">CRSelector</span></a>, or
|
167
|
+
NULL in case of failure.</td>
|
168
|
+
</tr></tbody>
|
169
|
+
</table></div>
|
170
|
+
</div>
|
171
|
+
<hr>
|
172
|
+
<div class="refsect2">
|
173
|
+
<a name="cr-selector-parse-from-buf"></a><h3>cr_selector_parse_from_buf ()</h3>
|
174
|
+
<pre class="programlisting"><a class="link" href="libcroco-cr-selector.html#CRSelector" title="struct CRSelector"><span class="returnvalue">CRSelector</span></a> * cr_selector_parse_from_buf (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *a_char_buf</code></em>,
|
175
|
+
<em class="parameter"><code><span class="type">enum CREncoding</span> a_enc</code></em>);</pre>
|
176
|
+
<p>
|
177
|
+
</p>
|
178
|
+
</div>
|
179
|
+
<hr>
|
180
|
+
<div class="refsect2">
|
181
|
+
<a name="cr-selector-prepend"></a><h3>cr_selector_prepend ()</h3>
|
182
|
+
<pre class="programlisting"><a class="link" href="libcroco-cr-selector.html#CRSelector" title="struct CRSelector"><span class="returnvalue">CRSelector</span></a> * cr_selector_prepend (<em class="parameter"><code><a class="link" href="libcroco-cr-selector.html#CRSelector" title="struct CRSelector"><span class="type">CRSelector</span></a> *a_this</code></em>,
|
183
|
+
<em class="parameter"><code><a class="link" href="libcroco-cr-selector.html#CRSelector" title="struct CRSelector"><span class="type">CRSelector</span></a> *a_new</code></em>);</pre>
|
184
|
+
<p>
|
185
|
+
<em class="parameter"><code>a_this</code></em>: the current instance of <a class="link" href="libcroco-cr-selector.html#CRSelector" title="struct CRSelector"><span class="type">CRSelector</span></a> list.
|
186
|
+
<em class="parameter"><code>a_new</code></em>: the instance of <a class="link" href="libcroco-cr-selector.html#CRSelector" title="struct CRSelector"><span class="type">CRSelector</span></a>.
|
187
|
+
</p>
|
188
|
+
<p>
|
189
|
+
Prepends an element to the <a class="link" href="libcroco-cr-selector.html#CRSelector" title="struct CRSelector"><span class="type">CRSelector</span></a> list.
|
190
|
+
</p>
|
191
|
+
<div class="variablelist"><table border="0">
|
192
|
+
<col align="left" valign="top">
|
193
|
+
<tbody><tr>
|
194
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
195
|
+
<td>the new list.</td>
|
196
|
+
</tr></tbody>
|
197
|
+
</table></div>
|
198
|
+
</div>
|
199
|
+
<hr>
|
200
|
+
<div class="refsect2">
|
201
|
+
<a name="cr-selector-ref"></a><h3>cr_selector_ref ()</h3>
|
202
|
+
<pre class="programlisting"><span class="returnvalue">void</span> cr_selector_ref (<em class="parameter"><code><a class="link" href="libcroco-cr-selector.html#CRSelector" title="struct CRSelector"><span class="type">CRSelector</span></a> *a_this</code></em>);</pre>
|
203
|
+
<p>
|
204
|
+
<em class="parameter"><code>a_this</code></em>: the current instance of <a class="link" href="libcroco-cr-selector.html#CRSelector" title="struct CRSelector"><span class="type">CRSelector</span></a>.
|
205
|
+
</p>
|
206
|
+
<p>
|
207
|
+
Increments the ref count of the current instance
|
208
|
+
of <a class="link" href="libcroco-cr-selector.html#CRSelector" title="struct CRSelector"><span class="type">CRSelector</span></a>.
|
209
|
+
</p>
|
210
|
+
</div>
|
211
|
+
<hr>
|
212
|
+
<div class="refsect2">
|
213
|
+
<a name="cr-selector-to-string"></a><h3>cr_selector_to_string ()</h3>
|
214
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="returnvalue">guchar</span></a> * cr_selector_to_string (<em class="parameter"><code><a class="link" href="libcroco-cr-selector.html#CRSelector" title="struct CRSelector"><span class="type">CRSelector</span></a> const *a_this</code></em>);</pre>
|
215
|
+
<p>
|
216
|
+
</p>
|
217
|
+
</div>
|
218
|
+
<hr>
|
219
|
+
<div class="refsect2">
|
220
|
+
<a name="cr-selector-unref"></a><h3>cr_selector_unref ()</h3>
|
221
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> cr_selector_unref (<em class="parameter"><code><a class="link" href="libcroco-cr-selector.html#CRSelector" title="struct CRSelector"><span class="type">CRSelector</span></a> *a_this</code></em>);</pre>
|
222
|
+
<p>
|
223
|
+
<em class="parameter"><code>a_this</code></em>: the current instance of <a class="link" href="libcroco-cr-selector.html#CRSelector" title="struct CRSelector"><span class="type">CRSelector</span></a>.
|
224
|
+
</p>
|
225
|
+
<p>
|
226
|
+
Decrements the ref count of the current instance of
|
227
|
+
<a class="link" href="libcroco-cr-selector.html#CRSelector" title="struct CRSelector"><span class="type">CRSelector</span></a>.
|
228
|
+
If the ref count reaches zero, the current instance of
|
229
|
+
<a class="link" href="libcroco-cr-selector.html#CRSelector" title="struct CRSelector"><span class="type">CRSelector</span></a> is destroyed.
|
230
|
+
</p>
|
231
|
+
<div class="variablelist"><table border="0">
|
232
|
+
<col align="left" valign="top">
|
233
|
+
<tbody><tr>
|
234
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
235
|
+
<td>TRUE if this function destroyed the current instance
|
236
|
+
of <a class="link" href="libcroco-cr-selector.html#CRSelector" title="struct CRSelector"><span class="type">CRSelector</span></a>, FALSE otherwise.</td>
|
237
|
+
</tr></tbody>
|
238
|
+
</table></div>
|
239
|
+
</div>
|
240
|
+
</div>
|
241
|
+
</div>
|
242
|
+
<div class="footer">
|
243
|
+
<hr>
|
244
|
+
Generated by GTK-Doc V1.18</div>
|
245
|
+
</body>
|
246
|
+
</html>
|