Hi,
> Maybe this post will help you a bit:
> http://www.mail-archive.com/pygtk@daa.com.au/msg19101.html
Yes thank you, it did. It talks of using keybinder. Unfortunately
that requires binding a particular key combo to a handler (not just
any key, or mouse). However I downloaded keybinder and
Hi again,
ok, I found it.
Here you have the answer:
class IconView(gtk.Iconview):
def __init__(self):
...
crpb = gtk.CellRendererPixbuf()
self.pack_start(crpb, False)
self.set_cell_data_func(crpb, self.cell_pixbuf_func)
# self.set_text_column(6)
On 21-11-10 14:57, Fabrice Delente wrote:
Hello.
I have a DrawingArea that responds to keyboard event. I want that,
when I press 1-9, an Entry pops up, in which I can type a number whose
first digit is the digit that made the Entry pop up.
I have nearly succeeded, however when the Entry p
Hi,
I'm trying to set a custom function to render the images on a
gtk.IconView, instead of the usual "gtk.IconView.set_pixbuf_column()"
method.
To do it, I'm using "set_cell_data_func" method that gtk.IconView
inherits from gtk.CellLayout [1] and [2].
It doesn't work, reporting next error.
"""
i
Hello.
I have a DrawingArea that responds to keyboard event. I want that, when I press
1-9, an Entry pops up, in which I can type a number whose first digit is the
digit that made the Entry pop up.
I have nearly succeeded, however when the Entry pops up the digit is selected,
so that when I ty