So my problem is the look and feel from my application, as it looks like an old look app.
It is an wxPython application, and on python it runs fine and looks fine, but when I convert it to .exe using py2exe, the look is just bad.
Now I know that if you are using XP you need some manifest to correct it but I am in other circumstances. I...
I'm having a problem with matplotlib where it only plots a line the first time i run the draw() function I made for it. My code is like this:
I have graphPanel.py: (stripped to the essentials)
class GraphPanel(wx.Panel):
def __init__(self, parent):
wx.Panel.__init__(self, parent)
self.figure = Figure()
self...
Hello, im new in Python so im hoping to to get some help to figure out what is going wrong.
Im trying to run a Pygames from within wxPython panel (made on Boa Constructor).
To do that i followed the instructions on the http://wiki.wxpython.org/IntegratingPyGame but still it isn't working.
Here is the Panel code that was used to make th...
I utterly suck when it comes to GUIs. I am trying to do something like:
have a dialog of a specified size
on top of that dialog, depending on the user's action add different panels, one at a time
each panels' controls are lay out trough the help of sizers
I am trying to figure out how can I make all those panels controls fit properly...
I have a RichTextCtrl, which I've modified to accept HTML input. The HTML parsing code needs to be able to increase and decrease the font size as it gets tags like <font size="-1">, but I can't work out how to get the control's default font size to adjust.
I tried the following (where self is my RichTextCtrl):
fred = wx.richtext.RichTex...
Hi everyone!
I'm looking for a way to show tooltips whenever the user hovers the
mouse on a column header of a wx.ListCtrl, is this possible?
I tried binding wx.EVT_MOTION but it looks like it works only for the
list items, not the headers.. Am I doing something wrong?
Thanks in advance!
(wxPython 2.8.9.1 on Xubuntu 9.04)
...
I have a RichTextCtrl created as follows:
self.userlist = wx.richtext.RichTextCtrl(self, style=wx.TE_MULTILINE|wx.TE_READONLY|wx.HSCROLL)
It all works fine, except for the wx.HSCROLL style. If I change the RichTextCtrl to a regular TextCtrl, it correctly horizontal scrolls on long lines, rather than wrapping, but on the RichTextCtrl i...
How it is possible wxHtmlEasyPrinting to force to work with utf-8 encoding?
# -*- coding: utf-8 -*-
import wx
import wx.html as html
import wx.lib.printout as printer
class MyFrame(wx.Frame):
def __init__(self, parent, title):
wx.Frame.__init__(self, parent, -1, title, size=(450, 500))
wind = wx.SplitterWindow(se...
As per the title, is it possible to change the first day of the week (Monday instead of Sunday)?
...
I have two wxListCtrl and want to process the Ctrl+Enter keyboard event without letting wx change the focus to the other ListCtrl.
I have event handlers for wx.EVT_KEY_DOWN, wx.EVT_KEY_UP, wx.EVT_CHAR and KillFocus, but KillFocus is always called first, then the focus changes and the the keyboard handlers are called for the wrong ListC...
Hello everyone. I am using wxPython and Py2exe to create my application and my only problem is loading for example bitmaps.
Ok so lets say I want to add an image to my application, and thats fairly easy using wxPython, and lets say it is on the same directory of my .py so for example:
image = wx.StaticBitmap(self, -1, wx.Bitmap('image....
Does wxPython support viewing pages that embed css, javascript and flash content in any way? If yes, how?
...
I was wondering if there was a dictionary containing string versions of wxPython class (like 'Button' for wx.Button) to the events they call. This is what I want: {'Button': wx.EVT_BUTTON, ...}. Is there a dictionary like this anywhere in the module or on the web?
...
Hi Guys,
I'm using wxPython to create a wizard using the wxWizard control. I'm trying to a draw a colored rectangle but when I run the app, there seems to be a about a 10px padding on each side of the rectangle. This goes for all other controls too. I have to offset them a bit so that they appear exactly where I want them to. Is there a...
I would like to add an icon to the OSX menu bar at the top of the screen using wxPython. I have tried wx.TaskBarIcon, which adds a System Tray icon in Windows, but this doesn't work - it changes the Dock icon for the app instead. Does anyone know how to do this?
...
The python datetime.datetime object has the combine method. Is there an equivalent for wx.DateTime objects?
...
I was trying to embed video from a webcam into a wxPython app. This error occurs on trying to import a submodule of pyvision (from pyvision.types.Video import Webcam)
...
Hi,
I have a python console app. Like most python console apps it uses the OptionParser module to take arguments. I've now developed a GUI for my app using wxPython and i'd like to integrate the two. I'd like my app to be run both from the console and from the OS's UI. When it is invoked from the console it runs as a console app and whe...
Hi,
I'm using the wxWizard widget in wxPython. Is there any way I could change the text of the next button on a page? Can i change the visibility of the navigation buttons on any page? Can I enable/disable the navigation buttons?
I tried looking for answers to these questions on the wxPython site but it doesn't seem to be documented.
...
I have a wx.lib.calendar.Calendar control (not wx.lib.calendar.CalendarCtrl!). I am selecting a number of days using the following function call:
self.cal.AddSelect([days], 'green', 'white')
This works, and draws the days highlighted. However, I cannot work out how to reverse this (i.e., clear the selection so the days go back to thei...