This would probably be relatively simple to implement. It should be a matter of plugging in a callback function for the motion-notify<http://library.gnome.org/devel/gtk/stable/GtkWidget.html#GtkWidget-motion-notify-event> event that sets a timer to call gdk_window_set_cursor<http://library.gnome.org/devel/gdk/stable/gdk-Windows.html#gdk-window-set-cursor>. From the timer function, you could call gdk_cursor_new<http://library.gnome.org/devel/gdk/stable/gdk-Cursors.html#gdk-cursor-new> with GDK_BLANK_CURSOR as the argument to set the window's cursor to nothing.
I'm not positive gdk_window_set_cursor is the right method since I haven't done anything like this, but the basic logic would be the same anyway. Good luck! Eric Squires On Mon, Nov 16, 2009 at 2:13 PM, Grant <emailgr...@gmail.com> wrote: > I use a plugin for gmpc (an mpd client) called fullscreeninfo. I'd > like to make a couple changes, and I'm wondering if they might be > simple. > > Would it be easy to have the mouse cursor disappear after a few > seconds of inactivity? > > It seems like the display area for the cover art is a square box in > the center of the screen, so if the art is wider than it is high, > there is a gap above and below it. Could that be easy to fix? > > I'd appreciate any pointers on this. Thank you. > > > http://repo.or.cz/w/gmpc-fullscreeninfo.git/blob/86ccd131dc3fec7b9ac594118a8ece2f0896121c:/src/plugin.c > > - Grant > _______________________________________________ > gtk-app-devel-list mailing list > gtk-app-devel-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list > _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list