image embeded as ubtye

okibi okibi at
Mon Jul 30 04:43:37 PDT 2007


I've got an image converted to a d source file that contains the image as a ubyte variable. What I'm wanting to know is how do I apply this as the image for a button in gtkD?

I was calling the external file, like such:

Image newImg = new Image("images\\new.png");
Button newBtn = new Button();

How can I set the ubyte as the image?


More information about the Digitalmars-d-learn mailing list