-
Notifications
You must be signed in to change notification settings - Fork 25
Mac ctypes - very nice work! #40
Comments
I glad you find ctypes awesome :-) True that, they are quite useful and powerful tool. Regarding objective c, the code is not mine. Everything was done by @kennydude. He is the author of all "OSX branch", so probably he will be the most appropriate person to ask about details. |
Thanks @mkiol for your fast reply! I had a blast with ctypes I got it working in windows and linux's (Noitidart/Profilist#18 (comment)) but mac drives me nuts haha! |
Im working on the setApplicationIcon thing for my addon. And im trying to help this user on stackoverflow: http://stackoverflow.com/questions/27377686/firefox-extension-addon-detect-workspace-locked So I'm trying to convert this: http://mxr.mozilla.org/chromium/source/src/chrome/browser/idle_mac.mm#28
So far I got this:
lol please help me help this guy on stackvoerflow i think ill learn a lot in the process :D |
I got it! It works! Long live open source! Thanks for it @mkiol and @kennydude . But I'm not sure if the code is absolutely correct. @kennydude may you please review this code of mine here. It does addObserver of a callback to trigger when the screensaver turns on: For instance I'm not sure if I'm not sure which is the right spot for me to execute Thanks, can copy this code paste to scratchpad and run it will add the observer, then wait till screensaver triggers, then move mouse and u'll see the msg in browser console. To remove observer, blank the same scratchpad you ran the code from and type
|
Thanks very much @mkiol for leaving this open. Closing stuff hurts feelings haha but I understand. Please close this whenever you wish. :) |
so, please, don't take this personal.. I'm closing this issue :-) |
haha thanks man you're real nice guy :D thanks also for trying to get kenny's attention to my topic :) |
Your mac ctypes of objective c is so awesome. I've been struggling a lot with it. I couldn't find any open source examples of it but finally found your repo, its excellent and I can learn a TON from it!! :) Thanks for it!
Just trying my luck here: Would you have time to chat about objc ctypes? I'm trying to get
setApplicationIcon
: https://bugzilla.mozilla.org/show_bug.cgi?id=1108246#c2The text was updated successfully, but these errors were encountered: