<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--Rendered using the Haskell Html Library v0.2--> <HTML ><HEAD ><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8" ><TITLE >Graphics.UI.Gtk.MenuComboToolbar.Combo</TITLE ><LINK HREF="haddock.css" REL="stylesheet" TYPE="text/css" ><SCRIPT SRC="haddock-util.js" TYPE="text/javascript" ></SCRIPT ><SCRIPT TYPE="text/javascript" >window.onload = function () {setSynopsis("mini_Graphics-UI-Gtk-MenuComboToolbar-Combo.html")};</SCRIPT ></HEAD ><BODY ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="topbar" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD ><IMG SRC="haskell_icon.gif" WIDTH="16" HEIGHT="16" ALT=" " ></TD ><TD CLASS="title" >gtk-0.11.2: Binding to the Gtk+ graphical user interface library.</TD ><TD CLASS="topbut" ><A HREF="src/Graphics-UI-Gtk-MenuComboToolbar-Combo.html" >Source code</A ></TD ><TD CLASS="topbut" ><A HREF="index.html" >Contents</A ></TD ><TD CLASS="topbut" ><A HREF="doc-index.html" >Index</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="modulebar" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD ><FONT SIZE="6" >Graphics.UI.Gtk.MenuComboToolbar.Combo</FONT ></TD ><TD ALIGN="right" ><TABLE CLASS="narrow" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="infohead" >Portability</TD ><TD CLASS="infoval" >portable (depends on GHC)</TD ></TR ><TR ><TD CLASS="infohead" >Stability</TD ><TD CLASS="infoval" >provisional</TD ></TR ><TR ><TD CLASS="infohead" >Maintainer</TD ><TD CLASS="infoval" >gtk2hs-users@lists.sourceforge.net</TD ></TR ></TABLE ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="section4" ><B >Contents</B ></TD ></TR ><TR ><TD ><DL ><DT ><A HREF="#1" >Detail </A ></DT ><DT ><A HREF="#2" >Class Hierarchy </A ></DT ><DT ><A HREF="#3" >Types </A ></DT ><DT ><A HREF="#4" >Constructors </A ></DT ><DT ><A HREF="#5" >Methods </A ></DT ><DT ><A HREF="#6" >Attributes </A ></DT ></DL ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="section1" >Description</TD ></TR ><TR ><TD CLASS="doc" ><P >A text entry field with a dropdown list </P ><UL ><LI > Warning: this module is deprecated and should not be used in newly-written code. </LI ></UL ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="section1" >Synopsis</TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="body" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="decl" ><SPAN CLASS="keyword" >data</SPAN > <A HREF="#t%3ACombo" >Combo</A > </TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><SPAN CLASS="keyword" >class</SPAN > <A HREF="Graphics-UI-Gtk-Layout-HBox.html#t%3AHBoxClass" >HBoxClass</A > o => <A HREF="#t%3AComboClass" >ComboClass</A > o </TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AcastToCombo" >castToCombo</A > :: <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-GObject.html#t%3AGObjectClass" >GObjectClass</A > obj => obj -> <A HREF="Graphics-UI-Gtk-MenuComboToolbar-Combo.html#t%3ACombo" >Combo</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AgTypeCombo" >gTypeCombo</A > :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AGType" >GType</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AtoCombo" >toCombo</A > :: <A HREF="Graphics-UI-Gtk-MenuComboToolbar-Combo.html#t%3AComboClass" >ComboClass</A > o => o -> <A HREF="Graphics-UI-Gtk-MenuComboToolbar-Combo.html#t%3ACombo" >Combo</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AcomboNew" >comboNew</A > :: <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO" >IO</A > <A HREF="Graphics-UI-Gtk-MenuComboToolbar-Combo.html#t%3ACombo" >Combo</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AcomboSetPopdownStrings" >comboSetPopdownStrings</A > :: <A HREF="Graphics-UI-Gtk-MenuComboToolbar-Combo.html#t%3AComboClass" >ComboClass</A > self => self -> [<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString" >String</A >] -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AcomboSetValueInList" >comboSetValueInList</A > :: <A HREF="Graphics-UI-Gtk-MenuComboToolbar-Combo.html#t%3AComboClass" >ComboClass</A > self => self -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool" >Bool</A > -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool" >Bool</A > -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AcomboSetUseArrows" >comboSetUseArrows</A > :: <A HREF="Graphics-UI-Gtk-MenuComboToolbar-Combo.html#t%3AComboClass" >ComboClass</A > self => self -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool" >Bool</A > -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AcomboSetUseArrowsAlways" >comboSetUseArrowsAlways</A > :: <A HREF="Graphics-UI-Gtk-MenuComboToolbar-Combo.html#t%3AComboClass" >ComboClass</A > self => self -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool" >Bool</A > -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AcomboSetCaseSensitive" >comboSetCaseSensitive</A > :: <A HREF="Graphics-UI-Gtk-MenuComboToolbar-Combo.html#t%3AComboClass" >ComboClass</A > self => self -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool" >Bool</A > -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AcomboDisableActivate" >comboDisableActivate</A > :: <A HREF="Graphics-UI-Gtk-MenuComboToolbar-Combo.html#t%3AComboClass" >ComboClass</A > self => self -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AcomboEnableArrowKeys" >comboEnableArrowKeys</A > :: <A HREF="Graphics-UI-Gtk-MenuComboToolbar-Combo.html#t%3AComboClass" >ComboClass</A > self => <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Attributes.html#t%3AAttr" >Attr</A > self <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool" >Bool</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AcomboEnableArrowsAlways" >comboEnableArrowsAlways</A > :: <A HREF="Graphics-UI-Gtk-MenuComboToolbar-Combo.html#t%3AComboClass" >ComboClass</A > self => <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Attributes.html#t%3AAttr" >Attr</A > self <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool" >Bool</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AcomboCaseSensitive" >comboCaseSensitive</A > :: <A HREF="Graphics-UI-Gtk-MenuComboToolbar-Combo.html#t%3AComboClass" >ComboClass</A > self => <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Attributes.html#t%3AAttr" >Attr</A > self <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool" >Bool</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AcomboAllowEmpty" >comboAllowEmpty</A > :: <A HREF="Graphics-UI-Gtk-MenuComboToolbar-Combo.html#t%3AComboClass" >ComboClass</A > self => <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Attributes.html#t%3AAttr" >Attr</A > self <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool" >Bool</A ></TD ></TR ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="#v%3AcomboValueInList" >comboValueInList</A > :: <A HREF="Graphics-UI-Gtk-MenuComboToolbar-Combo.html#t%3AComboClass" >ComboClass</A > self => <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Attributes.html#t%3AAttr" >Attr</A > self <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool" >Bool</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="section1" ><A NAME="1" ><A NAME="1" >Detail </A ></A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="doc" ><P >The <TT ><A HREF="Graphics-UI-Gtk-MenuComboToolbar-Combo.html#t%3ACombo" >Combo</A ></TT > widget consists of a single-line text entry field and a drop-down list. The drop-down list is displayed when the user clicks on a small arrow button to the right of the entry field. </P ><P >List elements can contain arbitrary widgets, but if an element is not a plain label, then you must use the comboSetItemString function. This sets the string which will be placed in the text entry field when the item is selected. </P ><P >By default, the user can step through the items in the list using the arrow (cursor) keys, though this behaviour can be turned off with <TT ><A HREF="Graphics-UI-Gtk-MenuComboToolbar-Combo.html#v%3AcomboSetUseArrows" >comboSetUseArrows</A ></TT >. </P ><P >As of Gtk+ 2.4, <TT ><A HREF="Graphics-UI-Gtk-MenuComboToolbar-Combo.html#t%3ACombo" >Combo</A ></TT > has been deprecated in favor of <TT ><A HREF="Graphics-UI-Gtk-MenuComboToolbar-ComboBox.html#t%3AComboBox" >ComboBox</A ></TT >. </P ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="section1" ><A NAME="2" ><A NAME="2" >Class Hierarchy </A ></A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="doc" ><PRE > | <TT ><A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-GObject.html#t%3AGObject" >GObject</A ></TT > | +----<TT ><A HREF="Graphics-UI-Gtk-Abstract-Object.html#t%3AObject" >Object</A ></TT > | +----<TT ><A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidget" >Widget</A ></TT > | +----<TT ><A HREF="Graphics-UI-Gtk-Abstract-Container.html#t%3AContainer" >Container</A ></TT > | +----<TT ><A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABox" >Box</A ></TT > | +----<TT ><A HREF="Graphics-UI-Gtk-Layout-HBox.html#t%3AHBox" >HBox</A ></TT > | +----Combo </PRE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="section1" ><A NAME="3" ><A NAME="3" >Types </A ></A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><SPAN CLASS="keyword" >data</SPAN > <A NAME="t:Combo" ><A NAME="t%3ACombo" ></A ></A ><B >Combo</B > </TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Types.html#Combo" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="body" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="section4" ><IMG SRC="minus.gif" CLASS="coll" ONCLICK="toggle(this,'i:Combo')" ALT="show/hide" > Instances</TD ></TR ><TR ><TD CLASS="body" ><DIV ID="i:Combo" STYLE="display:block;" ><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0" ><TR ><TD CLASS="decl" ><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Eq.html#t%3AEq" >Eq</A > <A HREF="Graphics-UI-Gtk-MenuComboToolbar-Combo.html#t%3ACombo" >Combo</A ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Ord.html#t%3AOrd" >Ord</A > <A HREF="Graphics-UI-Gtk-MenuComboToolbar-Combo.html#t%3ACombo" >Combo</A ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-GObject.html#t%3AGObjectClass" >GObjectClass</A > <A HREF="Graphics-UI-Gtk-MenuComboToolbar-Combo.html#t%3ACombo" >Combo</A ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="Graphics-UI-Gtk-MenuComboToolbar-Combo.html#t%3AComboClass" >ComboClass</A > <A HREF="Graphics-UI-Gtk-MenuComboToolbar-Combo.html#t%3ACombo" >Combo</A ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="Graphics-UI-Gtk-Layout-HBox.html#t%3AHBoxClass" >HBoxClass</A > <A HREF="Graphics-UI-Gtk-MenuComboToolbar-Combo.html#t%3ACombo" >Combo</A ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="Graphics-UI-Gtk-Abstract-Box.html#t%3ABoxClass" >BoxClass</A > <A HREF="Graphics-UI-Gtk-MenuComboToolbar-Combo.html#t%3ACombo" >Combo</A ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="Graphics-UI-Gtk-Abstract-Container.html#t%3AContainerClass" >ContainerClass</A > <A HREF="Graphics-UI-Gtk-MenuComboToolbar-Combo.html#t%3ACombo" >Combo</A ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AWidgetClass" >WidgetClass</A > <A HREF="Graphics-UI-Gtk-MenuComboToolbar-Combo.html#t%3ACombo" >Combo</A ></TD ></TR ><TR ><TD CLASS="decl" ><A HREF="Graphics-UI-Gtk-Abstract-Object.html#t%3AObjectClass" >ObjectClass</A > <A HREF="Graphics-UI-Gtk-MenuComboToolbar-Combo.html#t%3ACombo" >Combo</A ></TD ></TR ></TABLE ></DIV ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><SPAN CLASS="keyword" >class</SPAN > <A HREF="Graphics-UI-Gtk-Layout-HBox.html#t%3AHBoxClass" >HBoxClass</A > o => <A NAME="t:ComboClass" ><A NAME="t%3AComboClass" ></A ></A ><B >ComboClass</B > o </TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Types.html#ComboClass" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="body" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="s8" ></TD ></TR ><TR ><TD CLASS="section4" ><IMG SRC="minus.gif" CLASS="coll" ONCLICK="toggle(this,'i:ComboClass')" ALT="show/hide" > Instances</TD ></TR ><TR ><TD CLASS="body" ><DIV ID="i:ComboClass" STYLE="display:block;" ><TABLE CLASS="vanilla" CELLSPACING="1" CELLPADDING="0" ><TR ><TD CLASS="decl" ><A HREF="Graphics-UI-Gtk-MenuComboToolbar-Combo.html#t%3AComboClass" >ComboClass</A > <A HREF="Graphics-UI-Gtk-MenuComboToolbar-Combo.html#t%3ACombo" >Combo</A ></TD ></TR ></TABLE ></DIV ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:castToCombo" ><A NAME="v%3AcastToCombo" ></A ></A ><B >castToCombo</B > :: <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-GObject.html#t%3AGObjectClass" >GObjectClass</A > obj => obj -> <A HREF="Graphics-UI-Gtk-MenuComboToolbar-Combo.html#t%3ACombo" >Combo</A ></TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Types.html#castToCombo" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:gTypeCombo" ><A NAME="v%3AgTypeCombo" ></A ></A ><B >gTypeCombo</B > :: <A HREF="Graphics-UI-Gtk-Abstract-Widget.html#t%3AGType" >GType</A ></TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Types.html#gTypeCombo" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:toCombo" ><A NAME="v%3AtoCombo" ></A ></A ><B >toCombo</B > :: <A HREF="Graphics-UI-Gtk-MenuComboToolbar-Combo.html#t%3AComboClass" >ComboClass</A > o => o -> <A HREF="Graphics-UI-Gtk-MenuComboToolbar-Combo.html#t%3ACombo" >Combo</A ></TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-Types.html#toCombo" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="section1" ><A NAME="4" ><A NAME="4" >Constructors </A ></A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:comboNew" ><A NAME="v%3AcomboNew" ></A ></A ><B >comboNew</B > :: <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO" >IO</A > <A HREF="Graphics-UI-Gtk-MenuComboToolbar-Combo.html#t%3ACombo" >Combo</A ></TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-MenuComboToolbar-Combo.html#comboNew" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="section1" ><A NAME="5" ><A NAME="5" >Methods </A ></A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:comboSetPopdownStrings" ><A NAME="v%3AcomboSetPopdownStrings" ></A ></A ><B >comboSetPopdownStrings</B > :: <A HREF="Graphics-UI-Gtk-MenuComboToolbar-Combo.html#t%3AComboClass" >ComboClass</A > self => self -> [<A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Char.html#t%3AString" >String</A >] -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-MenuComboToolbar-Combo.html#comboSetPopdownStrings" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="doc" >Insert a set of Strings into the <TT ><A HREF="Graphics-UI-Gtk-MenuComboToolbar-Combo.html#t%3ACombo" >Combo</A ></TT > drop down list. </TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:comboSetValueInList" ><A NAME="v%3AcomboSetValueInList" ></A ></A ><B >comboSetValueInList</B ></TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-MenuComboToolbar-Combo.html#comboSetValueInList" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="body" ><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0" ><TR ><TD CLASS="arg" >:: <A HREF="Graphics-UI-Gtk-MenuComboToolbar-Combo.html#t%3AComboClass" >ComboClass</A > self</TD ><TD CLASS="rdoc" ></TD ></TR ><TR ><TD CLASS="arg" >=> self</TD ><TD CLASS="rdoc" ></TD ></TR ><TR ><TD CLASS="arg" >-> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool" >Bool</A ></TD ><TD CLASS="rdoc" ><TT >val</TT > - <TT >True</TT > if the value entered must match one of the values in the list. </TD ></TR ><TR ><TD CLASS="arg" >-> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool" >Bool</A ></TD ><TD CLASS="rdoc" ><TT >okIfEmpty</TT > - <TT >True</TT > if an empty value is considered valid. </TD ></TR ><TR ><TD CLASS="arg" >-> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ><TD CLASS="rdoc" ></TD ></TR ><TR ><TD CLASS="ndoc" COLSPAN="2" ><P >Specifies whether the value entered in the text entry field must match one of the values in the list. If this is set then the user will not be able to perform any other action until a valid value has been entered. </P ><P >If an empty field is acceptable, the <TT >okIfEmpty</TT > parameter should be <TT >True</TT >. </P ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:comboSetUseArrows" ><A NAME="v%3AcomboSetUseArrows" ></A ></A ><B >comboSetUseArrows</B > :: <A HREF="Graphics-UI-Gtk-MenuComboToolbar-Combo.html#t%3AComboClass" >ComboClass</A > self => self -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool" >Bool</A > -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-MenuComboToolbar-Combo.html#comboSetUseArrows" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="doc" >Specifies if the arrow (cursor) keys can be used to step through the items in the list. This is on by default. </TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:comboSetUseArrowsAlways" ><A NAME="v%3AcomboSetUseArrowsAlways" ></A ></A ><B >comboSetUseArrowsAlways</B > :: <A HREF="Graphics-UI-Gtk-MenuComboToolbar-Combo.html#t%3AComboClass" >ComboClass</A > self => self -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool" >Bool</A > -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-MenuComboToolbar-Combo.html#comboSetUseArrowsAlways" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="doc" >Obsolete function, does nothing. </TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:comboSetCaseSensitive" ><A NAME="v%3AcomboSetCaseSensitive" ></A ></A ><B >comboSetCaseSensitive</B > :: <A HREF="Graphics-UI-Gtk-MenuComboToolbar-Combo.html#t%3AComboClass" >ComboClass</A > self => self -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool" >Bool</A > -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-MenuComboToolbar-Combo.html#comboSetCaseSensitive" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="doc" ><P >Specifies whether the text entered into the <TT ><A HREF="Graphics-UI-Gtk-Entry-Entry.html#t%3AEntry" >Entry</A ></TT > field and the text in the list items is case sensitive. </P ><P >This may be useful, for example, when you have called <TT ><A HREF="Graphics-UI-Gtk-MenuComboToolbar-Combo.html#v%3AcomboSetValueInList" >comboSetValueInList</A ></TT > to limit the values entered, but you are not worried about differences in case. </P ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:comboDisableActivate" ><A NAME="v%3AcomboDisableActivate" ></A ></A ><B >comboDisableActivate</B > :: <A HREF="Graphics-UI-Gtk-MenuComboToolbar-Combo.html#t%3AComboClass" >ComboClass</A > self => self -> <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/System-IO.html#t%3AIO" >IO</A > <A HREF="/usr/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/GHC-Unit.html#t%3A%28%29" >()</A ></TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-MenuComboToolbar-Combo.html#comboDisableActivate" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="doc" >Stops the <TT ><A HREF="Graphics-UI-Gtk-MenuComboToolbar-Combo.html#t%3ACombo" >Combo</A ></TT > widget from showing the popup list when the <TT ><A HREF="Graphics-UI-Gtk-Entry-Entry.html#t%3AEntry" >Entry</A ></TT > emits the "activate" signal, i.e. when the Return key is pressed. This may be useful if, for example, you want the Return key to close a dialog instead. </TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="section1" ><A NAME="6" ><A NAME="6" >Attributes </A ></A ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:comboEnableArrowKeys" ><A NAME="v%3AcomboEnableArrowKeys" ></A ></A ><B >comboEnableArrowKeys</B > :: <A HREF="Graphics-UI-Gtk-MenuComboToolbar-Combo.html#t%3AComboClass" >ComboClass</A > self => <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Attributes.html#t%3AAttr" >Attr</A > self <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool" >Bool</A ></TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-MenuComboToolbar-Combo.html#comboEnableArrowKeys" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="doc" ><P >Whether the arrow keys move through the list of items. </P ><P >Default value: <TT >True</TT > </P ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:comboEnableArrowsAlways" ><A NAME="v%3AcomboEnableArrowsAlways" ></A ></A ><B >comboEnableArrowsAlways</B > :: <A HREF="Graphics-UI-Gtk-MenuComboToolbar-Combo.html#t%3AComboClass" >ComboClass</A > self => <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Attributes.html#t%3AAttr" >Attr</A > self <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool" >Bool</A ></TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-MenuComboToolbar-Combo.html#comboEnableArrowsAlways" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="doc" ><P >Obsolete property, ignored. </P ><P >Default value: <TT >True</TT > </P ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:comboCaseSensitive" ><A NAME="v%3AcomboCaseSensitive" ></A ></A ><B >comboCaseSensitive</B > :: <A HREF="Graphics-UI-Gtk-MenuComboToolbar-Combo.html#t%3AComboClass" >ComboClass</A > self => <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Attributes.html#t%3AAttr" >Attr</A > self <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool" >Bool</A ></TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-MenuComboToolbar-Combo.html#comboCaseSensitive" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="doc" ><P >Whether list item matching is case sensitive. </P ><P >Default value: <TT >False</TT > </P ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:comboAllowEmpty" ><A NAME="v%3AcomboAllowEmpty" ></A ></A ><B >comboAllowEmpty</B > :: <A HREF="Graphics-UI-Gtk-MenuComboToolbar-Combo.html#t%3AComboClass" >ComboClass</A > self => <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Attributes.html#t%3AAttr" >Attr</A > self <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool" >Bool</A ></TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-MenuComboToolbar-Combo.html#comboAllowEmpty" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="doc" ><P >Whether an empty value may be entered in this field. </P ><P >Default value: <TT >True</TT > </P ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="topdecl" ><TABLE CLASS="declbar" ><TR ><TD CLASS="declname" ><A NAME="v:comboValueInList" ><A NAME="v%3AcomboValueInList" ></A ></A ><B >comboValueInList</B > :: <A HREF="Graphics-UI-Gtk-MenuComboToolbar-Combo.html#t%3AComboClass" >ComboClass</A > self => <A HREF="/usr/share/doc/ghc/html/libraries/glib-0.11.2/System-Glib-Attributes.html#t%3AAttr" >Attr</A > self <A HREF="/usr/share/doc/ghc/html/libraries/base-4.2.0.2/Data-Bool.html#t%3ABool" >Bool</A ></TD ><TD CLASS="declbut" ><A HREF="src/Graphics-UI-Gtk-MenuComboToolbar-Combo.html#comboValueInList" >Source</A ></TD ></TR ></TABLE ></TD ></TR ><TR ><TD CLASS="doc" ><P >Whether entered values must already be present in the list. </P ><P >Default value: <TT >False</TT > </P ></TD ></TR ><TR ><TD CLASS="s15" ></TD ></TR ><TR ><TD CLASS="botbar" >Produced by <A HREF="http://www.haskell.org/haddock/" >Haddock</A > version 2.6.1</TD ></TR ></TABLE ></BODY ></HTML >