File: README

package info (click to toggle)
libgtkada2 2.8.1-6lenny3
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 13,496 kB
  • ctags: 3,886
  • sloc: ada: 103,189; ansic: 45,411; perl: 5,500; sh: 2,812; makefile: 1,169; xml: 19
file content (12 lines) | stat: -rw-r--r-- 572 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
This directory contains an exemple how to create a widget directly
in Ada.

This should be reserved to users that already know how GtkAda and gtk+
work. We have tried to provide some high level interfaces (this is
much easier to do than in C, even if you still can't do
everything...), but you will have to know and to handle a lot of signals.

The widget we create here is a simple "target" widget, on which the
user can click. If the mouse was on the target, then a signal "bullseye"
(created specially for this widget) is emited, otherwise a signal
"missed" is emited.