[gtkada] Gdk.Drawable example
Srinivasan, Rajagopalan (IndSys, SalemVA)
Rajagopalan.Srinivasan at indsys.ge.com
Thu Jan 4 14:05:03 CET 2001
May I suggest a visit to http://alibrowse.sourceforge.net This has a package
called GtkApp that provides a basic framework for GtkAda based applications.
> -----Original Message-----
> From: Vinicius F Arcaro [mailto:varcaro at terra.com.br]
> Sent: Thursday, January 04, 2001 3:38 AM
> To: gtkada at gtkada.eu.org
> Subject: Re: [gtkada] Gdk.Drawable example
>
>
> Emmanuel Briot wrote:
>
> > This is in now way a complete example.
>
> I noticed :)
>
> > It is missing several required things, like a call to
> Gtk.Main.Init to
> > initialize the toolkit, the creation of a main window (like
> > Gtk.Window.Gtk_New), the display of that window
> (Gtk.Widget.Show), and
> > the start of the event loop (Gtk.Main.Main).
>
> I also noticed :)
>
> > Look at other examples to see how to do these things.
> > Draw is a low-level example on how to directly draw in a window. You
> > should look at it only once you know the basics of the rest GtkAda.
>
> The only other example related to drawing is (SCRIBBLE.ADB).
> However, it
> is a very difficult example to understand even if it did not had
> superfluous instructions (as you noticed on my previous post), source
> code turned into commentaries (probably forgotten during development),
> an abuse of the USE clause (makes understanding a guess work) and
> finally things like writing "moo" inside of a circle that adds
> unnecessary complexities (a straight line would be fine).
>
> Considering that the documentation is not at a desirable level, I
> believe you should provide simple and clear working examples.
>
> Regards,
> Vinicius F. Arcaro
>
> _______________________________________________
> gtkada mailing list
> gtkada at gtkada.eu.org
> http://gtkada.eu.org/mailman/listinfo/gtkada
>
More information about the gtkada
mailing list