2. Disclaimer: This presentation is prepared by trainees of
baabtra as a part of mentoring program. This is not official
document of baabtra –Mentoring Partner
Baabtra-Mentoring Partner is the mentoring division of baabte System Technologies Pvt .
Ltd
4. PyGTK: GTK+ for PythonPyGTK: GTK+ for Python
Python
Python is an object-oriented interpreted programming
language
which is provided with a rich set of modules providing access
to a large number of operating
• System services
• Internet services (such as HTML, XML, FTP, etc.)
• Graphics (including OpenGL, TK, etc.)
• String handling functions
• Mail services (IMAP, SMTP, POP3, etc.)
• Multimedia (audio, JPEG)
• Cryptographic services
5. GTK
GTK (GIMP Toolkit) is a library for
creating graphical user interfaces.
It is licensed using the LGPL license
open software, free software
The GIMP toolkit because it was originally written for
developing the GNU Image Manipulation Program (GIMP)
GTK has now been used in a large number of software projects,
including the GNU Network Object Model Environment project
6. PyGTK: GTK+ for PythonPyGTK: GTK+ for Python
PyGTK lets you to easily create programs with a GUI using thePyGTK lets you to easily create programs with a GUI using the
Python programming languagePython programming language
PyGTK applications are truly multi platform and they're able to run,
unmodified, on Linux, Windows, MacOS X and other platforms.
The underlying GTK+ library provides all kind of visual
elements and utilities for it and, if needed, you can develop
full featured applications .
With the PyGTK binding, you can create advanced graphical layouts so
that your users are able to interact easily with the application, and the API
(the Application Programming Interface) is itself simple and easy to learn.
7. PyGTK is free software, so you can use, modify, distribute
and study it with very few restrictions (LGPL license).
Original autor of PyGTK is James Henstridge
8. Import pygtk
Import gtk
Class Base:
def __init__(self) :
Self.window=gtk.Window()
Self.window.showall()
def main(self):
Gtk.main()
If __name__== “__ main___”:
base=Base()
Base main()
For eg:
10. If this presentation helped you, please visit our
page facebook.com/baabtra and like it.
Thanks in advance.
www.baabtra.com | www.massbaab.com |
www.baabte.com