Hi, "jacky618 jacky618" <hhd618@xxxxxxxxxxx> writes: > I hope when the check menu item was selected, it will print "***###" > immediately,and "***@@@" when unselected. However, it can not print > immediately after the menu item was clicked.And until the main window > was closed, the strings will appear. With regards, stdout is by default buffered, you need to flush it if you want to see the output immidiately. Sven _______________________________________________ gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list