http://www.gtk.org/tutorial/sec-anupgradedhelloworld.html
- From: Gert Cuykens <gert cuykens gmail com>
- To: gtk-app-devel-list gnome org
- Subject: http://www.gtk.org/tutorial/sec-anupgradedhelloworld.html
- Date: Thu, 17 Feb 2005 13:05:43 +0100
static void callback( GtkWidget *widget, gpointer data ){
g_print ("Hello again - %s was pressed\n", (gchar *) data);
}
why do they put () around gchar ?
why can it not be gchar *data ?
What does %s do ?
Are gpointer and gchar global variables of gtk ?
Are gpointer and gchar data types or objects ?
What does gpointer and gchar represent ?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]