1. Phix Question About xpGUI + IR

From the Phix docs:

Minimal dependencies - requires a working GTK install on Linux, or just a Windows  
OS, or just a working browser. 

Pete, It seems reasonable to consider that you might have an IR in mind to accomplish this task. If you do, is it documented? I ask because I'm considering building a Layout Manager.

I'm also considering whether or not Glade GTK could be used to build a layout IR. Then build a parser/emitter that could target Phix/Euphoria IUP, xpGUI, win32, or whatever else. I bet if I look on the internet, I'll find Glade was used to build an IR for win32. I'll check after I click send.

But, I don't want to spin cycles on that work at all if there is already a solution floating around on someones harddrive somewhere or spelled out in a doc I haven't read yet.

new topic     » topic index » view message » categorize

2. Re: Phix Question About xpGUI + IR

xecronix said...

From the Phix docs:

Minimal dependencies - requires a working GTK install on Linux, or just a Windows OS, or just a working browser. 

Pete, It seems reasonable to consider that you might have an IR in mind to accomplish this task. If you do, is it documented?

Erm IR: Internal Representation? Of a layout? With a parser/emitter? Nah, not really: there is a table, or twenty, that holds handles of controls I've created and everything else, but that's pretty much it.

xecronix said...

I ask because I'm considering building a Layout Manager.

Oh no, oh dearie me, you poor wee thing! I got sucked into one of those meself two and a half years ago, and it won't let go. I can see the finishing line, but there's two people quite a bit fitter than me running away with it, whenever I get close the referee blows his whistle, points at me and shouts "your egg has fallen off your teaspoon", the football smacks me in the face, I trip up over my own shoelaces, the umpire declares a no ball, and they've closed the bus stop because there are some roadworks on a totally unrelated street two miles away, and apparently all bus stops in the borough that are on any street that begins with an 'S', and Billie Piper is the new Doctor Who. You've guessed it, a bit of a nightmare.

One thing I gave up many years ago now can be found in demo/edix/plade.exw. Some of the samples in the table at line 6300 have been renamed, eg fill.exw ==> IupFill.exw, likewise IupHbox, IupCalendar, IupDetachBox, IupRadio, and IupTabs. It is pretty hideous stuff and no doubt still riddled with bugs, but should keep you busy a while!

One thing I realised reasonably recently is that what I really want is not a separate layout designer at all, but a much better debugger, with pretty much the same powers.

new topic     » goto parent     » topic index » view message » categorize

3. Re: Phix Question About xpGUI + IR

I know you said you're working on a debugger. So, I guessed there might be room to help with a form designer. I'll look at Plade as a potential starting point. I just started writing tutorials for Phix IUP. Just in time for you to deprecate it in favor of xpGUI LOL.

Judging from the name "Plade" I'm guessing you've evaluated "Glade" and found it a poor fit?

new topic     » goto parent     » topic index » view message » categorize

4. Re: Phix Question About xpGUI + IR

xecronix said...

Judging from the name "Plade" I'm guessing you've evaluated "Glade" and found it a poor fit?

More a case of not wanting to force glade be installed in order to use Phix.

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu