How to use GTK+ with ada
Anyone can show me some examples, simple, how to use GTK with Ada?
examples, like: 开发者_JS百科How to use Glade with Ada, create an simple window....an simple window, like this:
#include <gtk/gtk.h>
int main(int argc, char *argv[] )
{
GtkWidget *window;
gtk_init (&argc, &argv);
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
gtk_widget_show (window);
gtk_main ();
return 0;
}
And, It's possible to use GtkMM, with ada ?
Thanks...
A few of my favorite GtkAda programs:
- Animation demo
- Linxtris
- Mine Detector
Also, don't overlook the examples
and testgtk
folders of GtkAda itself.
Additional resources:
- GTK+ API Documentation
- Rosetta Code Category: Ada
- Glade
精彩评论