#35930 [NEW]: GTK Scribble Widget and Demo
| From: | joseph dot cohen at gmail dot com | Date: | Sun, 08 Jan 2006 12:03:08 +0000 |
| Subject: | #35930 [NEW]: GTK Scribble Widget and Demo | ||
| Groups: | php.gtk.dev | ||
| Request: | Send a blank email to php-gtk-dev+get-2163@lists.php.net to get a copy of this message | ||
From: joseph dot cohen at gmail dot com
Operating system: Gentoo Linux 2005.1-r1
PHP version: 5.1.1
PHP Bug Type: PHP-GTK related
Bug description: GTK Scribble Widget and Demo
Description:
------------
gtk::gtk_window_get_size() , gdk::gdk_window_get_size(), $foo->get_size()
and $foo->window->get_size() are all broken.
Reproduce code:
---------------
1st attempt Broken:
$foo = new GtkWindow;
$foo->get_size(&$x, &$y);
echo $x.' '.$y."\n";
2nd attempt Broken:
$foo = new GtkWindow;
$foo->window->get_size(&$x, &$y);
echo $x.' '.$y."\n";
3rd attempt Broken:
$foo = new GtkWindow;
gtk::gtk_window_get_size($foo,&$x,&$y);
echo $x.' '.$y."\n";
4th attempt Broken:
$foo = new GtkWindow;
gtk::gtk_window_get_size($foo->window,&$x,&$y);
echo $x.' '.$y."\n";
5th attempt Broken:
$foo = new GtkWindow;
gdk::gdk_window_get_size($foo,&$x,&$y);
echo $x.' '.$y."\n";
6th attempt Broken:
$foo = new GtkWindow;
gdk::gdk_window_get_size($foo->window,&$x,&$y);
echo $x.' '.$y."\n";
Expected result:
----------------
return of width and heigth of window.
Actual result:
--------------
Fatal error: Call to undefined method GdkWindow::get_size() in...
OR
Fatal error: Call to undefined method Gtk::gtk_window_get_size() in...
OR
Fatal error: Call to undefined method Gdk::gdk_window_get_size() in...
--
Edit bug report at http://bugs.php.net/?id=35930&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=35930&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=35930&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=35930&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=35930&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=35930&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=35930&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=35930&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=35930&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=35930&r=support
Expected behavior: http://bugs.php.net/fix.php?id=35930&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=35930&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=35930&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=35930&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35930&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=35930&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=35930&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=35930&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=35930&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=35930&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=35930&r=mysqlcfg