Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
2Activity
0 of .
Results for:
No results containing your search query
P. 1
pyfltkmanual

pyfltkmanual

Ratings:

5.0

(1)
|Views: 333|Likes:
Published by Rohit Vishal Kumar

More info:

Published by: Rohit Vishal Kumar on Jan 24, 2009
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

09/11/2010

pdf

text

original

 
PyFTLK Manual
Michael SheldonOctober 20, 2005
 
Copyright
This document is licensed under the Creative CommondAttribution-ShareALike 2.5 License.
Examples
All examples in this manual can be downloaded from:http://linux.mikeasoft.com/pyfltk/examples.tar.gz.
Preface
This manual is written in the hope of expanding the usage of PyFLTK(and by extension FLTK), the Fast Light Toolkit bindings for the Pythonprogramming language. It is dedicated to all the hard working PyFTLKand FLTK developers who have put together such an amazing toolkit.As projects work hard to provide low end computer systems for schools,developing countries and computer training centres the development of lightweight software to support these systems becomes increasingly im-portant. PyFLTK makes this task much simpler, reducing the learningcurve to creating such software whilst not sacrificing too much in theway of efficiency.I’m probably woefully unqualified to be writing such a document, any-one more knowledgable than myself is welcome to submit changes towebmaster@mikeasoft.com.This manual is designed to be modular, so it should be possible to skipbetween sections depending on your interest; there’s no need to read thewhole manual from front to back unless you really want to. I shall be as-suming some knowledge of Python and the object oriented programmingmodel.
1
 
Contents
1.1 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51.2 Windows. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51.3 Adding Widgets. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61.4 Callbacks. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71.5 Labels. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81.6 Text Input/Output. . . . . . . . . . . . . . . . . . . . . . . . . . . . 91.7 Styles & Colours. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.1 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122.2 Building A Calculator. . . . . . . . . . . . . . . . . . . . . . . . . . 122.3 OpenGL. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
A.1 Classes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15A.1.1 Fl Adjuster. . . . . . . . . . . . . . . . . . . . . . . . . . . . 15A.1.2 Fl Bitmap. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15A.1.3 Fl BMP Image. . . . . . . . . . . . . . . . . . . . . . . . . . 15A.1.4 Fl Box. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15A.1.5 Fl Browser. . . . . . . . . . . . . . . . . . . . . . . . . . . . 15A.1.6 Fl Browser. . . . . . . . . . . . . . . . . . . . . . . . . . . . 15A.1.7 Fl Button. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15A.1.8 Fl Chart. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15A.1.9 Fl Check Browser. . . . . . . . . . . . . . . . . . . . . . . . 15A.1.10 Fl Check Button. . . . . . . . . . . . . . . . . . . . . . . . . 15A.1.11 Fl Choice. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15A.1.12 Fl Clock. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15A.1.13 Fl Color Chooser. . . . . . . . . . . . . . . . . . . . . . . . . 15A.1.14 Fl Counter. . . . . . . . . . . . . . . . . . . . . . . . . . . . 15A.1.15 Fl Dial. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15A.1.16 Fl Double Window. . . . . . . . . . . . . . . . . . . . . . . . 15A.1.17 Fl End. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15A.1.18 Fl File Browser. . . . . . . . . . . . . . . . . . . . . . . . . . 15A.1.19 Fl File Chooser. . . . . . . . . . . . . . . . . . . . . . . . . . 15A.1.20 Fl File Icon. . . . . . . . . . . . . . . . . . . . . . . . . . . . 15A.1.21 Fl File Input. . . . . . . . . . . . . . . . . . . . . . . . . . . 15A.1.22 Fl Free. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15A.1.23 Fl GIF Images. . . . . . . . . . . . . . . . . . . . . . . . . . 15A.1.24 Fl GI Window. . . . . . . . . . . . . . . . . . . . . . . . . . 152

Activity (2)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->