Yahoo Poland Wyszukiwanie w Internecie

Search results

  1. 23 sty 2012 · You need to know the wx.TextCtrl instance from which to cut, copy or where to paste text. In the code snippet you provided, you tried to do it with self.text, but as Velociraptors has already said, you initialized self.text twice, so you lost the access to the first wx.TextCtrl by name.

  2. A wx.DataObject represents data that can be copied to or from the clipboard, or dragged and dropped. The important thing about wx.DataObject is that this is a ‘smart’ piece of data unlike ‘dumb’ data containers such as memory buffers or files.

  3. 24 sie 2016 · My wxpython application must respond everytime user hits CTRL-C, no matter if applications frame is on top/visible but unfocussed/minimalized/under other window etc. Basically I want to know that user copied something into clipboard using CTRL-C combination - other changes in clipboard (like mouse r-click + "copy" should be ignored), than do ...

  4. Hi all, I'm working on passing formatted text through the Clipboard between the RichTextCtrl and other programs. On Windows, it's easy enough. I create a Custom Data Format using: wx.CustomDataFormat('Rich Text Form…

  5. IsSupported (self, format) ¶ Returns True if there is data which matches the data format of the given data object currently available on the clipboard. Parameters: format (wx.DataFormat) – Return type: bool

  6. 12 lut 2024 · I can’t find what event to catch when the user type CTRL+C, ie. copy the selected text into the clipboard, in addition to catching the Esc key to close the application.

  7. You copy the text you want translated, run the program, and paste wherever you want. Since I was already using wx for the ui part of the program I thought I'd experiment a bit with the wx.clipboard component.

  1. Ludzie szukają również