Re: changing colour of widget



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 event: probably you need GIO library (especially the
GFileMonitor: https://developer.gnome.org/gio/unstable/GFileMonitor.html)

Kind regards,
Vlad


On Thu, Sep 26, 2013 at 12:17 PM, Mahesh Chaudhari <
mahesh chaudhari ymail com> wrote:

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 event whenever file is updated instead
of user (mouse clicks, keyboard press)


Any Help
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list



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