mirror of https://github.com/deavminet/gustav.git
Stub
This commit is contained in:
parent
e49824b58b
commit
9561e1cbb7
|
@ -0,0 +1,35 @@
|
|||
module UserDirectory;
|
||||
|
||||
import Connection;
|
||||
import gtk.SearchBar;
|
||||
import gtk.Entry;
|
||||
import gtk.Window;
|
||||
|
||||
public final class UserDirectory
|
||||
{
|
||||
/* The associated connection */
|
||||
private Connection connection;
|
||||
|
||||
this(Connection connection)
|
||||
{
|
||||
this.connection = connection;
|
||||
|
||||
initWindow();
|
||||
}
|
||||
|
||||
private void initWindow()
|
||||
{
|
||||
Window userWindow = new Window(GtkWindowType.TOPLEVEL);
|
||||
userWindow.setTitle("User directory");
|
||||
|
||||
SearchBar searchBar = new SearchBar();
|
||||
Entry searchEntry = new Entry();
|
||||
searchEntry.setText("fsdhjsdfhjkdsfhjksdfhjk");
|
||||
// searchBar.handleEvent()
|
||||
searchBar.connectEntry(searchEntry);
|
||||
userWindow.add(searchBar);
|
||||
|
||||
|
||||
userWindow.showAll();
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue