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
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 Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
26 + 34 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Fri Apr 19 00:01:29 2024 UTC