Interactive search (was: Re: Missing drag'n'drop methods in GtkTreeView)



On 14 Aug 2003 22:52:33 -0400, muppet wrote:

i did manage to get a search_equal_func to be called; you'd created
the callback with a G_TYPE_CHAR where a G_TYPE_STRING was needed.  :-)
otherwise, everything seems to work ok, but i can't really figure out
quite what you're supposed to do in the callback; i did the perl
equivalent of the built-in C function, and it didn't work.  :-/

Hrm. What did you do to get it called? I do

  $view -> signal_connect("start-interactive-search", sub {
    warn "bla";
  });

  $view -> set_search_equal_func(sub {
    warn "ble";
  });

and all I get is "bla at ..." two times for every C-f I throw at it - if
and only if the column headers are focussed. As soon as the focus moves
to the actual cells, C-f has no effect anymore.

[...], bad juju. the real solution would be even yet still more
involved, and at this point, i say, let's wait until somebody begs the
list for this function because he can't get it done any other way.

Ok, that's fine with me.

Bye,
-Torsten



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