From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: Where to find Ada GTK example programs to try? Date: Fri, 08 May 2020 23:18:18 +0200 Organization: A noiseless patient Spider Message-ID: <87wo5mjfc5.fsf@samuel> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: reader02.eternal-september.org; posting-host="d80720da003fb10f82cfee35afb95474"; logging-data="20487"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/l3EdenWgklcIf5OXRXZSe" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cancel-Lock: sha1:EP2PIqblBBeUH2tjbhMFSOhmDiI= sha1:BSBLhz3YvNPS0/1WPPX0UyPreJA= Xref: reader01.eternal-september.org comp.lang.ada:58633 Date: 2020-05-08T23:18:18+02:00 List-Id: "Nasser M. Abbasi" writes: > Yes, I forgot about GPS. I remember reading it used GTK. > > But I also remember reading the other day that you said about GPS using > using Python somehow, right? Yes. GPS uses both GtkAda (for the GUI) and Python (for scripting). > I have GPS. It is nice. But GTK Ada has been around for long time. So has GPS. > Someone must have written some animations or simulation or game > GUI using Ada-GTK, Ah, GTK (and GtkAda) is not intended for this. You can write games using GtkAda but you'd be better off using SDL. There is an Ada binding at https://github.com/Lucretia/sdlada. While GTK does only graphical widgets, SDL does accelerated graphics, sound, joystick, etc. The kind of games that you could make with GTK are desktop games like the gnome games collection e.g. othello, card cames, chess, etc; not the ones you refer to. -- Ludovic Brenta. The gatekeeper overdelivers our project, while the steering committee focuses on a non-mainstream EBITDA.