Hi, Shiraz Baig <[EMAIL PROTECTED]> writes:
> I want to draw a line when I push a button. I have > written the following code. It draws line thru two > alternative signal commands. > a. Thru the timer function. > b. Thru the push button. > > It works with the timer function. But it does not work > with the push button. you will need a separate function for the button clicked callback since it is called with the GtkButton as first parameter. Alternatively you could use gtk_signal_connect_object() which swaps the parameters. Salut, Sven _______________________________________________ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list