PHP :: Bug #75845 :: Missing GtkToolbar::set_orientation() and get_orientation methods
php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #75845 Missing GtkToolbar::set_orientation() and get_orientation methods
Submitted: 2018-01-18 19:59 UTC Modified: -
From: commandcom at o2 dot pl Assigned:
Status: Open Package: PHP-GTK related
PHP Version: 5.6.33 OS: Linux Ubuntu 16.04
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2018-01-18 19:59 UTC] commandcom at o2 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()

Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2018 The PHP Group
All rights reserved.
Last updated: Thu Aug 16 12:01:24 2018 UTC