[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-gtk-dev
Subject:    [PHP-GTK-DEV] #28587 [Opn]: Little Square Dots Everywhere
From:       derick () php ! net
Date:       2004-05-31 10:21:54
Message-ID: 200405311021.i4VALsfK002906 () ez1 ! php ! net
[Download RAW message or body]

 ID:               28587
 Updated by:       derick@php.net
 Reported By:      jbelton at shaw dot ca
 Status:           Open
-Bug Type:         Output Control
+Bug Type:         PHP-GTK related
 Operating System: Windows 98
 PHP Version:      Irrelevant
 New Comment:

Recategorizing.


Previous Comments:
------------------------------------------------------------------------

[2004-05-31 06:29:20] jbelton at shaw dot ca

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, 


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=28587&edit=1

-- 
PHP-GTK Development Mailing List (http://gtk.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic