Interface CellRendererCombo.OnChanged

Enclosing class:
CellRendererCombo
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface CellRendererCombo.OnChanged
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onChanged(Str path_string, TreeIter new_iter)
    This signal is emitted each time after the user selected an item in
    the combo box, either by using the mouse or the arrow keys.
  • Method Details

    • onChanged

      void onChanged(@Nonnull Str path_string, @Nonnull TreeIter new_iter)
      This 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 GtkComboBox, GtkCellRendererCombo::changed is not emitted for
      changes made to a selected item in the entry. The argument @new_iter
      corresponds to the newly selected item in the combo box and it is relative
      to the GtkTreeModel set via the model property on GtkCellRendererCombo.

      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.
      Parameters:
      path_string - a string of the path identifying the edited cell (relative to the tree view model)
      new_iter - the new iter selected in the combo box (relative to the combo box model)