|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-05-31 12:21 UTC] derick@php.net
[2004-05-31 14:30 UTC] epplestun at alaplaya dot com
[2004-06-01 04:54 UTC] jbelton at shaw dot ca
[2004-06-05 01:03 UTC] jbelton at shaw dot ca
[2008-03-07 02:06 UTC] auroraeosrose@php.net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 23:00:02 2025 UTC |
Description: ------------ Just installed PHP-GTK 1.0.0 on Windows 98. Don't know the version of PHP. Downloaded the hello world script below. Works fine, but the default "color" is light grey, covered with dark grey dots. Also downloaded a longer sample program. Again, works fine but with little grey dots all over it. Reproduce code: --------------- <?php if (!class_exists('gtk')) { if (strtoupper(substr(PHP_OS, 0,3) == 'WIN')) dl('php_gtk.dll'); else dl('php_gtk.so'); } function delete_event() { return false; } function shutdown() { print("Shutting down...\n"); gtk::main_quit(); } function hello() { global $window; print "Hello World!\n"; $window->destroy(); } $window = &new GtkWindow(); $window->connect('destroy', 'shutdown'); $window->connect('delete-event', 'delete_event'); $window->set_border_width(10); $button = &new GtkButton('Hello World!'); $button->connect('clicked', 'hello'); $window->add($button); $window->show_all(); gtk::main(); ?> Expected result: ---------------- A little window with a button saying hello world, but without little dark grey spots all over it. Actual result: -------------- Could send a screen shot,