mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 09:35:28 +00:00
draft reorder page
This commit is contained in:
parent
a288cb52a9
commit
1d1c7bf669
1 changed files with 16 additions and 1 deletions
|
|
@ -85,7 +85,9 @@ class Tab
|
||||||
?\GtkWidget $child,
|
?\GtkWidget $child,
|
||||||
int $page_num
|
int $page_num
|
||||||
) {
|
) {
|
||||||
// @TODO
|
$this->reorderPage(
|
||||||
|
$page_num
|
||||||
|
);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
@ -169,4 +171,17 @@ class Tab
|
||||||
|
|
||||||
// Reorder @TODO
|
// Reorder @TODO
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function reorderPage(
|
||||||
|
int $page_num
|
||||||
|
): void
|
||||||
|
{
|
||||||
|
/* @TODO
|
||||||
|
$this->_page = array_splice(
|
||||||
|
$this->_page,
|
||||||
|
$page_num,
|
||||||
|
0,
|
||||||
|
// @TODO get $page
|
||||||
|
); */
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue