hi,

i am trying to create a simple customized Dialog for user input, see test case below. unfortunately, it won't show the content part, only the buttons. doesn't work using packStart() either. what is wrong with my code?

import gtk.Main, gtk.Label, gtk.Dialog, gtk.Entry;
import std.stdio;

void main(string[] args){

string ret = "";
Main.init(args); 

auto dlg = new Dialog(
    "test",
    null,
    DialogFlags.MODAL,
    ["OK", "Cancel"],
    [ResponseType.ACCEPT, ResponseType.CANCEL]
);
auto q = new Entry( "write something" );
auto vbox = dlg.getContentArea();
vbox.add( new Label("test") );
vbox.add( q );

if( ResponseType.ACCEPT == dlg.run() ){
    ret = q.getText();
}
dlg.destroy();

writeln(ret);

}