(no subject)
- From: jalkadir gosonic ca
- To: "callback" <function gosonic com>, gtk-list gnome org
- Cc:
- Subject: (no subject)
- Date: Thu, 22 Sep 2005 12:48:08 -0000 (UTC)
Hi folks!
I have been racking my brains trying to find informatio about writing a
callback function that receives two parameters one that indicates the type
of icon I want displayed and the other a character string variable that
holds the different messages this callback function will pass to a a
dialogbox.
This is what the callback function looks like, or I think it would look like:
typedef struct{
gchar* str; // Message
GtkWidget* obj; // Icon
}DATA;
void GeneralMsg(DATA&);
void GeneralMsg(DATA& d){
// Create and display a message box with the information in the
DATA variable
.....
}
Is this possible?
TIA
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]