[PHP-BUG] Bug #75845 [NEW]: Missing GtkToolbar::set_orientation() and get_orientation methods
[email protected] ("commandcom at o2 dot pl") Thu, 18 Jan 2018 19:59:04 GMT
| Newsgroups | php.gtk.dev |
|---|---|
| Message-ID | <[email protected]> |
From: commandcom at o2 dot pl
Operating system: Linux Ubuntu 16.04
PHP version: 5.6.33
Package: PHP-GTK related
Bug Type: Bug
Bug description:Missing GtkToolbar::set_orientation() and get_orientation methods
Description:
------------
When calling method GtkToolbar::set_orientation() or
GtkToolbar::get_orientation(), PHP throws fatal error
Test script:
---------------
<?php
$window1 = new GtkWindow();
$window1->connect_simple('destroy', array('Gtk', 'main_quit'));
$window1->set_size_request(100, 100);
$toolbar1 = new GtkToolbar();
$toolbar1->set_orientation(Gtk::ORIENTATION_HORIZONTAL);
$toolbar1->get_orientation();
$window1->add($toolbar1);
$window1->show_all();
Gtk::main();
Expected result:
----------------
display window
Actual result:
--------------
PHP Fatal error: Call to undefined method GtkToolbar::set_orientation()
--
Edit bug report at https://bugs.php.net/bug.php?id=75845&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=75845&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=75845&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=75845&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=75845&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=75845&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=75845&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=75845&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=75845&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=75845&r=support
Expected behavior: https://bugs.php.net/fix.php?id=75845&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=75845&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=75845&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=75845&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=75845&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=75845&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=75845&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=75845&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=75845&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=75845&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=75845&r=mysqlcfg