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 make

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 mak

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 documentat

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 e

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 realiz

Re: Thread-save posting of events

2007-03-29 Thread JAMES SCOTT
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 experience with gtk threaded program design. having gtk thr

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 w

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

changing appearance of hscale widget

2007-03-29 Thread pritesh kumar
high all, is it possible to attach a png image as a style to hscale widget. i want to change widget appearance according to the image. is it possible to shape hscale widget according to a pixmap. i urgently need help in this regard. i want to do this for seek bar in a media player applic

Re: GtkTreeView colspan, rowspan

2007-03-29 Thread Gabriel Schulhof
Hi! On Thu, March 29, 2007 14:40, Stefan Kost wrote: > Unfortunately it is not, although I really miss it. What about implementing your own cell renderer? You could make a fancier version of GtkCellRendererText that can handle multiple text strings arranged in a grid. Of course, if what you reall

Re: Gtk-CRITICAL **: gtk_widget_event: assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed

2007-03-29 Thread Yeti
On Thu, Mar 29, 2007 at 08:41:39AM +0200, Stefan Kost wrote: > I am looking for some tips of how to get the culprit for the above > mentioned warning. I have a notebook with 5 pages. On the first tab I > have a gnome-canvas with some items on. For that I have registered an > event handler to

Re: GtkTreeView colspan, rowspan

2007-03-29 Thread Yeti
On Thu, Mar 29, 2007 at 11:32:53AM +0200, Iago Toral Quiroga wrote: > is it possible to create complex layouts using a GtkTreeView widget? I > mean, being able to expand rows or columns as in GtkTable to achieve > layouts like this one: > > - > | aa | bb

Re: GtkTreeView colspan, rowspan

2007-03-29 Thread Stefan Kost
Hi, Quoting Iago Toral Quiroga <[EMAIL PROTECTED]>: > Hi all, > > is it possible to create complex layouts using a GtkTreeView widget? I > mean, being able to expand rows or columns as in GtkTable to achieve > layouts like this one: > > - > | aa | b

GtkTreeView colspan, rowspan

2007-03-29 Thread Iago Toral Quiroga
Hi all, is it possible to create complex layouts using a GtkTreeView widget? I mean, being able to expand rows or columns as in GtkTable to achieve layouts like this one: - | aa | bbb| c | | ---IMAGE|

Re: Thread-save posting of events

2007-03-29 Thread jcupitt
On 3/29/07, Tobias Rapp <[EMAIL PROTECTED]> wrote: > Rick Jones wrote: > > I've only come across it while looking for other things, but perhaps the > > GAsyncQueues stuff would be useful for thread-to-thread comms? > > > > http://developer.gnome.org/doc/API/2.0/glib/glib-Asynchronous-Queues.html >