Now adds, just need to sort out redrawing

This commit is contained in:
Tristan B. Kildaire 2020-10-18 12:16:48 +02:00
parent e4f373ceb3
commit 695d624fe9
1 changed files with 8 additions and 1 deletions

View File

@ -258,8 +258,15 @@ public final class Connection : Thread
/* Set as the `foundChannel` */
foundChannel = newChannel;
/* Get the Widgets container for this channel and add a tab for it */
notebookSwitcher.add(newChannel.getBox());
writeln("hdsjghjsd");
}
notebookSwitcher.showAll();
/* TODO: Now add the widget */
// /* Set this as the currently selected channel */
@ -339,7 +346,7 @@ public final class Connection : Thread
// textBox.add(f);
notebookSwitcher = new Notebook();
notebookSwitcher.add(new Label("test"));
//notebookSwitcher.add(newnew Label("test"));
box.add(channelBox);
box.add(notebookSwitcher);