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 (41 lines) | stat: -rw-r--r-- 1,222 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
This is the GtkAda Examples Directory. Our goal is to provide the
GtkAda user with some pieces of code that are easy to understand, easy
to modify and to play with.

If you are interested in sharing your own programs with the GtkAda community,
please tune them with the latest GtkAda version and send them with appropriate
documentation (and bug reports) to the authors.

Note that you need to first install GtkAda to use these examples.

Some of the examples are build using the GNAT project files, to demonstrate
how to use them to simply compile and link your application.
See for instance base_widget/ and calendar_combo/

Others are build using the gtkada-config script, on machines where this script
is usable.


1- menu
 
  Demonstrates the use of gate/dgate with a glade project file.
  To test dgate, simply type

    $ dgate menu.glade

  And play with the interface automatically generated.

  To test gate, type

    $ gate menu.glade

  This will generate a set of files. Optionally modify callbacks_menu.adb
  to customize it, then compile and run it:

    $ gnatmake menu `gtkada-config`
    $ menu

2- file

  Demonstrates the file selection GTK widget. Follow the instructions
  explained above for menu.