| [reply] |
Glade looks nifty and all, but what is different that is uses POE perl. Meaning, event-driven OO perl. It's something totally different, more like your average C++ GUI suite. Pretty and so on, but just something I don't use, and few people around here.
Not that it is wrong, or bad, but just little traffic about that around here. I would like some coment from insiders about this, actually. Anybody?
| [reply] |
I've used glade before. Not with perl, but with pike. Different language, but I've used it for the same purpose.
I generally don't use the output directly, myself. What I mean is, well, glade output is xml, pike (for example) has a glade.xml reader. You initialize gnome/gtk, then glade, and tell it to read in the xml file and it generates the ui for you (it uses the libglade library for this). However, for me right now (unless I'm missing something, which is very possible) it's a little hard to make dynamic ui's.
What I do is use it for a visuallation tool. I rearrange the components until I find something I like, then I use that to generate some handwritten code. It makes it easier for me to know where everything is, to add callbacks and the like.
Just me...
riffraff
| [reply] |
First I'd like to thank everyone for your input. Further on:
if you think glade isn't the answer, where should i dig for a good way code w/ KDE?
and as i'm babbling how the dnmn do i get newlines for these posts? /cab | [reply] |
| [reply] |
AFAIK, nobody has written a perl-interface to the Qt libs. You seriously need that before considering writing perl GUI stuff for KDE. The problem is that Qt relies havily on macros for their slot mechanism. I think it will be messy to translate those to perl. You'd better stick with GTK, as it looks reasonable under KDE. The drawback is that you can't use the KDE ipc. If you want that, you're limited to C++ for now.
BTW, I didn't say you shouldn't use glade. It's just that around here nobody seems to use it. I tried it once, and I was impressed by the amount of perlcode that was generated by quickly clicking a window together. Too impressed actually to work with it :-).
| [reply] |
(Disregard this message :P)
| [reply] |
Lol. Looks like good ol' jepri wrote all I said in my previous post. His article happens to be in here too... My memory is the one to blame, so I'm deleting everything I said. Go check his tutorial instead :P
| [reply] |