Thanks Vest V for reply I can able to draw circles using GtkDrawingArea and cairo but is there any alternative to GIO as I have to use CentOS-5.3 (glib version 2.10) and I think GIO is not supported in this version OR from where do I install GIO library
________________________________ From: Vest V. <vest...@gmail.com> To: "gtk-app-devel-list@gnome.org" <gtk-app-devel-list@gnome.org> Sent: Thursday, 26 September 2013 4:11 AM Subject: 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.chaudh...@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 > _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list