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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: commandcom at o2 dot pl
New email:
PHP Version: OS:

 

 [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: Fri Aug 17 06:01:24 2018 UTC