[GtkD] How to use Glade?

Carlos checoimg at gmail.com
Thu May 2 17:55:41 PDT 2013


On Friday, 3 May 2013 at 00:30:00 UTC, Alexandr Druzhinin wrote:
> 03.05.2013 7:24, Alexandr Druzhinin пишет:
>>>
>>> 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.
> I was totally wrong - didn't look at code before :(
> The right answer to your question is you can specify your own 
> glade file into command line as second argument like this:
> builder /path/to/your/glade/file/your.glade
> it will be enough

Sorry if this was too wild but this is what I can do at the 
moment since I don't see a "gladeText" program which I believe is 
required for this action I did my guess.

code:

dmd builderTest.d $(pkg-config --cflags --libs gtkd-2) builder 
~/Documents/Glade/builderTest.glade

gives error :

Error: unrecognized file extension glade

-----------------------------------------------------------------

gtkD samples give error but I'm not using the same software from 
developers I'll try to install by purge all gtkD programs 
installed by no and trying "make install" again. Then check if 
the samples compile right.


More information about the Digitalmars-d-learn mailing list