[Sending this back to the mailing list, as it is of general interest]
[Casting one vote for the mailing-list having Reply-To: itself]

On Sun, 23 Feb 2003, Anthony Tekatch wrote:
> On Sun, 23 Feb 2003 00:09:00 -0600, Lars Clausen <[EMAIL PROTECTED]>
> wrote:
>> The other half is complicated by the fact that I use SELECTION_MULTIPLE,
>> during which I cannot use get_selected.  I can iterate over the
>> selection, but I've found no easy way to check if there is a selection
>> at all.  Right now I'm resorting to the following hack:
> 
> 
> Sorry, I cannot help there. I've been having some difficulties gathering
> enough information about using PyGTK to be of use since there are no
> books and the documentation is not mature. Did you know that you can get
> a list of each functions properties while in python like:
> 
> $ python
>>>>import gtk
>>>>help (gtk.TreeSelection)

Er, no, I didn't know that:

>>> import gtk
>>> help (gtk.TreeSelection)
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
AttributeError: 'module' object has no attribute 'TreeSelection'
>>> help (gtk.Widget)
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
AttributeError: 'module' object has no attribute 'Widget'

-Lars

-- 
Lars Clausen (http://shasta.cs.uiuc.edu/~lrclause)| Hårdgrim of Numenor
"I do not agree with a word that you say, but I   |----------------------------
will defend to the death your right to say it."   | Where are we going, and
    --Evelyn Beatrice Hall paraphrasing Voltaire  | what's with the handbasket?
_______________________________________________
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