Re: [gtkmm] Time & calling back a function



>anyway see the function http://www.gtk.org/tutorial/ch-timeouts.html , 
>can I find someting like it in Gtkmm ?

     gint 
     Object::method () 
     {
          ... do something ...

          if (i want to be called again) {
	      return TRUE;
          } else {
	      return FALSE;
          }
     }

somewhere else ...

     Gtk::TimeoutSig timeout;

     timeout.connect (slot (objectreference, &Object::method), msecs);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]