Re: changing colour of widget

2013-10-03 Thread Mahesh Chaudhari
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

Re: changing colour of widget

2013-10-03 Thread Vest V.
Hello Mahesh, I did not know that you use the old version. Actually, Gnome VFS is deprecated, but on your Linux it should be still available. This library has a similar monitor: https://developer.gnome.org/gnome-vfs/stable/gnome-vfs-2.0-gnome-vfs-monitor.htmlProbably, this should suit you the

Re: GSettings on Windows

2013-10-03 Thread Geert Janssens
On Monday 30 September 2013 16:30:11 Geert Janssens wrote: I'm working on converting GnuCash from using GConf to GSettings. I'm currently at a point that the code doesn't call GConf anymore. The keys and paths still contain underscores instead of dashes, because on linux I'm still testing

Icon/image in menu with GtkUIManager and GtkAction in GTK+ 3.10

2013-10-03 Thread Sébastien Wilmet
Hello, Since the deprecation of GtkUIManager, GtkAction, GtkStock etc, it seems that gtk_action_set_always_show_image() doesn't work anymore. I don't have the time to port my application to GMenu (and I think some features are missing, that I use with GtkUIManager). And I need icons in menus.

Re: Icon/image in menu with GtkUIManager and GtkAction in GTK+ 3.10

2013-10-03 Thread Allin Cottrell
On Thu, 3 Oct 2013, Sébastien Wilmet wrote: Since the deprecation of GtkUIManager, GtkAction, GtkStock etc, it seems that gtk_action_set_always_show_image() doesn't work anymore. It's a problem for me too. The following is somewhat tongue-in-cheek but pretty accurately reflects my experience

how to label a cairo drawings in gtk+-2.0

2013-10-03 Thread Mahesh Chaudhari
Hi List, I have drawn five circles in GtkDrawingArea as below :   #include gtk/gtk.h #include cairo.h #includemath.h     GtkWidget* window;     GtkWidget* darea; static gboolean on_expose_event(GtkWidget *widget, GdkEventExpose *event, gpointer data)     {     cairo_t *cr;     cr =