[pygtk] DND in GtkTreeModel/View

2002-10-19 Thread Arjan J. Molenaar
Hi,

I've been wondering... Lately I have implemented some DND functionallity
in my app (Gaphor) and I noticed that you can handle DND from the
GtkTreeModel by means of the GtkTreeDragSource and DragDest interfaces.
These interfaces are not implemented for the current GtkGenericTreeModel
class. Does it make sense to implement these?

Regards,

Arjan



___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/



Re: [pygtk] Drawing in Drawing Area

2002-10-19 Thread James Henstridge
LDC - Pablo Endres Lozada wrote:


	I've tryed to draw in a Drawing Area but the only way
	that it works is suscribing the paint method to
	the expose-event.

	Is there anothere way to do this??

	Can I paint at any time or must it be via signals?
 

It is best to only draw in response to an expose event.  If you want to 
redraw your widget, you should call the queue_draw() or 
queue_draw_area() methods, which will queue an exposure for you.

James.

--
Email: [EMAIL PROTECTED]  | Linux.conf.au   http://linux.conf.au/
WWW:   http://www.daa.com.au/~james/ | Jan 22-25   Perth, Western Australia. 




___
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/