Tagged Questions
0
votes
1answer
15 views
Run a cmd command with a simple button in wxpython
Hi guys i have made a simple gui to to run a single line of code, until now i run via cmd the command is
youtube-dl.py http://www.youtube.com/ --extract-audio --audio-format mp3
now i want to run ...
0
votes
1answer
17 views
How to get values of selected range with right click in wx.grid in wxpython?
I can get value of a single selected cell with right click in wx.grid this way, when i right click on a cell, it prints value of that cell:
self.Bind(wx.grid.EVT_GRID_CELL_RIGHT_CLICK , ...
0
votes
1answer
25 views
How to split a notebook in wxpython?
I have placed a notebook on a panel, notebook has 4 pages. Now I want to split each page horizontally. Top split will contain grid cells, and bottom will contain chart. How to do this?
Regards
1
vote
1answer
34 views
WXPython and CEFPython 3
looking a the example file in cefpython3 on windows..
When running the python example scripts it opens a debug window in the windows command promt.
I want to know how not to show this?
Just to ...
0
votes
0answers
17 views
wx pyinstaller executable work on 64bit Machine
Ok first and foremost there could be multiple answers here I just want this executable to work on a 64 bit machine. I wrote a wxpython script and am using pyinstaller to make it an exe. I am using a ...
0
votes
1answer
22 views
How to set wxpython Grid top headers?
When I create a grid with wxpython, I get top column headers as "A", "B", "C"...
import wx
import wx.grid as gridlib
########################################################################
class ...
0
votes
1answer
29 views
How to use named colors in wxpython?
I get named colours in wx this way:
import wx.lib.colourdb as wb
wb.getColourList()
Although "ORANGE" is in wx.lib.colourdb, i cannot set a grid cell's color to wx.ORANGE because it says:
...
0
votes
2answers
26 views
How to set an entire row/column as read only in wx.grid (wxpython)?
Following code sets a cell readonly, but how to set an entire row/column (for example 3rd column) as read only in wx.grid?
import wx.grid as gridlib
myGrid = gridlib.Grid(panel)
...
0
votes
1answer
28 views
How to pass arguments to a custom class in python?
How do I make the pass the Grid size (self.CreateGrid(20,20)) (number of rows and columns) to the custom class below?
import wx
class GraphicsPage(wx.grid.Grid):
def __init__(self, parent):
...
0
votes
1answer
43 views
Using SwapBuffers() with multiple OpenGL canvases and vertical sync?
I have a GUI written using wxPython that contains two GLCanvases, a 'display' canvas and a 'preview' canvas onto which I am drawing some very simple geometry using PyOpenGL. The 'preview' and ...
1
vote
1answer
23 views
colour particular items in a radio box using wxpython
Is it possible to colour text of specific item in a radio box?
I am working with wxpython for building GUI and I have a list of file names with which I built a radio box. I now want to colour some ...
0
votes
0answers
40 views
Sizing with wx.aui.AuiManager's AddPane
In an application using wxPython, I use the wx.aui.AuiManager for the layout of the main frame. For a certain event triggered by the user, two panes should appear in the frame. I can add them so that ...
0
votes
2answers
27 views
Wxpython script gives “TypeError: 'in <string>' requires string as left operand, not QString”
this simple wxpytohn script gives the following error, what is wrong? The error message doesnt give which line the error occurs in script:
Traceback (most recent call last):
File ...
1
vote
2answers
23 views
wxpython textctrl printing to a specific line
I must be googling using the wrong terms because I can not find what I am looking for. Any help appreciated.
How do I write to a specific line within a textctrl?
Currently my program processes ...
1
vote
0answers
17 views
wxPython StyledTextCtrl high CPU usage
Today, while working on my project, I noticed that when i move my caret in wxStyledTextCtrl, my CPU usage jumps up to 84%! Does anyone now what may be causing the problem? I am using code from ...