Re: Fonts problem

2007-07-17 Thread Luis A. Montes
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Matthew Jiang wrote: > Hi, > > When I ran GTK demo application on my ARM board, I got this error message > and the application crashed: > > (buttons:159): Pango-WARNING **: No builtin or dynamically > loaded modules were found. Pango will not work co

Fonts problem

2007-07-17 Thread Matthew Jiang
Hi, When I ran GTK demo application on my ARM board, I got this error message and the application crashed: (buttons:159): Pango-WARNING **: No builtin or dynamically loaded modules were found. Pango will not work correctly. This probably means there was an error in the creation of: '/Gtk_dk/etc

Re: gthread vs pthread

2007-07-17 Thread Chris Vine
On Tue, 2007-07-17 at 09:53 -0400, Tristan Van Berkom wrote: > On Tue, 2007-07-17 at 21:20 +0800, Gregory Hosler wrote: > > Hi, > > > > I've got a gtk+ application that needs a few threads put in it, to open up > > some > > bottlenecks. > > > > My question is whether I should go pthreads, or gth

Re: Get position of cursor in widget?

2007-07-17 Thread Chris Vine
On Tue, 2007-07-17 at 13:53 +0200, Cédric Lucantis wrote: > Le lundi 16 juillet 2007 12:50, charlesvpacker a écrit : > > I'm a GTK newbie who has successfully taken the very first > > steps toward building a custom image processing application. > > I've figured out how to read and display an image

RE: How do I remove the close button from a window in Fedora Core5?

2007-07-17 Thread Jonathan Cooper
Thank you very much, Michael! That did the trick. It was rather simple, I just didn't expect that the window wasn't realized since this same code worked fine on FC6. I just had to connect to signal_realize...and then put the code to remove the close button into the signal handler. Thanks again

Graphing widget (oscilloscope-like)?

2007-07-17 Thread david . hagood
Disclaimer: I am new to GTK programming. I'm looking for a widget which can display an oscilloscope-like display: that is, a drawable surface with an overlaid graticule of horizontal and vertical lines, plus zero or more traces consisting of a set of connected line segments defined by an array of

Re: How do I remove the close button from a window in Fedora Core 5?

2007-07-17 Thread Michael Ekstrand
On Tue, Jul 17, 2007 at 08:44:40AM -0700, Jonathan Cooper wrote: > I am not sure why, but the "GTK_WIDGET (window)->window" is false (which > I suspect means I am actually getting a NULL value for > g_type_instance_cast() which is used by the GTK_WIDGET macro). Since > the Gtk::Window::gobj() func

How do I remove the close button from a window in Fedora Core 5?

2007-07-17 Thread Jonathan Cooper
I need to remove the close button from a window, but (due to requirements beyond my control) I must use code that is compatible with libraries available in Fedora Core 5. So, I cannot use set_deletable() or gtk_window_set_deletable(). Does anyone know how to do this? I am using a class that der

Re: waveform display in gtk

2007-07-17 Thread James Scott Jr
The GIW package at http://giw.sourceforge.net/ contains a linegraph which may work for you application. There is a screenshot to help you evaluate. James, On Thu, 2007-07-12 at 11:53 +0100, Iain * wrote: > On 7/12/07, Stefan Kost <[EMAIL PROTECTED]> wrote: > > Hi, > > > > there is a few. Jokoshe

Re: gthread vs pthread

2007-07-17 Thread Tristan Van Berkom
On Tue, 2007-07-17 at 21:20 +0800, Gregory Hosler wrote: > Hi, > > I've got a gtk+ application that needs a few threads put in it, to open up > some > bottlenecks. > > My question is whether I should go pthreads, or gthreads. > > I've played a bit with pthreads, so I have some familiarity with

gthread vs pthread

2007-07-17 Thread Gregory Hosler
Hi, I've got a gtk+ application that needs a few threads put in it, to open up some bottlenecks. My question is whether I should go pthreads, or gthreads. I've played a bit with pthreads, so I have some familiarity with it. I'm wondering: - whether pthreads and gthreads can co-exist in

Re: Get position of cursor in widget?

2007-07-17 Thread Cédric Lucantis
Le lundi 16 juillet 2007 12:50, charlesvpacker a écrit : > I'm a GTK newbie who has successfully taken the very first > steps toward building a custom image processing application. > I've figured out how to read and display an image using > a GtkImage and GtkPixbuf. I've also modified a block of pi

Re: How can i look gdk-kesysm codes from python

2007-07-17 Thread Gian Mario Tagliaretti
2007/7/17, Ravi kumar Singh <[EMAIL PROTECTED]>: Hi Ravi, > I am using pygtk and want to use key-press events. i have seen all the > keycodes in "gdk/gdkkeysyms.h" but i want to use them in python. [...] > please tell me which is the exact-class which the keycodes are members > of...then i wo

How can i look gdk-kesysm codes from python

2007-07-17 Thread Ravi kumar Singh
I am using pygtk and want to use key-press events. i have seen all the keycodes in "gdk/gdkkeysyms.h" but i want to use them in python. i have seen the py-gtk documentation but i am unable to find out the exact class those keycodes are members of Currently i have only one choicei make a