Does this mean you've got it working now, by OpenLibrary?
I've used SDL2 and SDL3 with PB across Windows - Mac - Linux now, and I absolutely found Mac to be the most confusing, complicated, difficult to get working correctly and portable. The way it handles dylibs and frameworks seems so much more ...
Search found 1778 matches
- Wed Sep 10, 2025 12:56 am
- Forum: Feature Requests and Wishlists
- Topic: Expose more MiniAudio-Functions
- Replies: 32
- Views: 9347
Re: Expose more MiniAudio-Functions
I hope SDL2 works better :? (seems very good for some HID stuff)
SDL2 and SDL3 (new this year) both work great in PureBasic! It's specifically the GUID struct functions I was having trouble with.
@idle Thanks for the starting point! I haven't installed the beta yet.
That's all, I won't hijack ...
- Tue Sep 09, 2025 4:19 am
- Forum: Feature Requests and Wishlists
- Topic: Expose more MiniAudio-Functions
- Replies: 32
- Views: 9347
Re: Expose more MiniAudio-Functions
The main issue with Miniaudio is that it returns structures and some functions use structures as parameters, which means you either need to wrap those functions in c so you can import then into PB or use miniaudio directly with inline c in the header section. you will still need a compatible c ...
- Tue Sep 09, 2025 4:15 am
- Forum: Off Topic
- Topic: I might finally be getting a promotion!
- Replies: 11
- Views: 703
Re: I might finally be getting a promotion!
Congrats on the big move up the corporate ladder of PureBasic Inc. 

- Tue Sep 02, 2025 1:35 am
- Forum: Announcement
- Topic: PureBasic 6.30 beta 2 is ready !
- Replies: 62
- Views: 6445
Re: PureBasic 6.30 beta 1 is ready !
Very nice! I noticed HeaderSection added to the IDE and wondered what that was about...
- Thu Aug 28, 2025 2:23 am
- Forum: Linux
- Topic: GTK3 DarkMode
- Replies: 6
- Views: 2042
Re: GTK3 DarkMode
Doesn't work for me :( assuming I'm supposed to create a PB window and pass that to the procedure. Always returns 0 whether OS is set to Light or Dark mode.
Firefox tracks the OS light/dark mode very well, and it looks like it's using basically the same method!
https://askubuntu.com/questions ...
Firefox tracks the OS light/dark mode very well, and it looks like it's using basically the same method!
https://askubuntu.com/questions ...
- Thu Aug 28, 2025 1:26 am
- Forum: General Discussion
- Topic: I've been expecting this…
- Replies: 3
- Views: 740
Re: I've been expecting this…

- Wed Aug 27, 2025 2:43 am
- Forum: Linux
- Topic: GTK3 DarkMode
- Replies: 6
- Views: 2042
Re: GTK3 DarkMode
On my system, IsDarkMode() returns 0 or 1 depending on whether the PB app is currently set light or dark... But how can we poll the user's OS settings to know whether the app SHOULD be light or dark? Does that vary by Linux distro....? Thanks for any advice!
- Sat Aug 23, 2025 2:58 pm
- Forum: Coding Questions
- Topic: Bug WebViewGadget With FrameGadget [resolved]
- Replies: 8
- Views: 743
Re: Bug WebViewGadget With FrameGadget
I just noticed it this week too, while investigating which gadgets support SetGadgetColor. Useful!thyphoon wrote: Sat Aug 23, 2025 11:25 am Since when has this existed #PB_Frame_Container ? I've been using Framegadget for years and I've never seen this.
- Sat Aug 23, 2025 4:19 am
- Forum: Feature Requests and Wishlists
- Topic: PureBasic IDE: Loading of files and handling of recent files
- Replies: 3
- Views: 463
Re: PureBasic IDE: Loading of files and handling of recent files
All good suggestions.
1 sounds easiest, 3 sounds most difficult (multi-threading the loading and parsing of files).
These seem like opportunities for the community to submit to the open source IDE, I wouldn't expect the official team to focus on these soon. I think they're busy with major new ...
1 sounds easiest, 3 sounds most difficult (multi-threading the loading and parsing of files).
These seem like opportunities for the community to submit to the open source IDE, I wouldn't expect the official team to focus on these soon. I think they're busy with major new ...
- Sat Aug 23, 2025 4:10 am
- Forum: Feature Requests and Wishlists
- Topic: Dark mode
- Replies: 20
- Views: 2269
Re: Dark mode
I guess we all agree than MS did a poor job here
:P Yes, but in their defense, a major thing I appreciate about Windows is that it can still run software written 10-25 or more years ago. Software written a decade or more prior to an OS-wide "Dark Mode" setting becoming standard. Compare to ...
- Fri Aug 22, 2025 3:07 am
- Forum: Linux
- Topic: GTK3 DarkMode
- Replies: 6
- Views: 2042
Re: GTK3 DarkMode
Nice!!!!! Thanks!
- Fri Aug 22, 2025 12:39 am
- Forum: Feature Requests and Wishlists
- Topic: Dark mode
- Replies: 20
- Views: 2269
Re: Dark mode
I've been digging into this for the last few days, Dark Mode for Win32 programs, with a lot of mixed results :lol:
Detecting Light vs Dark Mode
I used to use GetSysColor_() to check the user's window color, and apply my light or dark GUI colors from there...
In recent Windows (Win 11 tested ...
Detecting Light vs Dark Mode
I used to use GetSysColor_() to check the user's window color, and apply my light or dark GUI colors from there...
In recent Windows (Win 11 tested ...
- Tue Aug 19, 2025 4:51 am
- Forum: Feature Requests and Wishlists
- Topic: Dark mode
- Replies: 20
- Views: 2269
Re: Dark mode
Does any of this help? Microsoft article "Support Dark and Light themes in Win32 apps" from 2024...
https://learn.microsoft.com/en-us/windows/apps/desktop/modernize/ui/apply-windows-themes
It monitors the system colors and performs a basic "is this color dark" check to detect a dark theme.
This is ...
https://learn.microsoft.com/en-us/windows/apps/desktop/modernize/ui/apply-windows-themes
It monitors the system colors and performs a basic "is this color dark" check to detect a dark theme.
This is ...
- Thu Jul 31, 2025 11:27 pm
- Forum: Mac OSX
- Topic: PUREBASIC_HOME
- Replies: 4
- Views: 571
Re: PUREBASIC_HOME
Maybe I'm over-simplifying the situation... but if the PUREBASIC_HOME env var is undefined, I don't know why the compiler and/or IDE doesn't just determine PUREBASIC_HOME from its own executable path ... 
