Package: gtk
Interface gtk:editable
Superclassesgobject:object, common-lisp:standard-object, common-lisp:t Documented SubclassesDirect Slots
None
Details The gtk:editable interface is an interface which should be implemented by text editing widgets, such as the gtk:entry widget and the gtk:spin-button widget.
It contains functions for generically manipulating an editable widget, a large
number of action signals used for key bindings, and several signals that an
application can connect to to modify the behavior of a widget. Examples
;; Handler for the "insert-text" signal
(setf handlerid
(g:signal-connect entry "insert-text"
(lambda (editable text length position)
(g:signal-handler-block editable handlerid)
(gtk:editable-insert-text editable
(string-upcase text)
(cffi:mem-ref position :intptr))
(g:signal-stop-emission editable "insert-text")
(g:signal-handler-unblock editable handlerid)))) Signal DetailsThe "changed" signallambda (editable) :run-last
The "delete-text" signallambda (editable start end) :run-last
The "insert-text" signallambda (editable text length pos) :run-last
| Inherited Slot Access FunctionsSee also |
2025-07-08