:> Message: 3
:> Date: Fri, 19 Nov 2004 02:01:18 +0100
:> From: David Gil Oliva <[EMAIL PROTECTED]>
:> Subject: [pygtk] GenericCellRenderer shows text vertically
:> To: [EMAIL PROTECTED]
:> Message-ID: <[EMAIL PROTECTED]>
:> Content-Type: text/plain; charset=US-ASCII
:>
:> Hello!
:>
:> I have fou
Version 2.5.0 of the PyGTK Reference Manual is available at:
http://www.pygtk.org/pygtk2reference/index.html
and tarballs at:
http://www.pygtk.org/dist/pygtk2reference.tgz
http://www.pygtk.org/dist/pygtk2reference.tbz2
In addition to many bug fixes from Rafael Villar Burke, Antoon Pardon,
Christia
Doug Quale wrote:
Chris Lambacher <[EMAIL PROTECTED]> writes:
if iter does not override the __nonzero__ method from object, the
while loop will always evaluate iter as true. The documenation says
that listtstore.remove sets iter to the next valid row so the original
unless it is the last row in
Chris Lambacher <[EMAIL PROTECTED]> writes:
> if iter does not override the __nonzero__ method from object, the
> while loop will always evaluate iter as true. The documenation says
> that listtstore.remove sets iter to the next valid row so the original
> unless it is the last row in which case
:> Message: 10
:> Date: Thu, 18 Nov 2004 11:12:48 -0500
:> From: Chris Lambacher <[EMAIL PROTECTED]>
:> Subject: [pygtk] Is there an automated way to create
:> IconSources/IconSets/IconFactories ?
:> To: pygtklist <[EMAIL PROTECTED]>
:> Message-ID: <[EMAIL PROTECTED]>
:> Content-Type: text/pla
if iter does not override the __nonzero__ method from object, the
while loop will always evaluate iter as true. The documenation says
that listtstore.remove sets iter to the next valid row so the original
unless it is the last row in which case the iter is invalidated. so
the while loop needs to
Stuart Hughes <[EMAIL PROTECTED]> writes:
> I'm reading data from a file into a gtk.ListStore. Sometimes the
> number of rows in the file can reduce, so I want to be able to refresh
> the valid rows, and delete the remaining invalid rows so they don't
> show up.
>
> After refreshing the valid ro
Nigel Tao <[EMAIL PROTECTED]> writes:
> I have a GtkDialog for which I want to:
> dialog.set_icon(gtk.image_new_from_stock(gtk.STOCK_FIND,
> gtk.ICON_SIZE_MENU).get_pixbuf())
>
> but I get the following error:
> ValueError: image should be a GdkPixbuf or empty
>
> Indeed, the PyGTK docs ( http:/
For more examples, at least under the Fedora Core release, check out:
/usr/share/doc/pygtk2-2.4.0/examples/pygtk-demo
A script there shows off lots of pygtk functionality, including font and scale manipulation.
Steven.
Take care
On Thu, 2004-11-18 at 12:45 -0200, Christian Robottom
I'm loading PNG files for use in several different widgets, GtkCList and
GtkCTree columns, a few GtkButtons and GtkPixmaps. I'm using
gdkpixbuf.new_from_file(), render_pixmap_and_mask() and scale_simple().
However, some of my PNGs have transparency and it seems the GtkPixmap
only supports an alpha
Is there a way to make glade use an stock icon that I have added via
IconFactory? It seems to only recognise icons in its drop down as
stock icons, anything else it wants to make be an icon file.
-Chris
--
Christopher Lambacher
[EMAIL PROTECTED]
___
py
Qui, 2004-11-18 às 16:06 +, Stuart Hughes escreveu:
> Hi everyone,
>
> I'm reading data from a file into a gtk.ListStore. Sometimes the number
> of rows in the file can reduce, so I want to be able to refresh the
> valid rows, and delete the remaining invalid rows so they don't show up.
>
how about
while self.lstore.iter_is_valid(iter):
self.lstore.remove(iter)
-Chris
On Thu, 18 Nov 2004 16:06:26 +, Stuart Hughes <[EMAIL PROTECTED]> wrote:
> Hi everyone,
>
> I'm reading data from a file into a gtk.ListStore. Sometimes the number
> of rows in the file can reduce, so
I am attempting to use UIManager to generate a ToolBar and a MenuBar.
I want to add icons that are not stock icons, but UIManger requires
that you use stock icons. That means that an IconFactory needs to be
created for the icons I wish to use. IconSets need to be added to the
IconFactory for each
Hi everyone,
I'm reading data from a file into a gtk.ListStore. Sometimes the number
of rows in the file can reduce, so I want to be able to refresh the
valid rows, and delete the remaining invalid rows so they don't show up.
After refreshing the valid rows (the data runs out), I have an iter t
On Thu, 2004-11-18 at 12:45 -0200, Christian Robottom Reis wrote:
> On Wed, Nov 17, 2004 at 07:56:14PM -0800, John Finlay wrote:
> > David Gil Oliva wrote:
> >
> > >Can anyone tell me how can I change the font description of a
> > >CellRendererText to, for instance, Courier 12? It's a silly questi
On Wed, Nov 17, 2004 at 07:56:14PM -0800, John Finlay wrote:
> David Gil Oliva wrote:
>
> >Can anyone tell me how can I change the font description of a
> >CellRendererText to, for instance, Courier 12? It's a silly question,
> >but I have read the docs and I don't get it.
-> FAQ 13.40
http:
Following on from that, we can also update 13.25:
http://www.async.com.br/faq/pygtk/index.py?req=show&file=faq13.025.htp
selection = treeview.get_selection()
model, selected = selection.get_selected_rows()
iters = [selection.get_iter(path) for path in selected]
for iter in iters:
model.remove
Oops. I always forget about he model:
selection = treeview.get_selection()
model, selected = selection.get_selected_rows()
On Thu, 18 Nov 2004 09:10:45 -0500, Chris Lambacher <[EMAIL PROTECTED]> wrote:
> http://www.async.com.br/faq/pygtk/index.py?req=show&file=faq13.007.htp
>
> gtk_tree_selecti
http://www.async.com.br/faq/pygtk/index.py?req=show&file=faq13.007.htp
gtk_tree_selection_get_selected_rows is wrapped in at least v2.4 of
PyGTK so the sample code becomes:
selection = treeview.get_selection()
selected = selection.get_selected_rows()
-Chris
--
Christopher Lambacher
[EMAIL PROTE
Qui, 2004-11-18 às 11:44 +, Nigel Tao escreveu:
> Are the following methods in PyGTK?
>
> gnome_vfs_get_volume_monitor()
> gnome_vfs_volume_monitor_get_connected_drives(volume_monitor)
> gnome_vfs_volume_monitor_get_mounted_volumes(volume_monitor)
These belong in gnome-python, not pygtk. T
Are the following methods in PyGTK?
gnome_vfs_get_volume_monitor()
gnome_vfs_volume_monitor_get_connected_drives(volume_monitor)
gnome_vfs_volume_monitor_get_mounted_volumes(volume_monitor)
The reference documentation on www.pygtk.org only seems to cover GTK,
GDK and Pango (but not GNOME APIs).
XPN is an on-line newsreader with unicode support. It's written in
Python using GTK+2 toolkit and works wherever Python and GTK+2 work.
It also has features like scoring, random taglines, search ...
You can find it on:
http://xpn.altervista.org/index-en.html
http://sf.net/projects/xpn
Changes in
23 matches
Mail list logo