[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: lua-gtk pixmap example
- From: Martin <wtxnh-lua@...>
- Date: Fri, 14 Aug 2009 16:31:44 +0200
I have managed to understand pixmap.lua example in lua-gtk-0.8 and now
I want to do some changes to it but I am clueless.
3BI want to draw rectangle in different color and change font to
Courier. I have been reading gtk reference manual for C whole day but
did not find a way to do it (I am new to gtk too). There I found
description for GdkGC, GdkColormap and GdkColor and I got totally lost
there.
Can somebody show me how to modify pixmap.lua example so that it use
custom color (red=100, green=150, blue=200) for drawing rectangle and
changing font family and size (and color)?
Thanks
Martin