[Gtk-sharp-list] Gtk.Spinner doesn't spin (Gtk# 2.99.2)

Stephen Brandt stephen at stephenbrandt.com
Mon Jun 2 14:45:52 UTC 2014

Hi Bertrand,

I've found the cause. I had GTK animations disabled [1], which is 
apparently also applicable to the spin animation. After re-enabling 
animations the spinner works fine.

The reason I had disabled GTK animations is that on GTK+ 3.10 the 
InfoBar wasn't visible if shown directly on startup and if animations 
were enabled. On GTK+ 3.8 instead, it does work okay with animations 
enabled. So most likely a regression in GTK+ itself i presume?

If you want to try and run the code [2] make sure you install the 
gschema file [3], to satisfy gsettings...


[2] https://code.launchpad.net/~ztefn/haguichi/gtk3

Bertrand Lorentz schreef:
> Hi,
> On Tue, May 27, 2014 at 9:33 PM, Stephen Brandt
> <stephen at stephenbrandt.com> wrote:
>> Hello everyone,
>> The Gtk.Spinner doesn't seem eager to spin using the gtk-sharp-3 bindings.
>> Even though I have set the obvious properties:
>> spinner.Active = true;
>> spinner.Start ();
>> Any ideas what's missing here or is it a just bug in the bindings? I've
>> tested on systems running Gtk+ 3.8 and 3.10, on both it didn't work.
> I've just added a Spinner demo in git master:
> https://github.com/mono/gtk-sharp/commit/c15a1d18
> It seems to work fine for me, the Start() method makes it spin (Linux
> with GTK+3.10.8).
> Maybe something's wrong somewhere else in your code ?
> --
> Bertrand

More information about the Gtk-sharp-list mailing list