GtkHandleBox Constructor

GtkHandleBox ();

Creates a new handle box.

Example 68. Adding a handle box to a window

<?php
$vbox = new GtkVBox();

$handlebox = new GtkHandleBox();
$handlebox->add(new GtkLabel('I can be detached'));
$vbox->pack_start($handlebox, false);

$vbox->pack_start(new GtkTextView());


$wnd = new GtkWindow();
$wnd->connect_simple('destroy', array('gtk', 'main_quit'));
$wnd->add($vbox);
$wnd->show_all();
Gtk::main();
?>