Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #78405

Re: tkinter and gtk problem

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.006
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'that?': 0.05; 'mouse': 0.07; 'tkinter': 0.07; 'cc:addr:python-list': 0.11; 'gui': 0.12; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'once.': 0.16; 'screenshots': 0.16; 'sat,': 0.16; 'wrote:': 0.18; 'select': 0.22; 'import': 0.22; 'cc:addr:python.org': 0.22; 'subject:problem': 0.24; 'fine': 0.24; 'cc:2**0': 0.24; "i've": 0.25; 'script': 0.25; 'header:In-Reply-To:1': 0.27; 'tried': 0.27; 'am,': 0.29; "doesn't": 0.30; 'message-id:@mail.gmail.com': 0.30; 'dialog': 0.31; 'sep': 0.31; 'anyone': 0.31; 'file': 0.32; 'interface': 0.32; 'open': 0.33; 'comment': 0.34; 'knows': 0.35; 'test': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'ubuntu': 0.36; 'possible': 0.36; 'two': 0.37; 'does': 0.39; 'how': 0.40; 'even': 0.60; 'solve': 0.60; 'simple': 0.61; 'to:none': 0.92
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=egK6JoGvlQeZ/5+rf+dkuLhVB4D7rLIFerSGENEV/vA=; b=MbRM7EFXsk8UA5z6DXm+CJUtwhJORxPxYK+MiHGHHIijlqxgGZ4cc8pqu7gav6u8pV 0fF2E3BhZq6WFySu0nYUW94e6HxFjxP2BzN4h0Ix7c5LUrpHYXrIgax62k6QV5YJ9gvC A8xaYzgslo9TiKCp6U/Cf3NPbxCm/0xh+gsVLJzA6JynmCWNqLljzoPf1VJJKL6OWtpa NVMh0OCtoMIFUTfHeoEpC+m4HQX13HLqtfHpkPk/wmBc/aUK9k562ZjzlHkBB2n3Pxih shbcMx80ij1MQacjT5N1KXgr+YFAAmM5+nHSdWw28RX5uGHT4lphcyF8ZtFRsnwp1ywz P97Q==
MIME-Version 1.0
X-Received by 10.50.102.106 with SMTP id fn10mr37182923igb.14.1411798127444; Fri, 26 Sep 2014 23:08:47 -0700 (PDT)
In-Reply-To <CAONa_HZMQRY4eKX43d6vtEQanAvqkk_TFZ=wYsHGjoBrpumqtQ@mail.gmail.com>
References <CAONa_HZMQRY4eKX43d6vtEQanAvqkk_TFZ=wYsHGjoBrpumqtQ@mail.gmail.com>
Date Sat, 27 Sep 2014 16:08:47 +1000
Subject Re: tkinter and gtk problem
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <python-list@python.org>
Content-Type text/plain; charset=UTF-8
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.14418.1411798130.18130.python-list@python.org> (permalink)
Lines 14
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1411798130 news.xs4all.nl 2952 [2001:888:2000:d::a6]:60147
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:78405

Show key headers only | View raw


On Sat, Sep 27, 2014 at 4:15 AM, Paula Estrella <pestrella@gmail.com> wrote:
> 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 ....
>
> Anyone knows what might be going on or how to solve that?

Interesting. I've never tried to use two GUI toolkits at once. Can you
just use GTK to bring up a file dialog?

ChrisA

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: tkinter and gtk problem Chris Angelico <rosuav@gmail.com> - 2014-09-27 16:08 +1000

csiph-web