gi-gtk-3.0.11: Gtk bindings

CopyrightWill Thompson, Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Gtk.Objects.Entry

Contents

Description

The Entry widget is a single line text entry widget. A fairly large set of key bindings are supported by default. If the entered text is longer than the allocation of the widget, the widget will scroll so that the cursor position is visible.

When using an entry for passwords and other sensitive information, it can be put into “password mode” using entrySetVisibility. In this mode, entered text is displayed using a “invisible” character. By default, GTK+ picks the best invisible character that is available in the current font, but it can be changed with entrySetInvisibleChar. Since 2.16, GTK+ displays a warning when Caps Lock or input methods might interfere with entering text in a password entry. The warning can be turned off with the Entry:caps-lock-warning property.

Since 2.16, GtkEntry has the ability to display progress or activity information behind the text. To make an entry display such information, use entrySetProgressFraction or entrySetProgressPulseStep.

Additionally, GtkEntry can show icons at either side of the entry. These icons can be activatable by clicking, can be set up as drag source and can have tooltips. To add an icon, use entrySetIconFromGicon or one of the various other functions that set an icon from a stock id, an icon name or a pixbuf. To trigger an action when the user clicks an icon, connect to the Entry::icon-press signal. To allow DND operations from an icon, use entrySetIconDragSource. To set a tooltip on an icon, use entrySetIconTooltipText or the corresponding function for markup.

Note that functionality or information that is only available by clicking on an icon in an entry may not be accessible at all to users which are not able to use a mouse or other pointing device. It is therefore recommended that any such functionality should also be available by other means, e.g. via the context menu of the entry.

CSS nodes

plain code

entry
├── image.left
├── image.right
├── undershoot.left
├── undershoot.right
├── [selection]
├── [progress[.pulse]]
╰── [window.popup]

GtkEntry has a main node with the name entry. Depending on the properties of the entry, the style classes .read-only and .flat may appear. The style classes .warning and .error may also be used with entries.

When the entry shows icons, it adds subnodes with the name image and the style class .left or .right, depending on where the icon appears.

When the entry has a selection, it adds a subnode with the name selection.

When the entry shows progress, it adds a subnode with the name progress. The node has the style class .pulse when the shown progress is pulsing.

The CSS node for a context menu is added as a subnode below entry as well.

The undershoot nodes are used to draw the underflow indication when content is scrolled out of view. These nodes get the .left and .right style classes added depending on where the indication is drawn.

When touch is used and touch selection handles are shown, they are using CSS nodes with name cursor-handle. They get the .top or .bottom style class depending on where they are shown in relation to the selection. If there is just a single handle for the text cursor, it gets the style class .insertion-cursor.

Synopsis

Exported types

Methods

getActivatesDefault

entryGetActivatesDefault Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: a Entry

-> m Bool

Returns: True if the entry will activate the default widget

Retrieves the value set by entrySetActivatesDefault.

getAlignment

entryGetAlignment Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: a Entry

-> m Float

Returns: the alignment

Gets the value set by entrySetAlignment.

Since: 2.4

getAttributes

entryGetAttributes Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: a Entry

-> m (Maybe AttrList)

Returns: the attribute list, or Nothing if none was set.

Gets the attribute list that was set on the entry using entrySetAttributes, if any.

Since: 3.6

getBuffer

data EntryGetBufferMethodInfo Source #

Instances

((~) * signature (m EntryBuffer), MonadIO m, IsEntry a) => MethodInfo * EntryGetBufferMethodInfo a signature Source # 

entryGetBuffer Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: a Entry

-> m EntryBuffer

Returns: A EntryBuffer object.

Get the EntryBuffer object which holds the text for this widget.

Since: 2.18

getCompletion

entryGetCompletion Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: A Entry

-> m EntryCompletion

Returns: The auxiliary completion object currently in use by entry.

Returns the auxiliary completion object currently in use by entry.

Since: 2.4

getCurrentIconDragSource

entryGetCurrentIconDragSource Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: a Entry

-> m Int32

Returns: index of the icon which is the source of the current DND operation, or -1.

Returns the index of the icon which is the source of the current DND operation, or -1.

This function is meant to be used in a Widget::drag-data-get callback.

Since: 2.16

getCursorHadjustment

entryGetCursorHadjustment Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: a Entry

-> m (Maybe Adjustment)

Returns: the horizontal cursor adjustment, or Nothing if none has been set.

Retrieves the horizontal cursor adjustment for the entry. See entrySetCursorHadjustment.

Since: 2.12

getHasFrame

data EntryGetHasFrameMethodInfo Source #

Instances

((~) * signature (m Bool), MonadIO m, IsEntry a) => MethodInfo * EntryGetHasFrameMethodInfo a signature Source # 

entryGetHasFrame Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: a Entry

-> m Bool

Returns: whether the entry has a beveled frame

Gets the value set by entrySetHasFrame.

getIconActivatable

entryGetIconActivatable Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: a Entry

-> EntryIconPosition

iconPos: Icon position

-> m Bool

Returns: True if the icon is activatable.

Returns whether the icon is activatable.

Since: 2.16

getIconArea

entryGetIconArea Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: A Entry

-> EntryIconPosition

iconPos: Icon position

-> m Rectangle 

Gets the area where entry’s icon at iconPos is drawn. This function is useful when drawing something to the entry in a draw callback.

If the entry is not realized or has no icon at the given position, iconArea is filled with zeros.

See also entryGetTextArea

Since: 3.0

getIconAtPos

entryGetIconAtPos Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: a Entry

-> Int32

x: the x coordinate of the position to find

-> Int32

y: the y coordinate of the position to find

-> m Int32

Returns: the index of the icon at the given position, or -1

Finds the icon at the given position and return its index. The position’s coordinates are relative to the entry’s top left corner. If x, y doesn’t lie inside an icon, -1 is returned. This function is intended for use in a Widget::query-tooltip signal handler.

Since: 2.16

getIconGicon

entryGetIconGicon Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: A Entry

-> EntryIconPosition

iconPos: Icon position

-> m (Maybe Icon)

Returns: A Icon, or Nothing if no icon is set or if the icon is not a Icon

Retrieves the Icon used for the icon, or Nothing if there is no icon or if the icon was set by some other method (e.g., by stock, pixbuf, or icon name).

Since: 2.16

getIconName

entryGetIconName Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: A Entry

-> EntryIconPosition

iconPos: Icon position

-> m (Maybe Text)

Returns: An icon name, or Nothing if no icon is set or if the icon wasn’t set from an icon name

Retrieves the icon name used for the icon, or Nothing if there is no icon or if the icon was set by some other method (e.g., by pixbuf, stock or gicon).

Since: 2.16

getIconPixbuf

entryGetIconPixbuf Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: A Entry

-> EntryIconPosition

iconPos: Icon position

-> m (Maybe Pixbuf)

Returns: A Pixbuf, or Nothing if no icon is set for this position.

Retrieves the image used for the icon.

Unlike the other methods of setting and getting icon data, this method will work regardless of whether the icon was set using a Pixbuf, a Icon, a stock item, or an icon name.

Since: 2.16

getIconSensitive

entryGetIconSensitive Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: a Entry

-> EntryIconPosition

iconPos: Icon position

-> m Bool

Returns: True if the icon is sensitive.

Returns whether the icon appears sensitive or insensitive.

Since: 2.16

getIconStock

entryGetIconStock Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: A Entry

-> EntryIconPosition

iconPos: Icon position

-> m Text

Returns: A stock id, or Nothing if no icon is set or if the icon wasn’t set from a stock id

Deprecated: (Since version 3.10)Use entryGetIconName instead.

Retrieves the stock id used for the icon, or Nothing if there is no icon or if the icon was set by some other method (e.g., by pixbuf, icon name or gicon).

Since: 2.16

getIconStorageType

entryGetIconStorageType Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: a Entry

-> EntryIconPosition

iconPos: Icon position

-> m ImageType

Returns: image representation being used

Gets the type of representation being used by the icon to store image data. If the icon has no image data, the return value will be ImageTypeEmpty.

Since: 2.16

getIconTooltipMarkup

entryGetIconTooltipMarkup Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: a Entry

-> EntryIconPosition

iconPos: the icon position

-> m (Maybe Text)

Returns: the tooltip text, or Nothing. Free the returned string with free when done.

Gets the contents of the tooltip on the icon at the specified position in entry.

Since: 2.16

getIconTooltipText

entryGetIconTooltipText Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: a Entry

-> EntryIconPosition

iconPos: the icon position

-> m (Maybe Text)

Returns: the tooltip text, or Nothing. Free the returned string with free when done.

Gets the contents of the tooltip on the icon at the specified position in entry.

Since: 2.16

getInnerBorder

entryGetInnerBorder Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: a Entry

-> m (Maybe Border)

Returns: the entry’s Border, or Nothing if none was set.

Deprecated: (Since version 3.4)Use the standard border and padding CSS properties (through objects like StyleContext and CssProvider); the value returned by this function is ignored by Entry.

This function returns the entry’s Entry:inner-border property. See entrySetInnerBorder for more information.

Since: 2.10

getInputHints

entryGetInputHints Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: a Entry

-> m [InputHints] 

Gets the value of the Entry:input-hints property.

Since: 3.6

getInputPurpose

entryGetInputPurpose Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: a Entry

-> m InputPurpose 

Gets the value of the Entry:input-purpose property.

Since: 3.6

getInvisibleChar

entryGetInvisibleChar Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: a Entry

-> m Char

Returns: the current invisible char, or 0, if the entry does not show invisible text at all.

Retrieves the character displayed in place of the real characters for entries with visibility set to false. See entrySetInvisibleChar.

getLayout

data EntryGetLayoutMethodInfo Source #

Instances

((~) * signature (m Layout), MonadIO m, IsEntry a) => MethodInfo * EntryGetLayoutMethodInfo a signature Source # 

entryGetLayout Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: a Entry

-> m Layout

Returns: the Layout for this entry

Gets the Layout used to display the entry. The layout is useful to e.g. convert text positions to pixel positions, in combination with entryGetLayoutOffsets. The returned layout is owned by the entry and must not be modified or freed by the caller.

Keep in mind that the layout text may contain a preedit string, so entryLayoutIndexToTextIndex and entryTextIndexToLayoutIndex are needed to convert byte indices in the layout to byte indices in the entry contents.

getLayoutOffsets

entryGetLayoutOffsets Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: a Entry

-> m (Int32, Int32) 

Obtains the position of the Layout used to render text in the entry, in widget coordinates. Useful if you want to line up the text in an entry with some other text, e.g. when using the entry to implement editable cells in a sheet widget.

Also useful to convert mouse events into coordinates inside the Layout, e.g. to take some action if some part of the entry text is clicked.

Note that as the user scrolls around in the entry the offsets will change; you’ll need to connect to the “notify::scroll-offset” signal to track this. Remember when using the Layout functions you need to convert to and from pixels using PANGO_PIXELS() or SCALE.

Keep in mind that the layout text may contain a preedit string, so entryLayoutIndexToTextIndex and entryTextIndexToLayoutIndex are needed to convert byte indices in the layout to byte indices in the entry contents.

getMaxLength

entryGetMaxLength Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: a Entry

-> m Int32

Returns: the maximum allowed number of characters in Entry, or 0 if there is no maximum.

Retrieves the maximum allowed length of the text in entry. See entrySetMaxLength.

This is equivalent to:

C code

GtkEntryBuffer *buffer;
buffer = gtk_entry_get_buffer (entry);
gtk_entry_buffer_get_max_length (buffer);

getMaxWidthChars

entryGetMaxWidthChars Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: a Entry

-> m Int32

Returns: the maximum width of the entry, in characters

Retrieves the desired maximum width of entry, in characters. See entrySetMaxWidthChars.

Since: 3.12

getOverwriteMode

entryGetOverwriteMode Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: a Entry

-> m Bool

Returns: whether the text is overwritten when typing.

Gets the value set by entrySetOverwriteMode.

Since: 2.14

getPlaceholderText

entryGetPlaceholderText Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: a Entry

-> m Text

Returns: a pointer to the placeholder text as a string. This string points to internally allocated storage in the widget and must not be freed, modified or stored.

Retrieves the text that will be displayed when entry is empty and unfocused

Since: 3.2

getProgressFraction

entryGetProgressFraction Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: a Entry

-> m Double

Returns: a fraction from 0.0 to 1.0

Returns the current fraction of the task that’s been completed. See entrySetProgressFraction.

Since: 2.16

getProgressPulseStep

entryGetProgressPulseStep Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: a Entry

-> m Double

Returns: a fraction from 0.0 to 1.0

Retrieves the pulse step set with entrySetProgressPulseStep.

Since: 2.16

getTabs

data EntryGetTabsMethodInfo Source #

Instances

((~) * signature (m (Maybe TabArray)), MonadIO m, IsEntry a) => MethodInfo * EntryGetTabsMethodInfo a signature Source # 

entryGetTabs Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: a Entry

-> m (Maybe TabArray)

Returns: the tabstops, or Nothing if none was set.

Gets the tabstops that were set on the entry using entrySetTabs, if any.

Since: 3.10

getText

data EntryGetTextMethodInfo Source #

Instances

((~) * signature (m Text), MonadIO m, IsEntry a) => MethodInfo * EntryGetTextMethodInfo a signature Source # 

entryGetText Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: a Entry

-> m Text

Returns: a pointer to the contents of the widget as a string. This string points to internally allocated storage in the widget and must not be freed, modified or stored.

Retrieves the contents of the entry widget. See also editableGetChars.

This is equivalent to:

C code

GtkEntryBuffer *buffer;
buffer = gtk_entry_get_buffer (entry);
gtk_entry_buffer_get_text (buffer);

getTextArea

entryGetTextArea Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: a Entry

-> m Rectangle 

Gets the area where the entry’s text is drawn. This function is useful when drawing something to the entry in a draw callback.

If the entry is not realized, textArea is filled with zeros.

See also entryGetIconArea.

Since: 3.0

getTextLength

entryGetTextLength Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: a Entry

-> m Word16

Returns: the current number of characters in Entry, or 0 if there are none.

Retrieves the current length of the text in entry.

This is equivalent to:

C code

GtkEntryBuffer *buffer;
buffer = gtk_entry_get_buffer (entry);
gtk_entry_buffer_get_length (buffer);

Since: 2.14

getVisibility

entryGetVisibility Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: a Entry

-> m Bool

Returns: True if the text is currently visible

Retrieves whether the text in entry is visible. See entrySetVisibility.

getWidthChars

entryGetWidthChars Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: a Entry

-> m Int32

Returns: number of chars to request space for, or negative if unset

Gets the value set by entrySetWidthChars.

grabFocusWithoutSelecting

entryGrabFocusWithoutSelecting Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: a Entry

-> m () 

Causes entry to have keyboard focus.

It behaves like widgetGrabFocus, except that it doesn't select the contents of the entry. You only want to call this on some special entries which the user usually doesn't want to replace all text in, such as search-as-you-type entries.

Since: 3.16

imContextFilterKeypress

entryImContextFilterKeypress Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: a Entry

-> EventKey

event: the key event

-> m Bool

Returns: True if the input method handled the key event.

Allow the Entry input method to internally handle key press and release events. If this function returns True, then no further processing should be done for this key event. See iMContextFilterKeypress.

Note that you are expected to call this function from your handler when overriding key event handling. This is needed in the case when you need to insert your own key handling between the input method and the default key event handling of the Entry. See textViewResetImContext for an example of use.

Since: 2.22

layoutIndexToTextIndex

entryLayoutIndexToTextIndex Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: a Entry

-> Int32

layoutIndex: byte index into the entry layout text

-> m Int32

Returns: byte index into the entry contents

Converts from a position in the entry’s Layout (returned by entryGetLayout) to a position in the entry contents (returned by entryGetText).

new

entryNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> m Entry

Returns: a new Entry.

Creates a new entry.

newWithBuffer

entryNewWithBuffer Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntryBuffer a) 
=> a

buffer: The buffer to use for the new Entry.

-> m Entry

Returns: a new Entry

Creates a new entry with the specified text buffer.

Since: 2.18

progressPulse

data EntryProgressPulseMethodInfo Source #

Instances

((~) * signature (m ()), MonadIO m, IsEntry a) => MethodInfo * EntryProgressPulseMethodInfo a signature Source # 

entryProgressPulse Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: a Entry

-> m () 

Indicates that some progress is made, but you don’t know how much. Causes the entry’s progress indicator to enter “activity mode,” where a block bounces back and forth. Each call to entryProgressPulse causes the block to move by a little bit (the amount of movement per pulse is determined by entrySetProgressPulseStep).

Since: 2.16

resetImContext

entryResetImContext Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: a Entry

-> m () 

Reset the input method context of the entry if needed.

This can be necessary in the case where modifying the buffer would confuse on-going input method behavior.

Since: 2.22

setActivatesDefault

entrySetActivatesDefault Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: a Entry

-> Bool

setting: True to activate window’s default widget on Enter keypress

-> m () 

If setting is True, pressing Enter in the entry will activate the default widget for the window containing the entry. This usually means that the dialog box containing the entry will be closed, since the default widget is usually one of the dialog buttons.

(For experts: if setting is True, the entry calls windowActivateDefault on the window containing the entry, in the default handler for the Entry::activate signal.)

setAlignment

data EntrySetAlignmentMethodInfo Source #

Instances

((~) * signature (Float -> m ()), MonadIO m, IsEntry a) => MethodInfo * EntrySetAlignmentMethodInfo a signature Source # 

entrySetAlignment Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: a Entry

-> Float

xalign: The horizontal alignment, from 0 (left) to 1 (right). Reversed for RTL layouts

-> m () 

Sets the alignment for the contents of the entry. This controls the horizontal positioning of the contents when the displayed text is shorter than the width of the entry.

Since: 2.4

setAttributes

data EntrySetAttributesMethodInfo Source #

Instances

((~) * signature (AttrList -> m ()), MonadIO m, IsEntry a) => MethodInfo * EntrySetAttributesMethodInfo a signature Source # 

entrySetAttributes Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: a Entry

-> AttrList

attrs: a AttrList

-> m () 

Sets a AttrList; the attributes in the list are applied to the entry text.

Since: 3.6

setBuffer

data EntrySetBufferMethodInfo Source #

Instances

((~) * signature (b -> m ()), MonadIO m, IsEntry a, IsEntryBuffer b) => MethodInfo * EntrySetBufferMethodInfo a signature Source # 

entrySetBuffer Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a, IsEntryBuffer b) 
=> a

entry: a Entry

-> b

buffer: a EntryBuffer

-> m () 

Set the EntryBuffer object which holds the text for this widget.

Since: 2.18

setCompletion

entrySetCompletion Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a, IsEntryCompletion b) 
=> a

entry: A Entry

-> Maybe b

completion: The EntryCompletion or Nothing

-> m () 

Sets completion to be the auxiliary completion object to use with entry. All further configuration of the completion mechanism is done on completion using the EntryCompletion API. Completion is disabled if completion is set to Nothing.

Since: 2.4

setCursorHadjustment

entrySetCursorHadjustment Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a, IsAdjustment b) 
=> a

entry: a Entry

-> Maybe b

adjustment: an adjustment which should be adjusted when the cursor is moved, or Nothing

-> m () 

Hooks up an adjustment to the cursor position in an entry, so that when the cursor is moved, the adjustment is scrolled to show that position. See scrolledWindowGetHadjustment for a typical way of obtaining the adjustment.

The adjustment has to be in pixel units and in the same coordinate system as the entry.

Since: 2.12

setHasFrame

data EntrySetHasFrameMethodInfo Source #

Instances

((~) * signature (Bool -> m ()), MonadIO m, IsEntry a) => MethodInfo * EntrySetHasFrameMethodInfo a signature Source # 

entrySetHasFrame Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: a Entry

-> Bool

setting: new value

-> m () 

Sets whether the entry has a beveled frame around it.

setIconActivatable

entrySetIconActivatable Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: A Entry

-> EntryIconPosition

iconPos: Icon position

-> Bool

activatable: True if the icon should be activatable

-> m () 

Sets whether the icon is activatable.

Since: 2.16

setIconDragSource

entrySetIconDragSource Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: a Entry

-> EntryIconPosition

iconPos: icon position

-> TargetList

targetList: the targets (data formats) in which the data can be provided

-> [DragAction]

actions: a bitmask of the allowed drag actions

-> m () 

Sets up the icon at the given position so that GTK+ will start a drag operation when the user clicks and drags the icon.

To handle the drag operation, you need to connect to the usual Widget::drag-data-get (or possibly Widget::drag-data-delete) signal, and use entryGetCurrentIconDragSource in your signal handler to find out if the drag was started from an icon.

By default, GTK+ uses the icon as the drag icon. You can use the Widget::drag-begin signal to set a different icon. Note that you have to use g_signal_connect_after() to ensure that your signal handler gets executed after the default handler.

Since: 2.16

setIconFromGicon

entrySetIconFromGicon Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a, IsIcon b) 
=> a

entry: A Entry

-> EntryIconPosition

iconPos: The position at which to set the icon

-> Maybe b

icon: The icon to set, or Nothing

-> m () 

Sets the icon shown in the entry at the specified position from the current icon theme. If the icon isn’t known, a “broken image” icon will be displayed instead.

If icon is Nothing, no icon will be shown in the specified position.

Since: 2.16

setIconFromIconName

entrySetIconFromIconName Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: A Entry

-> EntryIconPosition

iconPos: The position at which to set the icon

-> Maybe Text

iconName: An icon name, or Nothing

-> m () 

Sets the icon shown in the entry at the specified position from the current icon theme.

If the icon name isn’t known, a “broken image” icon will be displayed instead.

If iconName is Nothing, no icon will be shown in the specified position.

Since: 2.16

setIconFromPixbuf

entrySetIconFromPixbuf Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a, IsPixbuf b) 
=> a

entry: a Entry

-> EntryIconPosition

iconPos: Icon position

-> Maybe b

pixbuf: A Pixbuf, or Nothing

-> m () 

Sets the icon shown in the specified position using a pixbuf.

If pixbuf is Nothing, no icon will be shown in the specified position.

Since: 2.16

setIconFromStock

entrySetIconFromStock Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: A Entry

-> EntryIconPosition

iconPos: Icon position

-> Maybe Text

stockId: The name of the stock item, or Nothing

-> m () 

Deprecated: (Since version 3.10)Use entrySetIconFromIconName instead.

Sets the icon shown in the entry at the specified position from a stock image.

If stockId is Nothing, no icon will be shown in the specified position.

Since: 2.16

setIconSensitive

entrySetIconSensitive Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: A Entry

-> EntryIconPosition

iconPos: Icon position

-> Bool

sensitive: Specifies whether the icon should appear sensitive or insensitive

-> m () 

Sets the sensitivity for the specified icon.

Since: 2.16

setIconTooltipMarkup

entrySetIconTooltipMarkup Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: a Entry

-> EntryIconPosition

iconPos: the icon position

-> Maybe Text

tooltip: the contents of the tooltip for the icon, or Nothing

-> m () 

Sets tooltip as the contents of the tooltip for the icon at the specified position. tooltip is assumed to be marked up with the [Pango text markup language][PangoMarkupFormat].

Use Nothing for tooltip to remove an existing tooltip.

See also widgetSetTooltipMarkup and entrySetIconTooltipText.

Since: 2.16

setIconTooltipText

entrySetIconTooltipText Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: a Entry

-> EntryIconPosition

iconPos: the icon position

-> Maybe Text

tooltip: the contents of the tooltip for the icon, or Nothing

-> m () 

Sets tooltip as the contents of the tooltip for the icon at the specified position.

Use Nothing for tooltip to remove an existing tooltip.

See also widgetSetTooltipText and entrySetIconTooltipMarkup.

Since: 2.16

setInnerBorder

entrySetInnerBorder Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: a Entry

-> Maybe Border

border: a Border, or Nothing

-> m () 

Deprecated: (Since version 3.4)Use the standard border and padding CSS properties (through objects like StyleContext and CssProvider); the value set with this function is ignored by Entry.

Sets entry’s inner-border property to border, or clears it if Nothing is passed. The inner-border is the area around the entry’s text, but inside its frame.

If set, this property overrides the inner-border style property. Overriding the style-provided border is useful when you want to do in-place editing of some text in a canvas or list widget, where pixel-exact positioning of the entry is important.

Since: 2.10

setInputHints

data EntrySetInputHintsMethodInfo Source #

Instances

((~) * signature ([InputHints] -> m ()), MonadIO m, IsEntry a) => MethodInfo * EntrySetInputHintsMethodInfo a signature Source # 

entrySetInputHints Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: a Entry

-> [InputHints]

hints: the hints

-> m () 

Sets the Entry:input-hints property, which allows input methods to fine-tune their behaviour.

Since: 3.6

setInputPurpose

entrySetInputPurpose Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: a Entry

-> InputPurpose

purpose: the purpose

-> m () 

