Re: [pygtk] gtk+vtk again

2003-09-17 Thread James Henstridge
On 18/09/2003 3:45 AM, Tim Newsham wrote: [In a blast from the past, John Hunter said...] BTW Prabu, the Lueb patch also exposes the hwnd attribute for win32 systems, which I think is the analog of the xid attribute. Hence it should be possible to port the GtkVTKRenderWindow code to win32 with

Re: [pygtk] getting mime information

2003-09-17 Thread Alex Roitman
On Wed, Sep 17, 2003 at 04:56:36PM -0300, Christian Reis wrote: > On Wed, Sep 17, 2003 at 01:41:46PM -0500, Alex Roitman wrote: > > > > I agree that gnome_vfs_mime_get_default_application() is a useful > > function and it's a pity to not have it in gnome-python. I wonder if > > this should be

Re: [pygtk] gtk+vtk again

2003-09-17 Thread John Hunter
> "Tim" == Tim Newsham <[EMAIL PROTECTED]> writes: Tim> I just did. It "mostly" works I have written a gtk render window and render window interactor based on Prabu's original to work with pygkt-1.99.16+ with the Lueb patch and gtkglext. I haven't tested it yet with pygtk-2.0 which inc

Re: [pygtk] getting mime information

2003-09-17 Thread Christian Reis
On Wed, Sep 17, 2003 at 01:41:46PM -0500, Alex Roitman wrote: > On 2003.09.16 13:31, Don Allingham wrote: > >I'm look for a way to determine the default application for a mime > >type. In pygtk-0.6, I was able to use gnome.mime.get_value(), but > >this is not available in 2.0. > > > >The C function

[pygtk] gtk+vtk again

2003-09-17 Thread Tim Newsham
[In a blast from the past, John Hunter said...] > BTW Prabu, the Lueb patch also exposes the hwnd attribute for win32 > systems, which I think is the analog of the xid attribute. Hence it > should be possible to port the GtkVTKRenderWindow code to win32 with > the patched pygtk2. > > Something

[pygtk] getting mime information

2003-09-17 Thread Alex Roitman
On 2003.09.16 13:31, Don Allingham wrote: I'm look for a way to determine the default application for a mime type. In pygtk-0.6, I was able to use gnome.mime.get_value(), but this is not available in 2.0. The C function gnome_vfs_mime_get_default_application() seems to do what I want. Is there a wr

Re: [pygtk] scaling fonts

2003-09-17 Thread John Hunter
> "James" == James Henstridge <[EMAIL PROTECTED]> writes: James> Are you using the core X font backend or the Xft backend? James> What sort of font sizes are causing problems? (an James> approximate figure would be useful). I have been using the XFT backend. On your suggestion, I

Re: [pygtk] scaling fonts

2003-09-17 Thread Christian Reis
On Mon, Sep 15, 2003 at 05:08:52PM -0500, John Hunter wrote: > When I increase the DPI for hardcopy (rendering to a pixmap and then > saving as PNG) I want the fonts to scale with the rest of the lines, > rectangles, arcs, etc > > I tried experimenting with the set_size parameter of the > Font

Re: [pygtk] scaling fonts

2003-09-17 Thread James Henstridge
On 16/09/03 06:08, John Hunter wrote: I am trying to scale my pango fonts with a DPI parameter for my plotting library. I have two parameters, figsize (tuple in inches) and DPI (int) and my figure size is a tuple in pixels given by the product of these, ie, (figsize[0]*dpi, figsize[1]*dpi) When I

Re: [pygtk] libglade.XML.signal_autoconnect() problems

2003-09-17 Thread Christian Reis
On Mon, Sep 15, 2003 at 01:20:59PM +0200, Igor Stroh wrote: > is there any way to find out the signal handler ids for sig.handlers > that were connected to widgets using signal_autoconnect() from > libglade.XML? I didn't think so, and James has confirmed it on IRC. I suggest you: a) File

Re: [pygtk] HTML Widget

2003-09-17 Thread Bernhard . Rumpler
>Hi all, may be it's a newbie question, but is there some html widget?, i need >to show html documents on my app..., some tips? have a look at gtkhtml2, it is wrapped for python in gnome-python. Bernhard ___ pygtk mailing list [EMAIL PROTECTED] http:

[pygtk] HTML Widget

2003-09-17 Thread Fernando San Martin W.
Hi all, may be it's a newbie question, but is there some html widget?, i need to show html documents on my app..., some tips? thanks in advance Fernando San Martín Woernercounter.li.org Jefe Departamento Informática #216550 Galilea S.A. T