Re: About javascript API, again :P

2010-03-01 Thread Aaron J. Seigo
On March 1, 2010, Diego Casella ([Po]lentino) wrote: > it works O.o . Any ideas/hints ? bug in the bindings; it was creating a KIcon and the bindings was taking that all a bit too literally and not realizing it was also a QIcon :/ committing the fix now -- Aaron J. Seigo humru othro a kohnu se

About javascript API, again :P

2010-03-01 Thread Diego Casella ([Po]lentino)
Hello guys, I'm trying to adding a theme icon to a PushButton object, but I'm stuck with it. I've tried some combinations such as: pb = new PushButton() pb.icon = new QIcon("system-search") or pb.image = "system-search" but seems it doesn't work. However, if I do iw = new IconWidget() iw.setI