Package: gtk
Class gtk:cell-renderer-combo
Superclassesgtk:cell-renderer-text, gtk:cell-renderer, gobject:object, common-lisp:standard-object, common-lisp:t Documented Subclasses
None
Direct SlotsDetails The gtk:cell-renderer-combo object renders text in a cell like the gtk:cell-renderer-text object from which it is derived. But while the gtk:cell-renderer-text object offers a simple entry to edit the text, the gtk:cell-renderer-combo object offers a the gtk:combo-box widget to edit the text. The values to display in the combo box are taken from the tree model specified in the model
property. The combo cell renderer takes care of adding a text cell renderer to the combo box and sets it to display the column specified by its text-column property. Further properties of the combo box can be set in a handler for the "editing-started" signal. Signal DetailsThe "changed" signallambda (combo path iter) :run-lastThe signal is emitted each time after the user selected an item in the combo box, either by using the mouse or the arrow keys. Contrary to the gtk:combo-box widget, the "changed" signal is not emitted for changes made to a selected item in the entry. The iter argument corresponds to the newly selected item in the combo box and it is relative to the gtk:tree-model object set via the model property on the gtk:cell-renderer-combo object. Note that as soon as you change the model displayed in the tree view, the tree view will immediately cease the editing operating. This means that you most probably want to refrain from changing the model until the combo cell renderer emits the edited or "editing-canceled" signal.
| Returned bySlot Access FunctionsInherited Slot Access Functions |
2024-3-17