Unable to bind the function with widget

ANKUR AGGARWAL coolankur2006 at gmail.com
Fri Nov 16 18:53:15 UTC 2012


Hey

I am a newbie to ubuntu app  development. Was learning the tutorial of
creating the first ubuntu app (John bacon's video) and got stuck somewhere
in the middle. I am unable to bind a function to the button. I am getting
warning message as

bin/firstapplication:72: RuntimeWarning: missing handler
'on_refreshButton_clicked'
  self.builder.connect_signals(self)


I want to bind my refresh button named as 'refreshButton' with this
function

def on_refreshButton_clicked(self,widget):
         print "refresh"


when I run the code using quickly and press on the button I am getting the
upper warning message. Searched the web for the same but I am unable to
find a solution. Please help me out in this.


Thanks & Regards
Ankur Aggarwal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-app-devel/attachments/20121117/f5739399/attachment.html>


More information about the Ubuntu-app-devel mailing list