Re: [pygtk] floating point precision

2011-03-07 Thread Saeed Rasooli
http://faq.pygtk.org/index.py?req=show&file=faq13.024.htp ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/

Re: [pygtk] floating point precision

2011-03-07 Thread Saeed Rasooli
But the cleaner way is using: gtk.TreeViewColumn.set_cell_data_func http://www.moeraki.com/pygtktutorial/pygtk2reference/class-gtktreeviewcolumn.html#method-gtktreeviewcolumn--set-cell-data-func ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com

Re: [pygtk] floating point precision

2011-03-07 Thread Tim Evans
On 2011-03-08 07:30, Timo wrote: On 26-02-11 21:13, Johann Schatzer wrote: Using TreeStore with "float" column, e.g. self.treestore = gtk.TreeStore(float) the widget shows floating point numbers with a precision of 6 digits, like 34.234566 or 22.00 How can you get a precision of only 1 or

Re: [pygtk] What happened to PyGTK website?

2011-03-07 Thread Timo
On 28-02-11 16:07, Karthikeyan wrote: What happened to PyGTK website : http://pygtk.org ? When I open it, I see a Drupal page. Works fine here. Try clearing your cache, cookies etc. Cheers, Timo ___ pygtk mailing list pygtk@daa.com.au http://www.

Re: [pygtk] floating point precision

2011-03-07 Thread Timo
On 26-02-11 21:13, Johann Schatzer wrote: Using TreeStore with "float" column, e.g. self.treestore = gtk.TreeStore(float) the widget shows floating point numbers with a precision of 6 digits, like 34.234566 or 22.00 How can you get a precision of only 1 or 2 digits, like 34.23 or 22.0 ? I

[pygtk] What happened to PyGTK website?

2011-03-07 Thread Karthikeyan
What happened to PyGTK website : http://pygtk.org ? When I open it, I see a Drupal page. ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/

Re: [pygtk] Help with installation of PyGTK

2011-03-07 Thread weazzle
The keyword win32 in the package name indicates that this is a 32-bit windows application: > > I'm using pygtk-all-in-one-2.22.6.win32-py2.6.msi to install PyGTK on On Feb 23, 3:29 am, Kurt Underhay wrote: > Hi Dieter > > Thanks for the response. The issue is exactly as you describe - I had > ins

[pygtk] floating point precision

2011-03-07 Thread Johann Schatzer
Using TreeStore with "float" column, e.g. self.treestore = gtk.TreeStore(float) the widget shows floating point numbers with a precision of 6 digits, like 34.234566 or 22.00 How can you get a precision of only 1 or 2 digits, like 34.23 or 22.0 ? -- Johann Schatzer PGP key: 0x4212C694 __

Re: [pygtk] Using pyGtk under windows application

2011-03-07 Thread Matteo Boscolo
Hi Arjan, Il 05/03/2011 22:11, Arjan Molenaar ha scritto: Hi, Okay, so you want to run a gtk app inside a non-gtk app (the fax application does not use gtk, right?). Right. it's a windows mfc application. First question that comes to mind is: why? Doesn't the application have a GUI libr

Re: [pygtk] On figuring out what to do with the nautilus-python bindings

2011-03-07 Thread Tomeu Vizoso
On Fri, Mar 4, 2011 at 21:53, Adam Plumb wrote: > I'm the developer for nautilus-python, the python bindings for the > nautilus extension framework.  I'm having trouble figuring out where > to begin with porting the bindings from PyGTK to PyGI. Hi, I suggest that you look at how gedit, totem and

Re: [pygtk] gtk/pygobject api question

2011-03-07 Thread Tomeu Vizoso
On Fri, Mar 4, 2011 at 21:38, Andrew Steele wrote: > You can still specify arguments at construction time, e.g. sizegroup = > Gtk.SizeGroup(mode=Gtk.SizeGroupMode.BOTH). The important thing to remember > is to 'name' the argument with 'mode='. > > As for you're other questions, I'd be interested t