Re: Problem with popup menus and highlighted items in TreeView



On Wed, Jan 18, 2006 at 10:02:30PM -0600, Gabriel Burt wrote:
I have a TreeView (F-Spot's tag list) that has a popup menu.

If I have a tag (row) selected and then right-click on a different tag,
it first pops up the menu, then (the default handler) selects all the
tags in between the two tags.

The problem is I need to know how many tags are highlighted to customize
the popup menu, but because of the ordering of these operations, I get
the wrong value.  Is the only answer to not use the default handler and
do the selection logic (shift/ctrl) myself?

g_signal_connect_after() does not help?

Yeti


--
That's enough.



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