/usr/share/gtk-doc/html/libchamplain/ChamplainLabel.html is in libchamplain-doc 0.12.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ChamplainLabel</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="libchamplain Reference Manual">
<link rel="up" href="ch02.html" title="Markers">
<link rel="prev" href="ChamplainMarker.html" title="ChamplainMarker">
<link rel="next" href="ChamplainPoint.html" title="ChamplainPoint">
<meta name="generator" content="GTK-Doc V1.18 (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="ChamplainMarker.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch02.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">libchamplain Reference Manual</th>
<td><a accesskey="n" href="ChamplainPoint.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#ChamplainLabel.synopsis" class="shortcut">Top</a>
|
<a href="#ChamplainLabel.description" class="shortcut">Description</a>
|
<a href="#ChamplainLabel.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
<a href="#ChamplainLabel.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
|
<a href="#ChamplainLabel.properties" class="shortcut">Properties</a>
</td></tr>
</table>
<div class="refentry">
<a name="ChamplainLabel"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="ChamplainLabel.top_of_page"></a>ChamplainLabel</span></h2>
<p>ChamplainLabel — A label to identify points of interest on a map</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="ChamplainLabel.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">struct <a class="link" href="ChamplainLabel.html#ChamplainLabel-struct" title="struct ChamplainLabel">ChamplainLabel</a>;
<span class="returnvalue">ClutterActor</span> * <a class="link" href="ChamplainLabel.html#champlain-label-new" title="champlain_label_new ()">champlain_label_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
<span class="returnvalue">ClutterActor</span> * <a class="link" href="ChamplainLabel.html#champlain-label-new-with-text" title="champlain_label_new_with_text ()">champlain_label_new_with_text</a> (<em class="parameter"><code>const <span class="type">gchar</span> *text</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *font</code></em>,
<em class="parameter"><code><span class="type">ClutterColor</span> *text_color</code></em>,
<em class="parameter"><code><span class="type">ClutterColor</span> *label_color</code></em>);
<span class="returnvalue">ClutterActor</span> * <a class="link" href="ChamplainLabel.html#champlain-label-new-with-image" title="champlain_label_new_with_image ()">champlain_label_new_with_image</a> (<em class="parameter"><code><span class="type">ClutterActor</span> *actor</code></em>);
<span class="returnvalue">ClutterActor</span> * <a class="link" href="ChamplainLabel.html#champlain-label-new-from-file" title="champlain_label_new_from_file ()">champlain_label_new_from_file</a> (<em class="parameter"><code>const <span class="type">gchar</span> *filename</code></em>,
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
<span class="returnvalue">ClutterActor</span> * <a class="link" href="ChamplainLabel.html#champlain-label-new-full" title="champlain_label_new_full ()">champlain_label_new_full</a> (<em class="parameter"><code>const <span class="type">gchar</span> *text</code></em>,
<em class="parameter"><code><span class="type">ClutterActor</span> *actor</code></em>);
<span class="returnvalue">void</span> <a class="link" href="ChamplainLabel.html#champlain-label-set-text" title="champlain_label_set_text ()">champlain_label_set_text</a> (<em class="parameter"><code><a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a> *label</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *text</code></em>);
<span class="returnvalue">void</span> <a class="link" href="ChamplainLabel.html#champlain-label-set-image" title="champlain_label_set_image ()">champlain_label_set_image</a> (<em class="parameter"><code><a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a> *label</code></em>,
<em class="parameter"><code><span class="type">ClutterActor</span> *image</code></em>);
<span class="returnvalue">void</span> <a class="link" href="ChamplainLabel.html#champlain-label-set-use-markup" title="champlain_label_set_use_markup ()">champlain_label_set_use_markup</a> (<em class="parameter"><code><a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a> *label</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> use_markup</code></em>);
<span class="returnvalue">void</span> <a class="link" href="ChamplainLabel.html#champlain-label-set-alignment" title="champlain_label_set_alignment ()">champlain_label_set_alignment</a> (<em class="parameter"><code><a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a> *label</code></em>,
<em class="parameter"><code><span class="type">PangoAlignment</span> alignment</code></em>);
<span class="returnvalue">void</span> <a class="link" href="ChamplainLabel.html#champlain-label-set-color" title="champlain_label_set_color ()">champlain_label_set_color</a> (<em class="parameter"><code><a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a> *label</code></em>,
<em class="parameter"><code>const <span class="type">ClutterColor</span> *color</code></em>);
<span class="returnvalue">void</span> <a class="link" href="ChamplainLabel.html#champlain-label-set-text-color" title="champlain_label_set_text_color ()">champlain_label_set_text_color</a> (<em class="parameter"><code><a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a> *label</code></em>,
<em class="parameter"><code>const <span class="type">ClutterColor</span> *color</code></em>);
<span class="returnvalue">void</span> <a class="link" href="ChamplainLabel.html#champlain-label-set-font-name" title="champlain_label_set_font_name ()">champlain_label_set_font_name</a> (<em class="parameter"><code><a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a> *label</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *font_name</code></em>);
<span class="returnvalue">void</span> <a class="link" href="ChamplainLabel.html#champlain-label-set-wrap" title="champlain_label_set_wrap ()">champlain_label_set_wrap</a> (<em class="parameter"><code><a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a> *label</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> wrap</code></em>);
<span class="returnvalue">void</span> <a class="link" href="ChamplainLabel.html#champlain-label-set-wrap-mode" title="champlain_label_set_wrap_mode ()">champlain_label_set_wrap_mode</a> (<em class="parameter"><code><a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a> *label</code></em>,
<em class="parameter"><code><span class="type">PangoWrapMode</span> wrap_mode</code></em>);
<span class="returnvalue">void</span> <a class="link" href="ChamplainLabel.html#champlain-label-set-attributes" title="champlain_label_set_attributes ()">champlain_label_set_attributes</a> (<em class="parameter"><code><a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a> *label</code></em>,
<em class="parameter"><code><span class="type">PangoAttrList</span> *list</code></em>);
<span class="returnvalue">void</span> <a class="link" href="ChamplainLabel.html#champlain-label-set-single-line-mode" title="champlain_label_set_single_line_mode ()">champlain_label_set_single_line_mode</a>
(<em class="parameter"><code><a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a> *label</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> mode</code></em>);
<span class="returnvalue">void</span> <a class="link" href="ChamplainLabel.html#champlain-label-set-ellipsize" title="champlain_label_set_ellipsize ()">champlain_label_set_ellipsize</a> (<em class="parameter"><code><a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a> *label</code></em>,
<em class="parameter"><code><span class="type">PangoEllipsizeMode</span> mode</code></em>);
<span class="returnvalue">void</span> <a class="link" href="ChamplainLabel.html#champlain-label-set-draw-background" title="champlain_label_set_draw_background ()">champlain_label_set_draw_background</a> (<em class="parameter"><code><a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a> *label</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> background</code></em>);
<span class="returnvalue">gboolean</span> <a class="link" href="ChamplainLabel.html#champlain-label-get-use-markup" title="champlain_label_get_use_markup ()">champlain_label_get_use_markup</a> (<em class="parameter"><code><a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a> *label</code></em>);
const <span class="returnvalue">gchar</span> * <a class="link" href="ChamplainLabel.html#champlain-label-get-text" title="champlain_label_get_text ()">champlain_label_get_text</a> (<em class="parameter"><code><a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a> *label</code></em>);
<span class="returnvalue">ClutterActor</span> * <a class="link" href="ChamplainLabel.html#champlain-label-get-image" title="champlain_label_get_image ()">champlain_label_get_image</a> (<em class="parameter"><code><a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a> *label</code></em>);
<span class="returnvalue">PangoAlignment</span> <a class="link" href="ChamplainLabel.html#champlain-label-get-alignment" title="champlain_label_get_alignment ()">champlain_label_get_alignment</a> (<em class="parameter"><code><a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a> *label</code></em>);
<span class="returnvalue">ClutterColor</span> * <a class="link" href="ChamplainLabel.html#champlain-label-get-color" title="champlain_label_get_color ()">champlain_label_get_color</a> (<em class="parameter"><code><a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a> *label</code></em>);
<span class="returnvalue">ClutterColor</span> * <a class="link" href="ChamplainLabel.html#champlain-label-get-text-color" title="champlain_label_get_text_color ()">champlain_label_get_text_color</a> (<em class="parameter"><code><a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a> *label</code></em>);
const <span class="returnvalue">gchar</span> * <a class="link" href="ChamplainLabel.html#champlain-label-get-font-name" title="champlain_label_get_font_name ()">champlain_label_get_font_name</a> (<em class="parameter"><code><a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a> *label</code></em>);
<span class="returnvalue">gboolean</span> <a class="link" href="ChamplainLabel.html#champlain-label-get-wrap" title="champlain_label_get_wrap ()">champlain_label_get_wrap</a> (<em class="parameter"><code><a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a> *label</code></em>);
<span class="returnvalue">PangoWrapMode</span> <a class="link" href="ChamplainLabel.html#champlain-label-get-wrap-mode" title="champlain_label_get_wrap_mode ()">champlain_label_get_wrap_mode</a> (<em class="parameter"><code><a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a> *label</code></em>);
<span class="returnvalue">PangoEllipsizeMode</span> <a class="link" href="ChamplainLabel.html#champlain-label-get-ellipsize" title="champlain_label_get_ellipsize ()">champlain_label_get_ellipsize</a> (<em class="parameter"><code><a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a> *label</code></em>);
<span class="returnvalue">gboolean</span> <a class="link" href="ChamplainLabel.html#champlain-label-get-single-line-mode" title="champlain_label_get_single_line_mode ()">champlain_label_get_single_line_mode</a>
(<em class="parameter"><code><a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a> *label</code></em>);
<span class="returnvalue">gboolean</span> <a class="link" href="ChamplainLabel.html#champlain-label-get-draw-background" title="champlain_label_get_draw_background ()">champlain_label_get_draw_background</a> (<em class="parameter"><code><a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a> *label</code></em>);
<span class="returnvalue">PangoAttrList</span> * <a class="link" href="ChamplainLabel.html#champlain-label-get-attributes" title="champlain_label_get_attributes ()">champlain_label_get_attributes</a> (<em class="parameter"><code><a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a> *label</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="ChamplainLabel.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----ClutterActor
+----<a class="link" href="ChamplainMarker.html" title="ChamplainMarker">ChamplainMarker</a>
+----ChamplainLabel
</pre>
</div>
<div class="refsect1">
<a name="ChamplainLabel.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
ChamplainLabel implements
ClutterContainer, ClutterScriptable, ClutterAnimatable, AtkImplementorIface and <a class="link" href="ChamplainLocation.html" title="ChamplainLocation">ChamplainLocation</a>.</p>
</div>
<div class="refsect1">
<a name="ChamplainLabel.properties"></a><h2>Properties</h2>
<pre class="synopsis">
"<a class="link" href="ChamplainLabel.html#ChamplainLabel--alignment" title='The "alignment" property'>alignment</a>" <span class="type">PangoAlignment</span> : Read / Write
"<a class="link" href="ChamplainLabel.html#ChamplainLabel--color" title='The "color" property'>color</a>" <span class="type">ClutterColor</span>* : Read / Write
"<a class="link" href="ChamplainLabel.html#ChamplainLabel--draw-background" title='The "draw-background" property'>draw-background</a>" <span class="type">gboolean</span> : Read / Write
"<a class="link" href="ChamplainLabel.html#ChamplainLabel--ellipsize" title='The "ellipsize" property'>ellipsize</a>" <span class="type">PangoEllipsizeMode</span> : Read / Write
"<a class="link" href="ChamplainLabel.html#ChamplainLabel--font-name" title='The "font-name" property'>font-name</a>" <span class="type">gchar</span>* : Read / Write
"<a class="link" href="ChamplainLabel.html#ChamplainLabel--image" title='The "image" property'>image</a>" <span class="type">ClutterActor</span>* : Read / Write
"<a class="link" href="ChamplainLabel.html#ChamplainLabel--single-line-mode" title='The "single-line-mode" property'>single-line-mode</a>" <span class="type">gboolean</span> : Read / Write
"<a class="link" href="ChamplainLabel.html#ChamplainLabel--text" title='The "text" property'>text</a>" <span class="type">gchar</span>* : Read / Write
"<a class="link" href="ChamplainLabel.html#ChamplainLabel--text-color" title='The "text-color" property'>text-color</a>" <span class="type">ClutterColor</span>* : Read / Write
"<a class="link" href="ChamplainLabel.html#ChamplainLabel--use-markup" title='The "use-markup" property'>use-markup</a>" <span class="type">gboolean</span> : Read / Write
"<a class="link" href="ChamplainLabel.html#ChamplainLabel--wrap" title='The "wrap" property'>wrap</a>" <span class="type">gboolean</span> : Read / Write
"<a class="link" href="ChamplainLabel.html#ChamplainLabel--wrap-mode" title='The "wrap-mode" property'>wrap-mode</a>" <span class="type">PangoWrapMode</span> : Read / Write
</pre>
</div>
<div class="refsect1">
<a name="ChamplainLabel.description"></a><h2>Description</h2>
<p>
Markers reprensent points of interest on a map. Markers need to be placed on
a layer (a <a class="link" href="ChamplainMarkerLayer.html" title="ChamplainMarkerLayer"><span class="type">ChamplainMarkerLayer</span></a>). Layers have to be added to a <a class="link" href="ChamplainView.html" title="ChamplainView"><span class="type">ChamplainView</span></a> for
the markers to show on the map.
</p>
<p>
A marker is nothing more than a regular <span class="type">ClutterActor</span>. You can draw on it
what ever you want. Set the markers position on the map
using <a class="link" href="ChamplainLocation.html#champlain-location-set-location" title="champlain_location_set_location ()"><span class="type">champlain_location_set_location</span></a>.
</p>
<p>
Champlain has a default type of markers with text. To create one,
use <a class="link" href="ChamplainLabel.html#champlain-label-new-with-text" title="champlain_label_new_with_text ()"><span class="type">champlain_label_new_with_text</span></a>.
</p>
</div>
<div class="refsect1">
<a name="ChamplainLabel.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="ChamplainLabel-struct"></a><h3>struct ChamplainLabel</h3>
<pre class="programlisting">struct ChamplainLabel;</pre>
<p>
The <a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a> structure contains only private data
and should be accessed using the provided API
</p>
<p class="since">Since 0.10</p>
</div>
<hr>
<div class="refsect2">
<a name="champlain-label-new"></a><h3>champlain_label_new ()</h3>
<pre class="programlisting"><span class="returnvalue">ClutterActor</span> * champlain_label_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Creates a new instance of <a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a new <a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a> ready to be used as a <span class="type">ClutterActor</span>.</td>
</tr></tbody>
</table></div>
<p class="since">Since 0.10</p>
</div>
<hr>
<div class="refsect2">
<a name="champlain-label-new-with-text"></a><h3>champlain_label_new_with_text ()</h3>
<pre class="programlisting"><span class="returnvalue">ClutterActor</span> * champlain_label_new_with_text (<em class="parameter"><code>const <span class="type">gchar</span> *text</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *font</code></em>,
<em class="parameter"><code><span class="type">ClutterColor</span> *text_color</code></em>,
<em class="parameter"><code><span class="type">ClutterColor</span> *label_color</code></em>);</pre>
<p>
Creates a new instance of <a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a> with text value.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
<td>the text of the text</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>font</code></em> :</span></p></td>
<td>the font to use to draw the text, for example "Courrier Bold 11", can be NULL. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>text_color</code></em> :</span></p></td>
<td>a <span class="type">ClutterColor</span>, the color of the text, can be NULL. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>label_color</code></em> :</span></p></td>
<td>a <span class="type">ClutterColor</span>, the color of the label, can be NULL. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a new <a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a> with a drawn label containing the given text.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.10</p>
</div>
<hr>
<div class="refsect2">
<a name="champlain-label-new-with-image"></a><h3>champlain_label_new_with_image ()</h3>
<pre class="programlisting"><span class="returnvalue">ClutterActor</span> * champlain_label_new_with_image (<em class="parameter"><code><span class="type">ClutterActor</span> *actor</code></em>);</pre>
<p>
Creates a new instance of <a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a> with image.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>actor</code></em> :</span></p></td>
<td>The actor of the image.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a new <a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a> with a drawn label containing the given
image.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.10</p>
</div>
<hr>
<div class="refsect2">
<a name="champlain-label-new-from-file"></a><h3>champlain_label_new_from_file ()</h3>
<pre class="programlisting"><span class="returnvalue">ClutterActor</span> * champlain_label_new_from_file (<em class="parameter"><code>const <span class="type">gchar</span> *filename</code></em>,
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
<p>
Creates a new instance of <a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a> with image loaded from file.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
<td>The filename of the image.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
<td>Return location for an error.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a new <a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a> with a drawn label containing the given
image.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.10</p>
</div>
<hr>
<div class="refsect2">
<a name="champlain-label-new-full"></a><h3>champlain_label_new_full ()</h3>
<pre class="programlisting"><span class="returnvalue">ClutterActor</span> * champlain_label_new_full (<em class="parameter"><code>const <span class="type">gchar</span> *text</code></em>,
<em class="parameter"><code><span class="type">ClutterActor</span> *actor</code></em>);</pre>
<p>
Creates a new instance of <a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a> consisting of a custom <span class="type">ClutterActor</span>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
<td>The text</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>actor</code></em> :</span></p></td>
<td>The image</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a new <a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a> with a drawn label containing the given
image.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.10</p>
</div>
<hr>
<div class="refsect2">
<a name="champlain-label-set-text"></a><h3>champlain_label_set_text ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> champlain_label_set_text (<em class="parameter"><code><a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a> *label</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *text</code></em>);</pre>
<p>
Sets the label's text.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>label</code></em> :</span></p></td>
<td>The label</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
<td>The text</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.10</p>
</div>
<hr>
<div class="refsect2">
<a name="champlain-label-set-image"></a><h3>champlain_label_set_image ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> champlain_label_set_image (<em class="parameter"><code><a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a> *label</code></em>,
<em class="parameter"><code><span class="type">ClutterActor</span> *image</code></em>);</pre>
<p>
Sets the label's image.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>label</code></em> :</span></p></td>
<td>The label.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>image</code></em> :</span></p></td>
<td>The image as a <em class="parameter"><code>ClutterActor</code></em> or NULL to remove the current image. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.10</p>
</div>
<hr>
<div class="refsect2">
<a name="champlain-label-set-use-markup"></a><h3>champlain_label_set_use_markup ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> champlain_label_set_use_markup (<em class="parameter"><code><a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a> *label</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> use_markup</code></em>);</pre>
<p>
Sets if the label's text uses markup.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>label</code></em> :</span></p></td>
<td>The label</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>use_markup</code></em> :</span></p></td>
<td>The value</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.10</p>
</div>
<hr>
<div class="refsect2">
<a name="champlain-label-set-alignment"></a><h3>champlain_label_set_alignment ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> champlain_label_set_alignment (<em class="parameter"><code><a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a> *label</code></em>,
<em class="parameter"><code><span class="type">PangoAlignment</span> alignment</code></em>);</pre>
<p>
Set the label's text alignment.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>label</code></em> :</span></p></td>
<td>The label</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>alignment</code></em> :</span></p></td>
<td>The label's alignment</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.10</p>
</div>
<hr>
<div class="refsect2">
<a name="champlain-label-set-color"></a><h3>champlain_label_set_color ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> champlain_label_set_color (<em class="parameter"><code><a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a> *label</code></em>,
<em class="parameter"><code>const <span class="type">ClutterColor</span> *color</code></em>);</pre>
<p>
Set the label's background color.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>label</code></em> :</span></p></td>
<td>The label</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
<td>The label's background color or NULL to reset the background to the
default color. The color parameter is copied. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.10</p>
</div>
<hr>
<div class="refsect2">
<a name="champlain-label-set-text-color"></a><h3>champlain_label_set_text_color ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> champlain_label_set_text_color (<em class="parameter"><code><a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a> *label</code></em>,
<em class="parameter"><code>const <span class="type">ClutterColor</span> *color</code></em>);</pre>
<p>
Set the label's text color.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>label</code></em> :</span></p></td>
<td>The label</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>color</code></em> :</span></p></td>
<td>The label's text color or NULL to reset the text to the default
color. The color parameter is copied. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.10</p>
</div>
<hr>
<div class="refsect2">
<a name="champlain-label-set-font-name"></a><h3>champlain_label_set_font_name ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> champlain_label_set_font_name (<em class="parameter"><code><a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a> *label</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *font_name</code></em>);</pre>
<p>
Set the label's font name such as "Sans 12".
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>label</code></em> :</span></p></td>
<td>The label</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>font_name</code></em> :</span></p></td>
<td>The label's font name or NULL to reset the font to the default
value. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.10</p>
</div>
<hr>
<div class="refsect2">
<a name="champlain-label-set-wrap"></a><h3>champlain_label_set_wrap ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> champlain_label_set_wrap (<em class="parameter"><code><a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a> *label</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> wrap</code></em>);</pre>
<p>
Set if the label's text wrap.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>label</code></em> :</span></p></td>
<td>The label</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>wrap</code></em> :</span></p></td>
<td>The label's wrap.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.10</p>
</div>
<hr>
<div class="refsect2">
<a name="champlain-label-set-wrap-mode"></a><h3>champlain_label_set_wrap_mode ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> champlain_label_set_wrap_mode (<em class="parameter"><code><a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a> *label</code></em>,
<em class="parameter"><code><span class="type">PangoWrapMode</span> wrap_mode</code></em>);</pre>
<p>
Set the label's text color.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>label</code></em> :</span></p></td>
<td>The label</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>wrap_mode</code></em> :</span></p></td>
<td>The label's wrap.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.10</p>
</div>
<hr>
<div class="refsect2">
<a name="champlain-label-set-attributes"></a><h3>champlain_label_set_attributes ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> champlain_label_set_attributes (<em class="parameter"><code><a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a> *label</code></em>,
<em class="parameter"><code><span class="type">PangoAttrList</span> *list</code></em>);</pre>
<p>
Set the label's text attribute.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>label</code></em> :</span></p></td>
<td>The label</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
<td>The label's text attributes.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.10</p>
</div>
<hr>
<div class="refsect2">
<a name="champlain-label-set-single-line-mode"></a><h3>champlain_label_set_single_line_mode ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> champlain_label_set_single_line_mode
(<em class="parameter"><code><a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a> *label</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> mode</code></em>);</pre>
<p>
Set if the label's text is on a single line.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>label</code></em> :</span></p></td>
<td>The label</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>mode</code></em> :</span></p></td>
<td>The label's single line mode</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.10</p>
</div>
<hr>
<div class="refsect2">
<a name="champlain-label-set-ellipsize"></a><h3>champlain_label_set_ellipsize ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> champlain_label_set_ellipsize (<em class="parameter"><code><a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a> *label</code></em>,
<em class="parameter"><code><span class="type">PangoEllipsizeMode</span> mode</code></em>);</pre>
<p>
Set the label's text ellipsize mode.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>label</code></em> :</span></p></td>
<td>The label</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>mode</code></em> :</span></p></td>
<td>The label's ellipsize mode.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.10</p>
</div>
<hr>
<div class="refsect2">
<a name="champlain-label-set-draw-background"></a><h3>champlain_label_set_draw_background ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> champlain_label_set_draw_background (<em class="parameter"><code><a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a> *label</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> background</code></em>);</pre>
<p>
Set if the label has a background.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>label</code></em> :</span></p></td>
<td>The label</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>background</code></em> :</span></p></td>
<td>value.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.10</p>
</div>
<hr>
<div class="refsect2">
<a name="champlain-label-get-use-markup"></a><h3>champlain_label_get_use_markup ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span> champlain_label_get_use_markup (<em class="parameter"><code><a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a> *label</code></em>);</pre>
<p>
Check whether the label uses markup.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>label</code></em> :</span></p></td>
<td>The label</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>if the label's text contains markup.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.10</p>
</div>
<hr>
<div class="refsect2">
<a name="champlain-label-get-text"></a><h3>champlain_label_get_text ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> * champlain_label_get_text (<em class="parameter"><code><a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a> *label</code></em>);</pre>
<p>
Get the label's text.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>label</code></em> :</span></p></td>
<td>The label</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the label's text.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.10</p>
</div>
<hr>
<div class="refsect2">
<a name="champlain-label-get-image"></a><h3>champlain_label_get_image ()</h3>
<pre class="programlisting"><span class="returnvalue">ClutterActor</span> * champlain_label_get_image (<em class="parameter"><code><a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a> *label</code></em>);</pre>
<p>
Get the label's image.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>label</code></em> :</span></p></td>
<td>The label</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the label's image. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.10</p>
</div>
<hr>
<div class="refsect2">
<a name="champlain-label-get-alignment"></a><h3>champlain_label_get_alignment ()</h3>
<pre class="programlisting"><span class="returnvalue">PangoAlignment</span> champlain_label_get_alignment (<em class="parameter"><code><a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a> *label</code></em>);</pre>
<p>
Get the label's text alignment.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>label</code></em> :</span></p></td>
<td>The label</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the label's text alignment.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.10</p>
</div>
<hr>
<div class="refsect2">
<a name="champlain-label-get-color"></a><h3>champlain_label_get_color ()</h3>
<pre class="programlisting"><span class="returnvalue">ClutterColor</span> * champlain_label_get_color (<em class="parameter"><code><a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a> *label</code></em>);</pre>
<p>
Gets the label's color.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>label</code></em> :</span></p></td>
<td>The label</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the label's color.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.10</p>
</div>
<hr>
<div class="refsect2">
<a name="champlain-label-get-text-color"></a><h3>champlain_label_get_text_color ()</h3>
<pre class="programlisting"><span class="returnvalue">ClutterColor</span> * champlain_label_get_text_color (<em class="parameter"><code><a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a> *label</code></em>);</pre>
<p>
Gets the label's text color.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>label</code></em> :</span></p></td>
<td>The label</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the label's text color.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.10</p>
</div>
<hr>
<div class="refsect2">
<a name="champlain-label-get-font-name"></a><h3>champlain_label_get_font_name ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> * champlain_label_get_font_name (<em class="parameter"><code><a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a> *label</code></em>);</pre>
<p>
Gets the label's font name.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>label</code></em> :</span></p></td>
<td>The label</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the label's font name.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.10</p>
</div>
<hr>
<div class="refsect2">
<a name="champlain-label-get-wrap"></a><h3>champlain_label_get_wrap ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span> champlain_label_get_wrap (<em class="parameter"><code><a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a> *label</code></em>);</pre>
<p>
Check whether the label text wraps.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>label</code></em> :</span></p></td>
<td>The label</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>if the label's text wraps.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.10</p>
</div>
<hr>
<div class="refsect2">
<a name="champlain-label-get-wrap-mode"></a><h3>champlain_label_get_wrap_mode ()</h3>
<pre class="programlisting"><span class="returnvalue">PangoWrapMode</span> champlain_label_get_wrap_mode (<em class="parameter"><code><a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a> *label</code></em>);</pre>
<p>
Get the label's text wrap mode.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>label</code></em> :</span></p></td>
<td>The label</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the label's text wrap mode.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.10</p>
</div>
<hr>
<div class="refsect2">
<a name="champlain-label-get-ellipsize"></a><h3>champlain_label_get_ellipsize ()</h3>
<pre class="programlisting"><span class="returnvalue">PangoEllipsizeMode</span> champlain_label_get_ellipsize (<em class="parameter"><code><a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a> *label</code></em>);</pre>
<p>
Get the label's text ellipsize mode.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>label</code></em> :</span></p></td>
<td>The label</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the label's text ellipsize mode.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.10</p>
</div>
<hr>
<div class="refsect2">
<a name="champlain-label-get-single-line-mode"></a><h3>champlain_label_get_single_line_mode ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span> champlain_label_get_single_line_mode
(<em class="parameter"><code><a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a> *label</code></em>);</pre>
<p>
Checks the label's single line mode.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>label</code></em> :</span></p></td>
<td>The label</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the label's text single line mode.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.10</p>
</div>
<hr>
<div class="refsect2">
<a name="champlain-label-get-draw-background"></a><h3>champlain_label_get_draw_background ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span> champlain_label_get_draw_background (<em class="parameter"><code><a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a> *label</code></em>);</pre>
<p>
Checks whether the label has a background.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>label</code></em> :</span></p></td>
<td>The label</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>if the label's has a background.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.10</p>
</div>
<hr>
<div class="refsect2">
<a name="champlain-label-get-attributes"></a><h3>champlain_label_get_attributes ()</h3>
<pre class="programlisting"><span class="returnvalue">PangoAttrList</span> * champlain_label_get_attributes (<em class="parameter"><code><a class="link" href="ChamplainLabel.html" title="ChamplainLabel"><span class="type">ChamplainLabel</span></a> *label</code></em>);</pre>
<p>
Gets the label's text attributes.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>label</code></em> :</span></p></td>
<td>The label</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the label's text attributes.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.10</p>
</div>
</div>
<div class="refsect1">
<a name="ChamplainLabel.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="ChamplainLabel--alignment"></a><h3>The <code class="literal">"alignment"</code> property</h3>
<pre class="programlisting"> "alignment" <span class="type">PangoAlignment</span> : Read / Write</pre>
<p>
The label's alignment
</p>
<p>Default value: PANGO_ALIGN_LEFT</p>
<p class="since">Since 0.10</p>
</div>
<hr>
<div class="refsect2">
<a name="ChamplainLabel--color"></a><h3>The <code class="literal">"color"</code> property</h3>
<pre class="programlisting"> "color" <span class="type">ClutterColor</span>* : Read / Write</pre>
<p>
The label's color
</p>
<p class="since">Since 0.10</p>
</div>
<hr>
<div class="refsect2">
<a name="ChamplainLabel--draw-background"></a><h3>The <code class="literal">"draw-background"</code> property</h3>
<pre class="programlisting"> "draw-background" <span class="type">gboolean</span> : Read / Write</pre>
<p>
If the label has a background
</p>
<p>Default value: TRUE</p>
<p class="since">Since 0.10</p>
</div>
<hr>
<div class="refsect2">
<a name="ChamplainLabel--ellipsize"></a><h3>The <code class="literal">"ellipsize"</code> property</h3>
<pre class="programlisting"> "ellipsize" <span class="type">PangoEllipsizeMode</span> : Read / Write</pre>
<p>
The label's ellipsize mode
</p>
<p>Default value: PANGO_ELLIPSIZE_NONE</p>
<p class="since">Since 0.10</p>
</div>
<hr>
<div class="refsect2">
<a name="ChamplainLabel--font-name"></a><h3>The <code class="literal">"font-name"</code> property</h3>
<pre class="programlisting"> "font-name" <span class="type">gchar</span>* : Read / Write</pre>
<p>
The label's text font name
</p>
<p>Default value: "Sans 11"</p>
<p class="since">Since 0.10</p>
</div>
<hr>
<div class="refsect2">
<a name="ChamplainLabel--image"></a><h3>The <code class="literal">"image"</code> property</h3>
<pre class="programlisting"> "image" <span class="type">ClutterActor</span>* : Read / Write</pre>
<p>
The image of the label
</p>
<p class="since">Since 0.10</p>
</div>
<hr>
<div class="refsect2">
<a name="ChamplainLabel--single-line-mode"></a><h3>The <code class="literal">"single-line-mode"</code> property</h3>
<pre class="programlisting"> "single-line-mode" <span class="type">gboolean</span> : Read / Write</pre>
<p>
If the label is in single line mode
</p>
<p>Default value: TRUE</p>
<p class="since">Since 0.10</p>
</div>
<hr>
<div class="refsect2">
<a name="ChamplainLabel--text"></a><h3>The <code class="literal">"text"</code> property</h3>
<pre class="programlisting"> "text" <span class="type">gchar</span>* : Read / Write</pre>
<p>
The text of the label
</p>
<p>Default value: ""</p>
<p class="since">Since 0.10</p>
</div>
<hr>
<div class="refsect2">
<a name="ChamplainLabel--text-color"></a><h3>The <code class="literal">"text-color"</code> property</h3>
<pre class="programlisting"> "text-color" <span class="type">ClutterColor</span>* : Read / Write</pre>
<p>
The label's text color
</p>
<p class="since">Since 0.10</p>
</div>
<hr>
<div class="refsect2">
<a name="ChamplainLabel--use-markup"></a><h3>The <code class="literal">"use-markup"</code> property</h3>
<pre class="programlisting"> "use-markup" <span class="type">gboolean</span> : Read / Write</pre>
<p>
If the label's text uses markup
</p>
<p>Default value: FALSE</p>
<p class="since">Since 0.10</p>
</div>
<hr>
<div class="refsect2">
<a name="ChamplainLabel--wrap"></a><h3>The <code class="literal">"wrap"</code> property</h3>
<pre class="programlisting"> "wrap" <span class="type">gboolean</span> : Read / Write</pre>
<p>
If the label's text wrap is set
</p>
<p>Default value: FALSE</p>
<p class="since">Since 0.10</p>
</div>
<hr>
<div class="refsect2">
<a name="ChamplainLabel--wrap-mode"></a><h3>The <code class="literal">"wrap-mode"</code> property</h3>
<pre class="programlisting"> "wrap-mode" <span class="type">PangoWrapMode</span> : Read / Write</pre>
<p>
The label's text wrap mode
</p>
<p>Default value: PANGO_WRAP_WORD</p>
<p class="since">Since 0.10</p>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.18</div>
</body>
</html>
|