On Tue, 19 Mar 2002 09:40:54 +0800 "James Henstridge" <[EMAIL PROTECTED]> wrote:
> You can use the plus and minus keys to expand and collapse the selected > node in the ctree. Cool! In the meantime, I grabbed the key_press_event signal for the ctree, and checked for GDK.{Left,Right}. If it was one of those, I did an "emit_stop_by_name" on key_press_event, and then performed a little magic to expand/collapse the current focus row. Would it be better to avoid the magic and try to emit a +/- keypress? -- The Amazing* Jon Nelson <[EMAIL PROTECTED]> C and Python Programmer, Code Gardener Just because it's not broken doesn't mean we can't take it apart. (* may not actually amaze) _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/