Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix copy-to-clipboard in example #1782

Closed
wants to merge 1 commit into from

Conversation

marklundeberg
Copy link

No description provided.

@pelson
Copy link
Member

pelson commented Feb 25, 2013

Thanks @marklundeberg this looks good to me. For anybody else who wants to know about this, you can find the KeyEvent docs here: http://wxpython.org/docs/api/wx.KeyEvent-class.html

@pelson
Copy link
Member

pelson commented Feb 25, 2013

Ah. Turns out that this file was removed from the examples just a couple of days ago: #1756 - so this PR is no longer applicable. Even so, thanks for submitting @marklundeberg - I'll now close this PR.

@pelson pelson closed this Feb 25, 2013
@mdboom
Copy link
Member

mdboom commented Feb 25, 2013

@marklundeberg: Did the printing_in_wx.py work for you (once making this change)? It was reportedly not working at all, which is why it was removed. But if we have reports of it working, or ways in which it could be made to work, it might be nice to reinstate it.

@marklundeberg
Copy link
Author

@mdboom: Yeah, printing doesn't work for me either. I get the same bug as mentioned in #1756.

The main thing was that I was trying to figure out how to copy to clipboard, and my bug fix made that work alright.

@mdboom
Copy link
Member

mdboom commented Feb 25, 2013

Ok -- so ideally it would be nice to have a new example showing how to copy to the clipboard with wx (which we know works) and just skip all the other printing stuff.

@marklundeberg
Copy link
Author

Yes -- the application I had in mind is actually to add a button to the plot toolbar that takes a screenshot. Perhaps that would be the perfect example (once I figure it out!).

I'm hoping to perform data analysis using python and it's nice to be able to copypaste figures into a Powerpoint file, as a notebook, without having to go through the trouble of first saving the image to a file.

@mdboom
Copy link
Member

mdboom commented Feb 25, 2013

Great. Well, in the interest of keeping the issue tracker uncluttered, let's leave this closed, and if you would like to submit a clipboard example later -- which we'd be glad to have -- just open a new PR. Thanks.

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.

None yet

3 participants