Signals & Callbacks - Help!!
- From: jalkadir gosonic ca
- To: gtk-list gnome org
- Subject: Signals & Callbacks - Help!!
- Date: Wed, 6 Jul 2005 20:47:54 -0000 (UTC)
I am trying to hook the 'clicked' signal of a button to a callaback
function that receives a std::string value that will be displayed in a
Dialogbox. I have tried this:
callback function
~~~~~~~~~~~~~~~~~
gboolean MessageInfo(std::string& msg){...}
g_signal_connect(GTK_OBJECT(btnCreateAccount), "clicked",
GTK_SIGNAL_FUNC(MessageInfo), NULL);
But this does not work, can anyone help?
TIA
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]