Simply have a CList, selection set to EXTENDED, and use the keyboard
to select some rows.
Have a callback for each of {start,extend,end}_selection.

start_selection never gets run (not sure why)
extend_selection never gets run (not sure why)
end_selection gets run with no args, and *after* end_selection runs,
the program sigsegs.

Here's a backtrace..


#0  0x401a2ecc in GtkRet_FromPyObject (ret=0x0, py_ret=0x80a3c0c)
    at gtkmodule.c:3085
#1  0x401a3a26 in PyGtk_CallbackMarshal (o=0x82267e8, data=0x827d458, nargs=0, 
    args=0x0) at gtkmodule.c:3434
#2  0x402a814b in gtk_handlers_run (handlers=0x8279910, signal=0xbfffe7f0, 
    object=0x82267e8, params=0x0, after=0) at gtksignal.c:1906
#3  0x402a75df in gtk_signal_real_emit (object=0x82267e8, signal_id=75, 
    params=0x0) at gtksignal.c:1477
#4  0x40213f50 in gtk_binding_entry_activate (entry=0x82266d8, 
    object=0x82267e8) at gtkbindings.c:411
#5  0x40214de1 in gtk_bindings_activate (object=0x82267e8, keyval=65505, 
    modifiers=8193) at gtkbindings.c:800
#6  0x402daf0c in gtk_widget_real_key_release_event (widget=0x82267e8, 
    event=0x8280ef8) at gtkwidget.c:2705
#7  0x40278891 in gtk_marshal_BOOL__POINTER (object=0x82267e8, 
    func=0x402dae30 <gtk_widget_real_key_release_event>, func_data=0x0, 
    args=0xbfffe9e0) at gtkmarshal.c:28
...


-- 
Pound for pound, the amoeba is the most vicious animal on earth.

Jon Nelson <[EMAIL PROTECTED]>
C and Python Code Gardener
_______________________________________________
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