Re: Making UI creation easier?
Petr Pajas <[email protected]>
| Newsgroups | gmane.comp.lang.perl.tk |
|---|---|
| Organization | Charles University Prague |
| Message-ID | <[email protected]> |
> gerardo castro <[email protected]> wrote: >> I have used perl/tk two or threee times, only because its very hard. I >> need it just for making small interfaces with two textboxes, a combo, >> some buttons a list, etc. And I found it very hard. >> >> So I think it is posible to make an intermediate language to create >> the UI (I know there are IDES like komodo, but they are harder). I >> thougt maybe an html like language could be cool and give speed. BTW, have a look at (apparently not yet implemented): http://perlxul.sourceforge.net/wiki. If you want to go XML, then you probably should join your efforts with those guys. Petr >> >> Here is the code I was talking about: >> >> ---*BEGIN*--- >> <mainwindow width=400 height=300 title="Miprograma" id=mw> >> <label id="label1" border=2 relief="raise"> >> <text value="Escribe aqui tu texto" id=text1 size=100 >> onchange="perl:label1->text = 'something like'"> >> <button textvariable="perl:$nombreboton" onclick="funcionboton"> >> <text id=textolargo1 height=400 width=400 alt="Put here your text"> >> This text is contained on it >> >> </text> >> <mainwindow> >> >> <perl> >> put code for the script here >> </perl> >> >> ---*END*--- --
signature.asc
(application/pgp-signature, 188 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQBBnNSsQfxdLDi03+IRAgs7AJ45E1kYQ8R/dbVuJ8A01V+XWC3i5wCfdFBy hHI0Kgk4BBNvIHwzzUAj+pg= =/DC3 -----END PGP SIGNATURE-----