File: README.examples

package info (click to toggle)
pigtk 1.1.3-3
  • links: PTS
  • area: main
  • in suites: potato
  • size: 1,248 kB
  • ctags: 104
  • sloc: ansic: 1,087; sh: 152; makefile: 121
file content (26 lines) | stat: -rw-r--r-- 797 bytes parent folder | download
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
To get you started with PiGTK there are some examples included. There
is acctually comments in the code, so it should be quite
understandable.

/examples/simple_menu.pike:
	A plain menu. Automaticly saves accellerators in the file 
	simple_menu_shortcuts when the user changes them.

/examples/imageview.pike
	An image viewer. Renders GIF- and PNG-images with alpha
	channels as shaped windows.

	Try "./imageview.pike pics/gtk-logo-white.gif" for an example.

/examples/gcolor.pike
	Displays a color selector. Shows the corresponding #RGB value
	and Pike-mapping for the selected color.

/examples/low_level/pxsetroot
	A replacement for the normal xsetroot with extra bells and
	whistles.

	Try "./pxsetroot" for help.

/examples/low_level/psnow/psnow.pike
	Perfect for christmas. Use the source.