RE: A small doubt....

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

 



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@xxxxxxxxx [mailto:gtk-list-admin@xxxxxxxxx] On
Behalf Of Anish Chandran
Sent: Sunday, December 28, 2003 2:16 AM
To: gtk-list@xxxxxxxxx
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@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux