Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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.