Skip to content

Add all possible button parameters to lazy button functions - #87

Closed
deajan wants to merge 2 commits into
spyoungtech:mainfrom
netinvent:lazy_buttons_accept_button_params
Closed

Add all possible button parameters to lazy button functions#87
deajan wants to merge 2 commits into
spyoungtech:mainfrom
netinvent:lazy_buttons_accept_button_params

Conversation

@deajan

Copy link
Copy Markdown
Collaborator

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)

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)
```
@deajan

Copy link
Copy Markdown
CollaboratorAuthor

Replaced by #97

@deajandeajan closed this Jan 25, 2026
Sign up for freeto 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

@deajan