Sets the Entry:input-purpose property which can be used by on-screen keyboards and other input methods to adjust their behaviour.

Since: 3.6

setInvisibleChar

entrySetInvisibleChar Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: a Entry

-> Char

ch: a Unicode character

-> m () 

Sets the character to use in place of the actual text when entrySetVisibility has been called to set text visibility to False. i.e. this is the character used in “password mode” to show the user how many characters have been typed. By default, GTK+ picks the best invisible char available in the current font. If you set the invisible char to 0, then the user will get no feedback at all; there will be no text on the screen as they type.

setMaxLength

data EntrySetMaxLengthMethodInfo Source #

Instances

((~) * signature (Int32 -> m ()), MonadIO m, IsEntry a) => MethodInfo * EntrySetMaxLengthMethodInfo a signature Source # 

entrySetMaxLength Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: a Entry

-> Int32

max: the maximum length of the entry, or 0 for no maximum. (other than the maximum length of entries.) The value passed in will be clamped to the range 0-65536.

-> m () 

Sets the maximum allowed length of the contents of the widget. If the current contents are longer than the given length, then they will be truncated to fit.

This is equivalent to:

C code

GtkEntryBuffer *buffer;
buffer = gtk_entry_get_buffer (entry);
gtk_entry_buffer_set_max_length (buffer, max);

setMaxWidthChars

entrySetMaxWidthChars Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: a Entry

-> Int32

nChars: the new desired maximum width, in characters

-> m () 

Sets the desired maximum width in characters of entry.

Since: 3.12

setOverwriteMode

entrySetOverwriteMode Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: a Entry

-> Bool

overwrite: new value

-> m () 

Sets whether the text is overwritten when typing in the Entry.

Since: 2.14

setPlaceholderText

entrySetPlaceholderText Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: a Entry

-> Maybe Text

text: a string to be displayed when entry is empty and unfocused, or Nothing

-> m () 

Sets text to be displayed in entry when it is empty and unfocused. This can be used to give a visual hint of the expected contents of the Entry.

Note that since the placeholder text gets removed when the entry received focus, using this feature is a bit problematic if the entry is given the initial focus in a window. Sometimes this can be worked around by delaying the initial focus setting until the first key event arrives.

Since: 3.2

setProgressFraction

entrySetProgressFraction Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: a Entry

-> Double

fraction: fraction of the task that’s been completed

-> m () 

Causes the entry’s progress indicator to “fill in” the given fraction of the bar. The fraction should be between 0.0 and 1.0, inclusive.

Since: 2.16

setProgressPulseStep

entrySetProgressPulseStep Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: a Entry

-> Double

fraction: fraction between 0.0 and 1.0

-> m () 

Sets the fraction of total entry width to move the progress bouncing block for each call to entryProgressPulse.

Since: 2.16

setTabs

data EntrySetTabsMethodInfo Source #

Instances

((~) * signature (TabArray -> m ()), MonadIO m, IsEntry a) => MethodInfo * EntrySetTabsMethodInfo a signature Source # 

entrySetTabs Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: a Entry

-> TabArray

tabs: a TabArray

-> m () 

Sets a TabArray; the tabstops in the array are applied to the entry text.

Since: 3.10

setText

data EntrySetTextMethodInfo Source #

Instances

((~) * signature (Text -> m ()), MonadIO m, IsEntry a) => MethodInfo * EntrySetTextMethodInfo a signature Source # 

entrySetText Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: a Entry

-> Text

text: the new text

-> m () 

Sets the text in the widget to the given value, replacing the current contents.

See entryBufferSetText.

setVisibility

data EntrySetVisibilityMethodInfo Source #

Instances

((~) * signature (Bool -> m ()), MonadIO m, IsEntry a) => MethodInfo * EntrySetVisibilityMethodInfo a signature Source # 

entrySetVisibility Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: a Entry

-> Bool

visible: True if the contents of the entry are displayed as plaintext

-> m () 

Sets whether the contents of the entry are visible or not. When visibility is set to False, characters are displayed as the invisible char, and will also appear that way when the text in the entry widget is copied elsewhere.

By default, GTK+ picks the best invisible character available in the current font, but it can be changed with entrySetInvisibleChar.

Note that you probably want to set Entry:input-purpose to InputPurposePassword or InputPurposePin to inform input methods about the purpose of this entry, in addition to setting visibility to False.

setWidthChars

data EntrySetWidthCharsMethodInfo Source #

Instances

((~) * signature (Int32 -> m ()), MonadIO m, IsEntry a) => MethodInfo * EntrySetWidthCharsMethodInfo a signature Source # 

entrySetWidthChars Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: a Entry

-> Int32

nChars: width in chars

-> m () 

Changes the size request of the entry to be about the right size for nChars characters. Note that it changes the size request, the size can still be affected by how you pack the widget into containers. If nChars is -1, the size reverts to the default entry size.

textIndexToLayoutIndex

entryTextIndexToLayoutIndex Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: a Entry

-> Int32

textIndex: byte index into the entry contents

-> m Int32

Returns: byte index into the entry layout text

Converts from a position in the entry contents (returned by entryGetText) to a position in the entry’s Layout (returned by entryGetLayout, with text retrieved via layoutGetText).

unsetInvisibleChar

entryUnsetInvisibleChar Source #

Arguments

:: (HasCallStack, MonadIO m, IsEntry a) 
=> a

entry: a Entry

-> m () 

Unsets the invisible char previously set with entrySetInvisibleChar. So that the default invisible char is used again.

Since: 2.16

Properties

activatesDefault

data EntryActivatesDefaultPropertyInfo Source #

Instances

AttrInfo EntryActivatesDefaultPropertyInfo Source # 
type AttrOrigin EntryActivatesDefaultPropertyInfo Source # 
type AttrLabel EntryActivatesDefaultPropertyInfo Source # 
type AttrLabel EntryActivatesDefaultPropertyInfo = "activates-default"
type AttrGetType EntryActivatesDefaultPropertyInfo Source # 
type AttrBaseTypeConstraint EntryActivatesDefaultPropertyInfo Source # 
type AttrSetTypeConstraint EntryActivatesDefaultPropertyInfo Source # 
type AttrAllowedOps EntryActivatesDefaultPropertyInfo Source # 

attributes

data EntryAttributesPropertyInfo Source #

Instances

AttrInfo EntryAttributesPropertyInfo Source # 
type AttrOrigin EntryAttributesPropertyInfo Source # 
type AttrLabel EntryAttributesPropertyInfo Source # 
type AttrGetType EntryAttributesPropertyInfo Source # 
type AttrBaseTypeConstraint EntryAttributesPropertyInfo Source # 
type AttrSetTypeConstraint EntryAttributesPropertyInfo Source # 
type AttrAllowedOps EntryAttributesPropertyInfo Source # 

buffer

data EntryBufferPropertyInfo Source #

Instances

AttrInfo EntryBufferPropertyInfo Source # 
type AttrOrigin EntryBufferPropertyInfo Source # 
type AttrLabel EntryBufferPropertyInfo Source # 
type AttrGetType EntryBufferPropertyInfo Source # 
type AttrBaseTypeConstraint EntryBufferPropertyInfo Source # 
type AttrSetTypeConstraint EntryBufferPropertyInfo Source # 
type AttrAllowedOps EntryBufferPropertyInfo Source # 

setEntryBuffer :: (MonadIO m, IsEntry o, IsEntryBuffer a) => o -> a -> m () Source #

capsLockWarning

data EntryCapsLockWarningPropertyInfo Source #

Instances

AttrInfo EntryCapsLockWarningPropertyInfo Source # 
type AttrOrigin EntryCapsLockWarningPropertyInfo Source # 
type AttrLabel EntryCapsLockWarningPropertyInfo Source # 
type AttrLabel EntryCapsLockWarningPropertyInfo = "caps-lock-warning"
type AttrGetType EntryCapsLockWarningPropertyInfo Source # 
type AttrBaseTypeConstraint EntryCapsLockWarningPropertyInfo Source # 
type AttrSetTypeConstraint EntryCapsLockWarningPropertyInfo Source # 
type AttrAllowedOps EntryCapsLockWarningPropertyInfo Source # 

completion

data EntryCompletionPropertyInfo Source #

Instances

