File: intro.xml

package info (click to toggle)
gspell 1.14.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,296 kB
  • sloc: ansic: 8,063; xml: 120; sh: 39; makefile: 12
file content (49 lines) | stat: -rw-r--r-- 1,745 bytes parent folder | download | duplicates (2)
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
<?xml version="1.0"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
   "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
[
 <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
 <!ENTITY % gtkdocentities SYSTEM "xml/gtkdocentities.ent">
 %gtkdocentities;
]>

<part id="intro">
  <title>Introduction</title>

  <para>
    gspell provides a flexible API to add spell checking to a GTK application.
    See the <ulink url="https://gitlab.gnome.org/GNOME/gspell">gspell home page</ulink>.
  </para>

  <refsect1>
    <title>pkg-config name</title>
    <para>
      The pkg-config name of the gspell library is: <code>gspell-&package_api_version;</code>
    </para>
    <para>
      To compile a program that uses gspell, you can for example use the
      following command:
    </para>
    <para>
      <code>$ gcc hello.c `pkg-config --cflags --libs gspell-&package_api_version;` -o hello</code>
    </para>
  </refsect1>

  <refsect1>
    <title>How to enable inline spell checking in a GtkTextView</title>
    <para>
      See the <link linkend="gspell-text-view-basic-setup"><function>gspell_text_view_basic_setup()</function></link>
      convenience function to quickly enable inline spell checking in a
      <link linkend="GtkTextView"><type>GtkTextView</type></link> widget.
    </para>
  </refsect1>

  <refsect1>
    <title>How to enable inline spell checking in a GtkEntry</title>
    <para>
      See the <link linkend="gspell-entry-basic-setup"><function>gspell_entry_basic_setup()</function></link>
      convenience function to quickly enable inline spell checking in a
      <link linkend="GtkEntry"><type>GtkEntry</type></link> widget.
    </para>
  </refsect1>
</part>