WIP: UserNode

This commit is contained in:
Tristan B. Kildaire 2020-10-25 11:25:33 +02:00
parent 3ee0830b65
commit 87db85f7aa
1 changed files with 28 additions and 24 deletions

View File

@ -1,29 +1,33 @@
// import gtk.Tooltip; module UserNode;
// import libdnet.dclient;
// import gtk.Label;
// public final class UserNode import Connection;
// { import gtk.Box;
// private Tooltip tooltip;
// private DClient client;
// private Label username;
// this(DClient client, Label username) public final class UserNode
// { {
// this.client = client; private Connection connection;
// this.username = username; private string username;
// initialize(); private Box box;
// }
// private void initialize() this(Connection connection, string username)
// { {
// username.getToo this.connection = connection;
// tooltip = new Tooltip(cast(GtkStruct*)username.getStruct()); this.username = username;
// }
// // public Tooltip getToolTip() initBox();
// // { }
// // } private void initBox()
// } {
box = new Box(GtkOrientation.HORIZONTAL, 1);
/* TODO: Implement me */
}
public Box getBox()
{
return box;
/* TODO: Implement me */
}
}