Hi,
I am learning GTK programming. I am using glade to create a UI and
then using GtkBuilder to show it.
When I run my application, it gives number errors regarding signal handlers:
--
Hi,
You shoud not have them static. The symbol is not exported. Otherwise
you need to get the widget from the GtkBuilder and set the signal from
you code and not from the glade file.
Hope this helps,
Jean
Le dimanche 17 janvier 2016 à 20:55 +0530, Jay Aurabind a écrit :
> Hi,
>
> I am learning
On 17 January 2016 at 21:01, Jean Bréfort wrote:
> Hi,
>
> You shoud not have them static. The symbol is not exported. Otherwise
> you need to get the widget from the GtkBuilder and set the signal from
> you code and not from the glade file.
>
> Hope this helps,
> Jean
>
Thank you very much Jean!
Yes, I had something like that and ended with this which I hope may help
you. I was thinking pull the widgets out of the glade file if that
makes sense. Ian
main.cpp
GtkWidget *Battery, *Temp, *Chip_volts; //these are GtkProgressBar
derived from glade.
int
main (int argc, char *argv[])
{
Ouch! I'm certainly not an expert in this area, but since you don't
have any replies yet, I thought I'd help as best I can ...
The error: "Illegal instruction (core dumped)" sounds to me like a
compilation issue. You would get this error, for example, if you
compiled for a target CPU that had inst