PHP-GTK
Tuesday, July 29, 2014 
download | documentation | applications | faq | changelog | resources 


search for in the  


previousGtkVRuler
GtkVScalenext

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

GtkVRuler Constructor

Creates a new vertical ruler.

Example 146. Creating a vertical ruler

<?php
$ruler = new GtkVRuler();
$lower = 0;
$upper = 300;
$position = 200;
$max_size = 300;
$ruler->set_range($lower, $upper, $position, $max_size);;
 
//standard stuff for window creation
$wnd = new GtkWindow();
$wnd->set_border_width(5);
$wnd->connect_simple('destroy', array('Gtk', 'main_quit'));
$wnd->add($ruler);
$wnd->show_all();
Gtk::main();
?>

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


previousGtkVRuler
GtkVScalenext

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