Re: [pygtk] Restoring Window Positions

2004-08-02 Thread Paul Dickson
On Mon, 2 Aug 2004 11:18:06 -0300, Christian Robottom Reis wrote: > On Fri, Jul 30, 2004 at 10:09:43AM +0200, Martin Grimme wrote: > > > Is there a replacement for .set_uposition() that isn't deprecated? Or > > > failing that, another way to restore the window's position? > > > > I think gtk.Win

Re: [pygtk] rc_parse() not working after update to gtk2

2004-08-02 Thread Gustavo J. A. M. Carneiro
A Seg, 2004-08-02 às 15:19, Christian Robottom Reis escreveu: > On Thu, Jul 29, 2004 at 04:05:14PM +0200, Marco Mariani wrote: > > the upgrade of my app from gtk 1.2 (pygtk 0.6.9) to 2.0.0 (2.0.0) is > > going well, but I am not able to change the styles: basically, even the > > simplest rc file is

Re: [pygtk] inconsistency in treeview dnd behaviour in a certain case

2004-08-02 Thread Doug Quale
John Finlay <[EMAIL PROTECTED]> writes: > GTK+ returns FALSE from the underlying > gtk_tree_view_get_dest_row_at_pos() call in this circumstance. PyGTK > turns this into a None since no other information is available. > For get_drag_dest_row() the return value from GTK+ is a NULL path > which is t

Re: [pygtk] creating signals outside __init__()?

2004-08-02 Thread Skip Montanaro
Gustavo> The code above should work (at least used to work for me), Gustavo> except that you need to call gobject.type_register(SomeClass) Gustavo> right after the class definition. Thanks, I'll give that a whirl. Skip ___ pygtk mailing lis

Re: [pygtk] creating signals outside __init__()?

2004-08-02 Thread Gustavo J. A. M. Carneiro
A Seg, 2004-08-02 às 17:26, Skip Montanaro escreveu: > Code that predates my presence on the current project I work on is littered > with stuff like this: > > class SomeClass(gobject.GObject): > my_signal = -1 > > def __init__(self, underlying_symbol): > if SomeCla

[pygtk] creating signals outside __init__()?

2004-08-02 Thread Skip Montanaro
Code that predates my presence on the current project I work on is littered with stuff like this: class SomeClass(gobject.GObject): my_signal = -1 def __init__(self, underlying_symbol): if SomeClass.my_signal < 0: SomeClass.my_signal = gobject.sign

Re: [pygtk] inconsistency in treeview dnd behaviour in a certain case

2004-08-02 Thread John Finlay
Abel Daniel wrote: I have a 'feature' I discovered and can't decide whether to file a bug, or a faq entry or what. Make a TreeView which has some rows, but there is space at the end where there are no rows (i.e. the window/scrolledwindow is bigger than the TreeView). Enable drag&drop. Drag a row so

[pygtk] Gnome-Python 2.0.3 Release Candidate 1

2004-08-02 Thread Gustavo J. A. M. Carneiro
Gnome-Python 2.0.3 will be a bugfix release for the gnome platform 2.4. I'd appreciate if someone could do some testing on a gnome 2.4 installation. It works too in 2.6, but we really need testing in 2.4. Please report any bugs to bugzilla.gnome.org, product gnome-python. And keep in mind t

Re: [pygtk] rc_parse() not working after update to gtk2

2004-08-02 Thread Christian Robottom Reis
On Thu, Jul 29, 2004 at 04:05:14PM +0200, Marco Mariani wrote: > the upgrade of my app from gtk 1.2 (pygtk 0.6.9) to 2.0.0 (2.0.0) is > going well, but I am not able to change the styles: basically, even the > simplest rc file is ignored, both fonts and colors. This really isn't a PyGTK issue. It

Re: [pygtk] Restoring Window Positions

2004-08-02 Thread Christian Robottom Reis
On Fri, Jul 30, 2004 at 10:09:43AM +0200, Martin Grimme wrote: > > Is there a replacement for .set_uposition() that isn't deprecated? Or > > failing that, another way to restore the window's position? > > I think gtk.Window.move(x, y) is excactly what you want. Added as an item to FAQ 2.3:

[pygtk] ANNOUNCE: Gazpacho 0.3.0

2004-08-02 Thread Lorenzo Gil Sanchez
I am pleased to announce version 0.3.0 of Gazpacho, a GUI builder for the GTK+ library. What's new since 0.2.1? - UI Manager editor support (You can edit menubar and toolbars) - Main script changes so you can run it without installing it - Support for gladewin GTK+ 2.4 runtime in Windows.

[pygtk] Re: ANNOUNCE: PyGTK 2.3.94 (unstable)

2004-08-02 Thread Johan Dahlin
mån 2004-08-02 klockan 13.25 skrev Johan Dahlin: > I am pleased to announce version 2.3.94 of the Python bindings for GTK. ^^ > The new release is available from ftp.gnome.org as and its mirrors > as soon as its synced correctly: > > http://ftp.gnome.o

[pygtk] ANNOUNCE: PyGTK 2.3.94 (unstable)

2004-08-02 Thread Johan Dahlin
I am pleased to announce version 2.3.94 of the Python bindings for GTK. The new release is available from ftp.gnome.org as and its mirrors as soon as its synced correctly: http://ftp.gnome.org/pub/GNOME/sources/pygtk/2.3/pygtk-2.3.94.tar.gz It might take a while, so you can use current CVS

Re: [pygtk] Help: Problem with pygtk + py2exe

2004-08-02 Thread Cedric Gustin
Jon Doda wrote: I'm trying to use py2exe on a small program written with pygtk. The program was developed on a Slackware system using python 2.3.4, pygtk 2.2.0, gtk+ 2.4.4 and glade 2.6.0. It runs fine on windows when python, gtk+ and pygtk are installed, but py2exe doesn't work. When I run "set