iterate over a model and remove rows

2007-10-05 Thread Benoît Dejean
Hello, I'd like to know if it is safe to walk over a model and remove rows at the same time. I'm doing this in gnome-system-monitor in many places. Two examples: The first function walks a list_store and removes some rows. But i can see that multiple passes are required to drop all the old

Howto embed a window into a gtk application?

2007-10-05 Thread Frank Müller
Hi. I'd like to embed an application (e.g. xterm) into my gtk application. Does anyone know a way how to do this or what functions I could use for this purpose? -- Frank Müller [EMAIL PROTECTED] ___ gtk-app-devel-list mailing list

Howto embed a window into a gtk application?

2007-10-05 Thread Frank Müller
Hi. I'd like to embed an application (e.g. xterm) into my gtk application. Does anyone know a way how to do this or what functions I could use for this purpose? Do I have to use GTK Drawing Areas? And if yes, how do I force my xterm to use a given drawing area as window? -- Frank Müller

How to draw a UYVY Image

2007-10-05 Thread Evans Magaoga
I am capturing video frames using the using video for Linux function. Is possible to display a frame (Image) in UYVY format on the screen directly using GTK. I am display RGB frame fine. I would like to know if I can display UYVY grames without converting it into RGB Kind regards Evans

RE: Auto-scrolling the scrollbar on a TreeView

2007-10-05 Thread muppet
[EMAIL PROTECTED] wrote: The behavior you want should happen automatically - works for me. Certain widgets, like the TreeView and the TextView understand if they are nested within a scrolled window and scroll automatically when needed. Probably there is something wrong with the way you set up

Re: Howto embed a window into a gtk application?

2007-10-05 Thread Micah Carrick
You can use the VTE terminal to embed a terminal into your GTK+ application: http://developer.gnome.org/arch/gnome/widgets/vte.html - Micah Carrick Developer - http://www.micahcarrick.com GTK+ Forums - http://www.gtkforums.com Frank Müller wrote: Hi. I'd like to embed an application

Re: How to draw a UYVY Image

2007-10-05 Thread Mike Melanson
Evans Magaoga wrote: I am capturing video frames using the using video for Linux function. Is possible to display a frame (Image) in UYVY format on the screen directly using GTK. I am display RGB frame fine. I would like to know if I can display UYVY grames without converting it

Re: timeout function not called

2007-10-05 Thread James Scott Jr
Vicki, Here is a more complete example of how to resolve your issue. Compile with this command '# gcc -Wall -g -O2 `pkg-config --libs --cflags gtk+-2.0 glib-2.0 gthread-2.0` gprogress.c' BEGIN-CODE #include gtk/gtk.h /* no globals */ typedef struct _INSTANCE_VALUES { GtkWidget