[GtkD] How to use Glade?

Carlos checoimg at gmail.com
Thu May 2 17:29:52 PDT 2013


On Friday, 3 May 2013 at 00:24:50 UTC, Alexandr Druzhinin wrote:
> 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.
Right now I want to use the glade file form the site.


More information about the Digitalmars-d-learn mailing list