http://www.purebasic.fr/blog/?p=336
I believe the OSX column contains the older Carbon objects PB used before the migration to Cocoa.
I find that table very useful, could be possible to add a new column with the updated Cocoa objects (NSView, NSControl, etc) PB uses now ? Or maybe make an entirely new updated post ? I just wouldn't remove the Carbon info, even if old.
Thanks.
PB BLOG : What’s behind the PB GUI objects by freak
PB BLOG : What’s behind the PB GUI objects by freak
"Have you tried turning it off and on again ?"
A little PureBasic review
A little PureBasic review
Re: PB BLOG : What’s behind the PB GUI objects by freak
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...
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
Thank you
Can I ask you how did you determine all the objects types ?
Can I ask you how did you determine all the objects types ?
"Have you tried turning it off and on again ?"
A little PureBasic review
A little PureBasic review
Re: PB BLOG : What’s behind the PB GUI objects by freak
For the Cocoa framework on MacOS it's very easy. You can simply "ask" each object for its class name withluis wrote:Can I ask you how did you determine all the objects types ?
Code: Select all
Debug "Class = " + PeekS(CocoaMessage(0, CocoaMessage(0, Object, "className"), "UTF8String"), -1, #PB_UTF8)
http://www.purebasic.fr/english/viewtop ... 71#p391571
Re: PB BLOG : What’s behind the PB GUI objects by freak
Perfect, thank you.
"Have you tried turning it off and on again ?"
A little PureBasic review
A little PureBasic review