Re: wxpython question

2009-08-10 Thread David Lyon
is there a method/property called Show/Shown ? On Mon, 10 Aug 2009 07:55:42 -0700 (PDT), azrael wrote: > Is there maybe a method bounded to the class SpinCtrl() that could > hide the widget. One that is maybe also implemented in any other > control. > > self.spcKvadDo = wx.SpinCtrl(id=-1, initi

Re: wxpython question

2009-08-10 Thread David
Il Mon, 10 Aug 2009 07:55:42 -0700 (PDT), azrael ha scritto: > Is there maybe a method bounded to the class SpinCtrl() that could > hide the widget. One that is maybe also implemented in any other > control. AFAIK, any widget can be made invisibile calling the .Show(False) method of the container

wxpython question

2009-08-10 Thread azrael
Is there maybe a method bounded to the class SpinCtrl() that could hide the widget. One that is maybe also implemented in any other control. self.spcKvadDo = wx.SpinCtrl(id=-1, initial=0, max=100, min=0, name='spcKvadDo', parent=self.pnlFilteri, pos=wx.Point(10, 10), size=wx.Size(118, 21), sty

Re: wxpython question

2009-04-14 Thread Mike Driscoll
On Apr 13, 9:12 pm, Clemens Anhuth wrote: > isam uraiqat wrote: > > I HATE VISTA!! > > > it just needed to be installed on the site packages library, because > > it was installed by default on program files, > > > hope this might help another poor vista user > > Hello. > > Can you explain? > > Doe

Re: wxpython question

2009-04-13 Thread Clemens Anhuth
isam uraiqat wrote: I HATE VISTA!! it just needed to be installed on the site packages library, because it was installed by default on program files, hope this might help another poor vista user Hello. Can you explain? Does the installer default to the wrong directory (installer fault)?

wxpython question

2009-04-13 Thread isam uraiqat
hello fellow geeks i am trying to run the demo for wxpython, and once i click on it i get the sand clock coming up for a second and then that's it, it is not running no matter what i do. i tried it on another computer and im getting the same thing! it used to work earlier i dont know what happened

Re: WXpython Question

2008-05-24 Thread David C. Ullrich
On Fri, 23 May 2008 06:40:13 -0700 (PDT), Gandalf <[EMAIL PROTECTED]> wrote: >On May 23, 3:29 pm, Mike Driscoll <[EMAIL PROTECTED]> wrote: >> On May 23, 8:24 am, Gandalf <[EMAIL PROTECTED]> wrote: >> >> > I try to reach a specific wx StaticText element's text and to change >> > it by clicking on a

Re: WXpython Question

2008-05-23 Thread Gandalf
On May 23, 3:29 pm, Mike Driscoll <[EMAIL PROTECTED]> wrote: > On May 23, 8:24 am, Gandalf <[EMAIL PROTECTED]> wrote: > > > I try to reach a specific wx StaticText element's text and to change > > it by clicking on a button > > > now let's say the this is my element: > > > wx.StaticText(panel, 15,

Re: WXpython Question

2008-05-23 Thread Mike Driscoll
On May 23, 8:24 am, Gandalf <[EMAIL PROTECTED]> wrote: > I try to reach a specific wx StaticText element's text and to change > it by clicking on a button > > now let's say the this is my element: > > wx.StaticText(panel, 15, "Hello" ,(30, 70) , style=wx.ALIGN_CENTRE) > > And this is my EVT_BUTTON

WXpython Question

2008-05-23 Thread Gandalf
I try to reach a specific wx StaticText element's text and to change it by clicking on a button now let's say the this is my element: wx.StaticText(panel, 15, "Hello" ,(30, 70) , style=wx.ALIGN_CENTRE) And this is my EVT_BUTTON bind function : def OnClick(event): which code shude i enter to

Re: wxPython question

2006-06-17 Thread Tim Roberts
[EMAIL PROTECTED] wrote: > >I tried to follow wxPython Demo examples to understand it better. I >used wxGlade to generate my code from the GUI builder. > >When I try to see the code for Menu and Menubar I see a little mismatch >in the way functions are being used. > >For example, wxGlade produces c

wxPython question

2006-06-16 Thread diffuser78
I tried to follow wxPython Demo examples to understand it better. I used wxGlade to generate my code from the GUI builder. When I try to see the code for Menu and Menubar I see a little mismatch in the way functions are being used. For example, wxGlade produces code like this self.Action = wx.Me

Re: wxPython Question

2006-04-07 Thread diffuser78
Thanks, I use Ubuntu Linux and there is tool called xchm which lets you do that. RunLevelZero wrote: > Well you will need to download the " docs demos and tools " and that > contains a windows help file that is easily searchable. If you run > Linux there is a Gnome tool to run the help file in L

Re: wxPython Question

2006-04-07 Thread RunLevelZero
Well you will need to download the " docs demos and tools " and that contains a windows help file that is easily searchable. If you run Linux there is a Gnome tool to run the help file in Linux if you so wish. -- http://mail.python.org/mailman/listinfo/python-list

Re: wxPython Question

2006-04-07 Thread diffuser78
Can we download wxPython doc as an offline folder because if I dont have internet its difficult to have the access to all the docs. -- http://mail.python.org/mailman/listinfo/python-list

Re: wxPython Question

2006-04-07 Thread RunLevelZero
I think you are looking for a drag and drop GUI builder? If so then http://wxglade.sourceforge.net/ -- wxglade is what you need. There are some others but this is what I prefer myself. -- http://mail.python.org/mailman/listinfo/python-list

wxPython Question

2006-04-07 Thread diffuser78
I am learning wxPython for one of my projects. I was wondering if there is drag and drop in any Python IDE like there is Visual Basic where you select an object like command_button and put onto the frame. Is there any help to make life easier in Python. Every help is greatly appreciated, -- ht

Re: WxPython question re: embedded activex internet explorer and excel

2006-03-01 Thread David Pratt
Hi jojoba. I work with wxPython too but cannot answer this question. There is an active and friendly community of wxPython users on [EMAIL PROTECTED] Robin Dunn, the lead person behind wxPython and others provide excellent advice and support on this list. Regards, David jojoba wrote: > Hi > I

WxPython question re: embedded activex internet explorer and excel

2006-03-01 Thread jojoba
Hi I currently am using an activex wrapper in wxpython to embed Internet Explorer in a wxPanel: IEmodule=win32com.client.gencache.EnsureModule('{EAB22AC0-30C1-11CF-A7EB-C05BAE0B}', 0,1,1) InternetExplorerActiveXClass = MakeActiveXClass(IEmodule.WebBrowser, eventObj = self) self.WebBrowser

Re: wxPython question

2005-10-18 Thread Will McGugan
vpr wrote: > I've had some problems, it seems that they dont render well in Linux. I > tried it with Ubuntu Breezy. I suspect that the animation may cause problems because of all the refreshes. Perhaps you can render the window first then save it as a bitmap. A simple blit should be better for t

Re: wxPython question

2005-10-18 Thread vpr
I've had some problems, it seems that they dont render well in Linux. I tried it with Ubuntu Breezy. -- http://mail.python.org/mailman/listinfo/python-list

Re: wxPython question

2005-10-13 Thread Will McGugan
vpr wrote: > Hi > > Does anyone have some example code to create a wx dialog that apears > off screen on the bottom right hand corner and slides up into the > screen ? > Andrea Gavana does.. http://xoomer.virgilio.it/infinity77/eng/freeware.html#toasterbox Will McGugan -- http://www.willmcgug

wxPython question

2005-10-13 Thread vpr
Hi Does anyone have some example code to create a wx dialog that apears off screen on the bottom right hand corner and slides up into the screen ? Thanx /vpr -- http://mail.python.org/mailman/listinfo/python-list

Re: wxPython question

2004-12-17 Thread M.E.Farmer
André wrote: > I needed to scale the image down to 16 by 16 on my Windows computer to > make it work. Hello André, # I actually ran this code ;) import wx app = wx.PySimpleApp() class myframe(wx.Frame): def __init__(self): wx.Frame.__init__(self,None,-1,"Icon Frame", size=(100,100),pos=(-1,-1))

Re: wxPython question

2004-12-17 Thread André
M.E.Farmer wrote: > Messed up it does need the dots. > This should handle bmp ico png gif and several other formats. > Still need to be 32 by 32 > > wx.InitAllImageHandlers() > image = wx.Image(file, wx.BITMAP_TYPE_ANY) > image = image.ConvertToBitmap() > > icon = wxEmptyIcon() > icon.CopyFromBitm

Re: wxPython question

2004-12-16 Thread M.E.Farmer
Messed up it does need the dots. This should handle bmp ico png gif and several other formats. Still need to be 32 by 32 wx.InitAllImageHandlers() image = wx.Image(file, wx.BITMAP_TYPE_ANY) image = image.ConvertToBitmap() icon = wxEmptyIcon() icon.CopyFromBitmap(image) frame.SetIcon(icon) Hth,

Re: wxPython question

2004-12-16 Thread mefjr75
Jive wrote: > How the heck do you set the icon on a frame using a .ico file, or a .bmp > file, or whatever? How do you find out how to do something like that? > Apparently there is no documentation to speak of. I tried looking the in > the demo program, but I didn't find the secret.. Hello Jive,

wxPython question

2004-12-16 Thread Jive
How the heck do you set the icon on a frame using a .ico file, or a .bmp file, or whatever? How do you find out how to do something like that? Apparently there is no documentation to speak of. I tried looking the in the demo program, but I didn't find the secret.. -- http://mail.python.org/ma