[Gimp-developer] Python plugin dev: getting picked color from gimpui.PickButton.color-picked event callback?

2014-02-05 Thread Viet Nguyen
My goal is to write behavior where a click on my special pick button will 1. Modify layer visibility 2. Run the normal pick tool 3. Do something with the picked color I'm trying to do this as a Python plugin so I'm trying to implement this using `gimpui.PickButton` and adding event callbacks for

Re: [Gimp-developer] Python plugin dev: getting picked color from gimpui.PickButton.color-picked event callback?

2014-02-05 Thread Joao S. O. Bueno
You are really trying something very different than what the current GIMP-Python integration is thought of to do: You are using gobject introspection to call functions that up to now have only been called from native-code plug-ins (normally in C), and have no provision to be called from Python or