That is to say, using underscores is older fashion and is not canonical.|
It should be recommened using dash in signals name.
David Nečas (Yeti) 写道:
On Wed, May 30, 2007 at 03:32:32PM +0800, Zhibin.Guan wrote:what is the difference between button-press-event and button_press_event??There is no difference, except you should always use the (canonical) name with dashes. You can however often find signal names with underscores in older documentation. Yeti -- http://gwyddion.net/ _______________________________________________ gtk-list mailing list gtk-list gnome org http://mail.gnome.org/mailman/listinfo/gtk-list