xforms-development
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [XForms] How can I assign a pixmap icon to a form?


From: Serge Bromow
Subject: Re: [XForms] How can I assign a pixmap icon to a form?
Date: Sun, 30 Nov 2014 09:22:53 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0

Hi,
 
On 11/30/2014 08:18 AM, Mr. Christian Strubel wrote:
Hello xforms-development list members,

I have been reading the documentation and trying the examples.
However, I am having trouble assigning a X Pixmap icon to a form.

Could someone please provide a hyperlink that covers how to do this
or a code snippet with an example?


While I use xforms to do so, here is the code it emits;
----------------------------------------------------------
#include "amix_black.xpm"    // Include the data in the program. Inside the xpm file you will find variable "static char * dine_black_140x40_xpm[] = {" defined. This is used in 'fl_set_pixmap_data' api.

fdui->logo = obj = fl_add_pixmap(FL_NORMAL_PIXMAP,6,456,80,29,"");
fl_set_pixmap_data(obj,dine_black_140x40_xpm);
----------------------------------------------------------

Serge

reply via email to

[Prev in Thread] Current Thread [Next in Thread]