Re: FilenameCompleter



On Thu, 17 Jan 2013 08:33:48 -0800, Andrew Potter <agpotter gmail com> wrote:
> You probably need to connect to signal_got_completion_data() and only query
> get_completions() in/after the callback. I suspect you'll need to have a
> MainLoop going, so your minimal example won't work.

I considered something like that, but since the get_completions returns
an array I assumed the results would be returned immediately. I did try
to put some sleeps in my code to give it time to collect the completion
data, but that didn't work. I guess I will need to experiment further :)

> 
> By the way, if you have pkg-config you can compile a little easier with g++
> `pkg-config --libs --cflags glibmm-2.4` file.cc
> 

Thanks, Edwin
-- 


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