~bratsche/ubuntu/maverick/gtk+2.0/menu-activation-fix

« back to all changes in this revision

Viewing changes to docs/reference/gtk/html/GtkLabel.html

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2009-09-05 07:16:24 UTC
  • mfrom: (1.3.2 upstream)
  • mto: This revision was merged to the branch mainline in revision 127.
  • Revision ID: james.westby@ubuntu.com-20090905071624-ehjbg50t3hvthzlm
Tags: upstream-2.17.11
Import upstream version 2.17.11

Show diffs side-by-side

added added

removed removed

Lines of Context:
384
384
><span class="type">PangoAttribute</span></a> values for this label.
385
385
</p>
386
386
<div class="example">
387
 
<a name="id578629"></a><p class="title"><b>Example 13. A UI definition fragment specifying Pango attributes</b></p>
 
387
<a name="id625563"></a><p class="title"><b>Example 13. A UI definition fragment specifying Pango attributes</b></p>
388
388
<div class="example-contents"><pre class="programlisting">
389
389
&lt;object class="GtkLabel"&gt;
390
390
  &lt;attributes&gt;
404
404
</div>
405
405
<hr>
406
406
<div class="refsect2" title="Mnemonics">
407
 
<a name="id578652"></a><h3>Mnemonics</h3>
 
407
<a name="id625586"></a><h3>Mnemonics</h3>
408
408
<p>
409
409
Labels may contain <em class="firstterm">mnemonics</em>. Mnemonics are
410
410
underlined characters in the label, used for keyboard navigation.
450
450
</div>
451
451
<hr>
452
452
<div class="refsect2" title="Markup (styled text)">
453
 
<a name="id578774"></a><h3>Markup (styled text)</h3>
 
453
<a name="id625707"></a><h3>Markup (styled text)</h3>
454
454
<p>
455
455
To make it easy to format text in a label (changing colors, fonts,
456
456
etc.), label text can be provided in a simple <a
498
498
</div>
499
499
<hr>
500
500
<div class="refsect2" title="Selectable labels">
501
 
<a name="id578891"></a><h3>Selectable labels</h3>
 
501
<a name="id625824"></a><h3>Selectable labels</h3>
502
502
<p>
503
503
Labels can be made selectable with <a class="link" href="GtkLabel.html#gtk-label-set-selectable" title="gtk_label_set_selectable ()"><code class="function">gtk_label_set_selectable()</code></a>.
504
504
Selectable labels allow the user to copy the label contents to
508
508
</div>
509
509
<hr>
510
510
<div class="refsect2" title="Text layout">
511
 
<a name="id578914"></a><h3>Text layout</h3>
 
511
<a name="id625847"></a><h3>Text layout</h3>
512
512
<p>
513
513
A label can contain any number of paragraphs, but will have
514
514
performance problems if it contains more than a small number.
527
527
</div>
528
528
<hr>
529
529
<div class="refsect2" title="Links">
530
 
<a name="id578965"></a><h3>Links</h3>
 
530
<a name="id625899"></a><h3>Links</h3>
531
531
<p>
532
532
Since 2.18, GTK+ supports markup for clickable hyperlinks in addition
533
533
to regular Pango markup. The markup for links is borrowed from HTML, using the