mirror of https://github.com/deavminet/gustav.git
WIP: UserNode
This commit is contained in:
parent
3ee0830b65
commit
87db85f7aa
|
@ -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 */
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue