Andreas Voegele writes:
> I'm currently writing Python bindings for the GtkExtra widget set
> which is available at http://magnet.fsu.edu/~feiguin/gtk/.
>
> Most of the work is done but I have two questions.
>
> 1. The C header file is called gtkextra.h therefore I called the
> Python module gtkextra.py. On non-posix systems this name may conlict
> with GtkExtra.py.
>
> Should I use gtkextra.py or should I use libgtkextra.py?
Does it make sense to turn all this into a Python package? I don't
know if there are enough components, but it would help keep the module
namespace clean.
The structure could be:
gtk/__init__.py # "from core import *" + docstring
gtk/core.py # currently gtk.py
gtk/extra.py
gtk/_gtkmodule.so # yes, this works in a package
gtk/GDK.py
gtk/GTK.py
gtk/...
This *shouldn't* affect code that doesn't use GtkExtra, and it
sounds like that should change anyway. My piddleGTK module will need
to change since I use gdk-level functions, but that's not a big deal.
-Fred
--
Fred L. Drake, Jr. <fdrake at acm.org>
Corporation for National Research Initiatives
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]