need help getting this right

2012-02-25 Thread Gary Kline
i'll append ~130 lines of C and gtk v2.0 or later. i found this online in a much busier [and complex] example. for several days, on and off, i messed around trying to get two independent horizontal bars. i would guess that in total, i hacked away around 17-23 hours. this morning i threw everyth

Make a Gtk.Switch-widget show an arrow?

2012-02-25 Thread Moritz Renftle
Hi there, i'm developing a software that is able to control the model railroad via gamepad. i use python with pygobject. now i need to find a widget that represents the direction of the train. currently i do this with a Gtk.Button showing a Gtk.Arrow, but this is a bit fuzzy: http://imagepaste.nul

Re: Where is GStatBuf ?

2012-02-25 Thread John Emmas
On 25 Feb 2012, at 20:44, Tadej Borovšak wrote: > > Here is the link to current head in git: > http://git.gnome.org/browse/glib/tree/glib/gstdio.h#n32 > > Quickly looking at the log revealed that it's been almost 2 years > since this file has been changed significantly for the last time, so > y

Re: Where is GStatBuf ?

2012-02-25 Thread Tadej Borovšak
Hi. > Thanks Tadej.  I must admit, it's not in my copy or any copy I can find on > the internet (though admittedly, most of them look quite out of date).  Could > you post a link to the current repo please? Here is the link to current head in git: http://git.gnome.org/browse/glib/tree/glib/gstd

Re: Where is GStatBuf ?

2012-02-25 Thread John Emmas
On 25 Feb 2012, at 19:18, Tadej Borovšak wrote: > Hello. > >> 'GStatBuf' is supposed to be typedef'd somewhere to ensure that the correct >> 'stat' struct gets used, depending on the compiler and platform - but I >> can't find GStatBuf anywhere. > > "git grep GStatBuf" says GStatBuf is define

Re: Where is GStatBuf ?

2012-02-25 Thread Tadej Borovšak
Hello. > 'GStatBuf' is supposed to be typedef'd somewhere to ensure that the correct > 'stat' struct gets used, depending on the compiler and platform - but I can't > find GStatBuf anywhere. "git grep GStatBuf" says GStatBuf is defined in glib/gstdio.h Cheers, Tadej -- Tadej Borovšak tadebor

Test

2012-02-25 Thread John Emmas
Sorry for the noise. I posted a question to this mailing list several hours ago but it doesn't seem to have arrived. Just testing to see if a second post will work John Emmas ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http:/

Where is GStatBuf ?

2012-02-25 Thread John Emmas
According to this documentation for g_stat() http://developer.gnome.org/glib/2.28/glib-File-Utilities.html#g-stat 'GStatBuf' is supposed to be typedef'd somewhere to ensure that the correct 'stat' struct gets used, depending on the compiler and platform - but I can't find GStatBuf anywhere. Ad