Skip to content

Add all possible button parameters to lazy button functions#97

Open
deajan wants to merge 2 commits intospyoungtech:mainfrom
netinvent:lazy_buttons_accept_button_params2
Open

Add all possible button parameters to lazy button functions#97
deajan wants to merge 2 commits intospyoungtech:mainfrom
netinvent:lazy_buttons_accept_button_params2

Conversation

@deajan
Copy link
Contributor

@deajan deajan commented Jan 25, 2026

Replaces #87 with less invasive modifications (eg black reformatting)

This allows to customize all "lazy button functions", eg FileBrowse, just like any button. Example, changing FileBrowse button to be an image instead of a button:

                sg.FilesBrowse(
                    "",
                    target="--ADD-PATHS-FILE--",
                    key="--ADD-PATHS-FILE-BUTTON--",
                    image_data=ADD_FILE)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant