-Original Message-
Date: Mon, 5 Jun 2006 15:47:36 +0200
Subject: Re: Strange Callback Behavior
From: Tristan Van Berkom
To: Peter Robinson
Peter Robinson wrote:
[...]
>
> void open_data_file(gpointer callback_data, guint callback_action,
GtkWidget *widget) {
> GtkWidg
Peter Robinson wrote:
[...]
void open_data_file(gpointer callback_data, guint callback_action, GtkWidget
*widget) {
GtkWidget *filew;
[...]
g_signal_connect (G_OBJECT (GTK_FILE_SELECTION (filew)->ok_button),
"clicked",
G_CALLBACK (data_file_ok_sel),
Dear GTK'lers,
I think I must have misunderstood something about the use of callback functions
in GTK, but despite some amount of testing, I cannot get to the bottom of it.
My goal is to have a label on the GUI be changed after a user chooses a file.
To do this, I define a struct
struct men