PHP-GTK
Thursday, October 23, 2014 
download | documentation | applications | faq | changelog | resources 


search for in the  


previousGtkVPaned
GtkVRulernext

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

GtkVPaned Constructor

Creates a new vertical pane.

Example 145. Dividing a window vertically

<?php
$vpane = new GtkVPaned();
$vpane->set_border_width(5);
 
$top = new GtkFrame();
$top->add(new GtkLabel('Top'));
$top->set_shadow_type(Gtk::SHADOW_IN);
$vpane->add1($top);
 
$bottom = new GtkFrame();
$bottom->add(new GtkLabel('Bottom'));
$bottom->set_shadow_type(Gtk::SHADOW_IN);
$vpane->add2($bottom);
 
//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.gtkvpaned.constructor.php
add a note about notes
There are no user contributed notes for this page.


previousGtkVPaned
GtkVRulernext

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:51:01 2013 CEST