Krishnakant wrote:
On Wed, 2009-12-02 at 00:20 -0800, madhura vadvalkar wrote:
Hi
I am trying to write an PAINT like application where on the mouse
snip
File C:/Python26/circle.py, line 19, in InitBuffer
dc=wx.BufferedDC(None,self.buffer)
AttributeError: 'SketchWindow' object has no
On Wed, 2009-12-02 at 00:20 -0800, madhura vadvalkar wrote:
def InitBuffer(self):
size=self.GetClientSize()
self.Buffer=wx.EmptyBitmap(size.width,size.height)
dc=wx.BufferedDC(None,self.buffer)
dc.SetBackground(wx.Brush(self.GetBackgroundColour()))
On 12/3/2009 6:55 PM, r0g wrote:
Krishnakant wrote:
Madhura, Sorry to be a bit off-topic, but, I would really recommend you
to use pygtk instead of wx.
For one thing, the developers at pygtk are very active (they have their
mailing list as well ) and it comes by default with python on almost
On Thu, 03 Dec 2009 07:55:19 +, r0g wrote:
I have to recommend to opposite, stick with wx. What's the point of
tying yourself into GTK when wx works on Mac, PC and Linux?
The main drawbacks are that wxWidgets sucks compared to GTK or Qt (mostly
due to being modelled on the Win32 API, which
On Dec 2, 10:05 pm, Krishnakant hackin...@gmail.com wrote:
On Wed, 2009-12-02 at 00:20 -0800, madhura vadvalkar wrote:
Hi
I am trying to write an PAINT like application where on the mouse
click a circle is drawn on canvas. I am new to python and using
wxpython to create this.
here is
On Dec 3, 3:22 pm, Nobody nob...@nowhere.com wrote:
On Thu, 03 Dec 2009 07:55:19 +, r0g wrote:
I have to recommend to opposite, stick with wx. What's the point of
tying yourself into GTK when wx works on Mac, PC and Linux?
The main drawbacks are that wxWidgets sucks compared to GTK or
Madhura, Sorry to be a bit off-topic, but, I would really recommend you
to use pygtk instead of wx.
For one thing, the developers at pygtk are very active (they have their
mailing list as well ) and it comes by default with python on almost all
linux distros. You can also easily install it on
Hi
I am trying to write an PAINT like application where on the mouse
click a circle is drawn on canvas. I am new to python and using
wxpython to create this.
here is the code:
import wx
class SketchWindow(wx.Window):
def __init__ (self, parent,ID):
wx.Window.__init__(self,
madhura vadvalkar wrote:
Hi
I am trying to write an PAINT like application where on the mouse
click a circle is drawn on canvas. I am new to python and using
wxpython to create this.
here is the code:
import wx
class SketchWindow(wx.Window):
def __init__ (self, parent,ID):
On Wed, 2009-12-02 at 00:20 -0800, madhura vadvalkar wrote:
Hi
I am trying to write an PAINT like application where on the mouse
click a circle is drawn on canvas. I am new to python and using
wxpython to create this.
here is the code:
import wx
class SketchWindow(wx.Window):
Dennis Lee Bieber wrote:
I don't know what Komodo is coded in, but if it is using wx, you may
be failing from having two mainloop processes... (same problem as
trying to run a Tkinter application from inside IDLE, and probably
trying to run a win32gui application from PythonWin)
No,
Hello, I have a problem with my wxPython 2.8 Application.
The program opens and closes and on KomodoEdit it says wxstreamredirect.py
returned 1.'
What's wrong?
http://paste.pocoo.org/show/80/
P.S. I compared my source code to the source code in wxPython in Action,
and it looks the same! Why
2009/4/5 Kenny x xarv...@gmail.com:
Hello, I have a problem with my wxPython 2.8 Application.
The program opens and closes and on KomodoEdit it says wxstreamredirect.py
returned 1.'
What's wrong?
http://paste.pocoo.org/show/80/
P.S. I compared my source code to the source code in
I need to implement a tree which will append a root. Any other node in
the tree will be triggered when a button is pressed.
I created the button, all the needed events, tree and a root. But when
I want to append a node pressing the button I don't know How.
My idea is using the
On Oct 14, 9:00 am, azrael [EMAIL PROTECTED] wrote:
I need to implement a tree which will append a root. Any other node in
the tree will be triggered when a button is pressed.
I created the button, all the needed events, tree and a root. But when
I want to append a node pressing the button I
Seen it already but looks to complicated. Someone knows a better way?
--
http://mail.python.org/mailman/listinfo/python-list
On Oct 14, 9:36 am, azrael [EMAIL PROTECTED] wrote:
Seen it already but looks to complicated. Someone knows a better way?
What about the tree control's GetSelection method? That seems to
return the TreeItemId.
Mike
--
http://mail.python.org/mailman/listinfo/python-list
On Apr 12, 9:35 pm, alf [EMAIL PROTECTED] wrote:
Hi,
I have another problem with wxpython - that is the best place to report
bug - evident memory leak on Linux and win32.
--
alf
You'll need to go to the official wxPython website, here: http://wxpython.org/
There's a link to the mailing
alf wrote:
Hi,
I have another problem with wxpython - that is the best place to report
bug - evident memory leak on Linux and win32.
Google for
wxpython mailing list
and see if you still need help after that. Bug reports on c.l.py will
almost certainly go unregarded.
regards
Hi,
I have another problem with wxpython - that is the best place to report
bug - evident memory leak on Linux and win32.
--
alf
--
http://mail.python.org/mailman/listinfo/python-list
On Mon, 2 Jan 2006 21:44:11 +0600, Suranga Sarukkali
[EMAIL PROTECTED] wrote:
Hello, I'm Sam and I've been under som trouble with using wxPython
that when I try to execute code containing wxPython gui programs
provided with wxPython geting started sample progams it's giving a
error but when I
Hello, I'm Sam and I've been under som trouble with using wxPython
that when I try to execute code containing wxPython gui programs
provided with wxPython geting started sample progams it's giving a
error but when I type the code to the shell prompt it works fine. Is
it beacus I'm on windows or
Hello, you smell.
--
http://mail.python.org/mailman/listinfo/python-list
Suranga Sarukkali [EMAIL PROTECTED] wrote:
Hello, I'm Sam and I've been under som trouble with using wxPython
that when I try to execute code containing wxPython gui programs
provided with wxPython geting started sample progams it's giving a
error but when I type the code to the shell prompt it
Hi,
I have encountered an annoying problem with wx.Choice from wx.Python.
Basically, what I want to do is create a drop down box with a set of
choices (so far so good). The problem is that when the drop down box is
created, the first entry in the list of the drop down box is empty and
you need to
using from wxPython.wx import * under python2.3 I cannot seem to find the
wxGrid class -- it says its undefined -- am I missing something obvious ? I
know the globalspace import is not the best, but that how I got started
;) -- any help owuld be appreciated
--
Sam the Cat [EMAIL PROTECTED] schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
| using from wxPython.wx import * under python2.3 I cannot seem to find
the
| wxGrid class -- it says its undefined -- am I missing something obvious ?
I
| know the globalspace import is not the best, but that how I got
27 matches
Mail list logo