<!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.EntryCompletion</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[ window.onload = function () {pageLoad();setSynopsis("mini_Graphics-UI-Gtk-Entry-EntryCompletion.html");}; //]]> </script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Graphics-UI-Gtk-Entry-EntryCompletion.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">gtk-0.12.0: Binding to the Gtk+ graphical user interface library.</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Portability</th><td>portable (depends on GHC)</td></tr><tr><th>Stability</th><td>provisional</td></tr><tr><th>Maintainer</th><td>gtk2hs-users@lists.sourceforge.net</td></tr></table><p class="caption">Graphics.UI.Gtk.Entry.EntryCompletion</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><li><a href="#g:8">Deprecated </a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Completion functionality for <code><a href="Graphics-UI-Gtk-Entry-Entry.html#t:Entry">Entry</a></code> </p><ul><li> Module available since Gtk+ version 2.4 </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:EntryCompletion">EntryCompletion</a> </li><li class="src short"><span class="keyword">class</span> <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> o => <a href="#t:EntryCompletionClass">EntryCompletionClass</a> o </li><li class="src short"><a href="#v:castToEntryCompletion">castToEntryCompletion</a> :: <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> obj => obj -> <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a></li><li class="src short"><a href="#v:gTypeEntryCompletion">gTypeEntryCompletion</a> :: <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:GType">GType</a></li><li class="src short"><a href="#v:toEntryCompletion">toEntryCompletion</a> :: <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletionClass">EntryCompletionClass</a> o => o -> <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a></li><li class="src short"><a href="#v:entryCompletionNew">entryCompletionNew</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a></li><li class="src short"><a href="#v:entryCompletionGetEntry">entryCompletionGetEntry</a> :: <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-UI-Gtk-Entry-Entry.html#t:Entry">Entry</a>)</li><li class="src short"><a href="#v:entryCompletionSetModel">entryCompletionSetModel</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreeModelClass">TreeModelClass</a> model => <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> model -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:entryCompletionGetModel">entryCompletionGetModel</a> :: <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreeModel">TreeModel</a>)</li><li class="src short"><a href="#v:entryCompletionSetTextModel">entryCompletionSetTextModel</a> :: (<a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreeModelClass">TreeModelClass</a> (model <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>), <a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TypedTreeModelClass">TypedTreeModelClass</a> model) => <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a> -> model <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:entryCompletionSetMatchFunc">entryCompletionSetMatchFunc</a> :: <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a> -> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a> -> <a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreeIter">TreeIter</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a>) -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:entryCompletionSetMinimumKeyLength">entryCompletionSetMinimumKeyLength</a> :: <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:entryCompletionGetMinimumKeyLength">entryCompletionGetMinimumKeyLength</a> :: <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:entryCompletionComplete">entryCompletionComplete</a> :: <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:entryCompletionInsertActionText">entryCompletionInsertActionText</a> :: <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:entryCompletionInsertActionMarkup">entryCompletionInsertActionMarkup</a> :: <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:entryCompletionDeleteAction">entryCompletionDeleteAction</a> :: <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:entryCompletionSetTextColumn">entryCompletionSetTextColumn</a> :: <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a> -> <a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:ColumnId">ColumnId</a> row <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:entryCompletionInsertPrefix">entryCompletionInsertPrefix</a> :: <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:entryCompletionGetTextColumn">entryCompletionGetTextColumn</a> :: <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> (<a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:ColumnId">ColumnId</a> row <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>)</li><li class="src short"><a href="#v:entryCompletionSetInlineCompletion">entryCompletionSetInlineCompletion</a> :: <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:entryCompletionGetInlineCompletion">entryCompletionGetInlineCompletion</a> :: <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:entryCompletionSetPopupCompletion">entryCompletionSetPopupCompletion</a> :: <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:entryCompletionGetPopupCompletion">entryCompletionGetPopupCompletion</a> :: <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:entryCompletionSetPopupSetWidth">entryCompletionSetPopupSetWidth</a> :: <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:entryCompletionGetPopupSetWidth">entryCompletionGetPopupSetWidth</a> :: <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:entryCompletionSetPopupSingleMatch">entryCompletionSetPopupSingleMatch</a> :: <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></li><li class="src short"><a href="#v:entryCompletionGetPopupSingleMatch">entryCompletionGetPopupSingleMatch</a> :: <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:entryCompletionModel">entryCompletionModel</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreeModelClass">TreeModelClass</a> model => <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Attributes.html#t:ReadWriteAttr">ReadWriteAttr</a> <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreeModel">TreeModel</a>) (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> model)</li><li class="src short"><a href="#v:entryCompletionMinimumKeyLength">entryCompletionMinimumKeyLength</a> :: <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Attributes.html#t:Attr">Attr</a> <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:entryCompletionTextColumn">entryCompletionTextColumn</a> :: <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Attributes.html#t:Attr">Attr</a> <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a> (<a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:ColumnId">ColumnId</a> row <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>)</li><li class="src short"><a href="#v:entryCompletionInlineCompletion">entryCompletionInlineCompletion</a> :: <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Attributes.html#t:Attr">Attr</a> <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:entryCompletionPopupCompletion">entryCompletionPopupCompletion</a> :: <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Attributes.html#t:Attr">Attr</a> <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:entryCompletionPopupSetWidth">entryCompletionPopupSetWidth</a> :: <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Attributes.html#t:Attr">Attr</a> <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:entryCompletionPopupSingleMatch">entryCompletionPopupSingleMatch</a> :: <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Attributes.html#t:Attr">Attr</a> <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:insertPrefix">insertPrefix</a> :: <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletionClass">EntryCompletionClass</a> self => <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Signals.html#t:Signal">Signal</a> self (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a>)</li><li class="src short"><a href="#v:completionActionActivated">completionActionActivated</a> :: <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletionClass">EntryCompletionClass</a> self => <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Signals.html#t:Signal">Signal</a> self (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a>)</li><li class="src short"><a href="#v:matchSelected">matchSelected</a> :: <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletionClass">EntryCompletionClass</a> self => <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Signals.html#t:Signal">Signal</a> self (<a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreeModel">TreeModel</a> -> <a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreeIter">TreeIter</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a>)</li><li class="src short"><a href="#v:onInsertPrefix">onInsertPrefix</a> :: <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletionClass">EntryCompletionClass</a> self => self -> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a>) -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> (<a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Signals.html#t:ConnectId">ConnectId</a> self)</li><li class="src short"><a href="#v:afterInsertPrefix">afterInsertPrefix</a> :: <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletionClass">EntryCompletionClass</a> self => self -> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a>) -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> (<a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Signals.html#t:ConnectId">ConnectId</a> self)</li><li class="src short"><a href="#v:onActionActivated">onActionActivated</a> :: <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletionClass">EntryCompletionClass</a> self => self -> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a>) -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> (<a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Signals.html#t:ConnectId">ConnectId</a> self)</li><li class="src short"><a href="#v:afterActionActivated">afterActionActivated</a> :: <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletionClass">EntryCompletionClass</a> self => self -> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a>) -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> (<a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Signals.html#t:ConnectId">ConnectId</a> self)</li></ul></div><div id="interface"><h1 id="g:1">Detail </h1><div class="doc"><p><code><a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a></code> is an auxiliary object to be used in conjunction with <code><a href="Graphics-UI-Gtk-Entry-Entry.html#t:Entry">Entry</a></code> to provide the completion functionality. It implements the <code>CellLayout</code> interface, to allow the user to add extra cells to the <code><a href="Graphics-UI-Gtk-ModelView-TreeView.html#t:TreeView">TreeView</a></code> with completion matches. </p><p>"Completion functionality" means that when the user modifies the text in the entry, <code><a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a></code> checks which rows in the model match the current content of the entry, and displays a list of matches. By default, the matching is done by comparing the entry text case-insensitively against the text in a model (see <code>Graphics.UI.Gtk.Entry.entryCompletionSetTextModel</code>), but this can be overridden with a custom match function (see <code><a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#v:entryCompletionSetMatchFunc">entryCompletionSetMatchFunc</a></code>). </p><p>When the user selects a completion, the content of the entry is updated. By default, the content of the entry is replaced by the text column of the model, but this can be overridden by connecting to the <code><a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#v:matchSelected">matchSelected</a></code> signal and updating the entry in the signal handler. Note that you should return <code>True</code> from the signal handler to suppress the default behaviour. </p><p>To add completion functionality to an entry, use <code>Graphics.UI.Gtk.Entry.Entry.entrySetCompletion</code>. </p><p>In addition to regular completion matches, which will be inserted into the entry when they are selected, <code><a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a></code> also allows to display "actions" in the popup window. Their appearance is similar to menu items, to differentiate them clearly from completion strings. When an action is selected, the <code><a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#v:completionActionActivated">completionActionActivated</a></code> signal is emitted. </p></div><h1 id="g:2">Class Hierarchy </h1><div class="doc"><pre> | <code><a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-GObject.html#t:GObject">GObject</a></code> | +----EntryCompletion </pre></div><h1 id="g:3">Types </h1><div class="top"><p class="src"><span class="keyword">data</span> <a name="t:EntryCompletion" class="def">EntryCompletion</a> <a href="src/Graphics-UI-Gtk-Types.html#EntryCompletion" class="link">Source</a></p><div class="subs instances"><p id="control.i:EntryCompletion" class="caption collapser" onclick="toggleSection('i:EntryCompletion')">Instances</p><div id="section.i:EntryCompletion" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Eq.html#t:Eq">Eq</a> <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Ord.html#t:Ord">Ord</a> <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletionClass">EntryCompletionClass</a> <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a></td><td class="doc empty"> </td></tr><tr><td class="src"><a href="Graphics-UI-Gtk-ModelView-CellLayout.html#t:CellLayoutClass">CellLayoutClass</a> <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">class</span> <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> o => <a name="t:EntryCompletionClass" class="def">EntryCompletionClass</a> o <a href="src/Graphics-UI-Gtk-Types.html#EntryCompletionClass" class="link">Source</a></p><div class="subs instances"><p id="control.i:EntryCompletionClass" class="caption collapser" onclick="toggleSection('i:EntryCompletionClass')">Instances</p><div id="section.i:EntryCompletionClass" class="show"><table><tr><td class="src"><a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletionClass">EntryCompletionClass</a> <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a></td><td class="doc empty"> </td></tr></table></div></div></div><div class="top"><p class="src"><a name="v:castToEntryCompletion" class="def">castToEntryCompletion</a> :: <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> obj => obj -> <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a><a href="src/Graphics-UI-Gtk-Types.html#castToEntryCompletion" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:gTypeEntryCompletion" class="def">gTypeEntryCompletion</a> :: <a href="Graphics-UI-Gtk-Abstract-Widget.html#t:GType">GType</a><a href="src/Graphics-UI-Gtk-Types.html#gTypeEntryCompletion" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:toEntryCompletion" class="def">toEntryCompletion</a> :: <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletionClass">EntryCompletionClass</a> o => o -> <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a><a href="src/Graphics-UI-Gtk-Types.html#toEntryCompletion" class="link">Source</a></p></div><h1 id="g:4">Constructors </h1><div class="top"><p class="src"><a name="v:entryCompletionNew" class="def">entryCompletionNew</a> :: <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a><a href="src/Graphics-UI-Gtk-Entry-EntryCompletion.html#entryCompletionNew" class="link">Source</a></p><div class="doc"><p>Creates a new <code><a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a></code> object. </p></div></div><h1 id="g:5">Methods </h1><div class="top"><p class="src"><a name="v:entryCompletionGetEntry" class="def">entryCompletionGetEntry</a><a href="src/Graphics-UI-Gtk-Entry-EntryCompletion.html#entryCompletionGetEntry" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a></td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-UI-Gtk-Entry-Entry.html#t:Entry">Entry</a>)</td><td class="doc"><p>returns the entry <code>completion</code> has been attached to. </p></td></tr></table></div><div class="doc"><p>Gets the entry <code>completion</code> has been attached to. </p></div></div><div class="top"><p class="src"><a name="v:entryCompletionSetModel" class="def">entryCompletionSetModel</a><a href="src/Graphics-UI-Gtk-Entry-EntryCompletion.html#entryCompletionSetModel" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreeModelClass">TreeModelClass</a> model</td><td class="doc empty"> </td></tr><tr><td class="src">=> <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a></td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> model</td><td class="doc"><p><code>model</code> - The <code><a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreeModel">TreeModel</a></code>. </p></td></tr><tr><td class="src">-> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></td><td class="doc empty"> </td></tr></table></div><div class="doc"><p>Sets the model for a <code><a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a></code>. If <code>completion</code> already has a model set, it will remove it before setting the new model. If model is <code>Nothing</code>, then it will unset the model. </p></div></div><div class="top"><p class="src"><a name="v:entryCompletionGetModel" class="def">entryCompletionGetModel</a><a href="src/Graphics-UI-Gtk-Entry-EntryCompletion.html#entryCompletionGetModel" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a></td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreeModel">TreeModel</a>)</td><td class="doc"><p>returns A <code><a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreeModel">TreeModel</a></code>, or <code>Nothing</code> if none is currently being used. </p></td></tr></table></div><div class="doc"><p>Returns the model the <code><a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a></code> is using as data source. Returns <code>Nothing</code> if the model is unset. </p></div></div><div class="top"><p class="src"><a name="v:entryCompletionSetTextModel" class="def">entryCompletionSetTextModel</a><a href="src/Graphics-UI-Gtk-Entry-EntryCompletion.html#entryCompletionSetTextModel" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreeModelClass">TreeModelClass</a> (model <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>), <a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TypedTreeModelClass">TypedTreeModelClass</a> model)</td><td class="doc empty"> </td></tr><tr><td class="src">=> <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a></td><td class="doc"><pre>completion</pre></td></tr><tr><td class="src">-> model <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a></td><td class="doc"><p>the model containing <code><a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a></code>s </p></td></tr><tr><td class="src">-> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></td><td class="doc empty"> </td></tr></table></div><div class="doc"><p>Convenience function for setting up the most used case of this code: a completion list with just strings. This function will set up <code>completion</code> to have a list displaying all (and just) strings in the completion list, and to get those strings from <code>model</code>. This functions creates and adds a <code><a href="Graphics-UI-Gtk-ModelView-CellRendererText.html#t:CellRendererText">CellRendererText</a></code> which retrieves its content from the given model. </p></div></div><div class="top"><p class="src"><a name="v:entryCompletionSetMatchFunc" class="def">entryCompletionSetMatchFunc</a> :: <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a> -> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a> -> <a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreeIter">TreeIter</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a>) -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a><a href="src/Graphics-UI-Gtk-Entry-EntryCompletion.html#entryCompletionSetMatchFunc" class="link">Source</a></p><div class="doc"><p>Sets the match function for <code>completion</code> to be <code>func</code>. The match function is used to determine if a row should or should not be in the completion list. </p><ul><li> The passed-in function decides whether the row indicated by the <code><a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreeIter">TreeIter</a></code> matches a given key, and should be displayed as a possible completion for key. Note that the key is normalized and case-folded. Normalization will standardizing such issues as whether a character with an accent is represented as a base character and combining accent or as a single precomposed character. If this is not appropriate you can extract the original text from the entry. </li></ul></div></div><div class="top"><p class="src"><a name="v:entryCompletionSetMinimumKeyLength" class="def">entryCompletionSetMinimumKeyLength</a><a href="src/Graphics-UI-Gtk-Entry-EntryCompletion.html#entryCompletionSetMinimumKeyLength" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a></td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p><code>length</code> - The minimum length of the key in order to start completing. </p></td></tr><tr><td class="src">-> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></td><td class="doc empty"> </td></tr></table></div><div class="doc"><p>Requires the length of the search key for <code>completion</code> to be at least <code>length</code>. This is useful for long lists, where completing using a small key takes a lot of time and will come up with meaningless results anyway (ie, a too large dataset). </p></div></div><div class="top"><p class="src"><a name="v:entryCompletionGetMinimumKeyLength" class="def">entryCompletionGetMinimumKeyLength</a><a href="src/Graphics-UI-Gtk-Entry-EntryCompletion.html#entryCompletionGetMinimumKeyLength" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a></td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p>returns The currently used minimum key length. </p></td></tr></table></div><div class="doc"><p>Returns the minimum key length as set for <code>completion</code>. </p></div></div><div class="top"><p class="src"><a name="v:entryCompletionComplete" class="def">entryCompletionComplete</a> :: <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a><a href="src/Graphics-UI-Gtk-Entry-EntryCompletion.html#entryCompletionComplete" class="link">Source</a></p><div class="doc"><p>Requests a completion operation, or in other words a refiltering of the current list with completions, using the current key. The completion list view will be updated accordingly. </p></div></div><div class="top"><p class="src"><a name="v:entryCompletionInsertActionText" class="def">entryCompletionInsertActionText</a><a href="src/Graphics-UI-Gtk-Entry-EntryCompletion.html#entryCompletionInsertActionText" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a></td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p><code>index</code> - The index of the item to insert. </p></td></tr><tr><td class="src">-> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a></td><td class="doc"><p><code>text</code> - Text of the item to insert. </p></td></tr><tr><td class="src">-> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></td><td class="doc empty"> </td></tr></table></div><div class="doc"><p>Inserts an action in <code>completion</code>'s action item list at position <code>index</code> with text <code>text</code>. If you want the action item to have markup, use <code><a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#v:entryCompletionInsertActionMarkup">entryCompletionInsertActionMarkup</a></code>. </p></div></div><div class="top"><p class="src"><a name="v:entryCompletionInsertActionMarkup" class="def">entryCompletionInsertActionMarkup</a><a href="src/Graphics-UI-Gtk-Entry-EntryCompletion.html#entryCompletionInsertActionMarkup" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a></td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p><code>index</code> - The index of the item to insert. </p></td></tr><tr><td class="src">-> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a></td><td class="doc"><p><code>markup</code> - Markup of the item to insert. </p></td></tr><tr><td class="src">-> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></td><td class="doc empty"> </td></tr></table></div><div class="doc"><p>Inserts an action in <code>completion</code>'s action item list at position <code>index</code> with markup <code>markup</code>. </p></div></div><div class="top"><p class="src"><a name="v:entryCompletionDeleteAction" class="def">entryCompletionDeleteAction</a><a href="src/Graphics-UI-Gtk-Entry-EntryCompletion.html#entryCompletionDeleteAction" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a></td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a></td><td class="doc"><p><code>index</code> - The index of the item to Delete. </p></td></tr><tr><td class="src">-> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></td><td class="doc empty"> </td></tr></table></div><div class="doc"><p>Deletes the action at <code>index</code> from <code>completion</code>'s action list. </p></div></div><div class="top"><p class="src"><a name="v:entryCompletionSetTextColumn" class="def">entryCompletionSetTextColumn</a><a href="src/Graphics-UI-Gtk-Entry-EntryCompletion.html#entryCompletionSetTextColumn" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a></td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:ColumnId">ColumnId</a> row <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a></td><td class="doc"><p><code>column</code> - The column in the model of <code>completion</code> to get strings from. </p></td></tr><tr><td class="src">-> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></td><td class="doc empty"> </td></tr></table></div><div class="doc"><p>Convenience function for setting up the most used case of this code: a completion list with just strings. This function will set up <code>completion</code> to have a list displaying all (and just) strings in the completion list, and to get those strings from <code>column</code> in the model of <code>completion</code>. </p><p>This functions creates and adds a <code><a href="Graphics-UI-Gtk-ModelView-CellRendererText.html#t:CellRendererText">CellRendererText</a></code> for the selected column. </p></div></div><div class="top"><p class="src"><a name="v:entryCompletionInsertPrefix" class="def">entryCompletionInsertPrefix</a> :: <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a><a href="src/Graphics-UI-Gtk-Entry-EntryCompletion.html#entryCompletionInsertPrefix" class="link">Source</a></p><div class="doc"><p>Requests a prefix insertion. </p><ul><li> Available since Gtk+ version 2.6 </li></ul></div></div><div class="top"><p class="src"><a name="v:entryCompletionGetTextColumn" class="def">entryCompletionGetTextColumn</a><a href="src/Graphics-UI-Gtk-Entry-EntryCompletion.html#entryCompletionGetTextColumn" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a></td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> (<a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:ColumnId">ColumnId</a> row <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>)</td><td class="doc"><p>returns the column containing the strings </p></td></tr></table></div><div class="doc"><p>Returns the column in the model of the completion to get strings from. </p><ul><li> Available since Gtk+ version 2.6 </li></ul></div></div><div class="top"><p class="src"><a name="v:entryCompletionSetInlineCompletion" class="def">entryCompletionSetInlineCompletion</a><a href="src/Graphics-UI-Gtk-Entry-EntryCompletion.html#entryCompletionSetInlineCompletion" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a></td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></td><td class="doc"><p><code>inlineCompletion</code> - <code>True</code> to do inline completion </p></td></tr><tr><td class="src">-> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></td><td class="doc empty"> </td></tr></table></div><div class="doc"><p>Sets whether the common prefix of the possible completions should be automatically inserted in the entry. </p><ul><li> Available since Gtk+ version 2.6 </li></ul></div></div><div class="top"><p class="src"><a name="v:entryCompletionGetInlineCompletion" class="def">entryCompletionGetInlineCompletion</a><a href="src/Graphics-UI-Gtk-Entry-EntryCompletion.html#entryCompletionGetInlineCompletion" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a></td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></td><td class="doc"><p>returns <code>True</code> if inline completion is turned on </p></td></tr></table></div><div class="doc"><p>Returns whether the common prefix of the possible completions should be automatically inserted in the entry. </p><ul><li> Available since Gtk+ version 2.6 </li></ul></div></div><div class="top"><p class="src"><a name="v:entryCompletionSetPopupCompletion" class="def">entryCompletionSetPopupCompletion</a><a href="src/Graphics-UI-Gtk-Entry-EntryCompletion.html#entryCompletionSetPopupCompletion" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a></td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></td><td class="doc"><p><code>popupCompletion</code> - <code>True</code> to do popup completion </p></td></tr><tr><td class="src">-> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></td><td class="doc empty"> </td></tr></table></div><div class="doc"><p>Sets whether the completions should be presented in a popup window. </p><ul><li> Available since Gtk+ version 2.6 </li></ul></div></div><div class="top"><p class="src"><a name="v:entryCompletionGetPopupCompletion" class="def">entryCompletionGetPopupCompletion</a><a href="src/Graphics-UI-Gtk-Entry-EntryCompletion.html#entryCompletionGetPopupCompletion" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a></td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></td><td class="doc"><p>returns <code>True</code> if popup completion is turned on </p></td></tr></table></div><div class="doc"><p>Returns whether the completions should be presented in a popup window. </p><ul><li> Available since Gtk+ version 2.6 </li></ul></div></div><div class="top"><p class="src"><a name="v:entryCompletionSetPopupSetWidth" class="def">entryCompletionSetPopupSetWidth</a><a href="src/Graphics-UI-Gtk-Entry-EntryCompletion.html#entryCompletionSetPopupSetWidth" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a></td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></td><td class="doc"><p><code>popupSetWidth</code> - <code>True</code> to make the width of the popup the same as the entry </p></td></tr><tr><td class="src">-> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></td><td class="doc empty"> </td></tr></table></div><div class="doc"><p>Sets whether the completion popup window will be resized to be the same width as the entry. </p><ul><li> Available since Gtk+ version 2.8 </li></ul></div></div><div class="top"><p class="src"><a name="v:entryCompletionGetPopupSetWidth" class="def">entryCompletionGetPopupSetWidth</a><a href="src/Graphics-UI-Gtk-Entry-EntryCompletion.html#entryCompletionGetPopupSetWidth" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a></td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></td><td class="doc"><p>returns <code>True</code> if the popup window will be resized to the width of the entry </p></td></tr></table></div><div class="doc"><p>Returns whether the completion popup window will be resized to the width of the entry. </p><ul><li> Available since Gtk+ version 2.8 </li></ul></div></div><div class="top"><p class="src"><a name="v:entryCompletionSetPopupSingleMatch" class="def">entryCompletionSetPopupSingleMatch</a><a href="src/Graphics-UI-Gtk-Entry-EntryCompletion.html#entryCompletionSetPopupSingleMatch" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a></td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></td><td class="doc"><p><code>popupSingleMatch</code> - <code>True</code> if the popup should appear even for a single match </p></td></tr><tr><td class="src">-> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a></td><td class="doc empty"> </td></tr></table></div><div class="doc"><p>Sets whether the completion popup window will appear even if there is only a single match. You may want to set this to <code>False</code> if you are using inline completion. </p><ul><li> Available since Gtk+ version 2.8 </li></ul></div></div><div class="top"><p class="src"><a name="v:entryCompletionGetPopupSingleMatch" class="def">entryCompletionGetPopupSingleMatch</a><a href="src/Graphics-UI-Gtk-Entry-EntryCompletion.html#entryCompletionGetPopupSingleMatch" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a></td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a></td><td class="doc"><p>returns <code>True</code> if the popup window will appear regardless of the number of matches. </p></td></tr></table></div><div class="doc"><p>Returns whether the completion popup window will appear even if there is only a single match. </p><ul><li> Available since Gtk+ version 2.8 </li></ul></div></div><h1 id="g:6">Attributes </h1><div class="top"><p class="src"><a name="v:entryCompletionModel" class="def">entryCompletionModel</a> :: <a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreeModelClass">TreeModelClass</a> model => <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Attributes.html#t:ReadWriteAttr">ReadWriteAttr</a> <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreeModel">TreeModel</a>) (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Maybe.html#t:Maybe">Maybe</a> model)<a href="src/Graphics-UI-Gtk-Entry-EntryCompletion.html#entryCompletionModel" class="link">Source</a></p><div class="doc"><p>The model to find matches in. </p></div></div><div class="top"><p class="src"><a name="v:entryCompletionMinimumKeyLength" class="def">entryCompletionMinimumKeyLength</a> :: <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Attributes.html#t:Attr">Attr</a> <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a><a href="src/Graphics-UI-Gtk-Entry-EntryCompletion.html#entryCompletionMinimumKeyLength" class="link">Source</a></p><div class="doc"><p>Minimum length of the search key in order to look up matches. </p><p>Allowed values: >= 0 </p><p>Default value: 1 </p></div></div><div class="top"><p class="src"><a name="v:entryCompletionTextColumn" class="def">entryCompletionTextColumn</a> :: <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Attributes.html#t:Attr">Attr</a> <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a> (<a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:ColumnId">ColumnId</a> row <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a>)<a href="src/Graphics-UI-Gtk-Entry-EntryCompletion.html#entryCompletionTextColumn" class="link">Source</a></p><div class="doc"><p>The column of the model containing the strings. </p><p>Default value: <code>Graphics.UI.Gtk.ModelView.CustomStore.invalidColumnId</code> </p></div></div><div class="top"><p class="src"><a name="v:entryCompletionInlineCompletion" class="def">entryCompletionInlineCompletion</a> :: <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Attributes.html#t:Attr">Attr</a> <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a><a href="src/Graphics-UI-Gtk-Entry-EntryCompletion.html#entryCompletionInlineCompletion" class="link">Source</a></p><div class="doc"><p>Determines whether the common prefix of the possible completions should be inserted automatically in the entry. Note that this requires text-column to be set, even if you are using a custom match function. </p><p>Default value: <code>False</code> </p></div></div><div class="top"><p class="src"><a name="v:entryCompletionPopupCompletion" class="def">entryCompletionPopupCompletion</a> :: <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Attributes.html#t:Attr">Attr</a> <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a><a href="src/Graphics-UI-Gtk-Entry-EntryCompletion.html#entryCompletionPopupCompletion" class="link">Source</a></p><div class="doc"><p>Determines whether the possible completions should be shown in a popup window. </p><p>Default value: <code>True</code> </p></div></div><div class="top"><p class="src"><a name="v:entryCompletionPopupSetWidth" class="def">entryCompletionPopupSetWidth</a> :: <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Attributes.html#t:Attr">Attr</a> <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a><a href="src/Graphics-UI-Gtk-Entry-EntryCompletion.html#entryCompletionPopupSetWidth" class="link">Source</a></p><div class="doc"><p>Determines whether the completions popup window will be resized to the width of the entry. </p><p>Default value: <code>True</code> </p></div></div><div class="top"><p class="src"><a name="v:entryCompletionPopupSingleMatch" class="def">entryCompletionPopupSingleMatch</a> :: <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Attributes.html#t:Attr">Attr</a> <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletion">EntryCompletion</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a><a href="src/Graphics-UI-Gtk-Entry-EntryCompletion.html#entryCompletionPopupSingleMatch" class="link">Source</a></p><div class="doc"><p>Determines whether the completions popup window will shown for a single possible completion. You probably want to set this to <code>False</code> if you are using inline completion. </p><p>Default value: <code>True</code> </p></div></div><h1 id="g:7">Signals </h1><div class="top"><p class="src"><a name="v:insertPrefix" class="def">insertPrefix</a> :: <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletionClass">EntryCompletionClass</a> self => <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Signals.html#t:Signal">Signal</a> self (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a>)<a href="src/Graphics-UI-Gtk-Entry-EntryCompletion.html#insertPrefix" class="link">Source</a></p><div class="doc"><p>Gets emitted when the inline autocompletion is triggered. The default behaviour is to make the entry display the whole prefix and select the newly inserted part. </p><p>Applications may connect to this signal in order to insert only a smaller part of the <code>prefix</code> into the entry - e.g. the entry used in the <code><a href="Graphics-UI-Gtk-Selectors-FileChooser.html#t:FileChooser">FileChooser</a></code> inserts only the part of the prefix up to the next '/'. </p><ul><li> Available since Gtk+ version 2.6 </li></ul></div></div><div class="top"><p class="src"><a name="v:completionActionActivated" class="def">completionActionActivated</a> :: <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletionClass">EntryCompletionClass</a> self => <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Signals.html#t:Signal">Signal</a> self (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a>)<a href="src/Graphics-UI-Gtk-Entry-EntryCompletion.html#completionActionActivated" class="link">Source</a></p><div class="doc"><p>Gets emitted when an action is activated. </p></div></div><div class="top"><p class="src"><a name="v:matchSelected" class="def">matchSelected</a> :: <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletionClass">EntryCompletionClass</a> self => <a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Signals.html#t:Signal">Signal</a> self (<a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreeModel">TreeModel</a> -> <a href="Graphics-UI-Gtk-ModelView-TreeModel.html#t:TreeIter">TreeIter</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a>)<a href="src/Graphics-UI-Gtk-Entry-EntryCompletion.html#matchSelected" class="link">Source</a></p><div class="doc"><p>Gets emitted when a match from the list is selected. The default behaviour is to replace the contents of the entry with the contents of the text column in the row pointed to by <code>iter</code>. </p></div></div><h1 id="g:8">Deprecated </h1><div class="top"><p class="src"><a name="v:onInsertPrefix" class="def">onInsertPrefix</a> :: <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletionClass">EntryCompletionClass</a> self => self -> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a>) -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> (<a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Signals.html#t:ConnectId">ConnectId</a> self)<a href="src/Graphics-UI-Gtk-Entry-EntryCompletion.html#onInsertPrefix" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:afterInsertPrefix" class="def">afterInsertPrefix</a> :: <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletionClass">EntryCompletionClass</a> self => self -> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Char.html#t:String">String</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Bool.html#t:Bool">Bool</a>) -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> (<a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Signals.html#t:ConnectId">ConnectId</a> self)<a href="src/Graphics-UI-Gtk-Entry-EntryCompletion.html#afterInsertPrefix" class="link">Source</a></p><div class="doc"><p>Gets emitted when the inline autocompletion is triggered. The default behaviour is to make the entry display the whole prefix and select the newly inserted part. </p><p>Applications may connect to this signal in order to insert only a smaller part of the <code>prefix</code> into the entry - e.g. the entry used in the <code><a href="Graphics-UI-Gtk-Selectors-FileChooser.html#t:FileChooser">FileChooser</a></code> inserts only the part of the prefix up to the next '/'. </p></div></div><div class="top"><p class="src"><a name="v:onActionActivated" class="def">onActionActivated</a> :: <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletionClass">EntryCompletionClass</a> self => self -> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a>) -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> (<a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Signals.html#t:ConnectId">ConnectId</a> self)<a href="src/Graphics-UI-Gtk-Entry-EntryCompletion.html#onActionActivated" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:afterActionActivated" class="def">afterActionActivated</a> :: <a href="Graphics-UI-Gtk-Entry-EntryCompletion.html#t:EntryCompletionClass">EntryCompletionClass</a> self => self -> (<a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/Data-Int.html#t:Int">Int</a> -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t:-40--41-">()</a>) -> <a href="/usr/share/doc/ghc/html/libraries/base-4.3.1.0/System-IO.html#t:IO">IO</a> (<a href="/usr/share/doc/ghc/html/libraries/glib-0.12.0/System-Glib-Signals.html#t:ConnectId">ConnectId</a> self)<a href="src/Graphics-UI-Gtk-Entry-EntryCompletion.html#afterActionActivated" class="link">Source</a></p><div class="doc"><p>Gets emitted when an action is activated. </p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.9.2</p></div></body></html>