public Point computeSize(int wHint, int hHint, boolean changed) {
   checkWidget();
   Point size = super.computeSize(wHint, hHint, changed);
   if (wHint != SWT.DEFAULT && wHint < 0) wHint = 0;
   if (hHint != SWT.DEFAULT && hHint < 0) hHint = 0;
   boolean scrollable = OS.gtk_notebook_get_scrollable(handle);
   OS.gtk_notebook_set_scrollable(handle, false);
   Point notebookSize = computeNativeSize(handle, wHint, hHint, changed);
   OS.gtk_notebook_set_scrollable(handle, scrollable);
   size.x = Math.max(notebookSize.x, size.x);
   size.y = Math.max(notebookSize.y, size.y);
   return size;
 }
 void createHandle(int index) {
   state |= HANDLE;
   fixedHandle = OS.g_object_new(display.gtk_fixed_get_type(), 0);
   if (fixedHandle == 0) error(SWT.ERROR_NO_HANDLES);
   gtk_widget_set_has_window(fixedHandle, true);
   handle = OS.gtk_notebook_new();
   if (handle == 0) error(SWT.ERROR_NO_HANDLES);
   OS.gtk_container_add(fixedHandle, handle);
   OS.gtk_notebook_set_scrollable(handle, true);
   OS.gtk_notebook_set_show_tabs(handle, true);
   if ((style & SWT.BOTTOM) != 0) {
     OS.gtk_notebook_set_tab_pos(handle, OS.GTK_POS_BOTTOM);
   }
 }