AttrInfo EntryCompletionPropertyInfo Source # 
type AttrOrigin EntryCompletionPropertyInfo Source # 
type AttrLabel EntryCompletionPropertyInfo Source # 
type AttrGetType EntryCompletionPropertyInfo Source # 
type AttrBaseTypeConstraint EntryCompletionPropertyInfo Source # 
type AttrSetTypeConstraint EntryCompletionPropertyInfo Source # 
type AttrAllowedOps EntryCompletionPropertyInfo Source # 

cursorPosition

data EntryCursorPositionPropertyInfo Source #

Instances

AttrInfo EntryCursorPositionPropertyInfo Source # 
type AttrOrigin EntryCursorPositionPropertyInfo Source # 
type AttrLabel EntryCursorPositionPropertyInfo Source # 
type AttrGetType EntryCursorPositionPropertyInfo Source # 
type AttrBaseTypeConstraint EntryCursorPositionPropertyInfo Source # 
type AttrSetTypeConstraint EntryCursorPositionPropertyInfo Source # 
type AttrAllowedOps EntryCursorPositionPropertyInfo Source # 

editable

data EntryEditablePropertyInfo Source #

Instances

AttrInfo EntryEditablePropertyInfo Source # 
type AttrOrigin EntryEditablePropertyInfo Source # 
type AttrLabel EntryEditablePropertyInfo Source # 
type AttrGetType EntryEditablePropertyInfo Source # 
type AttrBaseTypeConstraint EntryEditablePropertyInfo Source # 
type AttrSetTypeConstraint EntryEditablePropertyInfo Source # 
type AttrAllowedOps EntryEditablePropertyInfo Source # 

setEntryEditable :: (MonadIO m, IsEntry o) => o -> Bool -> m () Source #

hasFrame

data EntryHasFramePropertyInfo Source #

Instances

AttrInfo EntryHasFramePropertyInfo Source # 
type AttrOrigin EntryHasFramePropertyInfo Source # 
type AttrLabel EntryHasFramePropertyInfo Source # 
type AttrGetType EntryHasFramePropertyInfo Source # 
type AttrBaseTypeConstraint EntryHasFramePropertyInfo Source # 
type AttrSetTypeConstraint EntryHasFramePropertyInfo Source # 
type AttrAllowedOps EntryHasFramePropertyInfo Source # 

setEntryHasFrame :: (MonadIO m, IsEntry o) => o -> Bool -> m () Source #

imModule

data EntryImModulePropertyInfo Source #

Instances

AttrInfo EntryImModulePropertyInfo Source # 
type AttrOrigin EntryImModulePropertyInfo Source # 
type AttrLabel EntryImModulePropertyInfo Source # 
type AttrGetType EntryImModulePropertyInfo Source # 
type AttrBaseTypeConstraint EntryImModulePropertyInfo Source # 
type AttrSetTypeConstraint EntryImModulePropertyInfo Source # 
type AttrAllowedOps EntryImModulePropertyInfo Source # 

clearEntryImModule :: (MonadIO m, IsEntry o) => o -> m () Source #

setEntryImModule :: (MonadIO m, IsEntry o) => o -> Text -> m () Source #

innerBorder

data EntryInnerBorderPropertyInfo Source #

Instances

AttrInfo EntryInnerBorderPropertyInfo Source # 
type AttrOrigin EntryInnerBorderPropertyInfo Source # 
type AttrLabel EntryInnerBorderPropertyInfo Source # 
type AttrGetType EntryInnerBorderPropertyInfo Source # 
type AttrBaseTypeConstraint EntryInnerBorderPropertyInfo Source # 
type AttrSetTypeConstraint EntryInnerBorderPropertyInfo Source # 
type AttrAllowedOps EntryInnerBorderPropertyInfo Source # 

setEntryInnerBorder :: (MonadIO m, IsEntry o) => o -> Border -> m () Source #

inputHints

data EntryInputHintsPropertyInfo Source #

Instances

AttrInfo EntryInputHintsPropertyInfo Source # 
type AttrOrigin EntryInputHintsPropertyInfo Source # 
type AttrLabel EntryInputHintsPropertyInfo Source # 
type AttrGetType EntryInputHintsPropertyInfo Source # 
type AttrBaseTypeConstraint EntryInputHintsPropertyInfo Source # 
type AttrSetTypeConstraint EntryInputHintsPropertyInfo Source # 
type AttrAllowedOps EntryInputHintsPropertyInfo Source # 

setEntryInputHints :: (MonadIO m, IsEntry o) => o -> [InputHints] -> m () Source #

inputPurpose

data EntryInputPurposePropertyInfo Source #

Instances

AttrInfo EntryInputPurposePropertyInfo Source # 
type AttrOrigin EntryInputPurposePropertyInfo Source # 
type AttrLabel EntryInputPurposePropertyInfo Source # 
type AttrGetType EntryInputPurposePropertyInfo Source # 
type AttrBaseTypeConstraint EntryInputPurposePropertyInfo Source # 
type AttrSetTypeConstraint EntryInputPurposePropertyInfo Source # 
type AttrAllowedOps EntryInputPurposePropertyInfo Source # 

invisibleChar

data EntryInvisibleCharPropertyInfo Source #

Instances

AttrInfo EntryInvisibleCharPropertyInfo Source # 
type AttrOrigin EntryInvisibleCharPropertyInfo Source # 
type AttrLabel EntryInvisibleCharPropertyInfo Source # 
type AttrGetType EntryInvisibleCharPropertyInfo Source # 
type AttrBaseTypeConstraint EntryInvisibleCharPropertyInfo Source # 
type AttrSetTypeConstraint EntryInvisibleCharPropertyInfo Source # 
type AttrAllowedOps EntryInvisibleCharPropertyInfo Source # 

invisibleCharSet

data EntryInvisibleCharSetPropertyInfo Source #

Instances

AttrInfo EntryInvisibleCharSetPropertyInfo Source # 
type AttrOrigin EntryInvisibleCharSetPropertyInfo Source # 
type AttrLabel EntryInvisibleCharSetPropertyInfo Source # 
type AttrLabel EntryInvisibleCharSetPropertyInfo = "invisible-char-set"
type AttrGetType EntryInvisibleCharSetPropertyInfo Source # 
type AttrBaseTypeConstraint EntryInvisibleCharSetPropertyInfo Source # 
type AttrSetTypeConstraint EntryInvisibleCharSetPropertyInfo Source # 
type AttrAllowedOps EntryInvisibleCharSetPropertyInfo Source # 

maxLength

data EntryMaxLengthPropertyInfo Source #

Instances

AttrInfo EntryMaxLengthPropertyInfo Source # 
type AttrOrigin EntryMaxLengthPropertyInfo Source # 
type AttrLabel EntryMaxLengthPropertyInfo Source # 
type AttrGetType EntryMaxLengthPropertyInfo Source # 
type AttrBaseTypeConstraint EntryMaxLengthPropertyInfo Source # 
type AttrSetTypeConstraint EntryMaxLengthPropertyInfo Source # 
type AttrAllowedOps EntryMaxLengthPropertyInfo Source # 

setEntryMaxLength :: (MonadIO m, IsEntry o) => o -> Int32 -> m () Source #

maxWidthChars

data EntryMaxWidthCharsPropertyInfo Source #

Instances

AttrInfo EntryMaxWidthCharsPropertyInfo Source # 
type AttrOrigin EntryMaxWidthCharsPropertyInfo Source # 
type AttrLabel EntryMaxWidthCharsPropertyInfo Source # 
type AttrLabel EntryMaxWidthCharsPropertyInfo = "max-width-chars"
type AttrGetType EntryMaxWidthCharsPropertyInfo Source # 
type AttrBaseTypeConstraint EntryMaxWidthCharsPropertyInfo Source # 
type AttrSetTypeConstraint EntryMaxWidthCharsPropertyInfo Source # 
type AttrAllowedOps EntryMaxWidthCharsPropertyInfo Source # 

overwriteMode

data EntryOverwriteModePropertyInfo Source #

Instances

AttrInfo EntryOverwriteModePropertyInfo Source # 
type AttrOrigin EntryOverwriteModePropertyInfo Source # 
type AttrLabel EntryOverwriteModePropertyInfo Source # 
type AttrGetType EntryOverwriteModePropertyInfo Source # 
type AttrBaseTypeConstraint EntryOverwriteModePropertyInfo Source # 
type AttrSetTypeConstraint EntryOverwriteModePropertyInfo Source # 
type AttrAllowedOps EntryOverwriteModePropertyInfo Source # 

