Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm currently writing an app with Quickly where I want to connect to the "preedit-changed" signal of an entry box. While with signals like clicked where you can write a function on_button1_clicked, you can't just do that with preedit-changed because of the dash. Will I have to connect the signal manually, or is there an alternate character to replace the dash with?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

You simply do something like the following to connect to any signal. From working code:

self.event_connect_signal(classchan, 'message-received', self._message_received)
share|improve this answer
    
Thanks, that put me on the right track. –  Hunter VanHorn Aug 29 '12 at 2:38

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.