<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.4"/> <title>gtkspellmm: GtkSpell::Checker Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">gtkspellmm  <span id="projectnumber">3.0.2</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.4 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="examples.html"><span>Examples</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="inherits.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespaceGtkSpell.html">GtkSpell</a></li><li class="navelem"><a class="el" href="classGtkSpell_1_1Checker.html">Checker</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pub-static-methods">Static Public Member Functions</a> | <a href="#pro-methods">Protected Member Functions</a> | <a href="#related">Related Functions</a> | <a href="classGtkSpell_1_1Checker-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">GtkSpell::Checker Class Reference</div> </div> </div><!--header--> <div class="contents"> <p><code>#include </home/sandro/.Data/Desktop/gtkspellmm/gtkspell/gtkspellmm/gtkspell.h></code></p> <div class="dynheader"> Inheritance diagram for GtkSpell::Checker:</div> <div class="dyncontent"> <div class="center"><img src="classGtkSpell_1_1Checker__inherit__graph.png" border="0" usemap="#GtkSpell_1_1Checker_inherit__map" alt="Inheritance graph"/></div> <map name="GtkSpell_1_1Checker_inherit__map" id="GtkSpell_1_1Checker_inherit__map"> <area shape="rect" id="node2" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="25,155,119,181"/><area shape="rect" id="node3" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="9,80,135,107"/><area shape="rect" id="node4" href="http://library.gnome.org/devel/libsigc++/unstable/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="15,5,129,32"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:a693e26405249069cf524e742fb79e53b"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtkSpell_1_1Checker.html#a693e26405249069cf524e742fb79e53b">~Checker</a> ()</td></tr> <tr class="separator:a693e26405249069cf524e742fb79e53b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af833c6e75ad1d8d62db5828bb1665802"><td class="memItemLeft" align="right" valign="top">GtkSpellChecker* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtkSpell_1_1Checker.html#af833c6e75ad1d8d62db5828bb1665802">gobj</a> ()</td></tr> <tr class="memdesc:af833c6e75ad1d8d62db5828bb1665802"><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#af833c6e75ad1d8d62db5828bb1665802">More...</a><br/></td></tr> <tr class="separator:af833c6e75ad1d8d62db5828bb1665802"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af60a70d9e4173d092865eac7ee2285f1"><td class="memItemLeft" align="right" valign="top">const GtkSpellChecker* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtkSpell_1_1Checker.html#af60a70d9e4173d092865eac7ee2285f1">gobj</a> () const </td></tr> <tr class="memdesc:af60a70d9e4173d092865eac7ee2285f1"><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#af60a70d9e4173d092865eac7ee2285f1">More...</a><br/></td></tr> <tr class="separator:af60a70d9e4173d092865eac7ee2285f1"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3b931929238ee3799480f615d853a3a5"><td class="memItemLeft" align="right" valign="top">GtkSpellChecker* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtkSpell_1_1Checker.html#a3b931929238ee3799480f615d853a3a5">gobj_copy</a> ()</td></tr> <tr class="memdesc:a3b931929238ee3799480f615d853a3a5"><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. <a href="#a3b931929238ee3799480f615d853a3a5">More...</a><br/></td></tr> <tr class="separator:a3b931929238ee3799480f615d853a3a5"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8184089188ee1624ce02d7fe347f6aae"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtkSpell_1_1Checker.html#a8184089188ee1624ce02d7fe347f6aae">Checker</a> ()</td></tr> <tr class="memdesc:a8184089188ee1624ce02d7fe347f6aae"><td class="mdescLeft"> </td><td class="mdescRight">Constructs a new <a class="el" href="classGtkSpell_1_1Checker.html">GtkSpell::Checker</a> object. <a href="#a8184089188ee1624ce02d7fe347f6aae">More...</a><br/></td></tr> <tr class="separator:a8184089188ee1624ce02d7fe347f6aae"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1e5dbb84ae8621ff6f856939ef6c25c8"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtkSpell_1_1Checker.html#a1e5dbb84ae8621ff6f856939ef6c25c8">attach</a> (<a class="elRef" href="http://library.gnome.org/devel/gtkmm/unstable/classGtk_1_1TextView.html">Gtk::TextView</a>& view)</td></tr> <tr class="memdesc:a1e5dbb84ae8621ff6f856939ef6c25c8"><td class="mdescLeft"> </td><td class="mdescRight">Attach the <a class="el" href="classGtkSpell_1_1Checker.html">GtkSpell::Checker</a> to the specified <a class="elRef" href="http://library.gnome.org/devel/gtkmm/unstable/classGtk_1_1TextView.html">Gtk::TextView</a>. <a href="#a1e5dbb84ae8621ff6f856939ef6c25c8">More...</a><br/></td></tr> <tr class="separator:a1e5dbb84ae8621ff6f856939ef6c25c8"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a796993bb3c0e06b0c7197eaf996a44f7"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtkSpell_1_1Checker.html#a796993bb3c0e06b0c7197eaf996a44f7">detach</a> ()</td></tr> <tr class="memdesc:a796993bb3c0e06b0c7197eaf996a44f7"><td class="mdescLeft"> </td><td class="mdescRight">Detaches the Gtk::SpellChecker. <a href="#a796993bb3c0e06b0c7197eaf996a44f7">More...</a><br/></td></tr> <tr class="separator:a796993bb3c0e06b0c7197eaf996a44f7"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a95f0e58e265f65792763f8ec299bf094"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/gtkmm/unstable/classGtk_1_1Menu.html">Gtk::Menu</a>* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtkSpell_1_1Checker.html#a95f0e58e265f65792763f8ec299bf094">get_suggestions_menu</a> (<a class="elRef" href="http://library.gnome.org/devel/gtkmm/unstable/classGtk_1_1TextIter.html">Gtk::TextIter</a>& iter)</td></tr> <tr class="memdesc:a95f0e58e265f65792763f8ec299bf094"><td class="mdescLeft"> </td><td class="mdescRight">Retreives a <a class="elRef" href="http://library.gnome.org/devel/gtkmm/unstable/classGtk_1_1Menu.html">Gtk::Menu</a> of replacement spellings. <a href="#a95f0e58e265f65792763f8ec299bf094">More...</a><br/></td></tr> <tr class="separator:a95f0e58e265f65792763f8ec299bf094"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a7f1b26cca2a8e4d3f542179a834c2184"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtkSpell_1_1Checker.html#a7f1b26cca2a8e4d3f542179a834c2184">set_language</a> (const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& lang)</td></tr> <tr class="memdesc:a7f1b26cca2a8e4d3f542179a834c2184"><td class="mdescLeft"> </td><td class="mdescRight">Sets the language to be used for spelling, throws an exception on failure. <a href="#a7f1b26cca2a8e4d3f542179a834c2184">More...</a><br/></td></tr> <tr class="separator:a7f1b26cca2a8e4d3f542179a834c2184"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a31fb06a85fb8e830d46eeeeed14a782c"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtkSpell_1_1Checker.html#a31fb06a85fb8e830d46eeeeed14a782c">get_language</a> ()</td></tr> <tr class="memdesc:a31fb06a85fb8e830d46eeeeed14a782c"><td class="mdescLeft"> </td><td class="mdescRight">Gets the language currently being used for spelling. <a href="#a31fb06a85fb8e830d46eeeeed14a782c">More...</a><br/></td></tr> <tr class="separator:a31fb06a85fb8e830d46eeeeed14a782c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9bce1295b610490e0cbe5a748eb67b5a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtkSpell_1_1Checker.html#a9bce1295b610490e0cbe5a748eb67b5a">recheck_all</a> ()</td></tr> <tr class="memdesc:a9bce1295b610490e0cbe5a748eb67b5a"><td class="mdescLeft"> </td><td class="mdescRight">Rechecks the entire text buffer. <a href="#a9bce1295b610490e0cbe5a748eb67b5a">More...</a><br/></td></tr> <tr class="separator:a9bce1295b610490e0cbe5a748eb67b5a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a672ac82bb1299f29ec11bba410a04cca"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1SignalProxy1.html">Glib::SignalProxy1</a>< void, <br class="typebreak"/> const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtkSpell_1_1Checker.html#a672ac82bb1299f29ec11bba410a04cca">signal_language_changed</a> ()</td></tr> <tr class="memdesc:a672ac82bb1299f29ec11bba410a04cca"><td class="mdescLeft"> </td><td class="mdescRight">This signal is emitted when a new language is selected from the context menu. <a href="#a672ac82bb1299f29ec11bba410a04cca">More...</a><br/></td></tr> <tr class="separator:a672ac82bb1299f29ec11bba410a04cca"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac1bc0ed3c080637c567d3701b85b1976"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>< bool > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtkSpell_1_1Checker.html#ac1bc0ed3c080637c567d3701b85b1976">property_decode_language_codes</a> ()</td></tr> <tr class="memdesc:ac1bc0ed3c080637c567d3701b85b1976"><td class="mdescLeft"> </td><td class="mdescRight">Whether to show decoded language codes in the context menu (requires the iso-codes package). <a href="#ac1bc0ed3c080637c567d3701b85b1976">More...</a><br/></td></tr> <tr class="separator:ac1bc0ed3c080637c567d3701b85b1976"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1ba8bec6c00b9a0b5f407c699e119d32"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a><br class="typebreak"/> < bool > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtkSpell_1_1Checker.html#a1ba8bec6c00b9a0b5f407c699e119d32">property_decode_language_codes</a> () const </td></tr> <tr class="memdesc:a1ba8bec6c00b9a0b5f407c699e119d32"><td class="mdescLeft"> </td><td class="mdescRight">Whether to show decoded language codes in the context menu (requires the iso-codes package). <a href="#a1ba8bec6c00b9a0b5f407c699e119d32">More...</a><br/></td></tr> <tr class="separator:a1ba8bec6c00b9a0b5f407c699e119d32"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a> Static Public Member Functions</h2></td></tr> <tr class="memitem:a47aa32278c7bbd544e968031b10ea8b0"><td class="memItemLeft" align="right" valign="top">static GType </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtkSpell_1_1Checker.html#a47aa32278c7bbd544e968031b10ea8b0">get_type</a> ()</td></tr> <tr class="memdesc:a47aa32278c7bbd544e968031b10ea8b0"><td class="mdescLeft"> </td><td class="mdescRight">Get the GType for this class, for use with the underlying GObject type system. <a href="#a47aa32278c7bbd544e968031b10ea8b0">More...</a><br/></td></tr> <tr class="separator:a47aa32278c7bbd544e968031b10ea8b0"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a7418c56dfea3f92401f221d6e8b88a20"><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGtkSpell_1_1Checker.html">Checker</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtkSpell_1_1Checker.html#a7418c56dfea3f92401f221d6e8b88a20">get_from_text_view</a> (<a class="elRef" href="http://library.gnome.org/devel/gtkmm/unstable/classGtk_1_1TextView.html">Gtk::TextView</a>& view)</td></tr> <tr class="memdesc:a7418c56dfea3f92401f221d6e8b88a20"><td class="mdescLeft"> </td><td class="mdescRight">Retreives the <a class="el" href="classGtkSpell_1_1Checker.html">GtkSpell::Checker</a> attached to a <a class="elRef" href="http://library.gnome.org/devel/gtkmm/unstable/classGtk_1_1TextView.html">Gtk::TextView</a>. <a href="#a7418c56dfea3f92401f221d6e8b88a20">More...</a><br/></td></tr> <tr class="separator:a7418c56dfea3f92401f221d6e8b88a20"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a074619dbdcae5d49a929ddbf8d0985a8"><td class="memItemLeft" align="right" valign="top">static std::vector< <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtkSpell_1_1Checker.html#a074619dbdcae5d49a929ddbf8d0985a8">get_language_list</a> ()</td></tr> <tr class="memdesc:a074619dbdcae5d49a929ddbf8d0985a8"><td class="mdescLeft"> </td><td class="mdescRight">Gets the list of available languages. <a href="#a074619dbdcae5d49a929ddbf8d0985a8">More...</a><br/></td></tr> <tr class="separator:a074619dbdcae5d49a929ddbf8d0985a8"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac486892b675ed5f2cd951f579e52f3be"><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtkSpell_1_1Checker.html#ac486892b675ed5f2cd951f579e52f3be">decode_language_code</a> (const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& lang)</td></tr> <tr class="memdesc:ac486892b675ed5f2cd951f579e52f3be"><td class="mdescLeft"> </td><td class="mdescRight">Translates the language code to a human readable format (i.e. <a href="#ac486892b675ed5f2cd951f579e52f3be">More...</a><br/></td></tr> <tr class="separator:ac486892b675ed5f2cd951f579e52f3be"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a> Protected Member Functions</h2></td></tr> <tr class="memitem:ace99736633259a4cfa94b4d70e773c07"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtkSpell_1_1Checker.html#ace99736633259a4cfa94b4d70e773c07">on_language_changed</a> (const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& newlang)</td></tr> <tr class="memdesc:ace99736633259a4cfa94b4d70e773c07"><td class="mdescLeft"> </td><td class="mdescRight">This is a default handler for the signal <a class="el" href="classGtkSpell_1_1Checker.html#a672ac82bb1299f29ec11bba410a04cca" title="This signal is emitted when a new language is selected from the context menu. ">signal_language_changed()</a>. <a href="#ace99736633259a4cfa94b4d70e773c07">More...</a><br/></td></tr> <tr class="separator:ace99736633259a4cfa94b4d70e773c07"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="related"></a> Related Functions</h2></td></tr> <tr><td class="ititle" colspan="2"><p>(Note that these are not member functions.) </p> </td></tr> <tr class="memitem:a0661c5a419b814dbcff51482e9bf4c31"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGtkSpell_1_1Checker.html">GtkSpell::Checker</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGtkSpell_1_1Checker.html#a0661c5a419b814dbcff51482e9bf4c31">wrap</a> (GtkSpellChecker* object, bool take_copy=false)</td></tr> <tr class="memdesc:a0661c5a419b814dbcff51482e9bf4c31"><td class="mdescLeft"> </td><td class="mdescRight">A <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#a0661c5a419b814dbcff51482e9bf4c31">More...</a><br/></td></tr> <tr class="separator:a0661c5a419b814dbcff51482e9bf4c31"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a> Additional Inherited Members</h2></td></tr> <tr class="inherit_header pub_types_structsigc_1_1trackable"><td colspan="2" onclick="javascript:toggleInherit('pub_types_structsigc_1_1trackable')"><img src="closed.png" alt="-"/> Public Types inherited from <a class="el" href="http://library.gnome.org/devel/libsigc++/unstable/structsigc_1_1trackable.html">sigc::trackable</a></td></tr> <tr class="memitem:a3338954d7565534bd945290b798e13ed inherit pub_types_structsigc_1_1trackable"><td class="memItemLeft" align="right" valign="top">typedef <br class="typebreak"/> internal::func_destroy_notify </td><td class="memItemRight" valign="bottom"><a class="elRef" href="http://library.gnome.org/devel/libsigc++/unstable/structsigc_1_1trackable.html#a3338954d7565534bd945290b798e13ed">func_destroy_notify</a></td></tr> <tr class="separator:a3338954d7565534bd945290b798e13ed inherit pub_types_structsigc_1_1trackable"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><dl><dt><b>Examples: </b></dt><dd><a class="el" href="example_2example_8cc-example.html#_a16">example/example.cc</a>.</dd> </dl></div><h2 class="groupheader">Constructor & Destructor Documentation</h2> <a class="anchor" id="a693e26405249069cf524e742fb79e53b"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual GtkSpell::Checker::~Checker </td> <td>(</td> <td class="paramname">)</td><td></td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> </div> </div> <a class="anchor" id="a8184089188ee1624ce02d7fe347f6aae"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GtkSpell::Checker::Checker </td> <td>(</td> <td class="paramname">)</td><td></td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Constructs a new <a class="el" href="classGtkSpell_1_1Checker.html">GtkSpell::Checker</a> object. </p> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a class="anchor" id="a1e5dbb84ae8621ff6f856939ef6c25c8"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool GtkSpell::Checker::attach </td> <td>(</td> <td class="paramtype"><a class="elRef" href="http://library.gnome.org/devel/gtkmm/unstable/classGtk_1_1TextView.html">Gtk::TextView</a> & </td> <td class="paramname"><em>view</em>)</td><td></td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Attach the <a class="el" href="classGtkSpell_1_1Checker.html">GtkSpell::Checker</a> to the specified <a class="elRef" href="http://library.gnome.org/devel/gtkmm/unstable/classGtk_1_1TextView.html">Gtk::TextView</a>. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">view</td><td>A <a class="elRef" href="http://library.gnome.org/devel/gtkmm/unstable/classGtk_1_1TextView.html">Gtk::TextView</a></td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>Whether the operation succeded </dd></dl> <dl><dt><b>Examples: </b></dt><dd><a class="el" href="example_2example_8cc-example.html#a21">example/example.cc</a>.</dd> </dl> </div> </div> <a class="anchor" id="ac486892b675ed5f2cd951f579e52f3be"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> GtkSpell::Checker::decode_language_code </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"><em>lang</em>)</td><td></td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Translates the language code to a human readable format (i.e. </p> <p>"en_US" -> "English (United States)").</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">lang</td><td>The language locale specifier (i.e. "en", or "en_US").</td></tr> </table> </dd> </dl> <dl class="section note"><dt>Note</dt><dd>If the iso-codes package is not available, the unchanged code is returned.</dd></dl> <dl class="section return"><dt>Returns</dt><dd>The translated language specifier.</dd></dl> <dl class="since_3_0_2"><dt><b><a class="el" href="since_3_0_2.html#_since_3_0_2000002">Since gtkspellmm 3.0.2:</a></b></dt><dd></dd></dl> </div> </div> <a class="anchor" id="a796993bb3c0e06b0c7197eaf996a44f7"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void GtkSpell::Checker::detach </td> <td>(</td> <td class="paramname">)</td><td></td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Detaches the Gtk::SpellChecker. </p> <p>If the Gtk::SpellChecker is not attached to any <a class="elRef" href="http://library.gnome.org/devel/gtkmm/unstable/classGtk_1_1TextView.html">Gtk::TextView</a>, the function silently exits </p> </div> </div> <a class="anchor" id="a7418c56dfea3f92401f221d6e8b88a20"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGtkSpell_1_1Checker.html">Checker</a>> GtkSpell::Checker::get_from_text_view </td> <td>(</td> <td class="paramtype"><a class="elRef" href="http://library.gnome.org/devel/gtkmm/unstable/classGtk_1_1TextView.html">Gtk::TextView</a> & </td> <td class="paramname"><em>view</em>)</td><td></td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Retreives the <a class="el" href="classGtkSpell_1_1Checker.html">GtkSpell::Checker</a> attached to a <a class="elRef" href="http://library.gnome.org/devel/gtkmm/unstable/classGtk_1_1TextView.html">Gtk::TextView</a>. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">view</td><td>A <a class="elRef" href="http://library.gnome.org/devel/gtkmm/unstable/classGtk_1_1TextView.html">Gtk::TextView</a></td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>A <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a> to the attached Gtk::SpellChecker, if any, otherwise a <code>null</code> <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a> </dd></dl> </div> </div> <a class="anchor" id="a31fb06a85fb8e830d46eeeeed14a782c"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> GtkSpell::Checker::get_language </td> <td>(</td> <td class="paramname">)</td><td></td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Gets the language currently being used for spelling. </p> <dl class="section return"><dt>Returns</dt><dd>The language, as a locale specifier (i.e. "en", or "en_US") </dd></dl> </div> </div> <a class="anchor" id="a074619dbdcae5d49a929ddbf8d0985a8"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static std::vector<<a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>> GtkSpell::Checker::get_language_list </td> <td>(</td> <td class="paramname">)</td><td></td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Gets the list of available languages. </p> <dl class="section return"><dt>Returns</dt><dd>The list of languages</dd></dl> <dl class="since_3_0_2"><dt><b><a class="el" href="since_3_0_2.html#_since_3_0_2000001">Since gtkspellmm 3.0.2:</a></b></dt><dd></dd></dl> </div> </div> <a class="anchor" id="a95f0e58e265f65792763f8ec299bf094"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/gtkmm/unstable/classGtk_1_1Menu.html">Gtk::Menu</a>* GtkSpell::Checker::get_suggestions_menu </td> <td>(</td> <td class="paramtype"><a class="elRef" href="http://library.gnome.org/devel/gtkmm/unstable/classGtk_1_1TextIter.html">Gtk::TextIter</a> & </td> <td class="paramname"><em>iter</em>)</td><td></td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Retreives a <a class="elRef" href="http://library.gnome.org/devel/gtkmm/unstable/classGtk_1_1Menu.html">Gtk::Menu</a> of replacement spellings. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">iter</td><td>A <a class="elRef" href="http://library.gnome.org/devel/gtkmm/unstable/classGtk_1_1TextIter.html">Gtk::TextIter</a> position in the buffer to be corrected</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>A pointer to a <a class="elRef" href="http://library.gnome.org/devel/gtkmm/unstable/classGtk_1_1Menu.html">Gtk::Menu</a>, or <code>null</code> if the word is not misspelt </dd></dl> </div> </div> <a class="anchor" id="a47aa32278c7bbd544e968031b10ea8b0"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static GType GtkSpell::Checker::get_type </td> <td>(</td> <td class="paramname">)</td><td></td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Get the GType for this class, for use with the underlying GObject type system. </p> </div> </div> <a class="anchor" id="af833c6e75ad1d8d62db5828bb1665802"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">GtkSpellChecker* GtkSpell::Checker::gobj </td> <td>(</td> <td class="paramname">)</td><td></td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Provides access to the underlying C GObject. </p> </div> </div> <a class="anchor" id="af60a70d9e4173d092865eac7ee2285f1"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">const GtkSpellChecker* GtkSpell::Checker::gobj </td> <td>(</td> <td class="paramname">)</td><td></td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Provides access to the underlying C GObject. </p> </div> </div> <a class="anchor" id="a3b931929238ee3799480f615d853a3a5"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GtkSpellChecker* GtkSpell::Checker::gobj_copy </td> <td>(</td> <td class="paramname">)</td><td></td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. </p> </div> </div> <a class="anchor" id="ace99736633259a4cfa94b4d70e773c07"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual void GtkSpell::Checker::on_language_changed </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"><em>newlang</em>)</td><td></td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>This is a default handler for the signal <a class="el" href="classGtkSpell_1_1Checker.html#a672ac82bb1299f29ec11bba410a04cca" title="This signal is emitted when a new language is selected from the context menu. ">signal_language_changed()</a>. </p> </div> </div> <a class="anchor" id="ac1bc0ed3c080637c567d3701b85b1976"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy.html">Glib::PropertyProxy</a>< bool > GtkSpell::Checker::property_decode_language_codes </td> <td>(</td> <td class="paramname">)</td><td></td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Whether to show decoded language codes in the context menu (requires the iso-codes package). </p> <dl class="since_3_0_2"><dt><b><a class="el" href="since_3_0_2.html#_since_3_0_2000003">Since gtkspellmm 3.0.2:</a></b></dt><dd></dd></dl> <p>Whether to show decoded language codes in the context menu (requires the iso-codes package).</p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p> <dl class="section return"><dt>Returns</dt><dd>A PropertyProxy that allows you to get or set the value of the property, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="a1ba8bec6c00b9a0b5f407c699e119d32"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1PropertyProxy__ReadOnly.html">Glib::PropertyProxy_ReadOnly</a>< bool > GtkSpell::Checker::property_decode_language_codes </td> <td>(</td> <td class="paramname">)</td><td></td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Whether to show decoded language codes in the context menu (requires the iso-codes package). </p> <p>You rarely need to use properties because there are get_ and set_ methods for almost all of them. </p> <dl class="section return"><dt>Returns</dt><dd>A PropertyProxy_ReadOnly that allows you to get the value of the property, or receive notification when the value of the property changes. </dd></dl> </div> </div> <a class="anchor" id="a9bce1295b610490e0cbe5a748eb67b5a"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void GtkSpell::Checker::recheck_all </td> <td>(</td> <td class="paramname">)</td><td></td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Rechecks the entire text buffer. </p> </div> </div> <a class="anchor" id="a7f1b26cca2a8e4d3f542179a834c2184"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void GtkSpell::Checker::set_language </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"><em>lang</em>)</td><td></td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Sets the language to be used for spelling, throws an exception on failure. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">lang</td><td>The language, as a locale specifier (i.e. "en", or "en_US")</td></tr> </table> </dd> </dl> <dl class="exception"><dt>Exceptions</dt><dd> <table class="exception"> <tr><td class="paramname">Gtk::Error</td><td>An exception describing the error occured </td></tr> </table> </dd> </dl> <dl><dt><b>Examples: </b></dt><dd><a class="el" href="example_2example_8cc-example.html#a17">example/example.cc</a>.</dd> </dl> </div> </div> <a class="anchor" id="a672ac82bb1299f29ec11bba410a04cca"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1SignalProxy1.html">Glib::SignalProxy1</a>< void,const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& > GtkSpell::Checker::signal_language_changed </td> <td>(</td> <td class="paramname">)</td><td></td> <td></td> </tr> </table> </div><div class="memdoc"> <p>This signal is emitted when a new language is selected from the context menu. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">newlang</td><td>The new spelling language</td></tr> </table> </dd> </dl> <dl class="section user"><dt>Slot Prototype:</dt><dd><code>void on_my_language_changed(const <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& newlang)</code></dd></dl> <p>The <a class="el" href="classGtkSpell_1_1Checker.html#a672ac82bb1299f29ec11bba410a04cca" title="This signal is emitted when a new language is selected from the context menu. ">signal_language_changed()</a> signal is emitted when the user selects a new spelling language from the context menu. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">lang</td><td>The new language which was selected. </td></tr> </table> </dd> </dl> </div> </div> <h2 class="groupheader">Friends And Related Function Documentation</h2> <a class="anchor" id="a0661c5a419b814dbcff51482e9bf4c31"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGtkSpell_1_1Checker.html">GtkSpell::Checker</a> > wrap </td> <td>(</td> <td class="paramtype">GtkSpellChecker * </td> <td class="paramname"><em>object</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"><em>take_copy</em> = <code>false</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">related</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>A <a class="elRef" href="http://library.gnome.org/devel/glibmm/unstable/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">object</td><td>The C instance. </td></tr> <tr><td class="paramname">take_copy</td><td>False if the result should take ownership of the C instance. True if it should take a new copy or ref. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>A C++ instance that wraps this C instance. </dd></dl> </div> </div> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Tue Jun 4 2013 00:37:38 for gtkspellmm by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.4 </small></address> </body> </html>