setEntryOverwriteMode :: (MonadIO m, IsEntry o) => o -> Bool -> m () Source #

placeholderText

data EntryPlaceholderTextPropertyInfo Source #

Instances

AttrInfo EntryPlaceholderTextPropertyInfo Source # 
type AttrOrigin EntryPlaceholderTextPropertyInfo Source # 
type AttrLabel EntryPlaceholderTextPropertyInfo Source # 
type AttrGetType EntryPlaceholderTextPropertyInfo Source # 
type AttrBaseTypeConstraint EntryPlaceholderTextPropertyInfo Source # 
type AttrSetTypeConstraint EntryPlaceholderTextPropertyInfo Source # 
type AttrAllowedOps EntryPlaceholderTextPropertyInfo Source # 

populateAll

data EntryPopulateAllPropertyInfo Source #

Instances

AttrInfo EntryPopulateAllPropertyInfo Source # 
type AttrOrigin EntryPopulateAllPropertyInfo Source # 
type AttrLabel EntryPopulateAllPropertyInfo Source # 
type AttrGetType EntryPopulateAllPropertyInfo Source # 
type AttrBaseTypeConstraint EntryPopulateAllPropertyInfo Source # 
type AttrSetTypeConstraint EntryPopulateAllPropertyInfo Source # 
type AttrAllowedOps EntryPopulateAllPropertyInfo Source # 

setEntryPopulateAll :: (MonadIO m, IsEntry o) => o -> Bool -> m () Source #

primaryIconActivatable

data EntryPrimaryIconActivatablePropertyInfo Source #

Instances

AttrInfo EntryPrimaryIconActivatablePropertyInfo Source # 
type AttrOrigin EntryPrimaryIconActivatablePropertyInfo Source # 
type AttrLabel EntryPrimaryIconActivatablePropertyInfo Source # 
type AttrLabel EntryPrimaryIconActivatablePropertyInfo = "primary-icon-activatable"
type AttrGetType EntryPrimaryIconActivatablePropertyInfo Source # 
type AttrBaseTypeConstraint EntryPrimaryIconActivatablePropertyInfo Source # 
type AttrSetTypeConstraint EntryPrimaryIconActivatablePropertyInfo Source # 
type AttrAllowedOps EntryPrimaryIconActivatablePropertyInfo Source # 

primaryIconGicon

data EntryPrimaryIconGiconPropertyInfo Source #

Instances

AttrInfo EntryPrimaryIconGiconPropertyInfo Source # 
type AttrOrigin EntryPrimaryIconGiconPropertyInfo Source # 
type AttrLabel EntryPrimaryIconGiconPropertyInfo Source # 
type AttrLabel EntryPrimaryIconGiconPropertyInfo = "primary-icon-gicon"
type AttrGetType EntryPrimaryIconGiconPropertyInfo Source # 
type AttrBaseTypeConstraint EntryPrimaryIconGiconPropertyInfo Source # 
type AttrSetTypeConstraint EntryPrimaryIconGiconPropertyInfo Source # 
type AttrAllowedOps EntryPrimaryIconGiconPropertyInfo Source # 

setEntryPrimaryIconGicon :: (MonadIO m, IsEntry o, IsIcon a) => o -> a -> m () Source #

primaryIconName

data EntryPrimaryIconNamePropertyInfo Source #

Instances

AttrInfo EntryPrimaryIconNamePropertyInfo Source # 
type AttrOrigin EntryPrimaryIconNamePropertyInfo Source # 
type AttrLabel EntryPrimaryIconNamePropertyInfo Source # 
type AttrLabel EntryPrimaryIconNamePropertyInfo = "primary-icon-name"
type AttrGetType EntryPrimaryIconNamePropertyInfo Source # 
type AttrBaseTypeConstraint EntryPrimaryIconNamePropertyInfo Source # 
type AttrSetTypeConstraint EntryPrimaryIconNamePropertyInfo Source # 
type AttrAllowedOps EntryPrimaryIconNamePropertyInfo Source # 

primaryIconPixbuf

data EntryPrimaryIconPixbufPropertyInfo Source #

Instances

AttrInfo EntryPrimaryIconPixbufPropertyInfo Source # 
type AttrOrigin EntryPrimaryIconPixbufPropertyInfo Source # 
type AttrLabel EntryPrimaryIconPixbufPropertyInfo Source # 
type AttrLabel EntryPrimaryIconPixbufPropertyInfo = "primary-icon-pixbuf"
type AttrGetType EntryPrimaryIconPixbufPropertyInfo Source # 
type AttrBaseTypeConstraint EntryPrimaryIconPixbufPropertyInfo Source # 
type AttrSetTypeConstraint EntryPrimaryIconPixbufPropertyInfo Source # 
type AttrAllowedOps EntryPrimaryIconPixbufPropertyInfo Source # 

setEntryPrimaryIconPixbuf :: (MonadIO m, IsEntry o, IsPixbuf a) => o -> a -> m () Source #

primaryIconSensitive

data EntryPrimaryIconSensitivePropertyInfo Source #

Instances

AttrInfo EntryPrimaryIconSensitivePropertyInfo Source # 
type AttrOrigin EntryPrimaryIconSensitivePropertyInfo Source # 
type AttrLabel EntryPrimaryIconSensitivePropertyInfo Source # 
type AttrLabel EntryPrimaryIconSensitivePropertyInfo = "primary-icon-sensitive"
type AttrGetType EntryPrimaryIconSensitivePropertyInfo Source # 
type AttrBaseTypeConstraint EntryPrimaryIconSensitivePropertyInfo Source # 
type AttrSetTypeConstraint EntryPrimaryIconSensitivePropertyInfo Source # 
type AttrAllowedOps EntryPrimaryIconSensitivePropertyInfo Source # 

primaryIconStock

data EntryPrimaryIconStockPropertyInfo Source #

Instances

AttrInfo EntryPrimaryIconStockPropertyInfo Source # 
type AttrOrigin EntryPrimaryIconStockPropertyInfo Source # 
type AttrLabel EntryPrimaryIconStockPropertyInfo Source # 
type AttrLabel EntryPrimaryIconStockPropertyInfo = "primary-icon-stock"
type AttrGetType EntryPrimaryIconStockPropertyInfo Source # 
type AttrBaseTypeConstraint EntryPrimaryIconStockPropertyInfo Source # 
type AttrSetTypeConstraint EntryPrimaryIconStockPropertyInfo Source # 
type AttrAllowedOps EntryPrimaryIconStockPropertyInfo Source # 

primaryIconStorageType

data EntryPrimaryIconStorageTypePropertyInfo Source #

Instances

AttrInfo EntryPrimaryIconStorageTypePropertyInfo Source # 
type AttrOrigin EntryPrimaryIconStorageTypePropertyInfo Source # 
type AttrLabel EntryPrimaryIconStorageTypePropertyInfo Source # 
type AttrLabel EntryPrimaryIconStorageTypePropertyInfo = "primary-icon-storage-type"
type AttrGetType EntryPrimaryIconStorageTypePropertyInfo Source # 
type AttrBaseTypeConstraint EntryPrimaryIconStorageTypePropertyInfo Source # 
type AttrSetTypeConstraint EntryPrimaryIconStorageTypePropertyInfo Source # 
type AttrAllowedOps EntryPrimaryIconStorageTypePropertyInfo Source # 

primaryIconTooltipMarkup

data EntryPrimaryIconTooltipMarkupPropertyInfo Source #

Instances

AttrInfo EntryPrimaryIconTooltipMarkupPropertyInfo Source # 
type AttrOrigin EntryPrimaryIconTooltipMarkupPropertyInfo Source # 
type AttrLabel EntryPrimaryIconTooltipMarkupPropertyInfo Source # 
type AttrLabel EntryPrimaryIconTooltipMarkupPropertyInfo = "primary-icon-tooltip-markup"
type AttrGetType EntryPrimaryIconTooltipMarkupPropertyInfo Source # 
type AttrBaseTypeConstraint EntryPrimaryIconTooltipMarkupPropertyInfo Source # 
type AttrSetTypeConstraint EntryPrimaryIconTooltipMarkupPropertyInfo Source # 
type AttrAllowedOps EntryPrimaryIconTooltipMarkupPropertyInfo Source # 

primaryIconTooltipText

data EntryPrimaryIconTooltipTextPropertyInfo Source #

Instances

