Thanks to Arren and Olexiy I finaly got it working
On Fri, 11 Mar 2005 09:16:58 +0200, Olexiy Avramchenko
<[EMAIL PROTECTED]> wrote:
> Pier-Luc Charbonneau wrote:
> > static gboolean recalculate_psi_consumption(GtkWidget *widget, gpointer
> > data)
> This is your callback declaration. It takes 2
On Thu, 2005-03-10 at 21:12 -0500, Pier-Luc Charbonneau wrote:
> Hi,
>
> I'm trying to write my first gtk+ app and this snippet isn't working
> (tried on 2 different computer and I tried to upgrade to the latest
> gtk+)
>
> When pressing a key in the entry:
>
> where is psi : 134520912
> where i
Pier-Luc Charbonneau wrote:
static gboolean recalculate_psi_consumption(GtkWidget *widget, gpointer data)
This is your callback declaration. It takes 2 parameters.
g_signal_connect(G_OBJECT(start),"key_press_event",G_CALLBACK(recalculate_psi_consumption),(gpointer)psi);
"key-press-event" signal
Hi,
I'm trying to write my first gtk+ app and this snippet isn't working
(tried on 2 different computer and I tried to upgrade to the latest
gtk+)
When pressing a key in the entry:
where is psi : 134520912
where is data: 135602024
psistart *psi : 514
psistart *data: 8
When pushing the button: