On Mon, 2006-01-30 at 21:29 +0100, N. Volbers wrote:
> Hello everyone,
> 
> I intended to add rulers to my matplotlib canvas widget, but then I have 
> read in the reference that the ruler widget (and hruler, vruler) is 
> deprecated and will be moved to another package. To which package? 
> Should I use it at all or 

> is there an alternative implementation?

  A few years ago I forked Gtk*Ruler widgets for gnumexp, a scientific
application.  You might (or not) be interested in using it:

http://cvs.sourceforge.net/viewcvs.py/numexp/gnumexp/src/xygraph/nxpruler/

 Features:
  - Python bindings included;
  - Rulers are 'active', you can drag them like a scrollbar;
  - You can also 'stretch' a ruler, to scale the associated view;
  - The scale numbers can be arbitrarily small or large float numbers,
and are displayed in engineering notation (%g format);
  - It has a logarithmic mode.

 If you do use it, you'd have to include it in your package, as I've no
intention of packaging it separately from gnumexp.

  Otherwise, you can continue to use GtkRuler for the time being.  There
is no way for it to disappear before gtk+ 3.0.

  Regards.

-- 
Gustavo J. A. M. Carneiro
<[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
The universe is always one step beyond logic

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to