Path: csiph.com!x330-a1.tempe.blueboxinc.net!aioe.org!feeder.news-service.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.04; 'python': 0.07; 'googling': 0.09; 'none.': 0.09; 'solution,': 0.09; 'subject:library': 0.09; 'wxpython': 0.09; 'gui': 0.14; 'received:74.125.82.44': 0.14; 'received:mail-ww0-f44.google.com': 0.14; 'wrote:': 0.14; 'library': 0.15; '(get': 0.16; 'canvas.': 0.16; 'drawing?': 0.16; 'programmatic': 0.16; 'libraries': 0.16; 'thanks,': 0.17; 'header:In-Reply-To:1': 0.22; 'location,': 0.23; 'searches': 0.23; '(not': 0.24; "i'm": 0.26; 'subject:?': 0.29; 'message-id:@gmail.com': 0.30; 'to:addr:python-list': 0.32; 'done': 0.32; "i've": 0.33; 'from:charset:iso-8859-1': 0.33; 'using': 0.34; 'received:192.168.1': 0.34; 'received:192': 0.34; 'there': 0.35; 'header:User-Agent:1': 0.35; 'allow': 0.36; 'think': 0.36; 'program,': 0.36; 'received:192.168': 0.37; 'some': 0.37; 'should': 0.37; 'received:google.com': 0.38; 'user': 0.38; 'but': 0.38; 'to:addr:python.org': 0.39; 'solution': 0.40; 'would': 0.40; 'header:Received:5': 0.40; 'mouse,': 0.84; 'mouse': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=o8FP401emKb5Z6eVEtnVJEyarDBDPrlMskdUTfClcr8=; b=vu4ketcP0Jb50kfxjeQ7kwwNZMVZQtMH8MBl8TI9impnnPllCJVNT66SeJuNKEWOlz b2ZU5tLvyovjaa6XS+vpqjNohdmP7DHAeQFVCh09UdTn1Jp4uLdGuDeVwZKkDnC/f53W y2oIBVfCY1x9NpD/qJyRqHAEEFRkT6sFXxFAc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=P1OEaPZOOekerqThG4I6FPi79i8Z+qxD89NkGo06C/ZDWrYZtGIAuqlhWXcI9deLln 4WCzscmefYrb1BatOnzpQgVstrprUAgYLZcfq6jHD9XCHof9OsDp1A1wCq7EuJzSv8LB TV5GuGhp5PWUvGPwmFsFwGUa/HHQ2ZVdL6OwA= Date: Sun, 15 May 2011 10:37:46 +0200 From: =?ISO-8859-1?Q?Rafael_Dur=E1n_Casta=F1eda?= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110424 Thunderbird/3.1.10 MIME-Version: 1.0 To: python-list@python.org Subject: Re: Python drawing library? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 12 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1305448671 news.xs4all.nl 41103 [::ffff:82.94.164.166]:44629 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:5410 On 15/05/11 01:01, OKB (not okblacke) wrote: > Is there any Python library for interactive drawing? I've done > some googling but most searches for "drawing" lead me to libraries for > programmatic creation of shapes on some GUI canvas. I'm looking for GUI > widgets that allow the user to draw with the mouse, like a paint > program, and let me get info about the drawing as its made (get color at > mouse location, etc.). I'd prefer a wxPython solution, although any > Python solution would be better than none. > > Thanks, I'm not suere, but I think you should be able to do that using PyQt QPaintDevice.