PHP-GTK2 Cookbook Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Re:GtkTreeView: cell with combo with autocomplete (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:GtkTreeView: cell with combo with autocomplete


#4235
pgarre (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
GtkTreeView: cell with combo with autocomplete 3 Years, 7 Months ago Karma: 0  
Hi,

Using a similar technique as that of my previous post on how to make tab advance to the next column, we can have a cellrenderer with a combobox with autocomplete.

To achieve that, in the handler of the 'editing-started' signal we create a GtkEntryCompletion and attach it to the GtkEntry celleditable. That's all !

A code example will follow soon too.

Pedro.
 
  The administrator has disabled public write access.

#4238
kksou (Admin)
Admin
Posts: 1722
graph
User Online Now Click here to see the profile of this user
Re:GtkTreeView: cell with combo with autocomplete 3 Years, 7 Months ago Karma: 27  
Hi Pedro:

Thanks much for the contribution!

I've added your sample code here:

Sample Code 543: How to have cell with combo with autocomplete in a treeview?

Regards,
/kksou
 
  The administrator has disabled public write access.

#5832
zeddi (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Re:GtkTreeView: cell with combo with autocomplete 1 Year, 6 Months ago Karma: 0  
>> You are not authorised to view this resource.
WHY ??
 
  The administrator has disabled public write access.



Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Blog - Forum - Privacy Policy - Contact Us
Copyright © 2006-2012. kksou.com. All Rights Reserved