This file is indexed.

/usr/share/doc/libghc-gtk3-doc/html/Graphics-UI-Gtk-Entry-EntryBuffer.html is in libghc-gtk3-doc 0.14.8-1build1.

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
<!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/html; charset=UTF-8" /><title>Graphics.UI.Gtk.Entry.EntryBuffer</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="file:///usr/share/javascript/mathjax/MathJax.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Graphics-UI-Gtk-Entry-EntryBuffer.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Graphics-UI-Gtk-Entry-EntryBuffer.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">gtk3-0.14.8: Binding to the Gtk+ 3 graphical user interface library</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Maintainer</th><td>gtk2hs-users@lists.sourceforge.net</td></tr><tr><th>Stability</th><td>provisional</td></tr><tr><th>Portability</th><td>portable (depends on GHC)</td></tr><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell98</td></tr></table><p class="caption">Graphics.UI.Gtk.Entry.EntryBuffer</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Detail</a></li><li><a href="#g:2">Class Hierarchy</a></li><li><a href="#g:3">Types</a></li><li><a href="#g:4">Constructors</a></li><li><a href="#g:5">Methods</a></li><li><a href="#g:6">Attributes</a></li><li><a href="#g:7">Signals</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Text buffer for <code><a href="Graphics-UI-Gtk-Entry-Entry.html#t:Entry">Entry</a></code></p><ul><li>Module available since Gtk+ version 2.18</li></ul></div></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><span class="keyword">data</span> <a href="#t:EntryBuffer">EntryBuffer</a></li><li class="src short"><span class="keyword">class</span> <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> o =&gt; <a href="#t:EntryBufferClass">EntryBufferClass</a> o</li><li class="src short"><a href="#v:castToEntryBuffer">castToEntryBuffer</a> :: <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> obj =&gt; obj -&gt; <a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBuffer">EntryBuffer</a></li><li class="src short"><a href="#v:toEntryBuffer">toEntryBuffer</a> :: <a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBufferClass">EntryBufferClass</a> o =&gt; o -&gt; <a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBuffer">EntryBuffer</a></li><li class="src short"><a href="#v:entryBufferNew">entryBufferNew</a> :: <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> string -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBuffer">EntryBuffer</a></li><li class="src short"><a href="#v:entryBufferGetBytes">entryBufferGetBytes</a> :: <a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBufferClass">EntryBufferClass</a> self =&gt; self -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:entryBufferInsertText">entryBufferInsertText</a> :: (<a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBufferClass">EntryBufferClass</a> self, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string) =&gt; self -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; string -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:entryBufferDeleteText">entryBufferDeleteText</a> :: <a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBufferClass">EntryBufferClass</a> self =&gt; self -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:entryBufferEmitDeletedText">entryBufferEmitDeletedText</a> :: <a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBufferClass">EntryBufferClass</a> self =&gt; self -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:entryBufferEmitInsertedText">entryBufferEmitInsertedText</a> :: (<a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBufferClass">EntryBufferClass</a> self, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string) =&gt; self -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; string -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:entryBufferText">entryBufferText</a> :: (<a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBufferClass">EntryBufferClass</a> self, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string) =&gt; <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:Attr">Attr</a> self string</li><li class="src short"><a href="#v:entryBufferLength">entryBufferLength</a> :: <a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBufferClass">EntryBufferClass</a> self =&gt; <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:ReadAttr">ReadAttr</a> self <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:entryBufferMaxLength">entryBufferMaxLength</a> :: <a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBufferClass">EntryBufferClass</a> self =&gt; <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:Attr">Attr</a> self <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:entryBufferInsertedText">entryBufferInsertedText</a> :: (<a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBufferClass">EntryBufferClass</a> self, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string) =&gt; <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-Signals.html#t:Signal">Signal</a> self (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; string -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ())</li><li class="src short"><a href="#v:entryBufferDeletedText">entryBufferDeletedText</a> :: <a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBufferClass">EntryBufferClass</a> self =&gt; <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-Signals.html#t:Signal">Signal</a> self (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ())</li></ul></div><div id="interface"><h1 id="g:1">Detail</h1><div class="doc"><p>The <code><a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBuffer">EntryBuffer</a></code> class contains the actual text displayed in a <code><a href="Graphics-UI-Gtk-Entry-Entry.html#t:Entry">Entry</a></code>
 widget.</p><p>A single <code><a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBuffer">EntryBuffer</a></code> object can be shared by multiple <code><a href="Graphics-UI-Gtk-Entry-Entry.html#t:Entry">Entry</a></code> widgets
 which will then share the same text content, but not the cursor position,
 visibility attributes, icon etc.</p><p><code><a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBuffer">EntryBuffer</a></code> may be derived from. Such a derived class might allow text
 to be stored in an alternate location, such as non-pageable memory, useful
 in the case of important passwords. Or a derived class could integrate with
 an application's concept of undo/redo.</p></div><h1 id="g:2">Class Hierarchy</h1><div class="doc"><pre>| <code><a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObject">GObject</a></code>
