Re: [pygtk] pygtk tutorial & gtk colors?

2004-07-20 Thread Christian Robottom Reis
On Wed, Jul 21, 2004 at 09:42:26AM +1000, vector wrote: > widget.modify_bg(state, color) where state = gtk.STATE_INSENSITIVE and > color = ? > where are the colors? I looked but obviously not in the right place http://www.moeraki.com/pygtkreference/pygtk2reference/class-gdkcolor.html Tak

[pygtk] pygtk tutorial & gtk colors?

2004-07-20 Thread vector
hi in the tut on pygtk im currently playing with the background color of a (read only)TextView box. In my python i have set the box to insensitive thus greying it out but on windows(at least) the textviewbox has taken on the same color as the notepad its in. With no text currently placed in the

Re: [pygtk] svg icons

2004-07-20 Thread Dennis Craven
On Tue, 2004-07-20 at 11:32, John Hunter wrote: > Does pygtk support svg icons? If so, what version is required? Does > anyone have a code example? Yes. PyGTK seems to support svg icons very well. All of my custom icons are svg and they are used everywhere (buttons, lists, about, window, etc).

Re: [pygtk] user-controllable treeview column suppression

2004-07-20 Thread Steve McClure
On Tue, 2004-07-20 at 14:47, Doug Quale wrote: > Christian Robottom Reis <[EMAIL PROTECTED]> writes: > > > On Tue, Jul 20, 2004 at 01:57:54PM -0400, Steve McClure wrote: > > > Kiwi has a nice way of doing it. Its CList object has a popup menu on > > > the right click where the user can decide whic

Re: [pygtk] user-controllable treeview column suppression

2004-07-20 Thread Doug Quale
Christian Robottom Reis <[EMAIL PROTECTED]> writes: > On Tue, Jul 20, 2004 at 01:57:54PM -0400, Steve McClure wrote: > > Kiwi has a nice way of doing it. Its CList object has a popup menu on > > the right click where the user can decide which columns to display. > > If only we could make those ch

Re: [pygtk] user-controllable treeview column suppression

2004-07-20 Thread Christian Robottom Reis
On Tue, Jul 20, 2004 at 01:20:38PM -0500, Skip Montanaro wrote: > > Steve> Kiwi has a nice way of doing it. Its CList object has a popup > Steve> menu on the right click where the user can decide which columns > Steve> to display. > > Thanks for the pointer. I installed it but import

Re: [pygtk] user-controllable treeview column suppression

2004-07-20 Thread Skip Montanaro
Steve> Kiwi has a nice way of doing it. Its CList object has a popup Steve> menu on the right click where the user can decide which columns Steve> to display. Thanks for the pointer. I installed it but importing Kiwi failed with an ImportError (no module named libglade). We import g

Re: [pygtk] user-controllable treeview column suppression

2004-07-20 Thread Christian Robottom Reis
On Tue, Jul 20, 2004 at 01:57:54PM -0400, Steve McClure wrote: > Kiwi has a nice way of doing it. Its CList object has a popup menu on > the right click where the user can decide which columns to display. If only we could make those changes transparently persistent. We need "user-cookies" for PyGT

Re: [pygtk] user-controllable treeview column suppression

2004-07-20 Thread Steve McClure
On Tue, 2004-07-20 at 13:37, Skip Montanaro wrote: > >> Is it possible to give users the ability to suppress display of > >> certain columns of a treeview? > > John> Should be able to using gtk.TreeViewColumn.set_visible(): > > John> > http://www.pygtk.org/pygtk2reference/class-g

Re: [pygtk] user-controllable treeview column suppression

2004-07-20 Thread Skip Montanaro
>> Is it possible to give users the ability to suppress display of >> certain columns of a treeview? John> Should be able to using gtk.TreeViewColumn.set_visible(): John> http://www.pygtk.org/pygtk2reference/class-gtktreeviewcolumn.html#method-gtktreeviewcolumn--set-visible Tha

Re: [pygtk] TreeSort and TreeFilter

2004-07-20 Thread Bob McCallister
That solved the problem. It was the order I was creating the models. Thanks for your help. Guilherme Salgado wrote: This is a testcase i was writing to show another problem i was having. It works fine with pygtk2.3.92 and have a sorted and a filtered model. Hope it helps. Guilherme On Tue, 2004-

Re: [pygtk] TreeSort and TreeFilter

2004-07-20 Thread Guilherme Salgado
This is a testcase i was writing to show another problem i was having. It works fine with pygtk2.3.92 and have a sorted and a filtered model. Hope it helps. Guilherme On Tue, 2004-07-20 at 13:40, Bob McCallister wrote: > Is it not possible to have a sorted and filtered treeview? I have tried >

[pygtk] svg icons

2004-07-20 Thread John Hunter
Does pygtk support svg icons? If so, what version is required? Does anyone have a code example? Thanks, John Hunter ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq

Re: [pygtk] TreeSort and TreeFilter

2004-07-20 Thread Johan Dahlin
tis 2004-07-20 klockan 18.40 skrev Bob McCallister: > Is it not possible to have a sorted and filtered treeview? I have tried > a couple of different approaches, but it seems I have to have one or the > other. I'm using pygtk-2.3.93. If I create the filter from the sorted > model, and then tr

Re: [pygtk] user-controllable treeview column suppression

