On Mon, Jul 18, 2011 at 03:08:56AM +0000, Chris Morley wrote:
> While working on pncconf I have noticed that I cannot
> set gladevcp's theme when placing the panel on the side of AXIS.
How are you changing it?
> It's because the user options are added after reparenting.
> Is it possible to change it so user options are added before reparenting?
They are added before reparenting: on line 202 [1] user handlers are loaded and
reparenting is done on line 211 [2].
> from the wiki:
> the command line actually run reads as follows:
> halcmd loadusr -Wn gladevcp gladevcp -c gladevcp
> -x {XID} <your options to GLADEVCP here>
Order of options does not matter - parsing is done using python optparse module
and not manually.
Pavel
--
http://git.linuxcnc.org/gitweb?p=emc2.git;a=blob;f=src/hal/user_comps/gladevcp.py;h=96c044a09652fd0e621e2601cfd1f24e58dea574;hb=v2.5_branch#l202
http://git.linuxcnc.org/gitweb?p=emc2.git;a=blob;f=src/hal/user_comps/gladevcp.py;h=96c044a09652fd0e621e2601cfd1f24e58dea574;hb=v2.5_branch#l211
------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric
Ries, the creator of the Lean Startup Methodology on "Lean Startup
Secrets Revealed." This video shows you how to validate your ideas,
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers