Browse Source

draft reorder page

PHP-GTK3
yggverse 4 months ago
parent
commit
1d1c7bf669
  1. 17
      src/Entity/Browser/Container/Tab.php

17
src/Entity/Browser/Container/Tab.php

@ -85,7 +85,9 @@ class Tab @@ -85,7 +85,9 @@ class Tab
?\GtkWidget $child,
int $page_num
) {
// @TODO
$this->reorderPage(
$page_num
);
}
);
}
@ -169,4 +171,17 @@ class Tab @@ -169,4 +171,17 @@ class Tab
// Reorder @TODO
}
public function reorderPage(
int $page_num
): void
{
/* @TODO
$this->_page = array_splice(
$this->_page,
$page_num,
0,
// @TODO get $page
); */
}
}
Loading…
Cancel
Save