Results 1 to 4 of 4

Thread: MaxDe for GTK3

  1. #1

    MaxDe for GTK3

    Fellow pascal game developers!

    I recently became aware that the GTK2 that's standard in Lazarus/FPC for Linux is getting depreached and no longer runs out of the box with newest Debian (13)
    Currently Debian 13 can be made to run GTK2 software but sooner or later the GTK may become obsolete

    Apparently the Lazarus community is aware of the situation but no clear roadmap forward is established. Apparently QT5/6 or GTK3(alpha mode) are the alternatives.

    (Re)Compiling for GTK3 seems to work somewhat for my code but there are some quirks and not everything behaves.

    I managed to make a refresh of the MaxDe program for GTK3. Seems to work out of the box on Debian 13 but not on Debian 12.

    I also made minor updates. Is horribly boring as a game but is playabe.

    Can be used for statistical mechanics physics experiments for the interested. Sounds complicated but you don't have to make theory and test hypothesis.
    Just run with different numbers of balls to get a feeling the subject.

    So now my website has a GTK2 section and a currently pretty empty GTK3 section.
    Next project will probably also be done for the GTK3.

    And here comes the link

    https://www.jonax.se/linux/gtk3maxde.php

  2. #2
    Forgive me if this is a newbie question... but if you're using Lazarus, why use GTK at all? Why not use the Lazarus components?

  3. #3
    Quote Originally Posted by xecronix View Post
    Forgive me if this is a newbie question... but if you're using Lazarus, why use GTK at all? Why not use the Lazarus components?
    That is because Debian 13 Linux distribution dropped native support for GTK2 Interface which is Default UI Interface Lazarus builds it Linux applications for.
    You can red more in Debian 13 - GTK2 issue thread in which Jonax reported this issues for the first time here on PGD.

  4. #4
    Quote Originally Posted by SilverWarior View Post
    That is because Debian 13 Linux distribution dropped native support for GTK2 Interface which is Default UI Interface Lazarus builds it Linux applications for.
    You can red more in Debian 13 - GTK2 issue thread in which Jonax reported this issues for the first time here on PGD.
    Indeed I thought I used the standard Lazarus components. Not much fancy code for me. I mainly program super simple stuff. I wasn't even aware that GTK2 was involved until this whole thing blew up. it seems the FPC and Lazarus teams are aware of the situation and also working to find a solution.

    And welcome to the PGD forums xecronix!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •