Skip to content

hkb_editor.gui.dialogs.register_clips_dialog

register_clips_dialog

Bases: DpgItem

Create ClipGenerators for a list of animations and wire them into CMSGs.

Parameters:

Name Type Description Default
behavior HavokBehavior

Behavior to modify.

required
callback callable

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

required
reuse_clips bool

Initial value of the "Reuse clips" option.

False
title str

Window title bar label.

'Register Clip'
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