Questions tagged [xrc]
25 questions
2
votes
2 answers
Hiding a sizer and all its contents in wxWidgets using XRC
I am using an .xrc file to setup my wxWidgets GUI. For most GUI elements I can specify 1 and the element will not be drawn.
What I'd like is to be able to hide my wxStaticBoxSizer and have it and its contents not be drawn.
It's set…

Jonathan Mee
- 37,899
- 23
- 129
- 288
1
vote
2 answers
How do I programmatically set the checked state of an Python XRC MenuItem?
I have a menu defined using XRC like this:
which I initialize in my app from it's parent frame like this
self.frame =…

nickvans
- 898
- 13
- 24
1
vote
1 answer
Should I learn wxPython code or XRC code?
After some research I've decided to use wxWidgets to build user interfaces for my Python programs. I learnt this could be done in two ways: either I blend my "behind the scenes" raw Python code with interface related wxPython code, or I could…

renatov
- 5,005
- 6
- 31
- 38
1
vote
2 answers
Using a variable instead of constants for properties in wxFormBuilder
In widgets like the spinctrl or slider box, properties like the inital position, min and max values etc can be set to constants. Is there any way by which they can be specified as variables.
so the code
self.HDSpin = wx.SpinCtrl( self, wx.ID_ANY,…

staticd
- 1,194
- 9
- 13
1
vote
1 answer
Using XRC to create custom Dialog boxes
I have been having trouble defining my own Dialogs which are described using XRC.
I have read http://nebelhom.blogspot.co.nz/2012/04/xrc-and-wxdialogs.html and other similar sources which tells me to do this:
class ConfigDialog(wx.Dialog):
def…

Jacob Wang
- 4,411
- 5
- 29
- 43
1
vote
1 answer
wxLua splitter window on resize
In the image snippet below, there is a splitter-sash between the tan Output window and the blue Command Line Args window. The user can change the width of the blue window (by dragging the splitter sash) if desired, but I want the blue window to…

Stomp
- 890
- 1
- 6
- 19
1
vote
1 answer
wxWidgets: Show a window that was marked hidden in the XRC
I'm new to wxWidgets and DialogBlocks. I have a form that is created using DialogBlocks and saved as an XRC file. Part of the form has a vertical wxStaticBoxSizer into which are placed two wxScrolledWindow elements. I want to only show one at a…

jdwieber
- 37
- 1
- 6
1
vote
2 answers
Including wx.lib.platebtn in an XRC file?
do you know of a way to include the wx.lib.platebtn.PlateButton widget in an xrc file?
So far, I have only found a way of including widgets that are common to wxWidgets, too, but I think this one is specific to wxpython (I may be wrong, though).
I…

Nebelhom
- 3,783
- 4
- 21
- 22
0
votes
2 answers
XRCed learning resources?
I've seen many people saying XRCed very strong "if you have learned how to use it". Unfortuntately, there're few documents about it, and many of the links on SF.net home page is 404 now.
The best I can found is XRCed Tutorial, however it is too…

Francis
- 11,388
- 2
- 33
- 37
0
votes
1 answer
In wxpython, is it possible to populate something inside of a gui element that is defined by an xrc file
I have a wxpython gui, which I defined in an xrc file, the root item (idk if that is the right term) of this gui is a wxFrame, which I load into a wxDialog window. I want to then populate stuff, inside of this gui, from python, but I can't seem to…

TT-392
- 43
- 5
0
votes
0 answers
Where is the XRCed GUI editor located which is distributed with wxPython
I've been looking at the XRCed tutorial on the wxPython website and I'm trying to use it for my project. However the tutorial does not describe how to start the XRCed tool. No obvious files with the XRCed name seem to exist in the wxPython python…

PeteBlackerThe3rd
- 651
- 5
- 12
0
votes
1 answer
How do you use multiple XRC files in the same wxpython program?
I am trying to make a wxpython program using multiple XRC files. I would like to load several panels from different XRC files into the same frame. I would like to keep the panels in separate XRC files because each of them will be a plugin for a much…

John
- 1
- 1
0
votes
1 answer
How to obtain filepath string from wxFilePickerCtrl button
This is how the output of my GUI looks if I run the program right now
I made a gui for my program using xrc and I don't know where the filepath string is stored on a wxFilePickerCtrl class button
examples and tutorials online show commands like…

Juan
- 117
- 6
0
votes
1 answer
Is there to include elements from one xrc file in another xrc file
I've got an wx App that has the UI defined in XRC files. Each form is in its own xrc file. There is one panel that is common to many of the forms. Is there a way to have objects defined in one file that are included and referenced in another?
I know…

epotter
- 7,631
- 7
- 63
- 88
0
votes
1 answer
How to make PyInstaller work on wxPython using 2 stage creation with XRC?
Everyone suggests switch from py2exe to PyInstaller for making a standalone executable from Python scripts. Our first trial is to make a wxPython application which makes usage of lots of 2 stage creation with XRC. It seems the building process of…

Drake Guan
- 14,514
- 15
- 67
- 94