Re: [PHP-GTK] Gtk2 issues I've found..

[email protected] (Matt)
Newsgroups php.gtk.general
Message-ID <[email protected]>
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
> 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.