UI_UL_list(UIList)

base classes — bpy_struct, UIList

class bpy.types.UI_UL_list.UI_UL_list(UIList)
static filter_items_by_name(pattern, bitflag, items, propname='name', flags=None, reverse=False)

Set FILTER_ITEM for items which name matches filter_name one (case-insensitive). pattern is the filtering pattern. propname is the name of the string property to use for filtering. flags must be a list of integers the same length as items, or None! return a list of flags (based on given flags if not None), or an empty list if no flags were given and no filtering has been done.

static sort_items_helper(sort_data, key, reverse=False)

Common sorting utility. Returns a neworder list mapping org_idx -> new_idx. sort_data must be an (unordered) list of tuples [(org_idx, …), (org_idx, …), …]. key must be the same kind of callable you would use for sorted() builtin function. reverse will reverse the sorting!

classmethod bl_rna_get_subclass(id, default=None)
Parameters

id (string) – The RNA type identifier.

Returns

The RNA type or default when not found.

Return type

bpy.types.Struct subclass

classmethod bl_rna_get_subclass_py(id, default=None)
Parameters

id (string) – The RNA type identifier.

Returns

The class or default when not found.

Return type

type

Inherited Properties

  • bpy_struct.id_data

  • UIList.bl_idname

  • UIList.layout_type

  • UIList.use_filter_show

  • UIList.filter_name

  • UIList.use_filter_invert

  • UIList.use_filter_sort_alpha

  • UIList.use_filter_sort_reverse

  • UIList.use_filter_sort_lock

  • UIList.bitflag_filter_item

Inherited Functions

  • bpy_struct.as_pointer

  • bpy_struct.driver_add

  • bpy_struct.driver_remove

  • bpy_struct.get

  • bpy_struct.is_property_hidden

  • bpy_struct.is_property_overridable_library

  • bpy_struct.is_property_readonly

  • bpy_struct.is_property_set

  • bpy_struct.items

  • bpy_struct.keyframe_delete

  • bpy_struct.keyframe_insert

  • bpy_struct.keys

  • bpy_struct.path_from_id

  • bpy_struct.path_resolve

  • bpy_struct.pop

  • bpy_struct.property_overridable_library_set

  • bpy_struct.property_unset

  • bpy_struct.type_recast

  • bpy_struct.values

  • UIList.draw_item

  • UIList.draw_filter

  • UIList.filter_items

  • UIList.append

  • UIList.is_extended

  • UIList.prepend

  • UIList.remove

  • UIList.bl_rna_get_subclass

  • UIList.bl_rna_get_subclass_py