2004-07-20 Thread John Finlay
Skip Montanaro wrote: Is it possible to give users the ability to suppress display of certain columns of a treeview? Perhaps I should be using a table widget instead. (Treeview widgets seem way too complex for fairly simple use, which I suspect is what they are used for 90% of the time.) Thx, S

[pygtk] TreeSort and TreeFilter

2004-07-20 Thread Bob McCallister
Is it not possible to have a sorted and filtered treeview? I have tried a couple of different approaches, but it seems I have to have one or the other. I'm using pygtk-2.3.93. If I create the filter from the sorted model, and then try to sort, I get an assertion error (tree not sortable). I

Re: [pygtk] strange message from FileChooserDialog in CVS pygtk

2004-07-20 Thread Johan Dahlin
> How strange: I have just build from CVS on another machine and still > see the same symptoms. Maybe it's a pserver CVS lagging the real one? Yeah, it can take up to 24 hours. > > I'll probably do a paper bag release with that and a couple of other > > fixes before end of the week. > > Thanks!

Re: [pygtk] strange message from FileChooserDialog in CVS pygtk

2004-07-20 Thread Lorenzo Gil Sanchez
El mar, 20-07-2004 a las 17:17, Alex Roitman escribió: > On 07/20/2004 10:14:09 AM, Johan Dahlin wrote: > > > GtkWarning: Attempting to add a widget with type > > GtkFileChooserDialog > > > to a GnomeApp, but as a GtkBin subclass a GnomeApp can only contain > > one > > > widget at a time; it

Re: [pygtk] strange message from FileChooserDialog in CVS pygtk

2004-07-20 Thread Alex Roitman
On 07/20/2004 10:14:09 AM, Johan Dahlin wrote: > GtkWarning: Attempting to add a widget with type GtkFileChooserDialog > to a GnomeApp, but as a GtkBin subclass a GnomeApp can only contain one > widget at a time; it already contains a widget of type GtkVBox > (gtk.STOCK_CANCEL, Thanks for

Re: [pygtk] strange message from FileChooserDialog in CVS pygtk

2004-07-20 Thread Johan Dahlin
> GtkWarning: Attempting to add a widget with type GtkFileChooserDialog > to a GnomeApp, but as a GtkBin subclass a GnomeApp can only contain one > widget at a time; it already contains a widget of type GtkVBox > (gtk.STOCK_CANCEL, Thanks for reporting, but its fixed in CVS already. I'll p

[pygtk] strange message from FileChooserDialog in CVS pygtk

2004-07-20 Thread Alex Roitman
Hi, Last night I built pygtk and gnome-python from CVS. This resulted in the following message: GtkWarning: Attempting to add a widget with type GtkFileChooserDialog to a GnomeApp, but as a GtkBin subclass a GnomeApp can only contain one widget at a time; it already contains a widget of type

[pygtk] user-controllable treeview column suppression

2004-07-20 Thread Skip Montanaro
Is it possible to give users the ability to suppress display of certain columns of a treeview? Perhaps I should be using a table widget instead. (Treeview widgets seem way too complex for fairly simple use, which I suspect is what they are used for 90% of the time.) Thx, -- Skip Montanaro Got

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

2004-07-20 Thread Cedric Gustin
dave wrote: If there's an easy way to install this on Win32, I'll install it on one of my CANVAS test boxes and run it through its paces... http://www.pcpm.ucl.ac.be/~gustin/win32_ports/binaries/pygtk-2.3.93.win32-py2.3.exe You will need the GTK+-2.4 runtime installer from the gladewin32 project

Re: [pygtk] Drawing an arc on gnome canvas

2004-07-20 Thread Christian Robottom Reis
On Tue, Jul 20, 2004 at 09:30:32AM +0200, Xavier Ordoquy wrote: > On Mon, 2004-07-19 at 18:04 -0400, Eric Newman wrote: > > Hi all, > > Hi > > > Do you know of any way to draw an arc (elliptical or circular) on a gnome > > canvas from python? I've googled around and searched the archives to no >

Re: [pygtk] GtkToolButton vs button in the toolbar

2004-07-20 Thread Christian Robottom Reis
On Mon, Jul 19, 2004 at 10:15:38PM -0500, Alex Roitman wrote: > As can be seen from this diff, previously the toolbar was populated with > the button objects (well, gtk.Button, really :-). Now it is populated with > gtk.ToolButton objects, which are new in pygtk2.4. [...] > I have to emphasize th

[pygtk] [announcement] Blogfish 0.1 released

2004-07-20 Thread David Hugh-Jones
Blogfish 0.1 has been released. http://blogfish.sourceforge.net Blogfish is a Gnome panel applet, written in Python using PyGTK and Gnome-python. It allows you to spread your blog URL, website URL or random thoughts to other users. Good memes survive; bad ones are voted down and go belly up. Ma

[pygtk] API brekage

2004-07-20 Thread Johan Dahlin
I accidentally renamed gobject.MainLoop and gobject.MainContext in the 2.3.93 release. Please do not depend on these names. In CVS HEAD and in the next release they will be use the old compatible names again. -- Johan Dahlin <[EMAIL PROTECTED]> ___ py

Re: [pygtk] Drawing an arc on gnome canvas

2004-07-20 Thread Xavier Ordoquy
On Mon, 2004-07-19 at 18:04 -0400, Eric Newman wrote: > Hi all, Hi > Do you know of any way to draw an arc (elliptical or circular) on a gnome > canvas from python? I've googled around and searched the archives to no > avail. The only solutions I have come up with are drawing the arc in a > pixma