2013/1/20 Chris Morley <chrisinnana...@hotmail.com>: > > > >> From: viesturs.la...@gmail.com >> Date: Sun, 20 Jan 2013 11:17:26 +0200 >> To: emc-users@lists.sourceforge.net >> Subject: Re: [Emc-users] Glade question >> >> 2013/1/20 Chris Morley <chrisinnana...@hotmail.com>: >> > >> > Can you post your glade and handler file >> > >> >> I put them in my site: >> www.cutting.lv/fileadmin/user_upload/plasma.ui >> www.cutting.lv/fileadmin/user_upload/plasma.py >> >> -- >> Viesturs >> > > Yes your handler file is not right. > Can you just include your GLADE file? > I want to load it in glade - copy and paste from website doesn't work.
I do not have a file with extension "glade". I checked - it does not offer me to save with such a file type. I will send it to You in private email. > I will try to fix it tomorrow to give you an example to work with. > But see if this works for starters: > > Chris M > > > class HandlerClass: > > > def __init__(self, halcomp,builder,useropts): > self.builder = builder > self.voltage_spinbutton = self.builder.get_object('volreq') > self.voltage_spinbutton.set_value(1.0) > def get_handlers(halcomp,builder,useropts): > return [HandlerClass(halcomp,builder,useropts)] Thank You! Unfortunately I do not understand, how exactly do I integrate this with the existing handler file. -- Viesturs If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_123012 _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users