Single call for Image buttons #106

Closed
chopra-austin-west-mec opened this Issue Mar 6, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@chopra-austin-west-mec

can you implement a way of having a button be an image instead of a text button?

something like
app.addButtonImage(name, imagePath, function)

@jarvisteach

This comment has been minimized.

Show comment
Hide comment
@jarvisteach

jarvisteach Mar 7, 2017

Owner

This feature actually already exists...
Just add a button as normal, then call .setButtonImage(button, fileName)

Check out the docs here: http://appjar.info/pythonWidgets/#button

Owner

jarvisteach commented Mar 7, 2017

This feature actually already exists...
Just add a button as normal, then call .setButtonImage(button, fileName)

Check out the docs here: http://appjar.info/pythonWidgets/#button

@jarvisteach jarvisteach self-assigned this Mar 11, 2017

@jarvisteach jarvisteach added this to the 0.06 milestone Mar 11, 2017

@jarvisteach

This comment has been minimized.

Show comment
Hide comment
@jarvisteach

jarvisteach Mar 11, 2017

Owner

But, let's add an additional function call to wrap the two into one, as suggested...

Owner

jarvisteach commented Mar 11, 2017

But, let's add an additional function call to wrap the two into one, as suggested...

@jarvisteach jarvisteach changed the title from Image buttons to Single call for Image buttons Mar 12, 2017

jarvisteach added a commit that referenced this issue Mar 12, 2017

@jarvisteach jarvisteach reopened this Mar 12, 2017

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