File: README

package info (click to toggle)
libgda5 5.2.10-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 76,168 kB
  • sloc: ansic: 495,319; xml: 10,486; yacc: 5,165; sh: 4,451; makefile: 4,095; php: 1,416; java: 1,300; javascript: 1,298; python: 896; sql: 879; perl: 116
file content (24 lines) | stat: -rw-r--r-- 758 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
LibgdaUI simple example
=======================

Description:
------------

The example in this directory illustrate how to create a simple form using Libgdaui.

It displays a form containing the customers of Libgda's SalesTest database, and for
each customer, displays its ID, its name and the associated sales representative, using
the name of the representative in a combo box rather than the representative's own ID.

The same example.c produces two executables, one for a read-only form (example-ro) and
one for a writeable form (example-rw, depending on the existence of the WRITABLE #define).

Compiling and running:
----------------------

To compile (make sure Libgdaui is installed prior to this):
> make

and to run:
> ./example-ro
> ./example-rw