AttrInfo EntryPrimaryIconTooltipTextPropertyInfo Source # 
type AttrOrigin EntryPrimaryIconTooltipTextPropertyInfo Source # 
type AttrLabel EntryPrimaryIconTooltipTextPropertyInfo Source # 
type AttrLabel EntryPrimaryIconTooltipTextPropertyInfo = "primary-icon-tooltip-text"
type AttrGetType EntryPrimaryIconTooltipTextPropertyInfo Source # 
type AttrBaseTypeConstraint EntryPrimaryIconTooltipTextPropertyInfo Source # 
type AttrSetTypeConstraint EntryPrimaryIconTooltipTextPropertyInfo Source # 
type AttrAllowedOps EntryPrimaryIconTooltipTextPropertyInfo Source # 

progressFraction

data EntryProgressFractionPropertyInfo Source #

Instances

AttrInfo EntryProgressFractionPropertyInfo Source # 
type AttrOrigin EntryProgressFractionPropertyInfo Source # 
type AttrLabel EntryProgressFractionPropertyInfo Source # 
type AttrLabel EntryProgressFractionPropertyInfo = "progress-fraction"
type AttrGetType EntryProgressFractionPropertyInfo Source # 
type AttrBaseTypeConstraint EntryProgressFractionPropertyInfo Source # 
type AttrSetTypeConstraint EntryProgressFractionPropertyInfo Source # 
type AttrAllowedOps EntryProgressFractionPropertyInfo Source # 

progressPulseStep

data EntryProgressPulseStepPropertyInfo Source #

Instances

AttrInfo EntryProgressPulseStepPropertyInfo Source # 
type AttrOrigin EntryProgressPulseStepPropertyInfo Source # 
type AttrLabel EntryProgressPulseStepPropertyInfo Source # 
type AttrLabel EntryProgressPulseStepPropertyInfo = "progress-pulse-step"
type AttrGetType EntryProgressPulseStepPropertyInfo Source # 
type AttrBaseTypeConstraint EntryProgressPulseStepPropertyInfo Source # 
type AttrSetTypeConstraint EntryProgressPulseStepPropertyInfo Source # 
type AttrAllowedOps EntryProgressPulseStepPropertyInfo Source # 

scrollOffset

data EntryScrollOffsetPropertyInfo Source #

Instances

AttrInfo EntryScrollOffsetPropertyInfo Source # 
type AttrOrigin EntryScrollOffsetPropertyInfo Source # 
type AttrLabel EntryScrollOffsetPropertyInfo Source # 
type AttrGetType EntryScrollOffsetPropertyInfo Source # 
type AttrBaseTypeConstraint EntryScrollOffsetPropertyInfo Source # 
type AttrSetTypeConstraint EntryScrollOffsetPropertyInfo Source # 
type AttrAllowedOps EntryScrollOffsetPropertyInfo Source # 

secondaryIconActivatable

data EntrySecondaryIconActivatablePropertyInfo Source #

Instances

AttrInfo EntrySecondaryIconActivatablePropertyInfo Source # 
type AttrOrigin EntrySecondaryIconActivatablePropertyInfo Source # 
type AttrLabel EntrySecondaryIconActivatablePropertyInfo Source # 
type AttrLabel EntrySecondaryIconActivatablePropertyInfo = "secondary-icon-activatable"
type AttrGetType EntrySecondaryIconActivatablePropertyInfo Source # 
type AttrBaseTypeConstraint EntrySecondaryIconActivatablePropertyInfo Source # 
type AttrSetTypeConstraint EntrySecondaryIconActivatablePropertyInfo Source # 
type AttrAllowedOps EntrySecondaryIconActivatablePropertyInfo Source # 

secondaryIconGicon

data EntrySecondaryIconGiconPropertyInfo Source #

Instances

AttrInfo EntrySecondaryIconGiconPropertyInfo Source # 
type AttrOrigin EntrySecondaryIconGiconPropertyInfo Source # 
type AttrLabel EntrySecondaryIconGiconPropertyInfo Source # 
type AttrLabel EntrySecondaryIconGiconPropertyInfo = "secondary-icon-gicon"
type AttrGetType EntrySecondaryIconGiconPropertyInfo Source # 
type AttrBaseTypeConstraint EntrySecondaryIconGiconPropertyInfo Source # 
type AttrSetTypeConstraint EntrySecondaryIconGiconPropertyInfo Source # 
type AttrAllowedOps EntrySecondaryIconGiconPropertyInfo Source # 

setEntrySecondaryIconGicon :: (MonadIO m, IsEntry o, IsIcon a) => o -> a -> m () Source #

secondaryIconName

data EntrySecondaryIconNamePropertyInfo Source #

Instances

AttrInfo EntrySecondaryIconNamePropertyInfo Source # 
type AttrOrigin EntrySecondaryIconNamePropertyInfo Source # 
type AttrLabel EntrySecondaryIconNamePropertyInfo Source # 
type AttrLabel EntrySecondaryIconNamePropertyInfo = "secondary-icon-name"
type AttrGetType EntrySecondaryIconNamePropertyInfo Source # 
type AttrBaseTypeConstraint EntrySecondaryIconNamePropertyInfo Source # 
type AttrSetTypeConstraint EntrySecondaryIconNamePropertyInfo Source # 
type AttrAllowedOps EntrySecondaryIconNamePropertyInfo Source # 

secondaryIconPixbuf

data EntrySecondaryIconPixbufPropertyInfo Source #

Instances

AttrInfo EntrySecondaryIconPixbufPropertyInfo Source # 
type AttrOrigin EntrySecondaryIconPixbufPropertyInfo Source # 
type AttrLabel EntrySecondaryIconPixbufPropertyInfo Source # 
type AttrLabel EntrySecondaryIconPixbufPropertyInfo = "secondary-icon-pixbuf"
type AttrGetType EntrySecondaryIconPixbufPropertyInfo Source # 
type AttrBaseTypeConstraint EntrySecondaryIconPixbufPropertyInfo Source # 
type AttrSetTypeConstraint EntrySecondaryIconPixbufPropertyInfo Source # 
type AttrAllowedOps EntrySecondaryIconPixbufPropertyInfo Source # 

secondaryIconSensitive

data EntrySecondaryIconSensitivePropertyInfo Source #

Instances

AttrInfo EntrySecondaryIconSensitivePropertyInfo Source # 
type AttrOrigin EntrySecondaryIconSensitivePropertyInfo Source # 
type AttrLabel EntrySecondaryIconSensitivePropertyInfo Source # 
type AttrLabel EntrySecondaryIconSensitivePropertyInfo = "secondary-icon-sensitive"
type AttrGetType EntrySecondaryIconSensitivePropertyInfo Source # 
type AttrBaseTypeConstraint EntrySecondaryIconSensitivePropertyInfo Source # 
type AttrSetTypeConstraint EntrySecondaryIconSensitivePropertyInfo Source # 
type AttrAllowedOps EntrySecondaryIconSensitivePropertyInfo Source # 

secondaryIconStock

data EntrySecondaryIconStockPropertyInfo Source #

Instances

AttrInfo EntrySecondaryIconStockPropertyInfo Source # 
type AttrOrigin EntrySecondaryIconStockPropertyInfo Source # 
type AttrLabel EntrySecondaryIconStockPropertyInfo Source # 
type AttrLabel EntrySecondaryIconStockPropertyInfo = "secondary-icon-stock"
type AttrGetType EntrySecondaryIconStockPropertyInfo Source # 
type AttrBaseTypeConstraint EntrySecondaryIconStockPropertyInfo Source # 
type AttrSetTypeConstraint EntrySecondaryIconStockPropertyInfo Source # 
type AttrAllowedOps EntrySecondaryIconStockPropertyInfo Source # 

secondaryIconStorageType

data EntrySecondaryIconStorageTypePropertyInfo Source #

Instances

AttrInfo EntrySecondaryIconStorageTypePropertyInfo Source # 
type AttrOrigin EntrySecondaryIconStorageTypePropertyInfo Source # 
type AttrLabel EntrySecondaryIconStorageTypePropertyInfo Source # 
type AttrLabel EntrySecondaryIconStorageTypePropertyInfo = "secondary-icon-storage-type"
type AttrGetType EntrySecondaryIconStorageTypePropertyInfo Source # 
type AttrBaseTypeConstraint EntrySecondaryIconStorageTypePropertyInfo Source # 
type AttrSetTypeConstraint EntrySecondaryIconStorageTypePropertyInfo Source # 
type AttrAllowedOps EntrySecondaryIconStorageTypePropertyInfo Source # 

