Re: [Dorset] Using GtK 2 For Interfaces

2010-10-15 Thread Simon O'Riordan
This is what I;ve got so far: Gdk.Window drawable = drawingarea1.GdkWindow ; FontDescription fd = FontDescription.FromString("Sans 12"); Gdk.GC glick = new Gdk.GC(drawable); Context ct = new Context(drawingarea1.PangoContext.Handle); Font gf = ct.LoadFont(fd);

Re: [Dorset] Using GtK 2 For Interfaces

2010-10-15 Thread Simon O'Riordan
Thanks for that Ralph. I've got the Graphics Context bug sorted; apparently the GC constructor takes a graphics device object as argument, although it seems to request a pointer (raw) in the intellisense. Makes me think that the Font constructor is something equally simple. What, exactly, remains a

Re: [Dorset] Using GtK 2 For Interfaces

2010-10-15 Thread Simon O'Riordan
Ralph, you beauty! I stand corrected. But really, at that stage a straight message about a GC assert failure would not have helped! Simono On Fri, 2010-10-15 at 19:11 +0100, Ralph Corderoy wrote: > Hi Simon, > > > in a few words, NOT EVEN COMPILING. > > Well, I gave Python. You didn't say what l

Re: [Dorset] Using GtK 2 For Interfaces

2010-10-15 Thread Ralph Corderoy
Hi Simon, > in a few words, NOT EVEN COMPILING. Well, I gave Python. You didn't say what language, etc., you were using. "I'm not going to supply any error output..." or tell us the language. :-) Seems to be you're after Mono from your later email. http://www.mono-project.com/Pango:Beginners

Re: [Dorset] Using GtK 2 For Interfaces

2010-10-15 Thread Simon O'Riordan
Ralph- in a few words, NOT EVEN COMPILING. This looks insanely complex. You would think that they would try to explain how to use their product somewhere. Simono -- Next meeting: Crown Hotel, Blandford Forum, Tuesday 2010-11-02 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org

Re: [Dorset] Using GtK 2 For Interfaces

2010-10-15 Thread Simon O'Riordan
On Fri, 2010-10-15 at 14:55 +0100, Ralph Corderoy wrote: > pango.FontDescription("normal 10") > > Cheers, > Ralph. > Could have sworn I've tried that one! I'll give it another shot, and if I get the same error, then I really will supply a description. Who knows, if we crack this, I'll put th

Re: [Dorset] Which language is most popular.

2010-10-15 Thread Andrew R Paterson
On Friday 15 October 2010, Simon P Smith wrote: > On 15/10/2010 09:31, Justin Stringfellow wrote: > > On 15/10/2010 09:24, Peter Merchant wrote: > >> Been very quiet here for a few days, so I thought I'd put this link up > >> www.langpop.com Does anyone use 'D'? > > > > If you're referring to th

Re: [Dorset] Using GtK 2 For Interfaces

2010-10-15 Thread Ralph Corderoy
Hi Simon, > I'm not going to supply any error output or listen to (too much) of a > lecture about Pango being a text-rendering add-in; the documentation is > poor, but I've used it to solve most of the gtk-pango issues. Perhaps pango.FontDescription("normal 10") Cheers, Ralph. -- Next me

[Dorset] Using GtK 2 For Interfaces

2010-10-15 Thread Simon O'Riordan
This is getting to be silly; Gtk 2 uses Pango for parts of the interface rendering. I am getting runtime errors due almost certainly to my inability to supply a Pango.Font object. I'm not going to supply any error output or listen to (too much) of a lecture about Pango being a text-rendering add-in

Re: [Dorset] Which language is most popular.

2010-10-15 Thread Simon O'Riordan
Brilliant book. Copy saved. Thanks, Ralph. Simono On Fri, 2010-10-15 at 13:08 +0100, Ralph Corderoy wrote: > Hi Paul, > > > I did have a play with BCPL that it was developed from though. ... I > > think B was then developed into C, etc. > > Yes, BCPL was by Martin Richards at Cambridge Universi

Re: [Dorset] Which language is most popular.

2010-10-15 Thread Ralph Corderoy
Hi Paul, > I did have a play with BCPL that it was developed from though. ... I > think B was then developed into C, etc. Yes, BCPL was by Martin Richards at Cambridge University and was a stripped-down version of CPL, the B meaning basic. That meant it was easier to write a compiler for it,

Re: [Dorset] Which language is most popular.

2010-10-15 Thread Simon P Smith
On 15/10/2010 12:03, Paul Tansom wrote: > > I've also used APL, which isn't > _ Yikes, I remember APL (another programming language) hieroglyphics but brilliant at matrix manipulation - used it to calculate radiation patterns for tornado nose cones ... Si -- Next mee

Re: [Dorset] Which language is most popular.

2010-10-15 Thread Simon O'Riordan
> > > Does anyone remember 'B' - showing my age! > > Si I have a bad memory of B. I went for an interview at the Genome Project in Cambridge. They wanted a B programme re-written in C++. It came down to the last two. I submitted an STL programme which was a general solution to their problem, scal

Re: [Dorset] Which language is most popular.

2010-10-15 Thread Paul Tansom
** Simon P Smith [2010-10-15 11:47]: > On 15/10/2010 09:31, Justin Stringfellow wrote: > > On 15/10/2010 09:24, Peter Merchant wrote: > >> Been very quiet here for a few days, so I thought I'd put this link up > >> www.langpop.com Does anyone use 'D'? > > > > If you're referring to the language

Re: [Dorset] Which language is most popular.

2010-10-15 Thread Simon P Smith
On 15/10/2010 09:31, Justin Stringfellow wrote: > On 15/10/2010 09:24, Peter Merchant wrote: >> Been very quiet here for a few days, so I thought I'd put this link up >> www.langpop.com Does anyone use 'D'? > > If you're referring to the language known as "D" used with Solaris' > Dtrace debugger,

Re: [Dorset] Which language is most popular.

2010-10-15 Thread Simon O'Riordan
On Fri, 2010-10-15 at 10:50 +0100, Justin Stringfellow wrote: > So, like C++, only better? > > Hmm... that sounds like every other language on the planet* > > cheers, > --justin > You kidding? Writing a 'hello world' in Eiffel is like passing a boulder. Simono -- Next meeting: Crown Hotel, B

Re: [Dorset] Which language is most popular.

2010-10-15 Thread Justin Stringfellow
According to Google search and Wikipedia there is and it is a development of c++. "It originated as a re-engineering of C++, but even though it is predominantly influenced by that language, it is not a variant of C++. D has redesigned some C++ features and has been influenced by concepts used i

Re: [Dorset] Which language is most popular.

2010-10-15 Thread Peter Merchant
On Fri, 2010-10-15 at 09:31 +0100, Justin Stringfellow wrote: > On 15/10/2010 09:24, Peter Merchant wrote: > > Been very quiet here for a few days, so I thought I'd put this link up > > www.langpop.com Does anyone use 'D'? > > If you're referring to the language known as "D" used with Solaris' >

Re: [Dorset] Which language is most popular.

2010-10-15 Thread David Wilkinson
On 15/10/10 09:31, Justin Stringfellow wrote: On 15/10/2010 09:24, Peter Merchant wrote: Been very quiet here for a few days, so I thought I'd put this link up www.langpop.com Does anyone use 'D'? If you're referring to the language known as "D" used with Solaris' Dtrace debugger, then the a

Re: [Dorset] Which language is most popular.

2010-10-15 Thread Justin Stringfellow
On 15/10/2010 09:24, Peter Merchant wrote: Been very quiet here for a few days, so I thought I'd put this link up www.langpop.com Does anyone use 'D'? If you're referring to the language known as "D" used with Solaris' Dtrace debugger, then the answer is yes. Is there another D? cheers, --j

[Dorset] Which language is most popular.

2010-10-15 Thread Peter Merchant
Been very quiet here for a few days, so I thought I'd put this link up www.langpop.com Does anyone use 'D'? Peter -- Next meeting: Crown Hotel, Blandford Forum, Tuesday 2010-11-02 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ How to Report Bugs Effectively: http://g