03.05.2013 6:12, Carlos пишет:
Normally the example looks for builderTest.glade in the directory
where the binary is.
There one in the GtkD git
https://github.com/gtkd-developers/GtkD/blob/master/demos/builder/builderTest.glade
You can also specify a different glade file on the commandline, the
example code tries to access a wiget named window1 if it's not
pressent in the glade file it will print "No window?" and exit.
I can't believe an hour has passed so easy.
How do I specify the doferent glade ?, During compilation ?
if you mean glade file with different name then answer is yes. but if
you just want to use another glade file with the same name then answer
is no. this different glade file should has window widget with name
window1 but with the rest no other restrictions exist. with glade you
can create more complex application easer and after debugging build
glade file into your application.