[pygtk] Selection and?...

2011-05-26 Thread Alessandro Dentella


In some circumstancies I get to a situation as in the attached image, a row
in a TreeView is selected but a cell in another row has a different
background (pink in the image).

I don't really know what state is that so that I don't know how to look for
info...

Which other stated do exist apart selected?


sandro
*:-)
 
<>___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

[pygtk] selection and drag/drop from a GtkCList

2001-12-09 Thread Don Allingham

I'm trying to add drag and drop support from a GtkCList. The problem I
am encountering is that a row does not appear to be selected until the
button is released, while a drag will start when on the button press.

I can find out the correct row by using the "focus_row" attribute, but
to the user this looks kind of funny - they are dragging a row which has
not been selected. It gets even worse if I want to enable multiple
selection - some rows are selected, but the dragging row is not. I can
use the selection list and the focus row to get allow the items, but it
looks and feels odd.

Is there a way I can get the row to be selected before the drag begins?

-- 
Don Allingham
[EMAIL PROTECTED]
http://gramps.sourceforge.net


___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk