Re: drawing an RGB bitmap or pixbuf
- From: Kathrin Hauptvogel <hauptvogel k rheinmetall-de com>
- To: gtk-app-devel-list gnome org
- Subject: Re: drawing an RGB bitmap or pixbuf
- Date: Tue, 13 Dec 2005 09:36:16 +0100
Good morning
I had the same problem many days ago. I hope this will solve your problem.
add(*manage(new Gtk::Image("filename")));
show_all();
bye
Kathrin
Am Dienstag, 13. Dezember 2005 00:06 schrieb Matt Hull:
I am new to gtk and trying to draw a bitmap to the screen. the bitmap is
about 200 by 300 pixels with 8 bit rgb, total is 24 bits. alpha is
optional at the moment. for now it is 0xff. i have tried many different
examples from the internet but none seem to work. can anyone give me an
example ? maybe just draw it once to get me started or put it in a timer
loop to be called when idle ?
thanks, matt
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]