You could also create signal handling objects, with whatever state you
like:

class button_handler(string name)
{
   void `()(mixed ... args) {
      /* ... */
   }
}

widget->signal_connect("pressed", button_handler("button 1"));
  • Re:... Lance Dillon
    • ... Marc Dirix
      • ... Lance Dillon
      • ... Martin Bähr
        • ... Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum
          • ... Martin Baehr
            • ... Martin Nilsson (Opera Mini - AFK!) @ Pike (-) developers forum
              • ... Martin Baehr
                • ... Martin Nilsson (Opera Mini - AFK!) @ Pike (-) developers forum
                • ... Martin Baehr
                • ... Martin Nilsson (Opera Mini - AFK!) @ Pike (-) developers forum
                • ... Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum

Reply via email to