mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:28:11 +00:00
LibGUI: Add GWindow::move_to().
This commit is contained in:
parent
18962bf102
commit
1511afc4e2
2 changed files with 5 additions and 0 deletions
|
@ -71,6 +71,8 @@ int main(int, char**)
|
|||
Terminal terminal(ptm_fd);
|
||||
window->set_main_widget(&terminal);
|
||||
|
||||
window->move_to(300, 300);
|
||||
|
||||
GNotifier ptm_notifier(ptm_fd, GNotifier::Read);
|
||||
ptm_notifier.on_ready_to_read = [&terminal] (GNotifier& notifier) {
|
||||
byte buffer[BUFSIZ];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue