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: 2020-04-22 17:54 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: commandcom at autograf 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 Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
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 autograf dot pl
New email:
PHP Version: OS:

 

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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2020-04-22 17:54 UTC] commandcom at autograf dot pl
-: commandcom at o2 dot pl +: commandcom at autograf dot pl
 [2020-04-22 17:54 UTC] commandcom at autograf dot pl
just changing email associated with bug report
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Oct 09 08:01:27 2024 UTC