summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorJames Henstridge <james@daa.com.au>2000-03-13 09:14:24 +0000
committerJames Henstridge <jamesh@src.gnome.org>2000-03-13 09:14:24 +0000
commit7e2f6b8cd1370ef7ec7c6f60534e54b2f1ab2cdf (patch)
tree15cf9747d1e7b2a940b603ceff50cdb6e58d5217 /README
parent7e90f276bf64169dcedaf2ffeb3b7b4367902ac1 (diff)
downloadpygtk-7e2f6b8cd1370ef7ec7c6f60534e54b2f1ab2cdf.tar.gz
remove python-1.4 ni stuff, and put in a warning message that you shouldPYGTK_0_6_5GNOME_PYTHON_1_0_52
2000-03-13 James Henstridge <james@daa.com.au> * pyglade/__init__.py: remove python-1.4 ni stuff, and put in a warning message that you should think of switching over to libglade. * pygtk.spec: incremented version number. Code gtk+ dependency into spec file. Made auxillary packages depend on the pygtk package of the same version. * configure.in: incremented version number. Incremented minimum required GTK+ so that when threading is compiled in we don't get problems caused by using old buggy versions of GTK+. * gtkmodule.c (PyGdkWindow_PropertyChange): fixed the 32 bit data part of the case statement correctly this time :) 2000-03-13 James Henstridge <james@daa.com.au> * pygnome/gnome/__init__.py: don't bother with the python-1.4 compatibility stuff -- gnome-python won't work with python-1.4 for other reasons. * configure.in: updated version. Require gtk+ >= 1.2.6 for same reasons pygtk requires it. * gnome-python.spec: incremented version numbers. Add requires headers for gtk+ and gnome-libs so people don't annoy me with problems caused by old versions. Also, require the matching version of pygtk. Also, make pygnome-libglade require pygnome. * pygnome/gettext.py (Catalog.__init__): check for msb encoded catalogs as well.
Diffstat (limited to 'README')
-rw-r--r--README34
1 files changed, 17 insertions, 17 deletions
diff --git a/README b/README
index 12a383da..773a1bab 100644
--- a/README
+++ b/README
@@ -22,8 +22,8 @@ New Versions
============
New versions of this package can be found at:
- ftp://ftp.daa.com.au/pub/james/python/
ftp://ftp.gtk.org/pub/gtk/python/
+ ftp://ftp.daa.com.au/pub/james/python/
ftp://ftp.python.org/pub/contrib/Graphics/
@@ -49,7 +49,7 @@ Compilation
This archive contains a single C module called gtkmodule. It contains
an almost direct mapping of the functions in GTK including GTK signal
handling, and the gtk_object_new/gtk_object_set commands. This
-version REQUIRES gtk+-1.2.1 or later, as it includes support for
+version REQUIRES gtk+-1.2.6 or later, as it includes support for
features not found in previous versions, and there are
incompatibilities between versions. Also if you want the GdkImlib
extension, you must have Imlib version 1.8 or greater. I recommend
@@ -68,12 +68,10 @@ should generate the Makefile from the file Makefile.in.
Now you should be able to run "make" to compile the module. Now you
should install the files. I have provided an install target to the
-makefile, so you should be able to just type "make install". On
-systems with Python 1.5 and later, it installs to the site-packages
-directory (using prefix and exec_prefix where appropriate). For
-Python 1.4, it installs the python code to $(prefix)/lib/python$(version),
-and the libraries to $(excec_prefix)/lib/python$(version)/sharedmodules.
-It also compiles .pyc files from the python code.
+makefile, so you should be able to just type "make install". It
+installs to the site-packages directory (using prefix and exec_prefix
+where appropriate). It also compiles .pyc and .pyo files from the
+python code.
If you had a copy of gdk_imlib installed on your system (and configure
could find it) when you built pygtk, a wrapper for it will have been
@@ -89,7 +87,7 @@ is about.
Upgrading
=========
-Note that from version 0.5.0 up, pygtk uses GTK >= 1.1. Since there
+Note that from version 0.5.0 up, pygtk uses GTK >= 1.2. Since there
were some changes to the API, pygtk has changed accordingly. The main
one that will cause problems is the GtkAcceleratorTable. In this
version, it has been removed and replaced with the GtkAccelGroup.
@@ -126,8 +124,13 @@ enough, after building gtkmodule)
_gtkmodule and GTK.py
====================
+Using the non object oriented interfaces of pygtk is not really
+supported and the interfaces will disapear with the 0.7.x series, as I
+am switching over to using ExtensionClass, so the C wrappers will be
+object oriented without the python class wrappers.
+
This module contains an almost complete translation of the functions
-in the gtk library. To start up, put in the command "from gtk import
+in the gtk library. To start up, put in the command "from _gtk import
*". If you want to use any of the constants, type "from GTK import
*". The constants all have the "GTK_" removed from the start. Before
creating any GtkObjects, you should execute the command "gtk_init()".
@@ -201,11 +204,8 @@ python, read the file MAPPING that is distributed with this package.
Should I Use _gtkmodule or gtk.py?
===================================
-The gtk.py module allows faster prototyping of interfaces, and is easy
-to convert to C. It also uses object oriented ideas familiar to most
-Python users. On the other hand, if you want something as close to C
-as possible, go with _gtkmodule.
-
+For any new programs, use the interfaces in gtk.py. The function
+based interface will be disapearing in a later release.
Contacting the Author
=====================
@@ -213,6 +213,6 @@ Contacting the Author
You can contact me at the email address <james@daa.com.au>. I try to
answer my email quickly, but occasionally there will be a bit of a
delay. If you have an idea for a way to extend GTK, have found a
-problem with the code (I don't think there are many bugs anymore), or
-would like to contribute some code, please feel free to contact me.
+problem with the code, or would like to contribute some code, please
+feel free to contact me.