GtkEntryClass

Class structure for #GtkEntry. All virtual functions have a default implementation. Derived classes may set the virtual function pointers for the signal handlers to null, but must keep @get_text_area_size and @get_frame_size non-null; either use the default implementation, or provide a custom one.

Members

Variables

GtkReserved1
void function() GtkReserved1;
GtkReserved2
void function() GtkReserved2;
GtkReserved3
void function() GtkReserved3;
GtkReserved4
void function() GtkReserved4;
GtkReserved5
void function() GtkReserved5;
GtkReserved6
void function() GtkReserved6;
activate
void function(GtkEntry* entry) activate;

Class handler for the #GtkEntry::activate signal. The default implementation calls gtk.window.Window.activateDefault on the entry’s top-level window.

backspace
void function(GtkEntry* entry) backspace;

Class handler for the #GtkEntry::backspace signal. The default implementation deletes the selection or a single character or word.

copyClipboard
void function(GtkEntry* entry) copyClipboard;

Class handler for the #GtkEntry::copy-clipboard signal. The default implementation copies the selection, if one exists.

cutClipboard
void function(GtkEntry* entry) cutClipboard;

Class handler for the #GtkEntry::cut-clipboard signal. The default implementation cuts the selection, if one exists.

deleteFromCursor
void function(GtkEntry* entry, GtkDeleteType type, int count) deleteFromCursor;

Class handler for the #GtkEntry::delete-from-cursor signal. The default implementation deletes the selection or the specified number of characters or words.

getFrameSize
void function(GtkEntry* entry, int* x, int* y, int* width, int* height) getFrameSize;

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-null.

getTextAreaSize
void function(GtkEntry* entry, int* x, int* y, int* width, int* height) getTextAreaSize;

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-null.

insertAtCursor
void function(GtkEntry* entry, const(char)* str) insertAtCursor;

Class handler for the #GtkEntry::insert-at-cursor signal. The default implementation inserts text at the cursor.

insertEmoji
void function(GtkEntry* entry) insertEmoji;
moveCursor
void function(GtkEntry* entry, GtkMovementStep step, int count, gboolean extendSelection) moveCursor;

Class handler for the #GtkEntry::move-cursor signal. The default implementation specifies the standard #GtkEntry cursor movement behavior.

parentClass
GtkWidgetClass parentClass;

The parent class.

pasteClipboard
void function(GtkEntry* entry) pasteClipboard;

Class handler for the #GtkEntry::paste-clipboard signal. The default implementation pastes at the current cursor position or over the current selection if one exists.

populatePopup
void function(GtkEntry* entry, GtkWidget* popup) populatePopup;

Class handler for the #GtkEntry::populate-popup signal. If non-null, this will be called to add additional entries to the context menu when it is displayed.

toggleOverwrite
void function(GtkEntry* entry) toggleOverwrite;

Class handler for the #GtkEntry::toggle-overwrite signal. The default implementation toggles overwrite mode and blinks the cursor.