Blob Blame History Raw
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>Chapter 6. Text</title><link rel="stylesheet" type="text/css" href="style.css"><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"><link rel="home" href="index.html" title="The Clutter Cookbook"><link rel="up" href="index.html" title="The Clutter Cookbook"><link rel="prev" href="animations-path.html" title="10. Animating an actor along a curved path"><link rel="next" href="text-shadow.html" title="2. Drawing a shadow under the text"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 6. Text</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="animations-path.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="text-shadow.html">Next</a></td></tr></table><hr></div><div class="chapter"><div class="titlepage"><div><div><h1 class="title"><a name="text"></a>Chapter 6. Text</h1></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl class="toc"><dt><span class="section"><a href="text.html#text-introduction">1. Introduction</a></span></dt><dt><span class="section"><a href="text-shadow.html">2. Drawing a shadow under the text</a></span></dt><dd><dl><dt><span class="section"><a href="text-shadow.html#idm140200509663888">2.1. Problem</a></span></dt><dt><span class="section"><a href="text-shadow.html#idm140200508592736">2.2. Solution</a></span></dt><dt><span class="section"><a href="text-shadow.html#idm140200513466960">2.3. Discussion</a></span></dt><dt><span class="section"><a href="text-shadow.html#idm140200508740624">2.4. Full example</a></span></dt></dl></dd></dl></div><div class="epigraph"><p>A picture is worth 10K words - but only those to describe the
    picture. Hardly any sets of 10K words can be adequately described with
    pictures.</p><div class="attribution"><span>—<span class="attribution">Alan Perlis</span></span></div></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="text-introduction"></a>1. Introduction</h2></div></div></div><p>User interfaces can rely on textures to represent actions, but there
    are cases where you need to convey an idea using words.</p><p>Clutter provides an actor that allows displaying and editing
    arbitrary text, called <span class="type">ClutterText</span>. A <span class="type">ClutterText</span>
    actor can be positioned like any other actor; its preferred size is
    determined by its contents, as well as the font family and size used to
    render those contents.</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="animations-path.html">Prev</a> </td><td width="20%" align="center"> </td><td width="40%" align="right"> <a accesskey="n" href="text-shadow.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">10. Animating an actor along a curved path </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> 2. Drawing a shadow under the text</td></tr></table></div></body></html>