Re: Gtk2 issues I've found..
| From: | Matt | Date: | Tue, 04 Mar 2008 14:37:35 +0000 |
| Subject: | Re: Gtk2 issues I've found.. | ||
| References: | 1 2 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-8199@lists.php.net to get a copy of this message | ||
Ok, thanks for the code.. took me awhile going between yours and mine to find the problem (since mine is all based on your wonderful examples :)
Turns out I was setting the columns xalign property (with set_property) in the format column function.. with the new Gtk2, that just fails and crashes. Not sure why I did that, but now I've setup the set_alignment's with the column definitions and it works fine.
Additionally, I must have been stupid yesterday because that problem was the whole reason I couldn't see images in the listview.. so those all work fine now too.
So, thanks for putting up with me! :)
-Matt
kksou wrote:
Matt-239 wrote:likewise I have images displayed in a GtkTreeView that worked fine before, but now don't show up at all. The only images I'm seeing in the app are the window icon and MessageDialogBox icon. I'm receiving no warnings or errors on this one.. its like they are loaded but just not displayed.Hi Matt, Try the following 2 sample codes that display images in a treeview: http://www.kksou.com/php-gtk2/articles/display-gif-or-jpg-images-in-GtkTreeView---Part-1.php http://www.kksou.com/php-gtk2/articles/display-gif-or-jpg-images-in-GtkTreeView---Part-2.php Seems to work fine with the new php-gtk2 release. Regards, /kksou