Skip to content

hkb_editor.gui.dialogs.duplicate_clipcat_dialog

duplicate_clipcat_dialog

Bases: DpgItem

Copy a set of animation clips into a new animation category.

Parameters:

Name Type Description Default
behavior HavokBehavior

Behavior to modify.

required
callback callable

Called as callback(tag, copies, user_data) on confirm.

required
title str

Window title bar label.

'Duplicate Animation Clips'
tag int or str

Explicit tag; auto-generated if 0.

0
user_data any

Passed through to callback.

None

pin_objects property

pin_objects: bool

Whether the caller should pin the created clips.

show_message

show_message(
    msg: str = None, color: RGBA = style.red
) -> None

Show or hide the notification label. Pass msg=None to hide.

Ko-fi donations