Re: pop menu with a right-click in a gtktreeview




On Jun 24, 2008, at 11:31 PM, anguila wrote:

I try the kevin's code, and it works, but only the first click, the next doesn't show the menu and return this error:

Can't call method "popup" on an undefined value at ./x line 14

Just a wild guess, but in general you can't reuse the menu, you'll have to create a fresh one on the next button event.


--
If the monkey could type one keystroke every nanosecond, the expected waiting time until the monkey types out Hamlet is so long that the estimated age of the universe is insignificant by comparison ... this is not a practical method for writing plays.
  -- Gian-Carlo Rota





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