python - How to access object methods from an instance -


i trying make plugin gtg. though concerns connecting signals in pygtk, problem i'm facing else

through pluginapi, plugins 2 parameters, 1 browser , 1 editor

browser = <taskbrowser object @ 0x33a17d0 (gtg+gtk+browser+browser+taskbrowser @ 0x270dcc0)>  editor = <gtg.gtk.editor.editor.taskeditor instance @ 0x25eaa28> 

variable browser has method 'connect' using connect signal emitted it.
variable editor should have method 'connect' can connect signals emitted editor. when try access - editor.connect('signal' , callback), error - attributeerror: taskeditor instance has no attribute 'connect'

thats when found out browser object , editor instance.

is there way can access object method of taskeditor class via it's instance ?


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -