Re: ScrolledWindow, DrawingArea, and setting step-increment

2013-11-12 Thread Gabriele Greco
I'm developing a MUD client in Pike, using GTK2 for the UI, and there's an aspect of scrolling that's bugging me. The display uses discrete lines of text of a fixed height (or, to be more technically accurate, a fixed distance from the start of one line to the start of the next), and I'd

Re: ScrolledWindow, DrawingArea, and setting step-increment

2013-11-12 Thread Chris Angelico
On Wed, Nov 13, 2013 at 4:44 AM, Gabriele Greco gabriele.gr...@darts.it wrote: I suggest you to use GtkTextView for your text output, thank to GtkTextTag it's flexible enough to do everything a mud client needs, also blinking text, it scrolls at line boundaries and let you keep thousands of

Fwd: glib thread create API

2013-11-12 Thread Jonathan S. Shapiro
On Mon, Nov 11, 2013 at 4:49 AM, Simon McVittie simon.mcvit...@collabora.co.uk wrote: Is there any platform that has more than one flavour of threads, and has to pick one per process otherwise everything breaks?... Simon: Much of what you are saying here makes sense. That still leaves me

Re: Can g_field_info_get_offset () provide same info as G_STRUCT_OFFSET?

2013-11-12 Thread Andrés G. Aragoneses
On 06/11/13 17:19, Jasper St. Pierre wrote: On Wed, Nov 6, 2013 at 10:48 AM, Andrés G. Aragoneses kno...@gmail.com mailto:kno...@gmail.com wrote: On 06/11/13 16:45, Ross Burton wrote: On 6 November 2013 14:45, Andrés G. Aragoneses kno...@gmail.com mailto:kno...@gmail.com

Re: Fwd: glib thread create API

2013-11-12 Thread Ryan Lortie
hi, On Tue, Nov 12, 2013, at 11:09, Jonathan S. Shapiro wrote: As an implementation matter, I understand that this is true. As an API matter, it's clearly false, because g_thread_self() is explicitly documented to silently return an invalid GThread* value if the calling thread was not

Re: Fwd: glib thread create API

2013-11-12 Thread Jonathan S. Shapiro
Ryan: Thanks for taking the time to explain all of this. On Tue, Nov 12, 2013 at 8:39 AM, Ryan Lortie de...@desrt.ca wrote: If you call g_thread_self() and this thread-local variable is found to be empty, then you get a GThread structure whipped-up on the spot and returned to you. Right.

Re: GTK-3 themes: cocoa theme proposal

2013-11-12 Thread Emmanuele Bassi
hi; you probably want to ask on gtk-devel-list. ciao, Emmanuele. +++ On 12 November 2013 20:24, Jérôme Lambourg lambo...@adacore.com wrote: Hello list, I’m not sure if this is the right list for this email, feel free to blame me (and indicate me where to post it) if I’m not in the right