PHP-GTK2 Newsletter
|
Sample Code 458: How to setup two filtered lists of thumbnail images using GtkIconView with GtkTreeModelFilter? |
| Written by kksou | ||||||||||||||||||||||||||||||
| Thursday, 20 March 2008 | ||||||||||||||||||||||||||||||
|
Problem You have displayed a filtered list of thumbnail images using GtkIconView and GtkTreeModelFilter in How to setup a filtered list of thumbnail images using GtkIconView with GtkTreeModelFilter? Suppose you would like to have two such filtered lists thumbnail images, one on the left and the other on the right, as shown below. Note: if you're new to PHP-GTK, this is also a good example that shows you how we can handle two sets of radio buttons with just one single signal handler.
Solution We make use of the technique as outlined in the article How to setup a filtered list of thumbnail images using GtkIconView with GtkTreeModelFilter? to display the filtered list of thumbnail images using GtkIconView and GtkTreeModelFilter. Sample Code The following image files are required by the sample code below. Please save a copy of the image files and put them in the same directory where you store the sample code.
Explanation The above sample code is based on How to setup a filtered list of thumbnail images using GtkIconView with GtkTreeModelFilter?. What's new here:
Related Links
User reviews There are no user reviews yet. Note: You have to be a registered member to leave a comment. Free registration here. |
||||||||||||||||||||||||||||||
| < Prev | Next > |
|---|


















