Sujet : Re: GIMP 3.0.0-RC1
De : WokieSux283 (at) *nospam* ud0s4.net (WokieSux282@ud0s4.net)
Groupes : comp.os.linux.misc comp.os.linux.advocacyDate : 11. Feb 2025, 06:23:16
Autres entêtes
Organisation : WokieSux
Message-ID : <OVydnYztJ_VcQzf6nZ2dnZfqnPudnZ2d@earthlink.com>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
User-Agent : Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0
On 2/10/25 8:59 PM, rbowman wrote:
On Mon, 10 Feb 2025 18:31:13 -0500, WokieSux282@ud0s4.net wrote:
TK is also pretty well documented since it's been around for awhile.
Actually none of the graphics toolkits are particularly 'elegant' or
great joys to use so go with what seems easiest for the job.
That's got to be the understatement of the week.
Mostly if I need something with a quickie GUI then I use Lazarus/FPC
when possible. The WYSIWYG form builder with a zillion possible
options is WAY nicer than the line-at-a-time TK approach plus Pascal
looks much nicer than Python or 'C'.
https://realpython.com/qt-designer-python/
That talks about PyQt but I use PySide6. I'll skip the rant about
Riverside Computing, TrollTech, and my thoughts on Pascal.
Nick Wirth is Voice Of CyberGod ya heretic !!! :-)
However DO look into Lazarus. REAL QUICK to put
together very nice complex kinda Win-98 looking
GUIs. Huge number of options on entering/leaving/
clicking/hovering/etc all the fields - and you
can write custom functions for all that too
without too much evil. 'Delphi' still sells, still
commands a kinda high price actually. Laz is just
a functional copy. Learning curve isn't TOO steep
and once you Get It you can really go to town.
As with TK and the rest, Lazarus is a GUI shell
inside the main pgm (which may be pretty short).
Everything is 'event driven' - click this and
that happens. The real useful fun is only achieved
by setting up 'timer' routines - maybe every 100ms
or something. They will execute your custom code
and calls so you can update displays/stats/etc.
Everything really cool works on timers/counts.
With Laz it's important to find the little code
lines that force the display(s) to update once
you make said changes - like showing the latest
security cam grab.
FPC can directly use 'C' routines, but it's kinda
ugly - really ugly sometimes. I took to simply
running said 'C' pgms, have them make a nice
tempfile, then reading/parsing the tempfile
in Pascal. Upside, you can keep the tempfiles
for debugging purposes - oft very useful.