Re: Problem with + and - keys in Tree widget




Ah, OK, I see the problem. The GTK+ binding system distinguishes
Shift-'+' and '+', etc. But the default bindings only bind
the US variants for the shift state. (Which is odd, since the
code was written by people in Germany...)

Just as a check, try adding the following to your ~/.gtkrc
and see if it fixes the problem:

====
binding "my-ctree-binding" {
  bind "plus" { "change_focus_row_expansion" (expand) }
  bind "<Shift>equal" { "change_focus_row_expansion" (toggle) }
}

class "GtkCTree" binding "my-ctree-binding"
====

Thanks,
                                        Owen



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]