Gtk.EntryClass - Class Structures - Gtk 3.0 (original) (raw)

Fields

Name Type Access Description
activate object r Class handler for the Gtk.Entry ::activate signal. The default implementation calls Gtk.Window.activate_default() on the entry’s top-level window.
backspace object r Class handler for the Gtk.Entry ::backspace signal. The default implementation deletes the selection or a single character or word.
copy_clipboard object r Class handler for the Gtk.Entry ::copy-clipboard signal. The default implementation copies the selection, if one exists.
cut_clipboard object r Class handler for the Gtk.Entry ::cut-clipboard signal. The default implementation cuts the selection, if one exists.
delete_from_cursor object r Class handler for the Gtk.Entry ::delete-from-cursor signal. The default implementation deletes the selection or the specified number of characters or words.
get_frame_size object r Calculate the size of the text area frame, which is its allocated width and requested height, minus space for margins and borders, and taking baseline and text height into account. This virtual function must be non-None.
get_text_area_size object r Calculate the size of the text area, which is its allocated width and requested height, minus space for margins and borders. This virtual function must be non-None.
insert_at_cursor object r Class handler for the Gtk.Entry ::insert-at-cursor signal. The default implementation inserts text at the cursor.
insert_emoji object r
move_cursor object r Class handler for the Gtk.Entry ::move-cursor signal. The default implementation specifies the standard Gtk.Entry cursor movement behavior.
parent_class Gtk.WidgetClass r The parent class.
paste_clipboard object r Class handler for the Gtk.Entry ::paste-clipboard signal. The default implementation pastes at the current cursor position or over the current selection if one exists.
populate_popup object r Class handler for the Gtk.Entry ::populate-popup signal. If non-None, this will be called to add additional entries to the context menu when it is displayed.
toggle_direction object r
toggle_overwrite object r Class handler for the Gtk.Entry ::toggle-overwrite signal. The default implementation toggles overwrite mode and blinks the cursor.

Methods

None

Details

class Gtk.EntryClass

Class structure for Gtk.Entry. All virtual functions have a default implementation. Derived classes may set the virtual function pointers for the signal handlers to None, but must keep get_text_area_size andget_frame_size non-None; either use the default implementation, or provide a custom one.