nutti / fake-bpy-module

Fake Blender Python API module collection for the code completion.
MIT License
1.3k stars 95 forks source link

draw_ui_list missing * and **kwargs #266

Open Road-hog123 opened 1 week ago

Road-hog123 commented 1 week ago

In the source scripts/startup/bl_ui/generic_ui_list.py:

def draw_ui_list(
        layout,
        context,
        class_name="UI_UL_list",
        *,
        unique_id,
        list_path,
        active_index_path,
        insertion_operators=True,
        move_operators=True,
        menu_class_name="",
        **kwargs,
):

In bl_ui/generic_ui_list/__init__.pyi:

def draw_ui_list(
    layout: bpy.types.UILayout,
    context: bpy.types.Context,
    class_name: str = "UI_UL_list",
    unique_id: str = None,
    list_path: str = None,
    active_index_path: str = None,
    insertion_operators: bool = True,
    move_operators: str = True,
    menu_class_name: str = "",
    kwargs=None,
):