Re: gtk_signal_connect is deprecated and should not be used in newly-written code?



hi chen.shengqi ,

you can use,

g_signal_connect ( G_OBJECT( object ),
"sig-name",
G_CALLBACK(callback_func),
(gpointer )data ) ;

ps : no change in the callback function signature.

hope this helps,
regds,
bijoy.

Dear sirs:
   in gtk docs, many functions are deprecated and should not be used in newly-written code.  example: 
gtk_signal_connect ..., what's new function can we use for signal?
  thanks.

?Ù¦?^½ée?Ëfj)b?       b²Ø-?ªiuëÞ?X¬¶       è?ê+?m§ÿæj)`???¢¸??¨¥?©ÿ?+-?wèþdj?]z÷¥?+-




________________________________________________________________________
Want to sell your car? advertise on Yahoo Autos Classifieds. It's Free!!
      visit http://in.autos.yahoo.com



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