RE: A small doubt....
- From: "Tom Liu" <tom liu flextrade com>
- To: "'Anish Chandran'" <anishchandru iamwaiting com>, <gtk-list gnome org>
- Subject: RE: A small doubt....
- Date: Mon, 29 Dec 2003 09:44:19 -0500
Maybe you can try the function
g_signal_connect_swapped (G_OBJECT (button), "clicked",
G_CALLBACK (g_print),g_pointer("hello"));
This is one line solution for your case.
-----Original Message-----
From: gtk-list-admin gnome org [mailto:gtk-list-admin gnome org] On
Behalf Of Anish Chandran
Sent: Sunday, December 28, 2003 2:16 AM
To: gtk-list gnome org
Subject: A small doubt....
Hi...
While i m clicking a button i don't want to go to function....
Rather
i would to exectue only one line... and so me thing like
if(gtk_....(button)
{
g_print ("hello");
}
i dont want to call a GTK_SIGNAL_FUNC
is there any command that will return TRUE when the signal is emitted
some
thing like that
Thank you in advance
Anish Chandran
_____________________________________________
Free email with personality! Over 200 domains!
http://www.MyOwnEmail.com
Looking for friendships,romance and more?
http://www.MyOwnFriends.com
_______________________________________________
gtk-list mailing list
gtk-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]