Daniel
Daniel

Reputation: 4314

GtkEntryCompletion additional source

I want GtkEntryCompletion to get data from additional source (function or another model, no matter) when there's no match in models data. Is that possible?

Upvotes: 0

Views: 89

Answers (1)

ptomato
ptomato

Reputation: 57870

Make a custom class that implements the GtkTreeModel interface, and retrieves data preferentially from one model and then another if not found.

Upvotes: 3

Related Questions