We have no control over GTK, too. IUP is better in this regard as it doesn't change as much as GTK. IUP is much smaller than GTK, too. Creating binding for IUP I only have to use h2pas. I don't think h2pas is able to create binding for the whole GTK stuffs, which also include GDK, ATK, GObject, GLib... I know about gir2pascal, but if it good enough why our GTK binding is too bad?
@Sven Barth<mailto:pascaldra...@googlemail.com> I tried with Lazarus trunk + FPC trunk from Fpcupdeluxe, built using Win64 interface but after that I configured to rebuild it with GTK3 inferface and it failed immediately. So I don't know how could I help testing Lazarus GTK3 as even build it is impossible. I installed GTK3 runtime and MinGW 8.1, both properly added to PATH. Does a Linux machine absolutely needed? I only do Windows stuffs so I afraid I can't help with that. ________________________________ From: lazarus <lazarus-boun...@lists.lazarus-ide.org> on behalf of Michael Van Canneyt via lazarus <lazarus@lists.lazarus-ide.org> Sent: Tuesday, April 14, 2020 6:57 PM To: jiaxing ruan via lazarus <lazarus@lists.lazarus-ide.org> Cc: Michael Van Canneyt <mich...@freepascal.org> Subject: Re: [Lazarus] Completely solve the GTK trouble On Tue, 14 Apr 2020, jiaxing ruan via lazarus wrote: > I skipped the Lua part in my binding because I think it will not needed for > Free Pascal. Don't know if we would have any use for it. I only mentioned it because it contains ideas for properties. I don't propose to create/use lua bindings. > > About 1: Could we do canvas drawing with IUPCD? It use CD (Canvas Draw) > graphic library, also developed by the same developer. Note that IUPCD is > shipped with IUP itself, we don't need to install a separate library CD. I don't know, the info I can find is not conclusive. > > About 2: I don't know about that. But I think there should be way to do > absolute layout with IUP. Could you check it again? I have never use absolute > position with IUP, though. iupCBox seems to be intended for absolute positioning. > I don't want it to replace GTK2 interface. But the GTK3 interface is > definitely bad. I want to use IUP as an abstract layer on top of GTK. > IUP, something not changed much, ontop of GTK, something changes rapidly. > It will save us a lot of maintenance job in the future. It's my > reasoning. Yes, I understood that. At the same time it is an extra layer on top of gtk over which you have no control... Michael. -- _______________________________________________ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
-- _______________________________________________ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus