Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


GtkAda using Glade

GtkAda using Glade

GtkAda using Glade

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.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close