:: Re: [DNG] gcc error: "error: unkno…
Startseite
Nachricht löschen
Nachricht beantworten
Autor: aitor_czr
Datum:  
To: Edward Bartolo
CC: dng@lists.dyne.org
Betreff: Re: [DNG] gcc error: "error: unknown type name,,‘GtkObject’"
Hi Edward,

Here you are the example of the spinner in Gtk3+:

http://gnuinos.org/GtkBuilder/

and you will understand how to use the signal handlers.

The same example in Gtkmm3:

https://gitlab.com/aitor_czr/spinner/blob/master/spinner.cpp

Cheers,

Aitor.

P.D.- I keep asking myself why the spinner works within a chroot jail,
and not outside it.

On 02/12/15 07:57, Edward Bartolo wrote:
> Hi Aitor et al,
>
> I created gtk3 application but have problems connecting events to
> signals using the infamous:
>
> gtk_builder_connect_signals (builder, NULL);
>
> No signals are connected making the application terminate without
> proper cleanup.
> The central part of GUI programming seems to be also the most
> contorted and mysterious part. In Delphi and Lazarus Pascal,
> implementing an event handler is a matter of a few mouse clicks, or at
> most, an assignment of a procedural variable to the component.onclick
> property.
>
> Edward