On Mon, 2009-05-04 at 11:01 -0500, Oscar Dávila wrote: > Hi again, i tried signal_pressed() but it just do once what i have in > mi function of signal pressed. > and i need something like if my button is pressed do this, then like a > delay and then, my button was released? no, then do the same thing ive > done before, and if it is released just stop.
A timeout or idle signal handler might be what you want: http://www.gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/chapter-chapter-timeouts.html > what im trying is to make a loop inside signal_pressed() and when i > released a button in signal_released() i try to quit of the loop but > the program hangs when i press the button. > > any idea? > > thanks again. -- [email protected] www.murrayc.com www.openismus.com _______________________________________________ gtkmm-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtkmm-list
