unreal.UserObjectListEntryLibrary¶
- class unreal.UserObjectListEntryLibrary(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
BlueprintFunctionLibraryStatic library to supply “for free” functionality to widgets that implement IUserListEntry
C++ Source:
Module: UMG
File: IUserObjectListEntry.h
- classmethod get_list_item_index(user_object_list_entry) int32¶
Returns the index of the list item in the owning UListView
- Parameters:
user_object_list_entry (UserObjectListEntry)
- Return type:
int32
- classmethod get_list_item_object(user_object_list_entry) Object¶
Returns the item in the owning list view that this entry is currently assigned to represent.
- Parameters:
user_object_list_entry (UserObjectListEntry) – Note: Visually not transmitted, but this defaults to “self”. No need to hook up if calling internally.
- Return type:
- classmethod is_first_widget(user_object_list_entry) bool¶
Returns true if the widget list entry is the first item in the list view
- Parameters:
user_object_list_entry (UserObjectListEntry)
- Return type:
- classmethod is_last_widget(user_object_list_entry) bool¶
Returns true if the widget list entry is the last item in the list view
- Parameters:
user_object_list_entry (UserObjectListEntry)
- Return type: