changing colour of widget

2013-09-26 Thread Mahesh Chaudhari
Hi List, I am very new to GTK+ programming and got a task of developing user interface (GUI) to one of our embedded board I went through basics of GTK searching for any widget that could represent on board LEDs, which can glows (basically changes colour) Also, is it possible to generate an

Re: changing colour of widget

2013-09-26 Thread Vest V.
Hello Mahesh, It depends on which approach you want to use: draw LEDs manually, or display images. The first possible widget is GtkDrawingArea: https://developer.gnome.org/gtk3/3.2/GtkDrawingArea.html, the second is GtkImage: https://developer.gnome.org/gtk3/3.2/GtkImage.html Regarding the