Public
Authored by gerald3d

Simple example to use GtkSpreadSheet

This is the first example to use GtkSpreadSheet.

To compile you must specifie -I/usr/lib/GtkSpreadSheet -lGtkSpreadSheet to gcc.

If you want to use autotools addition in your configure.ac :

PKG_CHECK_MODULES([GTK], [gtk+-2.0])
PKG_CHECK_MODULES([GTKSPREADSHEET,[GtkSpreadSheet-1])

Your Makefile.am can look like :

bin_PROGRAMS = test

test_SOURCES = main.c

AM_CFLAGS = -Wall -Wunused -rdynamic ${GTK_CFLAGS} $(GTKSPREADSHEET_CFLAGS)
LDADD =  ${GTK_LIBS} $(GTKSPREADSHEET_LIBS)
Edited
main.c 728 Bytes
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment