Page 1 of 1
Re: PB BLOG : What’s behind the PB GUI objects by freak
Posted: Mon Dec 02, 2013 7:32 pm
by Shardik
I have taken the html source of the table in the blog post and added the information for OS X with the Cocoa framework:
If Fred or freak are interested in posting the modified table in their blog (and perhaps correcting possible wrong entries) they should send me a PM...

Re: PB BLOG : What’s behind the PB GUI objects by freak
Posted: Mon Dec 02, 2013 9:28 pm
by luis
Thank you
Can I ask you how did you determine all the objects types ?
Re: PB BLOG : What’s behind the PB GUI objects by freak
Posted: Mon Dec 02, 2013 11:13 pm
by Shardik
luis wrote:Can I ask you how did you determine all the objects types ?
For the Cocoa framework on MacOS it's very easy. You can simply "ask" each object for its class name with
Code: Select all
Debug "Class = " + PeekS(CocoaMessage(0, CocoaMessage(0, Object, "className"), "UTF8String"), -1, #PB_UTF8)
And cocoa framework master wilbert has already demonstrated how to find out the chain of all inherited objects of a gadget:
http://www.purebasic.fr/english/viewtop ... 71#p391571
Re: PB BLOG : What’s behind the PB GUI objects by freak
Posted: Tue Dec 03, 2013 12:12 am
by luis
Perfect, thank you.
Re: PB BLOG : What’s behind the PB GUI objects by freak
Posted: Thu May 23, 2019 12:23 pm
by RSBasic
@freak & @Fred
Can you update the list?
https://www.purebasic.fr/blog/?p=336
Thank you
