Questions tagged [xrc]
The xrc tag has no usage guidance.
25
questions
2
votes
2
answers
753
views
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 <hidden>1</hidden> and the element will not be drawn.
What I'd like is to be able to hide my ...
1
vote
1
answer
623
views
Should I learn wxPython code or XRC code? [closed]
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 ...
1
vote
1
answer
258
views
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 ...
1
vote
2
answers
184
views
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 ...
1
vote
2
answers
100
views
How do I programmatically set the checked state of an Python XRC MenuItem?
I have a menu defined using XRC like this:
<object class="wxMenuItem" name="MenuItem_ShowTooltips">
<label>Show tooltips</label>
<checkable>1</checkable>
</object&...
1
vote
2
answers
307
views
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 ...
1
vote
1
answer
1k
views
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 ...
1
vote
1
answer
730
views
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 ...
0
votes
2
answers
703
views
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 ...
0
votes
1
answer
57
views
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, ...
0
votes
1
answer
136
views
Ruby wxRuby GUI XRC to rb error
Cannot create wrapper for class without 'subclass'
attribute
It outputs as blank file.
My command is
xrcise -o Button.rb Button.xrc
I use DialogBlock designer.
0
votes
1
answer
382
views
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 ...
0
votes
1
answer
265
views
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 ...
0
votes
0
answers
52
views
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 ...
0
votes
1
answer
395
views
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
...
0
votes
1
answer
69
views
Wrong layout when porting dialog code to python 3 and phoenix
I am porting my old python 2.7 code to 3.6 with wxpython phoenix and struggling now with a wxdialog where I don't succeed to get the correct layout. All wigdets appear in the upper left corner of the ...
0
votes
0
answers
253
views
wxpython load xrc file then load Frame failed
I use wxFormBuilder to generate my ui and xrc file
in python code what i do is:
self.res = xrc.XmlResource("abcd_xrc.xrc")
self.frame = self.res.LoadFrame(None, 'MyFrame2')
self.frame.SetSize((750,...
0
votes
0
answers
153
views
column title of wxListCtrl loaded from XRC file - wxRuby
I have problem with loading column title for wxListCtrl which are
defined in xrc file. According to XRC file format description
(http://docs.wxwidgets.org/trunk/overview_xrcformat...)
it shall be ...
0
votes
2
answers
204
views
Autocomplete in wxpython if load from xrc
I am trying to work with xrc resource in wxpython.
It is good but where is one big "no" - there is no autocomplete of wxFrame class loadet from xrc. And other loaded from xrc classes too.
Is this ...
0
votes
1
answer
194
views
wx xrc + aui manager
Is it possible, and if so, how(links, tutorials) to use XRC to load aui-elements?
I want to create a somewhat advanced interface for a program, without wanting to do everything in-code.
Greetings
0
votes
0
answers
160
views
Python XRC Buttons not clickable
I'm working on a python app, and have hit a snag. My goal is to have a main frame containing numerous controls, and a panel which will be loaded from an xrc file specified at run time. Essentially, ...
0
votes
1
answer
1k
views
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 ...
0
votes
2
answers
388
views
C++\Win32 API - Load controls at run-time from xml
Is there a library that can load controls (buttons, text boxes, etc.) from an xml file? Kind of like in WPF.
-1
votes
1
answer
76
views
Replacing widgets in a xrc created dialog
I would like to replace a dialog's object dynamically but didn't find a way. The dialog is created with the help of a xrc definition file.
All what I found is https://www.blog.pythonlibrary.org/2012/...
-1
votes
1
answer
189
views
Is there a tool to convert wxWidgets XRC files to HTML?
I have an application with tons of windows (frames and dialogs) made with wxWidgets XRC. I'm preparing to convert all generated screens to HTML to make an web version, before doing it I would like to ...