Re: Gtk2 issues I've found..
[email protected] (Elizabeth M Smith)
| Newsgroups | php.gtk.general |
|---|---|
| Message-ID | <[email protected]> |
Matt wrote: > Alright, after poking around quite a bit in a quite extensive > application I'm developing, I've run across the following issues when > using the new php-gtk 2 build: > > 1. The set_cell_data_func issue I mentioned earlier today where it will > not accept an array($obj,'func') as a callback function (but it works > fine with a regular function.) > > $col->set_cell_data_func($renderer, array($this, 'format_col')); > results in: Warning: Unable to invoke callback 'Array' specified I have no idea why this one is funky - an ideas Andrei? > 2. I notice it now appears to use the Windows theme/skin which is nice. > One problem is with the display of a combo box. There is a single pixel > line separating the text/selected item on the left and the drop down > arrow on the right. PHP-GTK has nothing to do with theming - the windows theme is done with a gtkrc file placed in etc/gtk-2.0 If there's an issue with the theme you can submit a bug report to gtk.org or edit the gtkrc file yourself to try to fix it > 3. Various image issues. Icons for MessageDialogBoxs work fine, Window > icons load fine, but everything else doesn't. Any image on a button will > not show up (stock or loaded from png), 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. Actually I ran into some image issues when originally moving to gtk 2.10. Do you have a short reproducing script for these issues and bugs filed? We need to see if this is a php-gtk problem, or a problem upstream in the gtk libs > Note that all these are specific to the newly released php-gtk2 build. > They all worked fine in the beta. Remember the beta used different gtk libraries, the 2.10 versions, where as the new release is the 2.12 versions so it's hard to tell if the issues are from PHP-GTK or from the GTK libraries itself. > Also, things are much faster with this build.. thanks! That's also from the new libraries, the speed and stability on windows has improved a lot! - Elizabeth