On Wed, 20 Mar 2002 10:15:37 +0800 "James Henstridge" <[EMAIL PROTECTED]> wrote:
.. > I think you can set this up in a gtkrc file for your application. As > GtkCTree uses the GTK Bindings API, you should be able to load a file > holding something like: > binding "my-ctree-bindings" { > bind "right" { > "change_focus_row_expansion" (expand) > } > bind "left" { > "change_focus_row_expansion" (collapse) > } > } > widget "widgetname" binding "my-ctree-bindings" Other than changing the "right" (and "left") to "Right" (and "Left"), it worked perfectly. Cool! Now I can get rid of that handler, too. -- 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/