Bug #75845 [Opn]: Missing GtkToolbar::set_orientation() and get_orientation methods
[email protected] ("commandcom at autograf dot pl") Wed, 22 Apr 2020 17:54:04 +0000
| Newsgroups | php.gtk.dev |
|---|---|
| Message-ID | <[email protected]> |
Edit report at https://bugs.php.net/bug.php?id=75845&edit=1
ID: 75845
User updated by: commandcom at autograf dot pl
Reported by: commandcom at autograf dot pl
Summary: Missing GtkToolbar::set_orientation() and
get_orientation methods
Status: Open
Type: Bug
Package: PHP-GTK related
Operating System: Linux Ubuntu 16.04
PHP Version: 5.6.33
Block user comment: N
Private report: N
New Comment:
just changing email associated with bug report
Previous Comments:
------------------------------------------------------------------------
[2018-01-18 19:59:03] commandcom at autograf dot pl
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 this bug report at https://bugs.php.net/bug.php?id=75845&edit=1