[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] changing GTK label from callback

From: Holger
Subject: Re: [Bug-gnubg] changing GTK label from callback
Date: Mon, 21 Jul 2003 15:54:27 +0200

At 01:07 19.07.2003 +0200, Olivier Baur wrote:
Le vendredi, 18 juil 2003, à 21:38 Europe/Paris, Holger a écrit :

does anybody know how one can update a GTK label from a signal callback? Just gtk_label_set_text doesn't seem to work.

extern void SetMET( gpointer *p, guint n, GtkWidget *pw ) {

The problem is the prototype of your callback function is incorrect, and should read:

extern void SetMET( GtkWidget *p, guint n )

Ah, thanks. I didn't look at this because the function existed before.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]