Package ch.bailu.gtk.gtk
Interface TreeListModel.OnTreeListModelCreateModelFunc
- Enclosing class:
- TreeListModel
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptiononTreeListModelCreateModelFunc
(CallbackHandler __self, Pointer item, Pointer user_data) Prototype of the function called to create new child models when
gtk_tree_list_row_set_expanded() is called.
-
Method Details
-
onTreeListModelCreateModelFunc
ListModel onTreeListModelCreateModelFunc(CallbackHandler __self, @Nonnull Pointer item, @Nullable Pointer user_data) Prototype of the function called to create new child models when
gtk_tree_list_row_set_expanded() is called.
This function can return %NULL to indicate that @item is guaranteed to be
a leaf node and will never have children. If it does not have children but
may get children later, it should return an empty model that is filled once
children arrive.- Parameters:
item
- The item that is being expandeduser_data
- User data passed when registering the function- Returns:
- The model tracking the children of @item or %NULL if @item can never have children
-