[pygtk] Re: [DiaCanvas] Affine transformations in Python

2003-07-16 Thread Arjan J. Molenaar
On Tue, 2003-07-15 at 17:16, Martin Soto wrote:
 Hi all!
 
 Is there a simple way to create and manipulate affine transformation
 matrices in Python?  Of course, I could write my own algorithms, but
 it'd be nice to have the basic operations there.  I'm I missing
 something?

Hi,

I remember somebody wrote python bindings for libart once, but I don't
know where they are.

Has some on the pygtk-list an idea?

Thanks,

Arjan

 Thanks,
 
 M. S.

___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/


[pygtk] pygtk interactive console

2003-07-16 Thread Jon Anderson

Hi,

I've seen some similar type consoles, but thought I'd share my creation as 
well.

It's an python interpreter embedded in a gtk.TextView.  Since all code is 
executed from within the gtk.main() loop, you can place and show widgets 
interactively.  Output is color coded, and there is some rudimentary 
completion via ctrl-space, as well has history using the up/down arrows.

The really cool things is that because it's just a simple gtk widget, you 
should be able to drop it into just about any pygtk program, and immediately 
have an embedded interpreter. 

So far, I've only tested it with pygtk2 v1.99.12

http://sinai.sourceforge.net/pygtk-console.py

Jon
___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/


[pygtk] CList background

2003-07-16 Thread Laszlo Monda
Hi List,

My question is fairly general, but I haven't found any information
about it. So, how can I set the background of a CList widget? I don't
mean the background of a row, but the whole widget itself.
I know that CList is deprecated, but the new TreeView widget seems to
be extremely slow for my purposes.

Please CC me, I'm not on the list.

Thanks in advance.

--
Laci

Please sign http://noepatents.org against software patents in Europe!

___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/


Re: [pygtk] range of print with gnomeprint

2003-07-16 Thread Erik Rivera Morales
Hello!!, I'm checking the examples in C and need the function
gnome_print_dialog_construct_range_page of libgnomeprintui, 

but not found this method or function in the gnomeprint module and
reviewed the source of gnome-python/gnomeprint the file printui.defs and
printui.override and I did not find the method.

how to suport this method in the gnomeprint? 
I must modify the file printui.defs and compile?

Thanks again!



El lun, 07 de 07 de 2003 a las 11:02, Gustavo J. A. M. Carneiro
escribió: 
   I don't know the answer to your problem, but here are examples:
 
 http://cvs.gnome.org/bonsai/rview.cgi?cvsroot=/cvs/gnomedir=gnome-python/gnome-python/examples/gnomeprint
 http://cvs.gnome.org/bonsai/rview.cgi?cvsroot=/cvs/gnomedir=libgnomeprintui/examples
  
 
 
 A S?, 2003-07-05 às 01:41, Erik Rivera Morales escreveu:
  Hello!!
  
  hello!  I'm working with gnomeprint and I already can print!! :-) but I
  have a question, as control the range of print?
  
  insert the tab of range to print, this form:
  gnomeprint.ui.Dialog(myjob, title, DIALOG_RANGE)
  
  but do not show the rank of pages
  
  how I do? any idea?? or some example of code!!
  
  thanks
  
  
  ___
  pygtk mailing list   [EMAIL PROTECTED]
  http://www.daa.com.au/mailman/listinfo/pygtk
  Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/



-- 
Erik Rivera Morales (INge)  [EMAIL PROTECTED]
Tel. +52(222)241-21-35 ICQ: 49679817
Clave GPG: 0xF4EFC7D0   - http://www.keyserver.net/
Huella de clave = 160D 1AF4 CE95 0667 0CDE  8930 F0D8 0152 F4EF C7D0
--
Este mensaje se autodestruira en 5 segundos...


signature.asc
Description: PGP signature
___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/


Re: [pygtk] ANNOUNCE: PyGTK 2.0 Reference Manual V1.1

2003-07-16 Thread Tom Cato Amundsen
On Fri, Jul 11, 2003 at 04:26:53PM -0700, John Finlay wrote:
 I've updated the PyGTK 2.0 Reference Manual with the addition of the 
 Pango classes. It's at:
 
 http://www.moeraki.com/pygtkreference/index.html
 
 and a tarball of the html is at:
 
 http://www.moeraki.com/pygtkreference/pygtk2reference.tgz
 

Nice work!
Would you like me to package and upload it to Debian?

Tom Cato
___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/


[pygtk] gpointer in editable.connect(insert_text, self.insert)

2003-07-16 Thread Thomas Hunger
Hi,
I want to connect to the insert_text signal of the editable. My GTK2+docs say:

void
insert_text_handler (GtkEditable *editable,
 const gchar *text,
 gint length,
 gint*position,
 gpointer data)

When I do this in python, the position argument is (print position):
gpointer at 0xbfffe298

How can I retrieve the actual integer value behind this pointer in python?

Thanks a lot
Thomas Hunger
___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/


[pygtk] ANNOUNCE: pyorbit-1.99.5

2003-07-16 Thread James Henstridge
I have uploaded version 1.99.5 of PyORBit.  I am doing this ahead of the
pygtk and gnome-python releases so that there will be a tarball
available that compiles with the ORBit tarballs found in the Gnome 2.3.x
dev releases.
Once ftp.gnome.org has synchronised, you will be able to download it from:
   http://ftp.gnome.org/pub/GNOME/sources/pyorbit/1.99/
It seems to have finished syncing on the Australian mirror though:
   http://public.ftp.planetmirror.com/pub/GNOME/sources/pyorbit/1.99/
The changes in this release include:

   * Work with latest HEAD branch (ORBit2 2.7.x).
   * allow importing of CORBA or PortableServer without first importing
 ORBit.  This gives better compatibility with standard CORBA mapping.
   * None is not a valid string/wstring value.
   * accept strings for sequenceoctet.
James.

--
Email: [EMAIL PROTECTED]
WWW:   http://www.daa.com.au/~james/


___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/


Re: [pygtk] CList background

2003-07-16 Thread Christian Reis
On Fri, Jul 11, 2003 at 02:29:59PM +0200, Laszlo Monda wrote:
 
 My question is fairly general, but I haven't found any information
 about it. So, how can I set the background of a CList widget? I don't
 mean the background of a row, but the whole widget itself.

Does anybody figure out what Lazlo means? The background to *what*? The
header buttons? Or the white space that shows between the rows?

Both can probably be changed by manipulating the style object
associated with the CList, I think.

Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL
___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/