| +----EntryBuffer
</pre></div><h1 id="g:3">Types</h1><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:EntryBuffer" class="def">EntryBuffer</a> <a href="src/Graphics-UI-Gtk-Types.html#EntryBuffer" class="link">Source</a> <a href="#t:EntryBuffer" class="selflink">#</a></p><div class="subs instances"><p id="control.i:EntryBuffer" class="caption collapser" onclick="toggleSection('i:EntryBuffer')">Instances</p><div id="section.i:EntryBuffer" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:EntryBuffer:Eq:1" class="instance expander" onclick="toggleSection('i:id:EntryBuffer:Eq:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Eq.html#t:Eq">Eq</a> <a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBuffer">EntryBuffer</a></span> <a href="src/Graphics-UI-Gtk-Types.html#line-5083" class="link">Source</a> <a href="#t:EntryBuffer" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:EntryBuffer:Eq:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-61--61-">(==)</a> :: <a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBuffer">EntryBuffer</a> -&gt; <a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBuffer">EntryBuffer</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-61--61-" class="selflink">#</a></p><p class="src"><a href="#v:-47--61-">(/=)</a> :: <a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBuffer">EntryBuffer</a> -&gt; <a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBuffer">EntryBuffer</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-47--61-" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:EntryBuffer:Ord:2" class="instance expander" onclick="toggleSection('i:id:EntryBuffer:Ord:2')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Ord.html#t:Ord">Ord</a> <a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBuffer">EntryBuffer</a></span> <a href="src/Graphics-UI-Gtk-Types.html#line-5083" class="link">Source</a> <a href="#t:EntryBuffer" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:EntryBuffer:Ord:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:compare">compare</a> :: <a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBuffer">EntryBuffer</a> -&gt; <a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBuffer">EntryBuffer</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Ord.html#t:Ordering">Ordering</a> <a href="#v:compare" class="selflink">#</a></p><p class="src"><a href="#v:-60-">(&lt;)</a> :: <a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBuffer">EntryBuffer</a> -&gt; <a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBuffer">EntryBuffer</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-60-" class="selflink">#</a></p><p class="src"><a href="#v:-60--61-">(&lt;=)</a> :: <a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBuffer">EntryBuffer</a> -&gt; <a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBuffer">EntryBuffer</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-60--61-" class="selflink">#</a></p><p class="src"><a href="#v:-62-">(&gt;)</a> :: <a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBuffer">EntryBuffer</a> -&gt; <a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBuffer">EntryBuffer</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-62-" class="selflink">#</a></p><p class="src"><a href="#v:-62--61-">(&gt;=)</a> :: <a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBuffer">EntryBuffer</a> -&gt; <a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBuffer">EntryBuffer</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a> <a href="#v:-62--61-" class="selflink">#</a></p><p class="src"><a href="#v:max">max</a> :: <a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBuffer">EntryBuffer</a> -&gt; <a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBuffer">EntryBuffer</a> -&gt; <a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBuffer">EntryBuffer</a> <a href="#v:max" class="selflink">#</a></p><p class="src"><a href="#v:min">min</a> :: <a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBuffer">EntryBuffer</a> -&gt; <a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBuffer">EntryBuffer</a> -&gt; <a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBuffer">EntryBuffer</a> <a href="#v:min" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:EntryBuffer:GObjectClass:3" class="instance expander" onclick="toggleSection('i:id:EntryBuffer:GObjectClass:3')"></span> <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> <a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBuffer">EntryBuffer</a></span> <a href="src/Graphics-UI-Gtk-Types.html#line-5093" class="link">Source</a> <a href="#t:EntryBuffer" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:EntryBuffer:GObjectClass:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:toGObject">toGObject</a> :: <a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBuffer">EntryBuffer</a> -&gt; <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObject">GObject</a> <a href="#v:toGObject" class="selflink">#</a></p><p class="src"><a href="#v:unsafeCastGObject">unsafeCastGObject</a> :: <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObject">GObject</a> -&gt; <a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBuffer">EntryBuffer</a> <a href="#v:unsafeCastGObject" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:EntryBuffer:EntryBufferClass:4" class="instance expander" onclick="toggleSection('i:id:EntryBuffer:EntryBufferClass:4')"></span> <a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBufferClass">EntryBufferClass</a> <a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBuffer">EntryBuffer</a></span> <a href="src/Graphics-UI-Gtk-Types.html#line-5092" class="link">Source</a> <a href="#t:EntryBuffer" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:EntryBuffer:EntryBufferClass:4" class="inst-details hide"></div></td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">class</span> <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> o =&gt; <a id="t:EntryBufferClass" class="def">EntryBufferClass</a> o <a href="src/Graphics-UI-Gtk-Types.html#EntryBufferClass" class="link">Source</a> <a href="#t:EntryBufferClass" class="selflink">#</a></p><div class="subs instances"><p id="control.i:EntryBufferClass" class="caption collapser" onclick="toggleSection('i:EntryBufferClass')">Instances</p><div id="section.i:EntryBufferClass" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:EntryBufferClass:EntryBufferClass:1" class="instance expander" onclick="toggleSection('i:ic:EntryBufferClass:EntryBufferClass:1')"></span> <a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBufferClass">EntryBufferClass</a> <a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBuffer">EntryBuffer</a></span> <a href="src/Graphics-UI-Gtk-Types.html#line-5092" class="link">Source</a> <a href="#t:EntryBufferClass" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:EntryBufferClass:EntryBufferClass:1" class="inst-details hide"></div></td></tr></table></div></div></div><div class="top"><p class="src"><a id="v:castToEntryBuffer" class="def">castToEntryBuffer</a> :: <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> obj =&gt; obj -&gt; <a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBuffer">EntryBuffer</a> <a href="src/Graphics-UI-Gtk-Types.html#castToEntryBuffer" class="link">Source</a> <a href="#v:castToEntryBuffer" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:toEntryBuffer" class="def">toEntryBuffer</a> :: <a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBufferClass">EntryBufferClass</a> o =&gt; o -&gt; <a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBuffer">EntryBuffer</a> <a href="src/Graphics-UI-Gtk-Types.html#toEntryBuffer" class="link">Source</a> <a href="#v:toEntryBuffer" class="selflink">#</a></p></div><h1 id="g:4">Constructors</h1><div class="top"><p class="src"><a id="v:entryBufferNew" class="def">entryBufferNew</a> <a href="src/Graphics-UI-Gtk-Entry-EntryBuffer.html#entryBufferNew" class="link">Source</a> <a href="#v:entryBufferNew" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> string</td><td class="doc"><p><code>initialChars</code> - initial buffer text or <code><a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#v:Nothing">Nothing</a></code></p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBuffer">EntryBuffer</a></td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Create a new <code><a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBuffer">EntryBuffer</a></code> object.</p><p>Optionally, specify initial text to set in the buffer.</p><ul><li>Available since Gtk+ version 2.18</li></ul></div></div><h1 id="g:5">Methods</h1><div class="top"><p class="src"><a id="v:entryBufferGetBytes" class="def">entryBufferGetBytes</a> <a href="src/Graphics-UI-Gtk-Entry-EntryBuffer.html#entryBufferGetBytes" class="link">Source</a> <a href="#v:entryBufferGetBytes" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBufferClass">EntryBufferClass</a> self</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; self</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p>returns The byte length of the buffer.</p></td></tr></table></div><div class="doc"><p>Retrieves the length in bytes of the buffer. See <code>entryBufferGetLength</code>.</p><ul><li>Available since Gtk+ version 2.18</li></ul></div></div><div class="top"><p class="src"><a id="v:entryBufferInsertText" class="def">entryBufferInsertText</a> <a href="src/Graphics-UI-Gtk-Entry-EntryBuffer.html#entryBufferInsertText" class="link">Source</a> <a href="#v:entryBufferInsertText" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBufferClass">EntryBufferClass</a> self, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; self</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p><code>position</code> - the position at which to insert text.</p></td></tr><tr><td class="src">-&gt; string</td><td class="doc"><p><code>chars</code> - the text to insert into the buffer.</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p>returns The number of characters actually inserted.</p></td></tr></table></div><div class="doc"><p>Inserts <code>chars</code> into the contents of the buffer,
 at position <code>position</code>.</p><ul><li>Available since Gtk+ version 2.18</li></ul></div></div><div class="top"><p class="src"><a id="v:entryBufferDeleteText" class="def">entryBufferDeleteText</a> <a href="src/Graphics-UI-Gtk-Entry-EntryBuffer.html#entryBufferDeleteText" class="link">Source</a> <a href="#v:entryBufferDeleteText" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBufferClass">EntryBufferClass</a> self</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; self</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p><code>position</code> - position at which to delete text</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p><code>nChars</code> - number of characters to delete</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p>returns The number of characters deleted.</p></td></tr></table></div><div class="doc"><p>Deletes a sequence of characters from the buffer. <code>nChars</code> characters are
 deleted starting at <code>position</code>. If <code>nChars</code> is negative, then all characters
 until the end of the text are deleted.</p><ul><li>Available since Gtk+ version 2.18</li></ul></div></div><div class="top"><p class="src"><a id="v:entryBufferEmitDeletedText" class="def">entryBufferEmitDeletedText</a> <a href="src/Graphics-UI-Gtk-Entry-EntryBuffer.html#entryBufferEmitDeletedText" class="link">Source</a> <a href="#v:entryBufferEmitDeletedText" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBufferClass">EntryBufferClass</a> self</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; self</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p><code>position</code> - position at which text was deleted</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p><code>nChars</code> - number of characters deleted</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Used when subclassing <code><a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBuffer">EntryBuffer</a></code></p><ul><li>Available since Gtk+ version 2.18</li></ul></div></div><div class="top"><p class="src"><a id="v:entryBufferEmitInsertedText" class="def">entryBufferEmitInsertedText</a> <a href="src/Graphics-UI-Gtk-Entry-EntryBuffer.html#entryBufferEmitInsertedText" class="link">Source</a> <a href="#v:entryBufferEmitInsertedText" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBufferClass">EntryBufferClass</a> self, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; self</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p><code>position</code> - position at which text was inserted</p></td></tr><tr><td class="src">-&gt; string</td><td class="doc"><p><code>chars</code> - text that was inserted</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p><code>nChars</code> - number of characters inserted</p></td></tr><tr><td class="src">-&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Used when subclassing <code><a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBuffer">EntryBuffer</a></code></p><ul><li>Available since Gtk+ version 2.18</li></ul></div></div><h1 id="g:6">Attributes</h1><div class="top"><p class="src"><a id="v:entryBufferText" class="def">entryBufferText</a> :: (<a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBufferClass">EntryBufferClass</a> self, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string) =&gt; <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:Attr">Attr</a> self string <a href="src/Graphics-UI-Gtk-Entry-EntryBuffer.html#entryBufferText" class="link">Source</a> <a href="#v:entryBufferText" class="selflink">#</a></p><div class="doc"><p>The contents of the buffer.</p><p>Default value: &quot;&quot;</p><ul><li>Available since Gtk+ version 2.18</li></ul></div></div><div class="top"><p class="src"><a id="v:entryBufferLength" class="def">entryBufferLength</a> :: <a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBufferClass">EntryBufferClass</a> self =&gt; <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:ReadAttr">ReadAttr</a> self <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> <a href="src/Graphics-UI-Gtk-Entry-EntryBuffer.html#entryBufferLength" class="link">Source</a> <a href="#v:entryBufferLength" class="selflink">#</a></p><div class="doc"><p>The length of the text in buffer.</p><p>Allowed values: &lt;= 65535</p><p>Default value: 0</p><ul><li>Available since Gtk+ version 2.18</li></ul></div></div><div class="top"><p class="src"><a id="v:entryBufferMaxLength" class="def">entryBufferMaxLength</a> :: <a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBufferClass">EntryBufferClass</a> self =&gt; <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:Attr">Attr</a> self <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> <a href="src/Graphics-UI-Gtk-Entry-EntryBuffer.html#entryBufferMaxLength" class="link">Source</a> <a href="#v:entryBufferMaxLength" class="selflink">#</a></p><div class="doc"><p>The maximum length of the text in the buffer.</p><p>Allowed values: [0,65535]</p><p>Default value: 0</p><ul><li>Available since Gtk+ version 2.18</li></ul></div></div><h1 id="g:7">Signals</h1><div class="top"><p class="src"><a id="v:entryBufferInsertedText" class="def">entryBufferInsertedText</a> :: (<a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBufferClass">EntryBufferClass</a> self, <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-UTFString.html#t:GlibString">GlibString</a> string) =&gt; <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-Signals.html#t:Signal">Signal</a> self (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; string -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()) <a href="src/Graphics-UI-Gtk-Entry-EntryBuffer.html#entryBufferInsertedText" class="link">Source</a> <a href="#v:entryBufferInsertedText" class="selflink">#</a></p><div class="doc"><ul><li>Available since Gtk+ version 2.18</li></ul></div></div><div class="top"><p class="src"><a id="v:entryBufferDeletedText" class="def">entryBufferDeletedText</a> :: <a href="Graphics-UI-Gtk-Entry-EntryBuffer.html#t:EntryBufferClass">EntryBufferClass</a> self =&gt; <a href="file:///usr/share/doc/libghc-glib-doc/html/System-Glib-Signals.html#t:Signal">Signal</a> self (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()) <a href="src/Graphics-UI-Gtk-Entry-EntryBuffer.html#entryBufferDeletedText" class="link">Source</a> <a href="#v:entryBufferDeletedText" class="selflink">#</a></p><div class="doc"><ul><li>Available since Gtk+ version 2.18</li></ul></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.3</p></div></body></html>