GtkNotebook::remove_page

void remove_page (int page_num );

Removes the page with index page_num or the last page if page_num is -1. Pages are indexed begining with 0.

Ejemplo 27. Removing the current page

<?php
// Remove the current page.
$notebook->remove_page($notebook->get_current_page());
?>

See also: insert_page()