Search found 152 matches

by mrbungle
Fri Feb 27, 2026 1:00 pm
Forum: Mac OSX
Topic: PB 6.21 - Has GetUserDirectory(#PB_Directory_ProgramData) changed?
Replies: 10
Views: 445

Re: PB 6.21 - Has GetUserDirectory(#PB_Directory_ProgramData) changed?

Sorry, I meant WebKit 2 -- what you use for the WebView gadget. On older versions of macOS SDK, the Web gadget is different from the WebView gadget. One newer versions, they are the same.
by mrbungle
Wed Feb 25, 2026 1:13 pm
Forum: Mac OSX
Topic: PB 6.21 - Has GetUserDirectory(#PB_Directory_ProgramData) changed?
Replies: 10
Views: 445

Re: PB 6.21 - Has GetUserDirectory(#PB_Directory_ProgramData) changed?

Thanks, Fred. This is also true for web gadgets. The new SDK (26.x) will automatically use WebView2
by mrbungle
Tue Feb 24, 2026 1:59 pm
Forum: Mac OSX
Topic: PB 6.21 - Has GetUserDirectory(#PB_Directory_ProgramData) changed?
Replies: 10
Views: 445

Re: PB 6.21 - Has GetUserDirectory(#PB_Directory_ProgramData) changed?

This is OK, the Application Support folder is blessed by macOS to store program data and you don't need permissions to write data there.
by mrbungle
Sun Feb 22, 2026 3:17 pm
Forum: Bugs - Mac OSX
Topic: 6.30 WebGadget and WebViewGadget have a 1px border
Replies: 1
Views: 2643

Re: 6.30 WebGadget and WebViewGadget have a 1px border

Confirmed. This has been the behavior for several versions.
by mrbungle
Sat Feb 21, 2026 3:58 pm
Forum: Mac OSX
Topic: Detecting a portable Mac
Replies: 1
Views: 1772

Detecting a portable Mac

I created this after playing with IOKit to build my own battery monitoring app. Considering that portable Macs far outsell desktop models (85% to 15%) and have additional hardware like TouchID and a battery, this might be useful.

Use cases:

1. Portable Macs have 13" to 16" displays but still have ...
by mrbungle
Wed Feb 11, 2026 9:46 pm
Forum: Tricks 'n' Tips
Topic: Onboarding and Guided Tour Module
Replies: 5
Views: 1021

Re: Onboarding and Guided Tour Module

The image assumes you're using Hgh DPI settings. I also suggest expanding the height of the textgadget() so you can use more of the available space for text. This my first module, so glad it works OK.

Assume it's under GPL, anyone can include it in their programs and is free to modify it how they ...
by mrbungle
Wed Feb 11, 2026 3:38 pm
Forum: Tricks 'n' Tips
Topic: Onboarding and Guided Tour Module
Replies: 5
Views: 1021

Re: Onboarding and Guided Tour Module

I use a Mac so did not test it on Windows, but it uses standard gadgets, so with a little bit of tweaking, it should work correctly! :D
by mrbungle
Wed Feb 11, 2026 2:39 am
Forum: Tricks 'n' Tips
Topic: Onboarding and Guided Tour Module
Replies: 5
Views: 1021

Onboarding and Guided Tour Module

I wrote this for some of my apps. It lets you display an onboarding window that can have multiple steps that you can use to guide first time users on how to use your app or do things like ask for donations.

It is cross-platform. You define each steps using a list element. An example is included ...
by mrbungle
Sat Jan 24, 2026 4:00 pm
Forum: Mac OSX
Topic: OpenWindowedScreen() and alpha transparency
Replies: 3
Views: 7616

Re: OpenWindowedScreen() and alpha transparency

Confirmed on macOS 15.73 (Seqouia)
by mrbungle
Wed Dec 17, 2025 1:56 am
Forum: Bugs - Mac OSX
Topic: No color in string gadget
Replies: 1
Views: 3578

Re: No color in string gadget

Not on Tahoe, but 15.73 with the macOS 26 SDK and see all three gadgets red
by mrbungle
Sun Dec 07, 2025 2:38 pm
Forum: Mac OSX
Topic: Show Emoji picker
Replies: 5
Views: 7024

Re: Show Emoji picker

Looks good, thank you for the addition.
by mrbungle
Wed Dec 03, 2025 5:44 pm
Forum: Coding Questions
Topic: Enable FTS in SQLite
Replies: 2
Views: 572

Re: Enable FTS in SQLite

Great, it might be how I attempted to access it. Good to know.
by mrbungle
Wed Dec 03, 2025 2:49 pm
Forum: Coding Questions
Topic: Enable FTS in SQLite
Replies: 2
Views: 572

Enable FTS in SQLite

Is it possible to use sqlite3's FTS capability in PB? It is not enabled by default and some of my use cases could benefit from it. I'd like a cross-platform example if it is possible to enable it.

Thank you in advance.
by mrbungle
Sat Nov 29, 2025 5:12 pm
Forum: Mac OSX
Topic: Show Emoji picker
Replies: 5
Views: 7024

Show Emoji picker


Procedure ShowEmojiPicker()
Protected NSApp = CocoaMessage(0, 0, "NSApplication sharedApplication")
If NSApp
CocoaMessage(0, NSApp, "orderFrontCharacterPalette:")
EndIf
EndProcedure


If OpenWindow(0, 0, 0, 400, 200, "Emoji Picker", #PB_Window_SystemMenu | #PB_Window_ScreenCentered ...