[Gambas-user] Is it possible to use a library that uses gb.sdl2 in a graphic project?
Gianluigi
bagonergi at gmail.com
Fri Mar 11 17:32:01 CET 2022
Il giorno ven 11 mar 2022 alle ore 16:28 Tim Dickson via User <
user at lists.gambas-basic.org> ha scritto:
> Because sdl does it's own windowing, without a gui. (unless you write
> one). It "owns" the window it creates, or full screen. You have to manually
> create your own "controls" for SDL/SDL2, rather than the window being
> "owned" by GTK or QT.
>
> You need to think of SDL/SDL2 as a third (cross platform) windowing system
> that only offers a basic window (form) or fullscreen, without any widgets,
> but does give access to device hardware (mice, keyboard, controllers, audio
> and graphics) and openGL. the S in SDL is simple, because there are no
> widgets, unlike what you find in GTK or QT.
> regards, Tim
>
> Hi Tim,
thank you very much for the explanation
Regards
Gianluigi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20220311/0e616e8a/attachment.htm>
More information about the User
mailing list