Skip to content

Ability to change the mouse cursor #2248

Open
@my1e5

Description

@my1e5

Dear ImGui has a function to set the mouse cursor but it's not exposed by DPG.

This feature was discussed in the Discord group (see link). The lack of ability to change the mouse cursor was a drawback when trying to create a custom adjustable splitter widget (similar to adjustable columns in tables).

User v-ein suggested:

[Such a function] would need to be bound to a widget, so that when the widget is hovered, mouse cursor changes. Not much work, but we can't add it to every widget, that would be a mess. It could be, for example, an argument to dpg.group, since a group is a pretty much universal container - we can wrap virtually anything with a group.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions