Gary
2011-05-17 23:58:43 UTC
I am evaluating Ada for a GUI app using GtkAda/Glade. I have the
latest version of Ada from AdaCore. I've had no problem getting small
example apps to work with and without Glade. What I am having a
problem with is setting up signals through Glade. I simply want to set
up the "delete" event for the main window so "gtk_main_quit" will be
executed. Exactly how do I do that? I have many years of programming
experience with many languages, but I am fairly new to Ada... although
it should just be a matter of working with it a bit to get comfortable
with it. The same goes for GTK+. I have experimented with it using C,
FreePascal, and FreeBasic... so I am familiar with the concept if not
the practice. I'm just not clear on how to set up signals with Glade.
I know you use the properties panel under the "signals" tab, but I
don't know what to put in the various fields.
latest version of Ada from AdaCore. I've had no problem getting small
example apps to work with and without Glade. What I am having a
problem with is setting up signals through Glade. I simply want to set
up the "delete" event for the main window so "gtk_main_quit" will be
executed. Exactly how do I do that? I have many years of programming
experience with many languages, but I am fairly new to Ada... although
it should just be a matter of working with it a bit to get comfortable
with it. The same goes for GTK+. I have experimented with it using C,
FreePascal, and FreeBasic... so I am familiar with the concept if not
the practice. I'm just not clear on how to set up signals with Glade.
I know you use the properties panel under the "signals" tab, but I
don't know what to put in the various fields.