Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Create imgui edge windows without declaring a class #848

Open
@kushalkolar

Description

@kushalkolar

Sometimes I just want to quickly prototype a slider and it's a lot of boilerplate to make an EdgeGUI subclass.

Maybe something like this:

fig = fpl.Figure()

@fig.add_gui(location="right", title="window title", size=300)
def gui():
    if imgui.button("bah"):
        ...
    

related #847

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions