Those look like they would make good defaults for that function.  I will
aply that change soon.

As a side note for people who have had troubles with newer versions of
gtk+ (>= 1.1.11 I think) and pygtk, you have to either compile python with
thread support, or run "export LD_PRELOAD=libpthread.so.0" from the shell
before running python.

James Henstridge.

--
Email: [EMAIL PROTECTED]
WWW:   http://www.daa.com.au/~james/


On Mon, 18 Jan 1999, David M. Cook wrote:

> GtkPacker.add() has 10 parameters, so keywords would make it a little easier
> to use.
> 
> def add(self, child, side=SIDE_TOP, anchor=ANCHOR_CENTER, options=0, 
>         border_width=1, pad_x=0, pad_y=0, i_pad_x=0, i_pad_y=0):            
>       _gtk.gtk_packer_add(self._o, child._o, side, anchor, options,
>                         border_width, pad_x, pad_y, i_pad_x, i_pad_y)
>              
> 
> And similarly for some of the other methods.  The defaults are from the Tk
> man pages, so I don't know if they are the right ones for Gtk.  
> 
> Maybe I'm just nostalgic for Tkinter, but I do prefer keywords to positional
> parameters, especially when there are so many to remember.
> 
> Dave
> To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]
> 

To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]

Reply via email to