Recent

Author Topic: Current GTK2 and GTK3 Status for FPC / Lazarus  (Read 840 times)

Schmitty2005

  • New member
  • *
  • Posts: 7
Current GTK2 and GTK3 Status for FPC / Lazarus
« on: December 14, 2024, 04:04:00 pm »
With GTK2 being phased out, is GTK3 fully ready for use in Lazarus with Linux and Windows cross compile ?   I searched the forums and was unable to find updated information.  Other information on the website shows that GTK3 is still not ready for general use, and when I have tried it, there was too many issues to bother with. 

Some other open source software has simply used their own version of GTK2 and now ship that with the software.  GTK2 seems stable and totally usable. 

Is GTK2 going to be available in the future for Lazarus ?   Or is GTK3 going to be fully functional and implemented, phasing out GTK2 in Lazarus ?


AlexTP

  • Hero Member
  • *****
  • Posts: 2519
    • UVviewsoft
Re: Current GTK2 and GTK3 Status for FPC / Lazarus
« Reply #1 on: December 14, 2024, 04:04:50 pm »
GTK3 is not ready. CudaText project compiled for GTK3 shows totally broken toolbar/sidebar.

dsiders

  • Hero Member
  • *****
  • Posts: 1324
Re: Current GTK2 and GTK3 Status for FPC / Lazarus
« Reply #2 on: December 14, 2024, 10:34:47 pm »
With GTK2 being phased out, is GTK3 fully ready for use in Lazarus with Linux and Windows cross compile ?   I searched the forums and was unable to find updated information.  Other information on the website shows that GTK3 is still not ready for general use, and when I have tried it, there was too many issues to bother with. 

Some other open source software has simply used their own version of GTK2 and now ship that with the software.  GTK2 seems stable and totally usable. 

Is GTK2 going to be available in the future for Lazarus ?   Or is GTK3 going to be fully functional and implemented, phasing out GTK2 in Lazarus ?

I can't imagine that Lazarus will deprecate the GTK2 widget set (since that's the only GTK variant that actually works). GTK3 is still alpha IMHO. A GTK4 port does not even exist at this point.

The real question is how long will Linux distros continue to support GTK2. Not a Lazarus issue.

Given a choice, I would use one of the QT widget sets instead.
Preview the next Lazarus documentation release at: https://dsiders.gitlab.io/lazdocsnext

 

TinyPortal © 2005-2018