Class

GntEntry

Description

class Gnt.Entry : Gnt.Widget {
  parent_instance: GntWidget
}
No description available.

Constructors

gnt_entry_new

Create a new GntEntry.

Instance methods

gnt_entry_add_suggest

Add an item to the suggestion list.

gnt_entry_add_to_history

Add a text to the history list for the text. The history length for the entry box needs to be set first by gnt_entry_set_history_length.

gnt_entry_clear

Clear the text in the entry box.

gnt_entry_get_text

Get the text in an entry box.

gnt_entry_remove_suggest

Remove an entry from the suggestion list.

gnt_entry_set_always_suggest

Set whether to always display the suggestions list, or only when the tab-completion key is pressed (the TAB key, by default).

gnt_entry_set_flag

Set flags an entry box.

gnt_entry_set_history_length

Set the length of history for the entry box.

gnt_entry_set_masked

Set whether the text in the entry box should be masked for display.

gnt_entry_set_max

Set the maximum length of the text in the entry box.

gnt_entry_set_text

Set the text in an entry box.

gnt_entry_set_word_suggest

Set whether the suggestions are for the entire entry box, or for each individual word in the entry box.

Methods inherited from GntWidget (48)

Please see GntWidget for a full list of methods.

Methods inherited from GntBindable (6)
gnt_bindable_bindings_view

Returns a GntTree populated with “key” -> “binding” for the widget.

since: 2.1.1

gnt_bindable_build_help_window

Builds a window that list the key bindings for a GntBindable object. From this window a user can select a listing to rebind a new key for the given action.

since: 2.1.1

gnt_bindable_check_key

Discover if a key is bound.

since: 2.4.2

gnt_bindable_perform_action_key

Perform an action from a keybinding.

gnt_bindable_perform_action_named

Perform an action on a bindable object.

gnt_bindable_remap_keys
No description available.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Signals

Gnt.Entry::completion
No description available.

Gnt.Entry::text-changed
No description available.

Signals inherited from GntWidget (15)
GntWidget::activate
No description available.

GntWidget::clicked
No description available.

GntWidget::confirm-size
No description available.

GntWidget::context-menu
No description available.

GntWidget::destroy
No description available.

GntWidget::draw
No description available.

GntWidget::expose
No description available.

GntWidget::gained-focus
No description available.

GntWidget::hide
No description available.

GntWidget::key-pressed
No description available.

GntWidget::lost-focus
No description available.

GntWidget::map
No description available.

GntWidget::position-set
No description available.

GntWidget::size-changed
No description available.

GntWidget::size-request
No description available.

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct GntEntryClass {
  void (* text_changed) (
    GntEntry* entry
  );
  
}

The class structure for GntEntry.

Class members
text_changed: void (* text_changed) ( GntEntry* entry )
No description available.

Virtual methods

Gnt.EntryClass.text_changed
No description available.