PHP-GTK
Saturday, November 22, 2014 
download | documentation | applications | faq | changelog | resources 


search for in the  


previousGtkHPaned
GtkHRulernext

Last updated: Sun, 12 May 2013
view this page in English

GtkHPaned Constructor

Creates a new horizontal pane.

Example 70. Dividing a window horizontally

<?php
$vpane = new GtkHPaned();
$vpane->set_border_width(5);
 
$left = new GtkFrame();
$left->add(new GtkLabel('Left'));
$left->set_shadow_type(Gtk::SHADOW_IN);
$vpane->add1($left);
 
$right = new GtkFrame();
$right->add(new GtkLabel('Right'));
$right->set_shadow_type(Gtk::SHADOW_IN);
$vpane->add2($right);
 
//standard stuff for window creation
$wnd = new GtkWindow();
$wnd->connect_simple('destroy', array('Gtk', 'main_quit'));
$wnd->add($vpane);
$wnd->show_all();
Gtk::main();
?>

User Contributed Notes
gtk.gtkhpaned.constructor.php
add a note about notes
There are no user contributed notes for this page.


previousGtkHPaned
GtkHRulernext

Last updated: Sun, 12 May 2013
view this page in English


credits 

PHP  Copyright © 2001-2014 The PHP Group
 All rights reserved.
Last updated: Sun May 12 20:50:57 2013 CEST