Re: GtkEntry move_cursor signal



On Sunday October 26 2003 15:10 CET, Günther Rapp wrote:
    
  gtk_signal_connect (GTK_OBJECT (entry1), "changed",
    
Big Sorry! Your code is ok. Was tired and oversaw that
GTK_OBJECT is the right cast in this case. No more is
needed. Maybe your c-handler for "move-cursor" emits
also the "move-cuser" signal and calles himself again
and again?
    
And by the way: in Gtk2.x GTK_OBJECT, gtk_signal_connect
etc. is deprecated. So you should begin to learn how to
use g_signal_connect, G_OBJECT and G_CALLBACK instead.
It's nearly the same.
    
Mathew
    



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