summaryrefslogtreecommitdiff
path: root/gtk+-mingw/share/gtk-doc/html/gtk3/gtk-migrating-GtkStyleContext-parser-extensions.html
diff options
context:
space:
mode:
Diffstat (limited to 'gtk+-mingw/share/gtk-doc/html/gtk3/gtk-migrating-GtkStyleContext-parser-extensions.html')
-rw-r--r--gtk+-mingw/share/gtk-doc/html/gtk3/gtk-migrating-GtkStyleContext-parser-extensions.html69
1 files changed, 0 insertions, 69 deletions
diff --git a/gtk+-mingw/share/gtk-doc/html/gtk3/gtk-migrating-GtkStyleContext-parser-extensions.html b/gtk+-mingw/share/gtk-doc/html/gtk3/gtk-migrating-GtkStyleContext-parser-extensions.html
deleted file mode 100644
index d8564a9..0000000
--- a/gtk+-mingw/share/gtk-doc/html/gtk3/gtk-migrating-GtkStyleContext-parser-extensions.html
+++ /dev/null
@@ -1,69 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<title>Extending the CSS parser</title>
-<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
-<link rel="home" href="index.html" title="GTK+ 3 Reference Manual">
-<link rel="up" href="gtk-migrating-GtkStyleContext.html" title="Theming changes">
-<link rel="prev" href="gtk-migrating-theme-GtkStyleContext-engines.html" title="Migrating theme engines">
-<link rel="next" href="gtk-migrating-GtkStyleContext-css.html" title="Using the CSS file format">
-<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
-<link rel="stylesheet" href="style.css" type="text/css">
-</head>
-<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
-<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
-<td><a accesskey="p" href="gtk-migrating-theme-GtkStyleContext-engines.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
-<td><a accesskey="u" href="gtk-migrating-GtkStyleContext.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
-<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
-<th width="100%" align="center">GTK+ 3 Reference Manual</th>
-<td><a accesskey="n" href="gtk-migrating-GtkStyleContext-css.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
-</tr></table>
-<div class="section">
-<div class="titlepage"><div><div><h2 class="title" style="clear: both">
-<a name="gtk-migrating-GtkStyleContext-parser-extensions"></a>Extending the CSS parser</h2></div></div></div>
-<p>
- In <span class="type">GtkStyle-based</span> engines, <span class="type">GtkRCStyle</span> provided ways to extend the
- gtkrc parser with engine-specific extensions. This has been replaced
- by <a class="link" href="GtkThemingEngine.html#gtk-theming-engine-register-property" title="gtk_theming_engine_register_property ()"><code class="function">gtk_theming_engine_register_property()</code></a>, which lets a theme engine
- register new properties with an arbitrary type. While there is built-in
- support for most basic types, it is possible to use a custom parser
- for the property.
- </p>
-<p>
- The installed properties depend on the <span class="type">"name"</span> property,
- so they should be added in the <code class="literal"><code class="function">constructed()</code></code> vfunc.
- For example, if an engine with the name "Clearlooks" installs a
- "focus-color" property with the type <a href="http://developer.gnome.org/gdk/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a>, the property
- <code class="literal">-Clearlooks-focus-color</code> will be registered and
- accepted in CSS like this:
- </p>
-<div class="informalexample">
- <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
- <tbody>
- <tr>
- <td class="listing_lines" align="right"><pre>1
-2
-3</pre></td>
- <td class="listing_code"><pre class="programlisting"><span class="normal"><a href="GtkEntry.html">GtkEntry</a> </span><span class="cbracket">{</span>
-<span class="normal"> </span><span class="symbol">-</span><span class="normal">Clearlooks</span><span class="symbol">-</span><span class="normal">focus</span><span class="symbol">-</span><span class="normal">color</span><span class="symbol">:</span><span class="normal"> </span><span class="function">rgba</span><span class="symbol">(</span><span class="number">255</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">1.0</span><span class="symbol">);</span>
-<span class="cbracket">}</span></pre></td>
- </tr>
- </tbody>
- </table>
-</div>
-
-<p>
- </p>
-<p>
- Widget style properties also follow a similar syntax, with the widget
- type name used as a prefix. For example, the <span class="type">"focus-line-width"</span>
- style property can be modified in CSS as
- <code class="literal">-GtkWidget-focus-line-width</code>.
- </p>
-</div>
-<div class="footer">
-<hr>
- Generated by GTK-Doc V1.18.1</div>
-</body>
-</html> \ No newline at end of file