Re: gtk errors !GTK_WIDGET_REALIZED (widget) failed

2007-03-29 Thread 3saul
I'm doing it to get transparency for the window. The strange thing is is that the window is in fact shown (realized) using gtk_widget_show before I call the colormap stuff. I've managed to get this working using straight C but I'm now creating a gui using libglade. Any idea's what I need to do in

Re: gtk errors !GTK_WIDGET_REALIZED (widget) failed

2007-03-29 Thread 3saul
Looks like this is definitely a libglade issue. I found this: http://developer.gnome.org/doc/API/libglade/libglade-extending.html I can see how it would be trivial to use a custom widget for anything other than the main window itself. Any idea's how I'd achieve this? I want to specify the main

Re: gtk errors !GTK_WIDGET_REALIZED (widget) failed

2007-03-29 Thread Jonathan Winterflood
Hi, From the gtkmm documentation (just a wrapper for gtk): void Gtk::Widget::show ( ) Flags a widget to be displayed. ie. it doesn't acually show the widget, but tells gtk you'd like it to (wich it will do for you, a short time later) I'm guessing the widget hasn't had time to get realized

Fw: Thread-save posting of events

2007-03-29 Thread JAMES SCOTT
[ this repeats the note with better formatting; hopefully] Tobias, This response may be a little off topic. But as I have followed this thread I understand your are moving some application to linux from MS. Moreso, you are planning on using gtk to get that port done. Here is a little of my

Re: gtk errors !GTK_WIDGET_REALIZED (widget) failed

2007-03-29 Thread 3saul
Thanks for all the replies. Please find my anjuta project attached. It's very small and easy to see what I'm trying to achieve. You'll need anjuta 2.1.1 and glade 3. Thanks http://www.nabble.com/file/7543/src.tar.gz src.tar.gz Jonathan Winterflood wrote: Hi, From the gtkmm documentation

cross-compiling a GTK app, linux - darwin

2007-03-29 Thread Allin Cottrell
Does anyone have expertise/recommendations to share, on the subject of compiling a GTK app on x86 Linux for the powerpc-apple-darwin target? I'm familiar with the linux - win32 cross. This is relatively easy since mingw makes the win32 API available in a single package, and Tor Lillqvist

Re: cross-compiling a GTK app, linux - darwin

2007-03-29 Thread Michael Torrie
On Thu, 2007-03-29 at 22:42 -0400, Allin Cottrell wrote: Does anyone have expertise/recommendations to share, on the subject of compiling a GTK app on x86 Linux for the powerpc-apple-darwin target? I'm familiar with the linux - win32 cross. This is relatively easy since mingw makes the