Re: [Matplotlib-users] X11 Window information for plots

2011-01-19 Thread Benjamin Root
On Wed, Jan 19, 2011 at 10:20 AM, todd rme wrote: > On Wed, Jan 19, 2011 at 10:22 AM, Benjamin Root wrote: > > > > > > On Wed, Jan 19, 2011 at 4:48 AM, Jochen Deibele > > wrote: > >> > >> Hi! > >> > >> todd rme wrote on 19.01.2011 04:40: > >> > The class, on the other hand, seems to be an appl

Re: [Matplotlib-users] X11 Window information for plots

2011-01-19 Thread todd rme
On Wed, Jan 19, 2011 at 10:22 AM, Benjamin Root wrote: > > > On Wed, Jan 19, 2011 at 4:48 AM, Jochen Deibele > wrote: >> >> Hi! >> >> todd rme wrote on 19.01.2011 04:40: >>  > The class, on the other hand, seems to be an application-specific >>  > description of what the role is within the applic

Re: [Matplotlib-users] X11 Window information for plots

2011-01-19 Thread Benjamin Root
On Wed, Jan 19, 2011 at 4:48 AM, Jochen Deibele wrote: > Hi! > > todd rme wrote on 19.01.2011 04:40: > > The class, on the other hand, seems to be an application-specific > > description of what the role is within the application. I think this > > should probably be "figure". > > Just an idea:

Re: [Matplotlib-users] X11 Window information for plots

2011-01-19 Thread Jochen Deibele
Ryan May wrote on 19.01.2011 16:00: > On Wed, Jan 19, 2011 at 4:48 AM, Jochen Deibele > wrote: >> todd rme wrote on 19.01.2011 04:40: >> > The class, on the other hand, seems to be an application-specific >> > description of what the role is within the application. I think this >> > sh

Re: [Matplotlib-users] X11 Window information for plots

2011-01-19 Thread Ryan May
On Wed, Jan 19, 2011 at 4:48 AM, Jochen Deibele wrote: > todd rme wrote on 19.01.2011 04:40: >  > The class, on the other hand, seems to be an application-specific >  > description of what the role is within the application.  I think this >  > should probably be "figure". > > Just an idea: What ab

Re: [Matplotlib-users] X11 Window information for plots

2011-01-19 Thread Jochen Deibele
Hi! todd rme wrote on 19.01.2011 04:40: > The class, on the other hand, seems to be an application-specific > description of what the role is within the application. I think this > should probably be "figure". Just an idea: What about exposing this (or maybe all) of the values in the api to

Re: [Matplotlib-users] X11 Window information for plots

2011-01-18 Thread todd rme
On Tue, Jan 18, 2011 at 8:58 PM, Benjamin Root wrote: > On Tuesday, January 18, 2011, todd rme wrote: >> I think I've found it.  But now I need to know what the values should >> be.  I assume the application name should be "matplotlib" (no quotes, >> with no capitalization).  What about the windo

Re: [Matplotlib-users] X11 Window information for plots

2011-01-18 Thread Benjamin Root
On Tuesday, January 18, 2011, todd rme wrote: > I think I've found it.  But now I need to know what the values should > be.  I assume the application name should be "matplotlib" (no quotes, > with no capitalization).  What about the window role?  I am think > either "figure" or "plot" would be goo

Re: [Matplotlib-users] X11 Window information for plots

2011-01-18 Thread todd rme
I think I've found it. But now I need to know what the values should be. I assume the application name should be "matplotlib" (no quotes, with no capitalization). What about the window role? I am think either "figure" or "plot" would be good, probably the former (once again without quotes and w

Re: [Matplotlib-users] X11 Window information for plots

2011-01-18 Thread todd rme
Maybe, I am not that familiar with X11 programming. Do you happen to know which source files I should change? -Todd On Tue, Jan 18, 2011 at 8:39 AM, Michael Droettboom wrote: > You're right -- matplotlib doesn't set any of these attributes.  Fixing > this problem would involve adding a few line

Re: [Matplotlib-users] X11 Window information for plots

2011-01-18 Thread Michael Droettboom
You're right -- matplotlib doesn't set any of these attributes. Fixing this problem would involve adding a few lines of code to set them in each GUI backend (since each GUI toolkit, gtk, qt, tk etc. presumably handles them differently). Is this something you'd be interested in providing a pat

[Matplotlib-users] X11 Window information for plots

2011-01-15 Thread todd rme
On X11 systems, windows generally provide information about themselves to the system. These include things like the window title, window class, window role, and window type. These allow window managers to properly handle the windows, and in some window managers (like KDE's kwin), lets you set rul