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.004 X-Spam-Evidence: '*H*': 0.99; '*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; '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; 'received:209.85.212': 0.25; "i'm": 0.26; 'url:mailman': 0.27; 'message-id:@mail.gmail.com': 0.28; 'subject:?': 0.29; 'to:addr:python-list': 0.32; 'done': 0.32; 'url:listinfo': 0.33; 'using': 0.34; 'there': 0.35; 'allow': 0.36; 'think': 0.36; 'program,': 0.36; 'some': 0.37; 'should': 0.37; 'received:209.85': 0.37; 'url:python': 0.37; 'received:google.com': 0.38; 'user': 0.38; 'but': 0.38; 'url:org': 0.38; 'to:addr:python.org': 0.39; 'received:209': 0.39; 'solution': 0.40; 'would': 0.40; 'header:Received:5': 0.40; 'mouse,': 0.84; 'rafael': 0.84; "\xa0i'm": 0.84; 'mouse': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=JzHs1GjUSR2BsA9X2SeIpcwYMTp3bnF4L6c6g9ONAwE=; b=R9oh2s1Qqg+BK807w0xSGhMCA7psQa+QFeI4PgHHSix2D8aT88CWme8RQnfyh/7oBp xZw/kL3d2qMWwqnoeAa9MJe9D3esnkpzLw01u+IwMiTFuDxeadP59uN3yAN+o6MQsg6B +Q2n8Qyo52nBTHe4Qi1AMkgIv6IG1DqFkIc0Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=Q5jC2WLuE6gY7pCpAg/7Ft4JWgpi5dVwx6yMRfwyrxbBzzkxvvyg+mcyets0EU+gko f07aSb79hRR0CskNw4SfwaIWLsjks3trz26cbjUAjo24xAjJZqq2QrI7nQDitHhLJ37v NpuHZiFd3EC1kEtHLhXpOWn12toXK2CZNMkbU= MIME-Version: 1.0 In-Reply-To: <4DCF90DA.6090609@gmail.com> References: <4DCF90DA.6090609@gmail.com> Date: Sun, 15 May 2011 10:47:14 +0200 Subject: Re: Python drawing library? From: Wojtek Mamrak To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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: 22 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1305449245 news.xs4all.nl 81476 [::ffff:82.94.164.166]:48413 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:5412 Yes, it is possible with use of PyQt. 2011/5/15 Rafael Dur=E1n Casta=F1eda : > On 15/05/11 01:01, OKB (not okblacke) wrote: >> >> =A0 =A0 =A0 =A0Is there any Python library for interactive drawing? =A0I= 've done >> some googling but most searches for "drawing" lead me to libraries for >> programmatic creation of shapes on some GUI canvas. =A0I'm looking for G= UI >> 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.). =A0I'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. > -- > http://mail.python.org/mailman/listinfo/python-list >