[pygtk] tree/list widget question

2003-03-01 Thread robert
I have a few problems with the list/tree widgets. Before I forget, here is the version info >python Python 2.2.2 (#1, Jan 15 2003, 01:45:57) [GCC 3.2.1 20021207 (Red Hat Linux 8.0 3.2.1-2)] on linux2 >>> import gtk >>> print gtk.gtk_version (2, 2, 0) My first problem is with creating a ListSt

Re: [pygtk] tree/list widget question

2003-02-25 Thread David M. Cook
On Wed, Feb 26, 2003 at 10:31:54AM +0800, James Henstridge wrote: > Try model = gtk.ListStore(object, *([str]*len(titles))) The Python types will get mapped to the correct Gtk types? (I guess I can check the source...) Dave ___ pygtk mailing list [E

Re: [pygtk] tree/list widget question

2003-02-25 Thread James Henstridge
[EMAIL PROTECTED] wrote: I have a few problems with the list/tree widgets. Before I forget, here is the version info python Python 2.2.2 (#1, Jan 15 2003, 01:45:57) [GCC 3.2.1 20021207 (Red Hat Linux 8.0 3.2.1-2)] on linux2 import gtk print gtk.gtk_version (2, 2, 0) My first

Re: [pygtk] tree/list widget question

2003-02-25 Thread David M. Cook
On Tue, Feb 25, 2003 at 12:21:31PM -0700, [EMAIL PROTECTED] wrote: > >>> print gtk.gtk_version > (2, 2, 0) 2.2.1 has a few more TreeView fixes (e.g. get_cursor works). > args = [gobject.TYPE_PYOBJECT] + ([gobject.TYPE_STRING] * len(titles)) > model = apply( gtk.ListStore, args) model = gtk.List

[pygtk] tree/list widget question

2003-02-25 Thread pygtk.rm
I have a few problems with the list/tree widgets. Before I forget, here is the version info >python Python 2.2.2 (#1, Jan 15 2003, 01:45:57) [GCC 3.2.1 20021207 (Red Hat Linux 8.0 3.2.1-2)] on linux2 >>> import gtk >>> print gtk.gtk_version (2, 2, 0) My first problem is with creating a ListSto

[pygtk] tree/list widget question

2003-02-19 Thread robert
I have a few problems with the list/tree widgets. Plese reply CC'ing me as I am not subscribed to the list. before I forget, here is the version info >python Python 2.2.2 (#1, Jan 15 2003, 01:45:57) [GCC 3.2.1 20021207 (Red Hat Linux 8.0 3.2.1-2)] on linux2 >>> import gtk >>> print gtk.gtk_vers