secondaryIconTooltipMarkup

data EntrySecondaryIconTooltipMarkupPropertyInfo Source #

Instances

AttrInfo EntrySecondaryIconTooltipMarkupPropertyInfo Source # 
type AttrOrigin EntrySecondaryIconTooltipMarkupPropertyInfo Source # 
type AttrLabel EntrySecondaryIconTooltipMarkupPropertyInfo Source # 
type AttrLabel EntrySecondaryIconTooltipMarkupPropertyInfo = "secondary-icon-tooltip-markup"
type AttrGetType EntrySecondaryIconTooltipMarkupPropertyInfo Source # 
type AttrBaseTypeConstraint EntrySecondaryIconTooltipMarkupPropertyInfo Source # 
type AttrSetTypeConstraint EntrySecondaryIconTooltipMarkupPropertyInfo Source # 
type AttrAllowedOps EntrySecondaryIconTooltipMarkupPropertyInfo Source # 

entrySecondaryIconTooltipMarkup :: AttrLabelProxy "secondaryIconTooltipMarkup" Source #

secondaryIconTooltipText

data EntrySecondaryIconTooltipTextPropertyInfo Source #

Instances

AttrInfo EntrySecondaryIconTooltipTextPropertyInfo Source # 
type AttrOrigin EntrySecondaryIconTooltipTextPropertyInfo Source # 
type AttrLabel EntrySecondaryIconTooltipTextPropertyInfo Source # 
type AttrLabel EntrySecondaryIconTooltipTextPropertyInfo = "secondary-icon-tooltip-text"
type AttrGetType EntrySecondaryIconTooltipTextPropertyInfo Source # 
type AttrBaseTypeConstraint EntrySecondaryIconTooltipTextPropertyInfo Source # 
type AttrSetTypeConstraint EntrySecondaryIconTooltipTextPropertyInfo Source # 
type AttrAllowedOps EntrySecondaryIconTooltipTextPropertyInfo Source # 

selectionBound

data EntrySelectionBoundPropertyInfo Source #

Instances

AttrInfo EntrySelectionBoundPropertyInfo Source # 
type AttrOrigin EntrySelectionBoundPropertyInfo Source # 
type AttrLabel EntrySelectionBoundPropertyInfo Source # 
type AttrGetType EntrySelectionBoundPropertyInfo Source # 
type AttrBaseTypeConstraint EntrySelectionBoundPropertyInfo Source # 
type AttrSetTypeConstraint EntrySelectionBoundPropertyInfo Source # 
type AttrAllowedOps EntrySelectionBoundPropertyInfo Source # 

shadowType

data EntryShadowTypePropertyInfo Source #

Instances

AttrInfo EntryShadowTypePropertyInfo Source # 
type AttrOrigin EntryShadowTypePropertyInfo Source # 
type AttrLabel EntryShadowTypePropertyInfo Source # 
type AttrGetType EntryShadowTypePropertyInfo Source # 
type AttrBaseTypeConstraint EntryShadowTypePropertyInfo Source # 
type AttrSetTypeConstraint EntryShadowTypePropertyInfo Source # 
type AttrAllowedOps EntryShadowTypePropertyInfo Source # 

tabs

data EntryTabsPropertyInfo Source #

Instances

AttrInfo EntryTabsPropertyInfo Source # 
type AttrOrigin EntryTabsPropertyInfo Source # 
type AttrLabel EntryTabsPropertyInfo Source # 
type AttrGetType EntryTabsPropertyInfo Source # 
type AttrBaseTypeConstraint EntryTabsPropertyInfo Source # 
type AttrSetTypeConstraint EntryTabsPropertyInfo Source # 
type AttrAllowedOps EntryTabsPropertyInfo Source # 

setEntryTabs :: (MonadIO m, IsEntry o) => o -> TabArray -> m () Source #

text

data EntryTextPropertyInfo Source #

Instances

AttrInfo EntryTextPropertyInfo Source # 
type AttrOrigin EntryTextPropertyInfo Source # 
type AttrLabel EntryTextPropertyInfo Source # 
type AttrGetType EntryTextPropertyInfo Source # 
type AttrBaseTypeConstraint EntryTextPropertyInfo Source # 
type AttrSetTypeConstraint EntryTextPropertyInfo Source # 
type AttrAllowedOps EntryTextPropertyInfo Source # 

getEntryText :: (MonadIO m, IsEntry o) => o -> m Text Source #

setEntryText :: (MonadIO m, IsEntry o) => o -> Text -> m () Source #

textLength

data EntryTextLengthPropertyInfo Source #

Instances

AttrInfo EntryTextLengthPropertyInfo Source # 
type AttrOrigin EntryTextLengthPropertyInfo Source # 
type AttrLabel EntryTextLengthPropertyInfo Source # 
type AttrGetType EntryTextLengthPropertyInfo Source # 
type AttrBaseTypeConstraint EntryTextLengthPropertyInfo Source # 
type AttrSetTypeConstraint EntryTextLengthPropertyInfo Source # 
type AttrAllowedOps EntryTextLengthPropertyInfo Source # 

truncateMultiline

data EntryTruncateMultilinePropertyInfo Source #

Instances

AttrInfo EntryTruncateMultilinePropertyInfo Source # 
type AttrOrigin EntryTruncateMultilinePropertyInfo Source # 
type AttrLabel EntryTruncateMultilinePropertyInfo Source # 
type AttrLabel EntryTruncateMultilinePropertyInfo = "truncate-multiline"
type AttrGetType EntryTruncateMultilinePropertyInfo Source # 
type AttrBaseTypeConstraint EntryTruncateMultilinePropertyInfo Source # 
type AttrSetTypeConstraint EntryTruncateMultilinePropertyInfo Source # 
type AttrAllowedOps EntryTruncateMultilinePropertyInfo Source # 

visibility

data EntryVisibilityPropertyInfo Source #

Instances

AttrInfo EntryVisibilityPropertyInfo Source # 
type AttrOrigin EntryVisibilityPropertyInfo Source # 
type AttrLabel EntryVisibilityPropertyInfo Source # 
type AttrGetType EntryVisibilityPropertyInfo Source # 
type AttrBaseTypeConstraint EntryVisibilityPropertyInfo Source # 
type AttrSetTypeConstraint EntryVisibilityPropertyInfo Source # 
type AttrAllowedOps EntryVisibilityPropertyInfo Source # 

setEntryVisibility :: (MonadIO m, IsEntry o) => o -> Bool -> m () Source #

widthChars

data EntryWidthCharsPropertyInfo Source #

Instances

AttrInfo EntryWidthCharsPropertyInfo Source # 
type AttrOrigin EntryWidthCharsPropertyInfo Source # 
type AttrLabel EntryWidthCharsPropertyInfo Source # 
type AttrGetType EntryWidthCharsPropertyInfo Source # 
type AttrBaseTypeConstraint EntryWidthCharsPropertyInfo Source # 
type AttrSetTypeConstraint EntryWidthCharsPropertyInfo Source # 
type AttrAllowedOps EntryWidthCharsPropertyInfo Source # 

setEntryWidthChars :: (MonadIO m, IsEntry o) => o -> Int32 -> m () Source #

xalign

data EntryXalignPropertyInfo Source #

Instances

AttrInfo EntryXalignPropertyInfo Source # 
type AttrOrigin EntryXalignPropertyInfo Source # 
type AttrLabel EntryXalignPropertyInfo Source # 
type AttrGetType EntryXalignPropertyInfo Source # 
type AttrBaseTypeConstraint EntryXalignPropertyInfo Source # 
type AttrSetTypeConstraint EntryXalignPropertyInfo Source # 
type AttrAllowedOps EntryXalignPropertyInfo Source # 

setEntryXalign :: (MonadIO m, IsEntry o) => o -> Float -> m () Source #

Signals

activate

type C_EntryActivateCallback = Ptr () -> Ptr () -> IO () Source #

backspace

type C_EntryBackspaceCallback = Ptr () -> Ptr () -> IO () Source #

copyClipboard

cutClipboard

deleteFromCursor

iconPress

iconRelease

insertAtCursor

moveCursor

type C_EntryMoveCursorCallback = Ptr () -> CUInt -> Int32 -> CInt -> Ptr () -> IO () Source #

pasteClipboard

populatePopup

preeditChanged

toggleOverwrite