Re: Error messages

2002-03-14 Thread Sven Neumann
Hi, Ricky Foo [EMAIL PROTECTED] writes: I kept getting this error message: Xlib: unexpected async reply (sequence 0x342). After a while, the application crashes out. What does it mean and how can I resolve it? looks like you are using threads and didn't read the FAQ. Salut,

Re: GtkGLArea and signals

2002-03-14 Thread Sven Neumann
Hi, [EMAIL PROTECTED] writes: I've just started using GTK and GtkGLArea imparticular, and I've got a problem with signals... I have a callback that is responsible for redrawing the glarea widget when it receives an expose_event signal, which works fine when just resizing the window etc.

static executable, can't open $DISPLAY

2002-03-14 Thread Ian Britten
Hi all, I've got a bit of a wierd problem here, and am wondering if anyone has seen it before. I don't think its directly a GTK problem per se, but maybe someone here has seen this before... (Note - Let me be explicitely clear ahead of time - My $DISPLAY is correctly set) I'm working on Linux

Re: set attributes to rows in GtkTreeView

2002-03-14 Thread Bernd Demian
Am Mit, 2002-03-13 um 16.57 schrieb Havoc Pennington: I don't think there is one. What's the application? You probably have to change the color of each cell separately by setting properties on the cell renderer or writing a custom cell renderer. You can create alternating colors with

Re: set attributes to rows in GtkTreeView

2002-03-14 Thread Havoc Pennington
Bernd Demian [EMAIL PROTECTED] writes: Looks like a divide-by-zero in gtkrange.c. This is in 2.0.0? Yes 2.0 on alpha - 64 bit - offen a problem. Should be sure it's in bugzilla. btw I have a second question - we are porting a motif appl with bxm-widgets. the list widget has a feature to

Applet widget new ??

2002-03-14 Thread [EMAIL PROTECTED]
Hi all, What should I do to use applet_widget_new ? Any one can send me little exemple shown how to put a java applet in a gtk Window ?? Thank you in Advance, Yours. Faites un voeu et puis Voila ! www.voila.fr

Re: static executable, can't open $DISPLAY

2002-03-14 Thread Havoc Pennington
Ian Britten [EMAIL PROTECTED] writes: [ If you can't/shouldn't link libc in statically, how to most people create static executables? If the problem is as you describe, then it would seem that the -static GCC option is useless/dangerous... ] Yes, it basically is useless/dangerous. The

Re: static executable, can't open $DISPLAY - RESOLVED

2002-03-14 Thread Ian Britten
On 14 Mar 2002 10:22:09 -0500 Havoc Pennington [EMAIL PROTECTED] wrote: Ian Britten [EMAIL PROTECTED] writes: I'm working on Linux (Mandrake 8.1, gcc 3.0.1, etc) with gtk 1.2.10 (Ximian) When I build a dynamic executable, everything works find, as expected. When I build a static

Re: Problem with the gc I use to draw

2002-03-14 Thread Paul Davis
Hello ppl: Problem with the gc I use to draw, it leaks to other widgets. I have a Widget I use as a drawing area and 5 buttons I use to change between drawing functions. I am using these functions to draw on the Widget gdk_gc_set_line_attributes(widget-style-white_gc, lineWidth, GDK_LINE_SOLID,

Re: Problem with the gc I use to draw

2002-03-14 Thread Luis Velez
Hello ppl: Problem with the gc I use to draw, it leaks to other widgets. I have a Widget I use as a drawing area and 5 buttons I use to change between drawing functions. I am using these functions to draw on the Widget gdk_gc_set_line_attributes(widget-style-white_gc, lineWidth,

Re: Problem with the gc I use to draw

2002-03-14 Thread Paul Davis
The drawing goes fine but after I draw if I go to the buttons these get painted(as if the color leaked) in the color of the white_gc or black_gc I am using to draw. Why is this? styles are shared resources. if you don't this effect, use gtk_style_copy() and gtk_widget_set_style() to get a

Re: GtkGLArea and signals

2002-03-14 Thread layabouts
[EMAIL PROTECTED] wrote: I have another signal related problem now - I want to refresh the GL widget as soon as it is displayed, otherwise a load of random crap in memory is displayed until I (for example) rotate the view with the mouse. I really need to force this refresh to occur before