On Mar 21, 6:54 pm, Peter Hosey <[email protected]> wrote: > On Mar 21, 2011, at 15:48:02, Preston Holmes wrote: > > > would this be hard to add? > > If it doesn't support it because it uses the UDP protocol, then yes; it would > be impossible to add.
Python does support UDP - if we are talking about low level socket IO > > The only way to get click feedback with current Growl is to use the same > Cocoa Distributed Objects method the framework uses. That would be very hard > indeed from the Python bindings, and it certainly wouldn't be cross-platform. No, I wasn't thinking about cross platform. From what little I could tell from a scan of the ObjC code (not fluent), it should be possible to bind a python callback function, to the C callback that is added to the Distributed notification center. But that level of python/C integration is beyond me. > > This won't be possible to do for all Python-compatible platforms until GNTP > support arrives in Growl, and even then, somebody will have to rewrite the > Python bindings to use GNTP. Looks like there is already a Python GNTP library: https://github.com/kfdm/gntp and so just so I understand (because I haven't dove in to this level growldom before), that the current Mac version only supports the older/ original network transports as documented here: http://growl.info/documentation/developer/protocol.php These do not support click notification callbacks, though can be triggered remotely via python: http://www.tannr.com/2010/01/17/sending-growl-messages-over-a-network-with-python/ Growl for Windows established GNTP, which does offer two forms of callbacks: http://www.growlforwindows.com/gfw/help/gntp.aspx#callbacks GNTP support is planned for Mac Growl - is there a timeframe in mind? Did I get all that right? -Preston -- You received this message because you are subscribed to the Google Groups "Growl Discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/growldiscuss?hl=en.
