Re: http://www.gtk.org/tutorial/sec-anupgradedhelloworld.html
- From: Hubert Sokołowski <h sokolowski wsisiz edu pl>
- To: Gert Cuykens <gert cuykens gmail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: http://www.gtk.org/tutorial/sec-anupgradedhelloworld.html
- Date: Thu, 17 Feb 2005 13:17:51 +0100
On Thu, 17 Feb 2005 13:05:43 +0100
Gert Cuykens <gert cuykens gmail com> 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 gpointer and gchar global variables of gtk ?
Are gpointer and gchar data types or objects ?
What does gpointer and gchar represent ?
You should learn some more about programming in C before you start
writing GTK apps.
hs
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]