Re: GtkEntryCompletion on a GtkCellRendererText
- From: "Vivien Malerba" <vmalerba gmail com>
- To: philip tecnocode co uk
- Cc: gtk-app-devel-list gnome org
- Subject: Re: GtkEntryCompletion on a GtkCellRendererText
- Date: Mon, 12 Mar 2007 16:37:18 +0100
On 3/3/07, Philip Withnall <philip tecnocode co uk> wrote:
Hi all,
I've got a table of database rows set up using a GtkTreeView with a
GtkListStore backend, and GtkCellRendererTexts for the table cells. This
is all working nicely.
What I'd like to do is have auto-completion available when editing the
text cells, with a GtkEntryCompletion, but I can't figure out how to add
one. The most likely way would be to get a pointer to the
GtkCellRendererText's GtkEntry, but I can't find a way to do that. I
also can't find any gtk_cell_renderer_text_* methods for adding a
GtkEntryCompletion, or an object equivalent to a GtkEntryCompletion for
use on GtkCellRendererTexts.
If it's not too late, I'd suggest trying first to code your own cell
renderer based on the GtkCellRendererText (add a property to specify
the completion), and when it works, propose it as an evolution in
bugzilla.
Vivien
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]