Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
- Exported types
- Methods
- getActive
- getActiveId
- getActiveIter
- getAddTearoffs
- getButtonSensitivity
- getColumnSpanColumn
- getEntryTextColumn
- getFocusOnClick
- getHasEntry
- getIdColumn
- getModel
- getPopupAccessible
- getPopupFixedWidth
- getRowSpanColumn
- getTitle
- getWrapWidth
- new
- newWithArea
- newWithAreaAndEntry
- newWithEntry
- newWithModel
- newWithModelAndEntry
- popdown
- popup
- popupForDevice
- setActive
- setActiveId
- setActiveIter
- setAddTearoffs
- setButtonSensitivity
- setColumnSpanColumn
- setEntryTextColumn
- setFocusOnClick
- setIdColumn
- setModel
- setPopupFixedWidth
- setRowSeparatorFunc
- setRowSpanColumn
- setTitle
- setWrapWidth
- Properties
- Signals
A GtkComboBox is a widget that allows the user to choose from a list of valid choices. The GtkComboBox displays the selected choice. When activated, the GtkComboBox displays a popup which allows the user to make a new choice. The style in which the selected value is displayed, and the style of the popup is determined by the current theme. It may be similar to a Windows-style combo box.
The GtkComboBox uses the model-view pattern; the list of valid choices
is specified in the form of a tree model, and the display of the choices
can be adapted to the data in the model by using cell renderers, as you
would in a tree view. This is possible since GtkComboBox implements the
CellLayout
interface. The tree model holding the valid choices is
not restricted to a flat list, it can be a real tree, and the popup will
reflect the tree structure.
To allow the user to enter values not in the model, the “has-entry”
property allows the GtkComboBox to contain a Entry
. This entry
can be accessed by calling binGetChild
on the combo box.
For a simple list of textual choices, the model-view API of GtkComboBox
can be a bit overwhelming. In this case, ComboBoxText
offers a
simple alternative. Both GtkComboBox and ComboBoxText
can contain
an entry.
CSS nodes
plain code
combobox ├── box.linked │ ╰── button.combo │ ╰── box │ ├── cellview │ ╰── arrow ╰── window.popup
A normal combobox contains a box with the .linked class, a button with the .combo class and inside those buttons, there are a cellview and an arrow.
plain code
combobox ├── box.linked │ ├── entry.combo │ ╰── button.combo │ ╰── box │ ╰── arrow ╰── window.popup
A GtkComboBox with an entry has a single CSS node with name combobox. It contains a bx with the .linked class and that box contains an entry and a button, both with the .combo class added. The button also contains another node with name arrow.
- newtype ComboBox = ComboBox (ManagedPtr ComboBox)
- class GObject o => IsComboBox o
- toComboBox :: IsComboBox o => o -> IO ComboBox
- noComboBox :: Maybe ComboBox
- data ComboBoxGetActiveMethodInfo
- comboBoxGetActive :: (HasCallStack, MonadIO m, IsComboBox a) => a -> m Int32
- data ComboBoxGetActiveIdMethodInfo
- comboBoxGetActiveId :: (HasCallStack, MonadIO m, IsComboBox a) => a -> m (Maybe Text)
- data ComboBoxGetActiveIterMethodInfo
- comboBoxGetActiveIter :: (HasCallStack, MonadIO m, IsComboBox a) => a -> m (Bool, TreeIter)
- data ComboBoxGetAddTearoffsMethodInfo
- comboBoxGetAddTearoffs :: (HasCallStack, MonadIO m, IsComboBox a) => a -> m Bool
- data ComboBoxGetButtonSensitivityMethodInfo
- comboBoxGetButtonSensitivity :: (HasCallStack, MonadIO m, IsComboBox a) => a -> m SensitivityType
- data ComboBoxGetColumnSpanColumnMethodInfo
- comboBoxGetColumnSpanColumn :: (HasCallStack, MonadIO m, IsComboBox a) => a -> m Int32
- data ComboBoxGetEntryTextColumnMethodInfo
- comboBoxGetEntryTextColumn :: (HasCallStack, MonadIO m, IsComboBox a) => a -> m Int32
- data ComboBoxGetFocusOnClickMethodInfo
- comboBoxGetFocusOnClick :: (HasCallStack, MonadIO m, IsComboBox a) => a -> m Bool
- data ComboBoxGetHasEntryMethodInfo
- comboBoxGetHasEntry :: (HasCallStack, MonadIO m, IsComboBox a) => a -> m Bool
- data ComboBoxGetIdColumnMethodInfo
- comboBoxGetIdColumn :: (HasCallStack, MonadIO m, IsComboBox a) => a -> m Int32
- data ComboBoxGetModelMethodInfo
- comboBoxGetModel :: (HasCallStack, MonadIO m, IsComboBox a) => a -> m TreeModel
- data ComboBoxGetPopupAccessibleMethodInfo
- comboBoxGetPopupAccessible :: (HasCallStack, MonadIO m, IsComboBox a) => a -> m Object
- data ComboBoxGetPopupFixedWidthMethodInfo
- comboBoxGetPopupFixedWidth :: (HasCallStack, MonadIO m, IsComboBox a) => a -> m Bool
- data ComboBoxGetRowSpanColumnMethodInfo
- comboBoxGetRowSpanColumn :: (HasCallStack, MonadIO m, IsComboBox a) => a -> m Int32
- data ComboBoxGetTitleMethodInfo
- comboBoxGetTitle :: (HasCallStack, MonadIO m, IsComboBox a) => a -> m Text
- data ComboBoxGetWrapWidthMethodInfo
- comboBoxGetWrapWidth :: (HasCallStack, MonadIO m, IsComboBox a) => a -> m Int32
- comboBoxNew :: (HasCallStack, MonadIO m) => m ComboBox
- comboBoxNewWithArea :: (HasCallStack, MonadIO m, IsCellArea a) => a -> m ComboBox
- comboBoxNewWithAreaAndEntry :: (HasCallStack, MonadIO m, IsCellArea a) => a -> m ComboBox
- comboBoxNewWithEntry :: (HasCallStack, MonadIO m) => m ComboBox
- comboBoxNewWithModel :: (HasCallStack, MonadIO m, IsTreeModel a) => a -> m ComboBox
- comboBoxNewWithModelAndEntry :: (HasCallStack, MonadIO m, IsTreeModel a) => a -> m ComboBox
- data ComboBoxPopdownMethodInfo
- comboBoxPopdown :: (HasCallStack, MonadIO m, IsComboBox a) => a -> m ()
- data ComboBoxPopupMethodInfo
- comboBoxPopup :: (HasCallStack, MonadIO m, IsComboBox a) => a -> m ()
- data ComboBoxPopupForDeviceMethodInfo
- comboBoxPopupForDevice :: (HasCallStack, MonadIO m, IsComboBox a, IsDevice b) => a -> b -> m ()
- data ComboBoxSetActiveMethodInfo
- comboBoxSetActive :: (HasCallStack, MonadIO m, IsComboBox a) => a -> Int32 -> m ()
- data ComboBoxSetActiveIdMethodInfo
- comboBoxSetActiveId :: (HasCallStack, MonadIO m, IsComboBox a) => a -> Maybe Text -> m Bool
- data ComboBoxSetActiveIterMethodInfo
- comboBoxSetActiveIter :: (HasCallStack, MonadIO m, IsComboBox a) => a -> Maybe TreeIter -> m ()
- data ComboBoxSetAddTearoffsMethodInfo
- comboBoxSetAddTearoffs :: (HasCallStack, MonadIO m, IsComboBox a) => a -> Bool -> m ()
- data ComboBoxSetButtonSensitivityMethodInfo
- comboBoxSetButtonSensitivity :: (HasCallStack, MonadIO m, IsComboBox a) => a -> SensitivityType -> m ()
- data ComboBoxSetColumnSpanColumnMethodInfo
- comboBoxSetColumnSpanColumn :: (HasCallStack, MonadIO m, IsComboBox a) => a -> Int32 -> m ()
- data ComboBoxSetEntryTextColumnMethodInfo
- comboBoxSetEntryTextColumn :: (HasCallStack, MonadIO m, IsComboBox a) => a -> Int32 -> m ()
- data ComboBoxSetFocusOnClickMethodInfo
- comboBoxSetFocusOnClick :: (HasCallStack, MonadIO m, IsComboBox a) => a -> Bool -> m ()
- data ComboBoxSetIdColumnMethodInfo
- comboBoxSetIdColumn :: (HasCallStack, MonadIO m, IsComboBox a) => a -> Int32 -> m ()
- data ComboBoxSetModelMethodInfo
- comboBoxSetModel :: (HasCallStack, MonadIO m, IsComboBox a, IsTreeModel b) => a -> Maybe b -> m ()
- data ComboBoxSetPopupFixedWidthMethodInfo
- comboBoxSetPopupFixedWidth :: (HasCallStack, MonadIO m, IsComboBox a) => a -> Bool -> m ()
- data ComboBoxSetRowSeparatorFuncMethodInfo
- comboBoxSetRowSeparatorFunc :: (HasCallStack, MonadIO m, IsComboBox a) => a -> TreeViewRowSeparatorFunc -> m ()
- data ComboBoxSetRowSpanColumnMethodInfo
- comboBoxSetRowSpanColumn :: (HasCallStack, MonadIO m, IsComboBox a) => a -> Int32 -> m ()
- data ComboBoxSetTitleMethodInfo
- comboBoxSetTitle :: (HasCallStack, MonadIO m, IsComboBox a) => a -> Text -> m ()
- data ComboBoxSetWrapWidthMethodInfo
- comboBoxSetWrapWidth :: (HasCallStack, MonadIO m, IsComboBox a) => a -> Int32 -> m ()
- data ComboBoxActivePropertyInfo
- comboBoxActive :: AttrLabelProxy "active"
- constructComboBoxActive :: IsComboBox o => Int32 -> IO (GValueConstruct o)
- getComboBoxActive :: (MonadIO m, IsComboBox o) => o -> m Int32
- setComboBoxActive :: (MonadIO m, IsComboBox o) => o -> Int32 -> m ()
- data ComboBoxActiveIdPropertyInfo
- clearComboBoxActiveId :: (MonadIO m, IsComboBox o) => o -> m ()
- comboBoxActiveId :: AttrLabelProxy "activeId"
- constructComboBoxActiveId :: IsComboBox o => Text -> IO (GValueConstruct o)
- getComboBoxActiveId :: (MonadIO m, IsComboBox o) => o -> m (Maybe Text)
- setComboBoxActiveId :: (MonadIO m, IsComboBox o) => o -> Text -> m ()
- data ComboBoxAddTearoffsPropertyInfo
- comboBoxAddTearoffs :: AttrLabelProxy "addTearoffs"
- constructComboBoxAddTearoffs :: IsComboBox o => Bool -> IO (GValueConstruct o)
- getComboBoxAddTearoffs :: (MonadIO m, IsComboBox o) => o -> m Bool
- setComboBoxAddTearoffs :: (MonadIO m, IsComboBox o) => o -> Bool -> m ()
- data ComboBoxButtonSensitivityPropertyInfo
- comboBoxButtonSensitivity :: AttrLabelProxy "buttonSensitivity"
- constructComboBoxButtonSensitivity :: IsComboBox o => SensitivityType -> IO (GValueConstruct o)
- getComboBoxButtonSensitivity :: (MonadIO m, IsComboBox o) => o -> m SensitivityType
- setComboBoxButtonSensitivity :: (MonadIO m, IsComboBox o) => o -> SensitivityType -> m ()
- data ComboBoxCellAreaPropertyInfo
- comboBoxCellArea :: AttrLabelProxy "cellArea"
- constructComboBoxCellArea :: (IsComboBox o, IsCellArea a) => a -> IO (GValueConstruct o)
- getComboBoxCellArea :: (MonadIO m, IsComboBox o) => o -> m (Maybe CellArea)
- data ComboBoxColumnSpanColumnPropertyInfo
- comboBoxColumnSpanColumn :: AttrLabelProxy "columnSpanColumn"
- constructComboBoxColumnSpanColumn :: IsComboBox o => Int32 -> IO (GValueConstruct o)
- getComboBoxColumnSpanColumn :: (MonadIO m, IsComboBox o) => o -> m Int32
- setComboBoxColumnSpanColumn :: (MonadIO m, IsComboBox o) => o -> Int32 -> m ()
- data ComboBoxEntryTextColumnPropertyInfo
- comboBoxEntryTextColumn :: AttrLabelProxy "entryTextColumn"
- constructComboBoxEntryTextColumn :: IsComboBox o => Int32 -> IO (GValueConstruct o)
- getComboBoxEntryTextColumn :: (MonadIO m, IsComboBox o) => o -> m Int32
- setComboBoxEntryTextColumn :: (MonadIO m, IsComboBox o) => o -> Int32 -> m ()
- data ComboBoxHasEntryPropertyInfo
- comboBoxHasEntry :: AttrLabelProxy "hasEntry"
- constructComboBoxHasEntry :: IsComboBox o => Bool -> IO (GValueConstruct o)
- getComboBoxHasEntry :: (MonadIO m, IsComboBox o) => o -> m Bool
- data ComboBoxHasFramePropertyInfo
- comboBoxHasFrame :: AttrLabelProxy "hasFrame"
- constructComboBoxHasFrame :: IsComboBox o => Bool -> IO (GValueConstruct o)
- getComboBoxHasFrame :: (MonadIO m, IsComboBox o) => o -> m Bool
- setComboBoxHasFrame :: (MonadIO m, IsComboBox o) => o -> Bool -> m ()
- data ComboBoxIdColumnPropertyInfo
- comboBoxIdColumn :: AttrLabelProxy "idColumn"
- constructComboBoxIdColumn :: IsComboBox o => Int32 -> IO (GValueConstruct o)
- getComboBoxIdColumn :: (MonadIO m, IsComboBox o) => o -> m Int32
- setComboBoxIdColumn :: (MonadIO m, IsComboBox o) => o -> Int32 -> m ()
- data ComboBoxModelPropertyInfo
- clearComboBoxModel :: (MonadIO m, IsComboBox o) => o -> m ()
- comboBoxModel :: AttrLabelProxy "model"
- constructComboBoxModel :: (IsComboBox o, IsTreeModel a) => a -> IO (GValueConstruct o)
- getComboBoxModel :: (MonadIO m, IsComboBox o) => o -> m TreeModel
- setComboBoxModel :: (MonadIO m, IsComboBox o, IsTreeModel a) => o -> a -> m ()
- data ComboBoxPopupFixedWidthPropertyInfo
- comboBoxPopupFixedWidth :: AttrLabelProxy "popupFixedWidth"
- constructComboBoxPopupFixedWidth :: IsComboBox o => Bool -> IO (GValueConstruct o)
- getComboBoxPopupFixedWidth :: (MonadIO m, IsComboBox o) => o -> m Bool
- setComboBoxPopupFixedWidth :: (MonadIO m, IsComboBox o) => o -> Bool -> m ()
- data ComboBoxPopupShownPropertyInfo
- comboBoxPopupShown :: AttrLabelProxy "popupShown"
- getComboBoxPopupShown :: (MonadIO m, IsComboBox o) => o -> m Bool
- data ComboBoxRowSpanColumnPropertyInfo
- comboBoxRowSpanColumn :: AttrLabelProxy "rowSpanColumn"
- constructComboBoxRowSpanColumn :: IsComboBox o => Int32 -> IO (GValueConstruct o)
- getComboBoxRowSpanColumn :: (MonadIO m, IsComboBox o) => o -> m Int32
- setComboBoxRowSpanColumn :: (MonadIO m, IsComboBox o) => o -> Int32 -> m ()
- data ComboBoxTearoffTitlePropertyInfo
- clearComboBoxTearoffTitle :: (MonadIO m, IsComboBox o) => o -> m ()
- comboBoxTearoffTitle :: AttrLabelProxy "tearoffTitle"
- constructComboBoxTearoffTitle :: IsComboBox o => Text -> IO (GValueConstruct o)
- getComboBoxTearoffTitle :: (MonadIO m, IsComboBox o) => o -> m (Maybe Text)
- setComboBoxTearoffTitle :: (MonadIO m, IsComboBox o) => o -> Text -> m ()
- data ComboBoxWrapWidthPropertyInfo
- comboBoxWrapWidth :: AttrLabelProxy "wrapWidth"
- constructComboBoxWrapWidth :: IsComboBox o => Int32 -> IO (GValueConstruct o)
- getComboBoxWrapWidth :: (MonadIO m, IsComboBox o) => o -> m Int32
- setComboBoxWrapWidth :: (MonadIO m, IsComboBox o) => o -> Int32 -> m ()
- type C_ComboBoxChangedCallback = Ptr () -> Ptr () -> IO ()
- type ComboBoxChangedCallback = IO ()
- data ComboBoxChangedSignalInfo
- afterComboBoxChanged :: (GObject a, MonadIO m) => a -> ComboBoxChangedCallback -> m SignalHandlerId
- genClosure_ComboBoxChanged :: ComboBoxChangedCallback -> IO Closure
- mk_ComboBoxChangedCallback :: C_ComboBoxChangedCallback -> IO (FunPtr C_ComboBoxChangedCallback)
- noComboBoxChangedCallback :: Maybe ComboBoxChangedCallback
- onComboBoxChanged :: (GObject a, MonadIO m) => a -> ComboBoxChangedCallback -> m SignalHandlerId
- wrap_ComboBoxChangedCallback :: ComboBoxChangedCallback -> Ptr () -> Ptr () -> IO ()
- type C_ComboBoxFormatEntryTextCallback = Ptr () -> CString -> Ptr () -> IO CString
- type ComboBoxFormatEntryTextCallback = Text -> IO Text
- data ComboBoxFormatEntryTextSignalInfo
- afterComboBoxFormatEntryText :: (GObject a, MonadIO m) => a -> ComboBoxFormatEntryTextCallback -> m SignalHandlerId
- genClosure_ComboBoxFormatEntryText :: ComboBoxFormatEntryTextCallback -> IO Closure
- mk_ComboBoxFormatEntryTextCallback :: C_ComboBoxFormatEntryTextCallback -> IO (FunPtr C_ComboBoxFormatEntryTextCallback)
- noComboBoxFormatEntryTextCallback :: Maybe ComboBoxFormatEntryTextCallback
- onComboBoxFormatEntryText :: (GObject a, MonadIO m) => a -> ComboBoxFormatEntryTextCallback -> m SignalHandlerId
- wrap_ComboBoxFormatEntryTextCallback :: ComboBoxFormatEntryTextCallback -> Ptr () -> CString -> Ptr () -> IO CString
- type C_ComboBoxMoveActiveCallback = Ptr () -> CUInt -> Ptr () -> IO ()
- type ComboBoxMoveActiveCallback = ScrollType -> IO ()
- data ComboBoxMoveActiveSignalInfo
- afterComboBoxMoveActive :: (GObject a, MonadIO m) => a -> ComboBoxMoveActiveCallback -> m SignalHandlerId
- genClosure_ComboBoxMoveActive :: ComboBoxMoveActiveCallback -> IO Closure
- mk_ComboBoxMoveActiveCallback :: C_ComboBoxMoveActiveCallback -> IO (FunPtr C_ComboBoxMoveActiveCallback)
- noComboBoxMoveActiveCallback :: Maybe ComboBoxMoveActiveCallback
- onComboBoxMoveActive :: (GObject a, MonadIO m) => a -> ComboBoxMoveActiveCallback -> m SignalHandlerId
- wrap_ComboBoxMoveActiveCallback :: ComboBoxMoveActiveCallback -> Ptr () -> CUInt -> Ptr () -> IO ()
- type C_ComboBoxPopdownCallback = Ptr () -> Ptr () -> IO CInt
- type ComboBoxPopdownCallback = IO Bool
- data ComboBoxPopdownSignalInfo
- afterComboBoxPopdown :: (GObject a, MonadIO m) => a -> ComboBoxPopdownCallback -> m SignalHandlerId
- genClosure_ComboBoxPopdown :: ComboBoxPopdownCallback -> IO Closure
- mk_ComboBoxPopdownCallback :: C_ComboBoxPopdownCallback -> IO (FunPtr C_ComboBoxPopdownCallback)
- noComboBoxPopdownCallback :: Maybe ComboBoxPopdownCallback
- onComboBoxPopdown :: (GObject a, MonadIO m) => a -> ComboBoxPopdownCallback -> m SignalHandlerId
- wrap_ComboBoxPopdownCallback :: ComboBoxPopdownCallback -> Ptr () -> Ptr () -> IO CInt
- type C_ComboBoxPopupCallback = Ptr () -> Ptr () -> IO ()
- type ComboBoxPopupCallback = IO ()
- data ComboBoxPopupSignalInfo
- afterComboBoxPopup :: (GObject a, MonadIO m) => a -> ComboBoxPopupCallback -> m SignalHandlerId
- genClosure_ComboBoxPopup :: ComboBoxPopupCallback -> IO Closure
- mk_ComboBoxPopupCallback :: C_ComboBoxPopupCallback -> IO (FunPtr C_ComboBoxPopupCallback)
- noComboBoxPopupCallback :: Maybe ComboBoxPopupCallback
- onComboBoxPopup :: (GObject a, MonadIO m) => a -> ComboBoxPopupCallback -> m SignalHandlerId
- wrap_ComboBoxPopupCallback :: ComboBoxPopupCallback -> Ptr () -> Ptr () -> IO ()
Exported types
GObject ComboBox Source # | |
IsImplementorIface ComboBox Source # | |
IsObject ComboBox Source # | |
IsWidget ComboBox Source # | |
IsContainer ComboBox Source # | |
IsComboBox ComboBox Source # | |
IsBin ComboBox Source # | |
IsCellLayout ComboBox Source # | |
IsCellEditable ComboBox Source # | |
IsBuildable ComboBox Source # | |
((~) * info (ResolveComboBoxMethod t ComboBox), MethodInfo * info ComboBox p) => IsLabel t (ComboBox -> p) Source # | |
((~) * info (ResolveComboBoxMethod t ComboBox), MethodInfo * info ComboBox p) => IsLabelProxy t (ComboBox -> p) Source # | |
HasAttributeList * ComboBox Source # | |
type AttributeList ComboBox Source # | |
type SignalList ComboBox Source # | |
class GObject o => IsComboBox o Source #
toComboBox :: IsComboBox o => o -> IO ComboBox Source #
Methods
getActive
data ComboBoxGetActiveMethodInfo Source #
((~) * signature (m Int32), MonadIO m, IsComboBox a) => MethodInfo * ComboBoxGetActiveMethodInfo a signature Source # | |
:: (HasCallStack, MonadIO m, IsComboBox a) | |
=> a |
|
-> m Int32 | Returns: An integer which is the index of the currently active item, or -1 if there’s no active item. |
Returns the index of the currently active item, or -1 if there’s no
active item. If the model is a non-flat treemodel, and the active item
is not an immediate child of the root of the tree, this function returns
gtk_tree_path_get_indices (path)[0]
, where
path
is the TreePath
of the active item.
Since: 2.4
getActiveId
data ComboBoxGetActiveIdMethodInfo Source #
((~) * signature (m (Maybe Text)), MonadIO m, IsComboBox a) => MethodInfo * ComboBoxGetActiveIdMethodInfo a signature Source # | |
:: (HasCallStack, MonadIO m, IsComboBox a) | |
=> a |
|
-> m (Maybe Text) | Returns: the ID of the active row, or |
Returns the ID of the active row of comboBox
. This value is taken
from the active row and the column specified by the ComboBox
:id-column
property of comboBox
(see comboBoxSetIdColumn
).
The returned value is an interned string which means that you can compare the pointer by value to other interned strings and that you must not free it.
If the ComboBox
:id-column
property of comboBox
is not set, or if
no row is active, or if the active row has a Nothing
ID value, then Nothing
is returned.
Since: 3.0
getActiveIter
data ComboBoxGetActiveIterMethodInfo Source #
((~) * signature (m (Bool, TreeIter)), MonadIO m, IsComboBox a) => MethodInfo * ComboBoxGetActiveIterMethodInfo a signature Source # | |
comboBoxGetActiveIter Source #
:: (HasCallStack, MonadIO m, IsComboBox a) | |
=> a |
|
-> m (Bool, TreeIter) | Returns: |
Sets iter
to point to the current active item, if it exists.
Since: 2.4
getAddTearoffs
data ComboBoxGetAddTearoffsMethodInfo Source #
((~) * signature (m Bool), MonadIO m, IsComboBox a) => MethodInfo * ComboBoxGetAddTearoffsMethodInfo a signature Source # | |
comboBoxGetAddTearoffs Source #
:: (HasCallStack, MonadIO m, IsComboBox a) | |
=> a |
|
-> m Bool | Returns: the current value of the :add-tearoffs property. |
Deprecated: (Since version 3.10)
Gets the current value of the :add-tearoffs property.
getButtonSensitivity
data ComboBoxGetButtonSensitivityMethodInfo Source #
((~) * signature (m SensitivityType), MonadIO m, IsComboBox a) => MethodInfo * ComboBoxGetButtonSensitivityMethodInfo a signature Source # | |
comboBoxGetButtonSensitivity Source #
:: (HasCallStack, MonadIO m, IsComboBox a) | |
=> a |
|
-> m SensitivityType | Returns: |
Returns whether the combo box sets the dropdown button sensitive or not when there are no items in the model.
Since: 2.14
getColumnSpanColumn
data ComboBoxGetColumnSpanColumnMethodInfo Source #
((~) * signature (m Int32), MonadIO m, IsComboBox a) => MethodInfo * ComboBoxGetColumnSpanColumnMethodInfo a signature Source # | |
comboBoxGetColumnSpanColumn Source #
:: (HasCallStack, MonadIO m, IsComboBox a) | |
=> a |
|
-> m Int32 | Returns: the column span column. |
Returns the column with column span information for comboBox
.
Since: 2.6
getEntryTextColumn
data ComboBoxGetEntryTextColumnMethodInfo Source #
((~) * signature (m Int32), MonadIO m, IsComboBox a) => MethodInfo * ComboBoxGetEntryTextColumnMethodInfo a signature Source # | |
comboBoxGetEntryTextColumn Source #
:: (HasCallStack, MonadIO m, IsComboBox a) | |
=> a |
|
-> m Int32 | Returns: A column in the data source model of |
Returns the column which comboBox
is using to get the strings
from to display in the internal entry.
Since: 2.24
getFocusOnClick
data ComboBoxGetFocusOnClickMethodInfo Source #
((~) * signature (m Bool), MonadIO m, IsComboBox a) => MethodInfo * ComboBoxGetFocusOnClickMethodInfo a signature Source # | |
comboBoxGetFocusOnClick Source #
:: (HasCallStack, MonadIO m, IsComboBox a) | |
=> a |
|
-> m Bool | Returns: |
Deprecated: (Since version 3.20)Use widgetGetFocusOnClick
instead
Returns whether the combo box grabs focus when it is clicked
with the mouse. See comboBoxSetFocusOnClick
.
Since: 2.6
getHasEntry
data ComboBoxGetHasEntryMethodInfo Source #
((~) * signature (m Bool), MonadIO m, IsComboBox a) => MethodInfo * ComboBoxGetHasEntryMethodInfo a signature Source # | |
:: (HasCallStack, MonadIO m, IsComboBox a) | |
=> a |
|
-> m Bool | Returns: whether there is an entry in |
Returns whether the combo box has an entry.
Since: 2.24
getIdColumn
data ComboBoxGetIdColumnMethodInfo Source #
((~) * signature (m Int32), MonadIO m, IsComboBox a) => MethodInfo * ComboBoxGetIdColumnMethodInfo a signature Source # | |
:: (HasCallStack, MonadIO m, IsComboBox a) | |
=> a |
|
-> m Int32 | Returns: A column in the data source model of |
Returns the column which comboBox
is using to get string IDs
for values from.
Since: 3.0
getModel
data ComboBoxGetModelMethodInfo Source #
((~) * signature (m TreeModel), MonadIO m, IsComboBox a) => MethodInfo * ComboBoxGetModelMethodInfo a signature Source # | |
:: (HasCallStack, MonadIO m, IsComboBox a) | |
=> a |
|
-> m TreeModel | Returns: A |
Returns the TreeModel
which is acting as data source for comboBox
.
Since: 2.4
getPopupAccessible
data ComboBoxGetPopupAccessibleMethodInfo Source #
((~) * signature (m Object), MonadIO m, IsComboBox a) => MethodInfo * ComboBoxGetPopupAccessibleMethodInfo a signature Source # | |
comboBoxGetPopupAccessible Source #
:: (HasCallStack, MonadIO m, IsComboBox a) | |
=> a |
|
-> m Object | Returns: the accessible object corresponding to the combo box’s popup. |
Gets the accessible object corresponding to the combo box’s popup.
This function is mostly intended for use by accessibility technologies; applications should have little use for it.
Since: 2.6
getPopupFixedWidth
data ComboBoxGetPopupFixedWidthMethodInfo Source #
((~) * signature (m Bool), MonadIO m, IsComboBox a) => MethodInfo * ComboBoxGetPopupFixedWidthMethodInfo a signature Source # | |
comboBoxGetPopupFixedWidth Source #
:: (HasCallStack, MonadIO m, IsComboBox a) | |
=> a |
|
-> m Bool | Returns: |
Gets whether the popup uses a fixed width matching the allocated width of the combo box.
Since: 3.0
getRowSpanColumn
data ComboBoxGetRowSpanColumnMethodInfo Source #
((~) * signature (m Int32), MonadIO m, IsComboBox a) => MethodInfo * ComboBoxGetRowSpanColumnMethodInfo a signature Source # | |
comboBoxGetRowSpanColumn Source #
:: (HasCallStack, MonadIO m, IsComboBox a) | |
=> a |
|
-> m Int32 | Returns: the row span column. |
Returns the column with row span information for comboBox
.
Since: 2.6
getTitle
data ComboBoxGetTitleMethodInfo Source #
((~) * signature (m Text), MonadIO m, IsComboBox a) => MethodInfo * ComboBoxGetTitleMethodInfo a signature Source # | |
:: (HasCallStack, MonadIO m, IsComboBox a) | |
=> a |
|
-> m Text | Returns: the menu’s title in tearoff mode. This is an internal copy of the string which must not be freed. |
Deprecated: (Since version 3.10)
Gets the current title of the menu in tearoff mode. See
comboBoxSetAddTearoffs
.
Since: 2.10
getWrapWidth
data ComboBoxGetWrapWidthMethodInfo Source #
((~) * signature (m Int32), MonadIO m, IsComboBox a) => MethodInfo * ComboBoxGetWrapWidthMethodInfo a signature Source # | |
:: (HasCallStack, MonadIO m, IsComboBox a) | |
=> a |
|
-> m Int32 | Returns: the wrap width. |
Returns the wrap width which is used to determine the number of columns for the popup menu. If the wrap width is larger than 1, the combo box is in table mode.
Since: 2.6
new
:: (HasCallStack, MonadIO m) | |
=> m ComboBox | Returns: A new |
Creates a new empty ComboBox
.
Since: 2.4
newWithArea
:: (HasCallStack, MonadIO m, IsCellArea a) | |
=> a |
|
-> m ComboBox | Returns: A new |
Creates a new empty ComboBox
using area
to layout cells.
newWithAreaAndEntry
comboBoxNewWithAreaAndEntry Source #
:: (HasCallStack, MonadIO m, IsCellArea a) | |
=> a |
|
-> m ComboBox | Returns: A new |
Creates a new empty ComboBox
with an entry.
The new combo box will use area
to layout cells.
newWithEntry
:: (HasCallStack, MonadIO m) | |
=> m ComboBox | Returns: A new |
Creates a new empty ComboBox
with an entry.
Since: 2.24
newWithModel
:: (HasCallStack, MonadIO m, IsTreeModel a) | |
=> a |
|
-> m ComboBox | Returns: A new |
Creates a new ComboBox
with the model initialized to model
.
Since: 2.4
newWithModelAndEntry
comboBoxNewWithModelAndEntry Source #
:: (HasCallStack, MonadIO m, IsTreeModel a) | |
=> a |
|
-> m ComboBox | Returns: A new |
Creates a new empty ComboBox
with an entry
and with the model initialized to model
.
Since: 2.24
popdown
data ComboBoxPopdownMethodInfo Source #
((~) * signature (m ()), MonadIO m, IsComboBox a) => MethodInfo * ComboBoxPopdownMethodInfo a signature Source # | |
:: (HasCallStack, MonadIO m, IsComboBox a) | |
=> a |
|
-> m () |
Hides the menu or dropdown list of comboBox
.
This function is mostly intended for use by accessibility technologies; applications should have little use for it.
Since: 2.4
popup
data ComboBoxPopupMethodInfo Source #
((~) * signature (m ()), MonadIO m, IsComboBox a) => MethodInfo * ComboBoxPopupMethodInfo a signature Source # | |
:: (HasCallStack, MonadIO m, IsComboBox a) | |
=> a |
|
-> m () |
Pops up the menu or dropdown list of comboBox
.
This function is mostly intended for use by accessibility technologies; applications should have little use for it.
Since: 2.4
popupForDevice
data ComboBoxPopupForDeviceMethodInfo Source #
((~) * signature (b -> m ()), MonadIO m, IsComboBox a, IsDevice b) => MethodInfo * ComboBoxPopupForDeviceMethodInfo a signature Source # | |
comboBoxPopupForDevice Source #
:: (HasCallStack, MonadIO m, IsComboBox a, IsDevice b) | |
=> a |
|
-> b |
|
-> m () |
Pops up the menu or dropdown list of comboBox
, the popup window
will be grabbed so only device
and its associated pointer/keyboard
are the only GdkDevices
able to send events to it.
Since: 3.0
setActive
data ComboBoxSetActiveMethodInfo Source #
((~) * signature (Int32 -> m ()), MonadIO m, IsComboBox a) => MethodInfo * ComboBoxSetActiveMethodInfo a signature Source # | |
:: (HasCallStack, MonadIO m, IsComboBox a) | |
=> a |
|
-> Int32 |
|
-> m () |
Sets the active item of comboBox
to be the item at index
.
Since: 2.4
setActiveId
data ComboBoxSetActiveIdMethodInfo Source #
((~) * signature (Maybe Text -> m Bool), MonadIO m, IsComboBox a) => MethodInfo * ComboBoxSetActiveIdMethodInfo a signature Source # | |
:: (HasCallStack, MonadIO m, IsComboBox a) | |
=> a |
|
-> Maybe Text |
|
-> m Bool | Returns: |
Changes the active row of comboBox
to the one that has an ID equal to
activeId
, or unsets the active row if activeId
is Nothing
. Rows having
a Nothing
ID string cannot be made active by this function.
If the ComboBox
:id-column
property of comboBox
is unset or if no
row has the given ID then the function does nothing and returns False
.
Since: 3.0
setActiveIter
data ComboBoxSetActiveIterMethodInfo Source #
((~) * signature (Maybe TreeIter -> m ()), MonadIO m, IsComboBox a) => MethodInfo * ComboBoxSetActiveIterMethodInfo a signature Source # | |
comboBoxSetActiveIter Source #
:: (HasCallStack, MonadIO m, IsComboBox a) | |
=> a |
|
-> Maybe TreeIter | |
-> m () |
Sets the current active item to be the one referenced by iter
, or
unsets the active item if iter
is Nothing
.
Since: 2.4
setAddTearoffs
data ComboBoxSetAddTearoffsMethodInfo Source #
((~) * signature (Bool -> m ()), MonadIO m, IsComboBox a) => MethodInfo * ComboBoxSetAddTearoffsMethodInfo a signature Source # | |
comboBoxSetAddTearoffs Source #
:: (HasCallStack, MonadIO m, IsComboBox a) | |
=> a |
|
-> Bool |
|
-> m () |
Deprecated: (Since version 3.10)
Sets whether the popup menu should have a tearoff menu item.
Since: 2.6
setButtonSensitivity
data ComboBoxSetButtonSensitivityMethodInfo Source #
((~) * signature (SensitivityType -> m ()), MonadIO m, IsComboBox a) => MethodInfo * ComboBoxSetButtonSensitivityMethodInfo a signature Source # | |
comboBoxSetButtonSensitivity Source #
:: (HasCallStack, MonadIO m, IsComboBox a) | |
=> a |
|
-> SensitivityType |
|
-> m () |
Sets whether the dropdown button of the combo box should be
always sensitive (SensitivityTypeOn
), never sensitive (SensitivityTypeOff
)
or only if there is at least one item to display (SensitivityTypeAuto
).
Since: 2.14
setColumnSpanColumn
data ComboBoxSetColumnSpanColumnMethodInfo Source #
((~) * signature (Int32 -> m ()), MonadIO m, IsComboBox a) => MethodInfo * ComboBoxSetColumnSpanColumnMethodInfo a signature Source # | |
comboBoxSetColumnSpanColumn Source #
:: (HasCallStack, MonadIO m, IsComboBox a) | |
=> a |
|
-> Int32 |
|
-> m () |
Sets the column with column span information for comboBox
to be
columnSpan
. The column span column contains integers which indicate
how many columns an item should span.
Since: 2.4
setEntryTextColumn
data ComboBoxSetEntryTextColumnMethodInfo Source #
((~) * signature (Int32 -> m ()), MonadIO m, IsComboBox a) => MethodInfo * ComboBoxSetEntryTextColumnMethodInfo a signature Source # | |
comboBoxSetEntryTextColumn Source #
:: (HasCallStack, MonadIO m, IsComboBox a) | |
=> a |
|
-> Int32 |
|
-> m () |
setFocusOnClick
data ComboBoxSetFocusOnClickMethodInfo Source #
((~) * signature (Bool -> m ()), MonadIO m, IsComboBox a) => MethodInfo * ComboBoxSetFocusOnClickMethodInfo a signature Source # | |
comboBoxSetFocusOnClick Source #
:: (HasCallStack, MonadIO m, IsComboBox a) | |
=> a |
|
-> Bool |
|
-> m () |
Deprecated: (Since version 3.20)Use widgetSetFocusOnClick
instead
Sets whether the combo box will grab focus when it is clicked with the mouse. Making mouse clicks not grab focus is useful in places like toolbars where you don’t want the keyboard focus removed from the main area of the application.
Since: 2.6
setIdColumn
data ComboBoxSetIdColumnMethodInfo Source #
((~) * signature (Int32 -> m ()), MonadIO m, IsComboBox a) => MethodInfo * ComboBoxSetIdColumnMethodInfo a signature Source # | |
:: (HasCallStack, MonadIO m, IsComboBox a) | |
=> a |
|
-> Int32 |
|
-> m () |
Sets the model column which comboBox
should use to get string IDs
for values from. The column idColumn
in the model of comboBox
must be of type G_TYPE_STRING
.
Since: 3.0
setModel
data ComboBoxSetModelMethodInfo Source #
((~) * signature (Maybe b -> m ()), MonadIO m, IsComboBox a, IsTreeModel b) => MethodInfo * ComboBoxSetModelMethodInfo a signature Source # | |
:: (HasCallStack, MonadIO m, IsComboBox a, IsTreeModel b) | |
=> a |
|
-> Maybe b |
|
-> m () |
Sets the model used by comboBox
to be model
. Will unset a previously set
model (if applicable). If model is Nothing
, then it will unset the model.
Note that this function does not clear the cell renderers, you have to
call cellLayoutClear
yourself if you need to set up different
cell renderers for the new model.
Since: 2.4
setPopupFixedWidth
data ComboBoxSetPopupFixedWidthMethodInfo Source #
((~) * signature (Bool -> m ()), MonadIO m, IsComboBox a) => MethodInfo * ComboBoxSetPopupFixedWidthMethodInfo a signature Source # | |
comboBoxSetPopupFixedWidth Source #
:: (HasCallStack, MonadIO m, IsComboBox a) | |
=> a |
|
-> Bool |
|
-> m () |
Specifies whether the popup’s width should be a fixed width matching the allocated width of the combo box.
Since: 3.0
setRowSeparatorFunc
data ComboBoxSetRowSeparatorFuncMethodInfo Source #
((~) * signature (TreeViewRowSeparatorFunc -> m ()), MonadIO m, IsComboBox a) => MethodInfo * ComboBoxSetRowSeparatorFuncMethodInfo a signature Source # | |
comboBoxSetRowSeparatorFunc Source #
:: (HasCallStack, MonadIO m, IsComboBox a) | |
=> a |
|
-> TreeViewRowSeparatorFunc |
|
-> m () |
Sets the row separator function, which is used to determine
whether a row should be drawn as a separator. If the row separator
function is Nothing
, no separators are drawn. This is the default value.
Since: 2.6
setRowSpanColumn
data ComboBoxSetRowSpanColumnMethodInfo Source #
((~) * signature (Int32 -> m ()), MonadIO m, IsComboBox a) => MethodInfo * ComboBoxSetRowSpanColumnMethodInfo a signature Source # | |
comboBoxSetRowSpanColumn Source #
:: (HasCallStack, MonadIO m, IsComboBox a) | |
=> a |
|
-> Int32 |
|
-> m () |
Sets the column with row span information for comboBox
to be rowSpan
.
The row span column contains integers which indicate how many rows
an item should span.
Since: 2.4
setTitle
data ComboBoxSetTitleMethodInfo Source #
((~) * signature (Text -> m ()), MonadIO m, IsComboBox a) => MethodInfo * ComboBoxSetTitleMethodInfo a signature Source # | |
:: (HasCallStack, MonadIO m, IsComboBox a) | |
=> a |
|
-> Text |
|
-> m () |
Deprecated: (Since version 3.10)
Sets the menu’s title in tearoff mode.
Since: 2.10
setWrapWidth
data ComboBoxSetWrapWidthMethodInfo Source #
((~) * signature (Int32 -> m ()), MonadIO m, IsComboBox a) => MethodInfo * ComboBoxSetWrapWidthMethodInfo a signature Source # | |
:: (HasCallStack, MonadIO m, IsComboBox a) | |
=> a |
|
-> Int32 |
|
-> m () |
Sets the wrap width of comboBox
to be width
. The wrap width is basically
the preferred number of columns when you want the popup to be layed out
in a table.
Since: 2.4
Properties
active
data ComboBoxActivePropertyInfo Source #
comboBoxActive :: AttrLabelProxy "active" Source #
constructComboBoxActive :: IsComboBox o => Int32 -> IO (GValueConstruct o) Source #
getComboBoxActive :: (MonadIO m, IsComboBox o) => o -> m Int32 Source #
setComboBoxActive :: (MonadIO m, IsComboBox o) => o -> Int32 -> m () Source #
activeId
data ComboBoxActiveIdPropertyInfo Source #
clearComboBoxActiveId :: (MonadIO m, IsComboBox o) => o -> m () Source #
comboBoxActiveId :: AttrLabelProxy "activeId" Source #
constructComboBoxActiveId :: IsComboBox o => Text -> IO (GValueConstruct o) Source #
getComboBoxActiveId :: (MonadIO m, IsComboBox o) => o -> m (Maybe Text) Source #
setComboBoxActiveId :: (MonadIO m, IsComboBox o) => o -> Text -> m () Source #
addTearoffs
data ComboBoxAddTearoffsPropertyInfo Source #
comboBoxAddTearoffs :: AttrLabelProxy "addTearoffs" Source #
constructComboBoxAddTearoffs :: IsComboBox o => Bool -> IO (GValueConstruct o) Source #
getComboBoxAddTearoffs :: (MonadIO m, IsComboBox o) => o -> m Bool Source #
setComboBoxAddTearoffs :: (MonadIO m, IsComboBox o) => o -> Bool -> m () Source #
buttonSensitivity
data ComboBoxButtonSensitivityPropertyInfo Source #
comboBoxButtonSensitivity :: AttrLabelProxy "buttonSensitivity" Source #
constructComboBoxButtonSensitivity :: IsComboBox o => SensitivityType -> IO (GValueConstruct o) Source #
getComboBoxButtonSensitivity :: (MonadIO m, IsComboBox o) => o -> m SensitivityType Source #
setComboBoxButtonSensitivity :: (MonadIO m, IsComboBox o) => o -> SensitivityType -> m () Source #
cellArea
data ComboBoxCellAreaPropertyInfo Source #
comboBoxCellArea :: AttrLabelProxy "cellArea" Source #
constructComboBoxCellArea :: (IsComboBox o, IsCellArea a) => a -> IO (GValueConstruct o) Source #
getComboBoxCellArea :: (MonadIO m, IsComboBox o) => o -> m (Maybe CellArea) Source #
columnSpanColumn
data ComboBoxColumnSpanColumnPropertyInfo Source #
comboBoxColumnSpanColumn :: AttrLabelProxy "columnSpanColumn" Source #
constructComboBoxColumnSpanColumn :: IsComboBox o => Int32 -> IO (GValueConstruct o) Source #
getComboBoxColumnSpanColumn :: (MonadIO m, IsComboBox o) => o -> m Int32 Source #
setComboBoxColumnSpanColumn :: (MonadIO m, IsComboBox o) => o -> Int32 -> m () Source #
entryTextColumn
data ComboBoxEntryTextColumnPropertyInfo Source #
comboBoxEntryTextColumn :: AttrLabelProxy "entryTextColumn" Source #
constructComboBoxEntryTextColumn :: IsComboBox o => Int32 -> IO (GValueConstruct o) Source #
getComboBoxEntryTextColumn :: (MonadIO m, IsComboBox o) => o -> m Int32 Source #
setComboBoxEntryTextColumn :: (MonadIO m, IsComboBox o) => o -> Int32 -> m () Source #
hasEntry
data ComboBoxHasEntryPropertyInfo Source #
comboBoxHasEntry :: AttrLabelProxy "hasEntry" Source #
constructComboBoxHasEntry :: IsComboBox o => Bool -> IO (GValueConstruct o) Source #
getComboBoxHasEntry :: (MonadIO m, IsComboBox o) => o -> m Bool Source #
hasFrame
data ComboBoxHasFramePropertyInfo Source #
comboBoxHasFrame :: AttrLabelProxy "hasFrame" Source #
constructComboBoxHasFrame :: IsComboBox o => Bool -> IO (GValueConstruct o) Source #
getComboBoxHasFrame :: (MonadIO m, IsComboBox o) => o -> m Bool Source #
setComboBoxHasFrame :: (MonadIO m, IsComboBox o) => o -> Bool -> m () Source #
idColumn
data ComboBoxIdColumnPropertyInfo Source #
comboBoxIdColumn :: AttrLabelProxy "idColumn" Source #
constructComboBoxIdColumn :: IsComboBox o => Int32 -> IO (GValueConstruct o) Source #
getComboBoxIdColumn :: (MonadIO m, IsComboBox o) => o -> m Int32 Source #
setComboBoxIdColumn :: (MonadIO m, IsComboBox o) => o -> Int32 -> m () Source #
model
data ComboBoxModelPropertyInfo Source #
clearComboBoxModel :: (MonadIO m, IsComboBox o) => o -> m () Source #
comboBoxModel :: AttrLabelProxy "model" Source #
constructComboBoxModel :: (IsComboBox o, IsTreeModel a) => a -> IO (GValueConstruct o) Source #
getComboBoxModel :: (MonadIO m, IsComboBox o) => o -> m TreeModel Source #
setComboBoxModel :: (MonadIO m, IsComboBox o, IsTreeModel a) => o -> a -> m () Source #
popupFixedWidth
data ComboBoxPopupFixedWidthPropertyInfo Source #
comboBoxPopupFixedWidth :: AttrLabelProxy "popupFixedWidth" Source #
constructComboBoxPopupFixedWidth :: IsComboBox o => Bool -> IO (GValueConstruct o) Source #
getComboBoxPopupFixedWidth :: (MonadIO m, IsComboBox o) => o -> m Bool Source #
setComboBoxPopupFixedWidth :: (MonadIO m, IsComboBox o) => o -> Bool -> m () Source #
popupShown
data ComboBoxPopupShownPropertyInfo Source #
comboBoxPopupShown :: AttrLabelProxy "popupShown" Source #
getComboBoxPopupShown :: (MonadIO m, IsComboBox o) => o -> m Bool Source #
rowSpanColumn
data ComboBoxRowSpanColumnPropertyInfo Source #
comboBoxRowSpanColumn :: AttrLabelProxy "rowSpanColumn" Source #
constructComboBoxRowSpanColumn :: IsComboBox o => Int32 -> IO (GValueConstruct o) Source #
getComboBoxRowSpanColumn :: (MonadIO m, IsComboBox o) => o -> m Int32 Source #
setComboBoxRowSpanColumn :: (MonadIO m, IsComboBox o) => o -> Int32 -> m () Source #
tearoffTitle
data ComboBoxTearoffTitlePropertyInfo Source #
clearComboBoxTearoffTitle :: (MonadIO m, IsComboBox o) => o -> m () Source #
comboBoxTearoffTitle :: AttrLabelProxy "tearoffTitle" Source #
constructComboBoxTearoffTitle :: IsComboBox o => Text -> IO (GValueConstruct o) Source #
getComboBoxTearoffTitle :: (MonadIO m, IsComboBox o) => o -> m (Maybe Text) Source #
setComboBoxTearoffTitle :: (MonadIO m, IsComboBox o) => o -> Text -> m () Source #
wrapWidth
data ComboBoxWrapWidthPropertyInfo Source #
comboBoxWrapWidth :: AttrLabelProxy "wrapWidth" Source #
constructComboBoxWrapWidth :: IsComboBox o => Int32 -> IO (GValueConstruct o) Source #
getComboBoxWrapWidth :: (MonadIO m, IsComboBox o) => o -> m Int32 Source #
setComboBoxWrapWidth :: (MonadIO m, IsComboBox o) => o -> Int32 -> m () Source #
Signals
changed
type ComboBoxChangedCallback = IO () Source #
afterComboBoxChanged :: (GObject a, MonadIO m) => a -> ComboBoxChangedCallback -> m SignalHandlerId Source #
mk_ComboBoxChangedCallback :: C_ComboBoxChangedCallback -> IO (FunPtr C_ComboBoxChangedCallback) Source #
onComboBoxChanged :: (GObject a, MonadIO m) => a -> ComboBoxChangedCallback -> m SignalHandlerId Source #
wrap_ComboBoxChangedCallback :: ComboBoxChangedCallback -> Ptr () -> Ptr () -> IO () Source #
formatEntryText
afterComboBoxFormatEntryText :: (GObject a, MonadIO m) => a -> ComboBoxFormatEntryTextCallback -> m SignalHandlerId Source #
mk_ComboBoxFormatEntryTextCallback :: C_ComboBoxFormatEntryTextCallback -> IO (FunPtr C_ComboBoxFormatEntryTextCallback) Source #
onComboBoxFormatEntryText :: (GObject a, MonadIO m) => a -> ComboBoxFormatEntryTextCallback -> m SignalHandlerId Source #
wrap_ComboBoxFormatEntryTextCallback :: ComboBoxFormatEntryTextCallback -> Ptr () -> CString -> Ptr () -> IO CString Source #
moveActive
type ComboBoxMoveActiveCallback = ScrollType -> IO () Source #
afterComboBoxMoveActive :: (GObject a, MonadIO m) => a -> ComboBoxMoveActiveCallback -> m SignalHandlerId Source #
mk_ComboBoxMoveActiveCallback :: C_ComboBoxMoveActiveCallback -> IO (FunPtr C_ComboBoxMoveActiveCallback) Source #
onComboBoxMoveActive :: (GObject a, MonadIO m) => a -> ComboBoxMoveActiveCallback -> m SignalHandlerId Source #
wrap_ComboBoxMoveActiveCallback :: ComboBoxMoveActiveCallback -> Ptr () -> CUInt -> Ptr () -> IO () Source #
popdown
type ComboBoxPopdownCallback = IO Bool Source #
afterComboBoxPopdown :: (GObject a, MonadIO m) => a -> ComboBoxPopdownCallback -> m SignalHandlerId Source #
mk_ComboBoxPopdownCallback :: C_ComboBoxPopdownCallback -> IO (FunPtr C_ComboBoxPopdownCallback) Source #
onComboBoxPopdown :: (GObject a, MonadIO m) => a -> ComboBoxPopdownCallback -> m SignalHandlerId Source #
wrap_ComboBoxPopdownCallback :: ComboBoxPopdownCallback -> Ptr () -> Ptr () -> IO CInt Source #
popup
type ComboBoxPopupCallback = IO () Source #
afterComboBoxPopup :: (GObject a, MonadIO m) => a -> ComboBoxPopupCallback -> m SignalHandlerId Source #
onComboBoxPopup :: (GObject a, MonadIO m) => a -> ComboBoxPopupCallback -> m SignalHandlerId Source #
wrap_ComboBoxPopupCallback :: ComboBoxPopupCallback -> Ptr () -> Ptr () -> IO () Source #