Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #78406
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder5.xlned.com!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python-python-list@m.gmane.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.010 |
| X-Spam-Evidence | '*H*': 0.98; '*S*': 0.00; 'mouse': 0.07; 'tkinter': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:80.91.229.3': 0.16; 'received:dip0.t-ipconnect.de': 0.16; 'received:plane.gmane.org': 0.16; 'received:t-ipconnect.de': 0.16; 'screenshots': 0.16; 'appropriate': 0.16; 'dependent': 0.19; 'possible,': 0.19; 'select': 0.22; 'import': 0.22; 'header:User- Agent:1': 0.23; 'subject:problem': 0.24; 'fine': 0.24; '(or': 0.24; 'script': 0.25; 'gets': 0.27; 'header:X-Complaints-To:1': 0.27; "doesn't": 0.30; '(like': 0.30; 'usually': 0.31; 'dialog': 0.31; 'writes:': 0.31; 'file': 0.32; 'interface': 0.32; 'open': 0.33; '(e.g.': 0.33; 'comment': 0.34; 'test': 0.35; 'but': 0.35; 'interaction': 0.36; 'ubuntu': 0.36; 'charset:us-ascii': 0.36; 'possible': 0.36; 'application': 0.37; 'two': 0.37; 'to:addr :python-list': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'called': 0.40; 'even': 0.60; 'simple': 0.61; 'received:217': 0.63; 'information': 0.63; 'such': 0.63; 'therefore,': 0.64; 'combining': 0.68; 'special': 0.74 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | dieter <dieter@handshake.de> |
| Subject | Re: tkinter and gtk problem |
| Date | Sat, 27 Sep 2014 09:33:02 +0200 |
| References | <CAONa_HZMQRY4eKX43d6vtEQanAvqkk_TFZ=wYsHGjoBrpumqtQ@mail.gmail.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| X-Gmane-NNTP-Posting-Host | pd9e0a4ec.dip0.t-ipconnect.de |
| User-Agent | Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.22 (linux) |
| Cancel-Lock | sha1:/BrJwWxd8WDyJdQ+YycjLA00c5k= |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.14419.1411803197.18130.python-list@python.org> (permalink) |
| Lines | 22 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1411803197 news.xs4all.nl 2943 [2001:888:2000:d::a6]:41204 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:78406 |
Show key headers only | View raw
Paula Estrella <pestrella@gmail.com> writes: > Hello, we are working on ubuntu 12.04 LTS; we use gtk to take screenshots > and we added a simple interface to select a file using tkFileDialog but it > doesn't work; is it possible that tkinter and gtk are incompatible? a test > script to open a file with tkFileDialog works fine but if we import gtk > even if we don't use it, the dialog box doesn't respond to mouse events > anymore; if we comment the import gtk it does work .... UI toolkits (like "tk" and "gtk") usually use a so called event loop which gets information about user interaction events (e.g. keyboard/mouse events) and dispatches appropriate application callbacks. When you use two (or more) such toolkits in the same application, you need a special event loop which multiplexes the events to the various toolkits. The implementation of such a multiplexing event loop might be difficult (and likely will be dependent on the UI toolkits to be integrated). Therefore, if possible, try to avoid combining multiple UI toolkits in the same application.
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: tkinter and gtk problem dieter <dieter@handshake.de> - 2014-09-27 09:33 +0200
csiph-web