adw.entry_row
Module for [EntryRow] class
Types 3
A gtk.list_box_row.ListBoxRow with an embedded text entry.
adw.entry_row.EntryRow has a title that doubles as placeholder text. It shows an icon indicating that it's editable and can receive additional widgets before or after the editable part.
If adw.entry_row.EntryRow.showApplyButton is set to TRUE, adw.entry_row.EntryRow can show an apply button when editing its contents. This can be useful if changing its contents can result in an expensive operation, such as network activity.
adw.entry_row.EntryRow provides only minimal API and should be used with the gtk.editable.Editable API.
See also adw.password_entry_row.PasswordEntryRow.
AdwEntryRow as GtkBuildable
The adw.entry_row.EntryRow implementation of the gtk.buildable.Buildable interface supports adding a child at its end by specifying “suffix” or omitting the “type” attribute of a <child> element.
It also supports adding a child as a prefix widget by specifying “prefix” as the “type” attribute of a <child> element.
CSS nodes
adw.entry_row.EntryRow has a single CSS node with name row and the .entry style class.
EntryRowGidBuilder builder() static nothrowGet builder for [adw.entry_row.EntryRow] Returns: New builder objectbool activatesDefault() @property nothrowGet `activatesDefault` property. Returns: Whether activating the embedded entry can activate the default widget.void activatesDefault(bool propval) @property nothrowSet `activatesDefault` property. Params: propval = Whether activating the embedded entry can activate the default widget.pango.attr_list.AttrList attributes() @property nothrowGet `attributes` property. Returns: A list of Pango attributes to apply to the text of the embedded entry.void attributes(pango.attr_list.AttrList propval) @property nothrowSet `attributes` property. Params: propval = A list of Pango attributes to apply to the text of the embedded entry.bool enableEmojiCompletion() @property nothrowGet `enableEmojiCompletion` property. Returns: Whether to suggest emoji replacements on the entry row.void enableEmojiCompletion(bool propval) @property nothrowSet `enableEmojiCompletion` property. Params: propval = Whether to suggest emoji replacements on the entry row.gtk.types.InputHints inputHints() @property nothrowGet `inputHints` property. Returns: Additional input hints for the entry row.void inputHints(gtk.types.InputHints propval) @property nothrowSet `inputHints` property. Params: propval = Additional input hints for the entry row.gtk.types.InputPurpose inputPurpose() @property nothrowGet `inputPurpose` property. Returns: The input purpose of the entry row.void inputPurpose(gtk.types.InputPurpose propval) @property nothrowSet `inputPurpose` property. Params: propval = The input purpose of the entry row.bool showApplyButton() @property nothrowGet `showApplyButton` property. Returns: Whether to show the apply button.void showApplyButton(bool propval) @property nothrowSet `showApplyButton` property. Params: propval = Whether to show the apply button.uint textLength() @property nothrowGet `textLength` property. Returns: The length of the text in the entry row.bool getActivatesDefault() nothrowGets whether activating the embedded entry can activate the default widget. Returns: whether to activate the default widgetpango.attr_list.AttrList getAttributes() nothrowGets Pango attributes applied to the text of the embedded entry. Returns: the list of attributesbool getEnableEmojiCompletion() nothrowGets whether to suggest emoji replacements on self. Returns: whether or not emoji completion is enabledgtk.types.InputHints getInputHints() nothrowGets the additional input hints of self. Returns: The input hintsgtk.types.InputPurpose getInputPurpose() nothrowGets the input purpose of self. Returns: the input purposebool getShowApplyButton() nothrowGets whether self can show the apply button. Returns: whether to show the apply buttonuint getTextLength() nothrowRetrieves the current length of the text in self. Returns: The current number of characters in self, or 0 if there are none.bool grabFocusWithoutSelecting() nothrowCauses self to have keyboard focus without selecting the text.void setActivatesDefault(bool activates) nothrowSets whether activating the embedded entry can activate the default widget.void setAttributes(pango.attr_list.AttrList attributes = null) nothrowSets Pango attributes to apply to the text of the embedded entry.void setEnableEmojiCompletion(bool enableEmojiCompletion) nothrowSets whether to suggest emoji replacements on self.gulong connectApply(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == void)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : adw.entry_row.EntryRow)))
&& Parameters!T.length < 2) nothrowConnect to `Apply` signal.gulong connectEntryActivated(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == void)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : adw.entry_row.EntryRow)))
&& Parameters!T.length < 2) nothrowConnect to `EntryActivated` signal.Fluent builder implementation template for adw.entry_row.EntryRow
T activatesDefault(bool propval) nothrowSet `activatesDefault` property. Params: propval = Whether activating the embedded entry can activate the default widget. Returns: Builder instance for fluent chainingT attributes(pango.attr_list.AttrList propval) nothrowSet `attributes` property. Params: propval = A list of Pango attributes to apply to the text of the embedded entry.T enableEmojiCompletion(bool propval) nothrowSet `enableEmojiCompletion` property. Params: propval = Whether to suggest emoji replacements on the entry row.T inputHints(gtk.types.InputHints propval) nothrowSet `inputHints` property. Params: propval = Additional input hints for the entry row.T inputPurpose(gtk.types.InputPurpose propval) nothrowSet `inputPurpose` property. Params: propval = The input purpose of the entry row.T showApplyButton(bool propval) nothrowSet `showApplyButton` property. Params: propval = Whether to show the apply button.Fluent builder for adw.entry_row.EntryRow