Ter, 2006-01-17 às 01:53 -0300, João Paulo Silva escreveu:
> Hi,
> 
> I'm looking for some documentation about the "native scrolling"
> feature present in some widgets (like TextView). I would know, for
> example, how to get and/or set its adjustments. And what about
> implementing one?
> 
> In the documentation, the only thing I found is at gtk.ScrolledWindow
> reference that says: "Some widgets have native scrolling support using
> "slots" to hold gtk.Adjustment objects." What this mean?
> The gtk.TreeView have getters and setters for adjustments, but I need
> them for gtk.TextView.

  For TextView, use the signal:

        set-scroll-adjustments (GtkAdjustment, GtkAdjustment)

  (be sure to connect before adding the widget to its container)

  For custom widgets, check the method
gtk.Widget.set_set_scroll_adjustments_signal(signal_name)

  Regards.

-- 
Gustavo J. A. M. Carneiro
<[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
The universe is always one step beyond logic.

Attachment: signature.asc
Description: Esta é uma parte de mensagem assinada digitalmente

_______________________________________________
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