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
On Thu, 17 Feb 2005 13:05:43 +0100
Gert Cuykens [EMAIL PROTECTED] wrote:
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
On Thu, 2005-02-17 at 13:05 +0100, Gert Cuykens wrote:
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 ?
gpointer is a void pointer and the call to
On Thu, 2005-02-17 at 13:17 +0100, Hubert Sokoowski wrote:
You should learn some more about programming in C before you start
writing GTK apps.
Or consider using something else, such as Python.
Leandro
___
gtk-app-devel-list mailing list