Re: Error in GTK+ documentation

2007-11-20 Thread Gian Mario Tagliaretti
2007/11/20, Dan H <[EMAIL PROTECTED]>: Hi Dan, > This needs to be changed in the docs. Maybe someone on this list can bring it > to the attention of whoever is responsible. please just file a bug into bugzilla [1] product GTK component docs. cheers -- Gian Mario Tagliaretti +++ [1] http://bu

Error in GTK+ documentation

2007-11-20 Thread Dan H
Hello, Sez the GTK+ documentation (in my case it's version 2.8.20, but the current API doc hasn't changed in this respect): void gtk_container_child_get (GtkContainer *container, GtkWidget *child, const gchar *first_prop_name, ...); ..

Re: How to get stuff out of a GValue?

2007-11-20 Thread Dan H
On Tue, 20 Nov 2007 01:11:17 +0100 Benoît Dejean <[EMAIL PROTECTED]> wrote: > > - GValue left_attach; > > + GValue left_attach = { 0, }; > > + > > + g_value_init (&left_attach); > > + > > I always though that this requirement was error prone. You just get > to initialize your GValue twice to make

Re: GUI problem.

2007-11-20 Thread Michael Lamothe
Hi Alberto, Sorry, I've accidentally not replied to all. But to punish myself for doing this again I'll answer your question myself. In general, what happens when you write a multi-threaded application (that is not multi-thread safe) you'll see unpredictable results. Sometimes you will see a bug

Re: GUI problem.

2007-11-20 Thread Michael Lamothe
Hi Alberto, Sorry, I'm not sure that I follow you. I think that you are saying that you want to write the C file by yourself. I was simply hoping to give you some pointers/recommendations. If you still don't want to offer-up the source then maybe you can explain what your application does, wher

Re: GUI problem.

2007-11-20 Thread Michael Lamothe
Have a dekko at this: http://library.gnome.org/devel/gdk/unstable/gdk-Threads.html. Thanks, Michael On 21/11/2007, alberto barbaro <[EMAIL PROTECTED]> wrote: > Well. I did a small debug on my program. > I understand this: > > If i don't call the function updateGUI() all works but if i call it i

How to display Video in main window

2007-11-20 Thread sumit kumar
Hi all, I am working on multimedia application. I want to display video in main window. window = gtk_window_new (GTK_WINDOW_TOPLEVEL); I am receiving video frames in buffer.So how can I do that..which widget should i use?? regards, sumit ___ gtk-app-devel

exec application in windows

2007-11-20 Thread Martin (OpenGeoMap)
Hi: I am trying exec a exe in windows like this: GError *error; gboolean ii=g_spawn_comand_line_async ("C:/""Archivos de programa""/GlobalMapper8/global_mapper8.exe",&error); and so: GError *error; gboolean ii=g_spawn_comand_line_async ("C:/""Archivos de programa""/GlobalMapper8/global_ma

Re: exec application in windows

2007-11-20 Thread Michael Lamothe
Have you tried, gboolean ii=g_spawn_comand_line_async ("C:/Archivos de programa/GlobalMapper8/global_mapper8.exe",&error); Thanks, Michael On 21/11/2007, Martin (OpenGeoMap) <[EMAIL PROTECTED]> wrote: > Hi: > > I am trying exec a exe in windows like this: > > GError *error; > gboolean ii=g_spa

Re: exec application in windows

2007-11-20 Thread Martin (OpenGeoMap)
> Have you tried, > > gboolean ii=g_spawn_comand_line_async ("C:/Archivos de > programa/GlobalMapper8/global_mapper8.exe",&error); > > Thanks, > > Michael > > > Yes, but don´t work Regards. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gn

Re: exec application in windows

2007-11-20 Thread Michael Lamothe
If you want to put a quote in in your string you should be using \", right? Not "". Also try, gboolean ii=g_spawn_comand_line_async ("\"C:/Archivos de programa/GlobalMapper8/global_mapper8.exe\"",&error); I would've thought that one of those would work. Thanks, Michael On 21/11/2007, Michae

Re: exec application in windows

2007-11-20 Thread Tomas Carnecky
Michael Lamothe wrote: > > gboolean ii=g_spawn_comand_line_async ("C:/Archivos de > programa/GlobalMapper8/global_mapper8.exe",&error); > >> gboolean ii=g_spawn_comand_line_async ("C:/""Archivos de >> programa""/GlobalMapper8/global_mapper8.exe",&error); >> The two are exactly the same, C (pre

Re: exec application in windows

2007-11-20 Thread Michael Lamothe
Ohhh ... my bad, never tried it. Apologies, Michael On 21/11/2007, Tomas Carnecky <[EMAIL PROTECTED]> wrote: > Michael Lamothe wrote: > > > > gboolean ii=g_spawn_comand_line_async ("C:/Archivos de > > programa/GlobalMapper8/global_mapper8.exe",&error); > > > >> gboolean ii=g_spawn_comand_line_

Re: exec application in windows

2007-11-20 Thread Martin (OpenGeoMap)
thanks!! This works fine: gboolean ii=g_spawn_command_line_async ("\"C:/Archivos de programa/GlobalMapper8/global_mapper8.exe\" \"C:/Archivos de programa/files/file1.txt\"",&error); Regards. ;-) ___ gtk-app-devel-list mailing list gtk-app-

getting a pango tabarray for a specific line of text

2007-11-20 Thread Nick Gravgaard
Hi all, My application has non-uniform tabs of different sizes on different lines. Does anyone know how I should go about getting a pango tabarray for a specific line of text in a textbuffer? Thanks in advance, Nick ___ gtk-app-devel-list mailing list g

Re: getting a pango tabarray for a specific line of text

2007-11-20 Thread Behdad Esfahbod
On Wed, 2007-11-21 at 01:32 +0100, Nick Gravgaard wrote: > Hi all, > > My application has non-uniform tabs of different sizes on different > lines. Does anyone know how I should go about getting a pango tabarray > for a specific line of text in a textbuffer? Hi, That's not possible. If you have

Re: How to display Video in main window

2007-11-20 Thread Prateek . Mathur
Hi Sumit, Recently i also had the same task to do n i tried a lot many things for doing this. We finally used a gtk drawing area with gdkpixbuf. U can attach a gdkpixbuf with the drawing area and then use ur frames to update the pixbuf as they arrive. Do sum simple search on pixbuf to know mor