Re: g_io_add_watch() callback called constantly

2007-12-07 Thread Tor Lillqvist
I wrote: What is it that you create the GIOChannel for? Ah, you said it yourself, g_iochannel_new_file(), so for a plain file presumably. You mean that the processes take turns appending their messages to the file, and the other process then reads it from the file, and then appends its own

Re: g_io_add_watch() callback called constantly

2007-12-07 Thread Tor Lillqvist
What is it that you create the GIOChannel for? A socket? A C library file descriptor? How do you create it? Can you distill the problematic parts of your application down to two minimal but complete sample programs and make them available on the web? --tml

g_io_add_watch() callback called constantly

2007-12-07 Thread Gnaural
I'm using GIOChannel for two apps to communicate with each other, mostly because glib/GTK code cross-compiles so easily to Win32. With that goal, I use g_io_channel_new_file() (since it looks like the most platform independent) with a g_io_add_watch() callback. Then I just sit in gtk_main(), and

Re: GtkExtra mailing list dead?

2007-12-07 Thread Goran Rakic
У пет, 07. 12 2007. у 09:28 +0100, Dan H пише: Hello, I'm currently struggling with the GtkExtra toolkit for generating 2D line plots. From what I saw in the example programs this is a great suite of tools, but unfortunately completely undocumented, which, given the complexity of the

GtkExtra mailing list dead?

2007-12-07 Thread Dan H
Hello, I'm currently struggling with the GtkExtra toolkit for generating 2D line plots. From what I saw in the example programs this is a great suite of tools, but unfortunately completely undocumented, which, given the complexity of the suite, makes it very difficult to get started with. So

Re: Invalid UTF8 string passed to pango_layout_set_text()

2007-12-07 Thread Stephen Fisher
On Sat, Dec 08, 2007 at 11:45:44AM +0530, Naveen Kumar wrote: I tried to convert the string which read from the file utf8 format using g_locale_to_utf8 (string, -1 , NULL, NULL, NULL); but it is returning NULL string ... Try passing a GError array as the final parameter then print out

Invalid UTF8 string passed to pango_layout_set_text()

2007-12-07 Thread Naveen Kumar
Hi all, I am trying add contents to clist from a file which contains filenames, It is unable display the contents which i m expecting it is giving a warning WARNING **: Invalid UTF8 string passed to pango_layout_set_text()

Re: g_io_add_watch() callback called constantly

2007-12-07 Thread Gnaural
Thanks for the reply, this helps because I got the (mis)impression from the docs that g_io_channel_new_file() was the best cross platform approach... but I didn't really realize it really was just a plain fopen() file! I guess I thought is was a magic file :-) But it was a fun investigation -- my

Hidden dialogs on Windows after changing a window

2007-12-07 Thread Enrico Tröger
Hi, the attached sample program creates a GtkWindow and shows a filechooser dialog. The parent of the dialog is the create window. When executing, both windows show up. Then I change to another open application and then change back to the simple test program(using the taskbar). And on Linux the

Set widget size in percentage

2007-12-07 Thread Prashant J Zaveri
Hello... I am writing a gtk application to run on some other display. I want to maintain the size and layout of widgets that I have set on my desktop.For that I would like to specify widget size in percentage. Any idea how can I do that... -- Thanks Prashant

Drag and Drop Help

2007-12-07 Thread Mats Vold
I'm trying to create a drag and drop destination, and I have the following code (excerpt): gboolean drag_motion (GtkWidget *widget, GdkDragContext *context, gintx, ginty, guint time, gpointer

Re: Developer COBOL + GTK

2007-12-07 Thread Micah Carrick
I don't know of COBOL for GTK. You can see a list of GTK+ programming language bindings at http://www.gtk.org/bindings.html - Micah Carrick Developer - http://www.micahcarrick.com GTK+ Forums - http://www.gtkforums.com Ronaldo Ottoni wrote: Hi, I am a developer of the COBOL language and

Developer COBOL + GTK

2007-12-07 Thread Ronaldo Ottoni
Hi, I am a developer of the COBOL language and would like to know if there is possibility of using the API GTK with the COBOL language, if there is a possibility, I would like to receive assistance from members. Thanks Ronaldo OTtoni ___

Re: [directfb-dev] GDK-DirectFB Patches

2007-12-07 Thread Denis Oliver Kropp
Attilio Fiandrotti wrote: Attilio Fiandrotti wrote: Denis Oliver Kropp wrote: Attilio Fiandrotti wrote: Yesterday i noticed the very same issue Reny spotted (even without the HACK files). So my idea is committing the single gdkevens patch now and wait some more before applying the last

Re: [directfb-dev] GDK-DirectFB Patches

2007-12-07 Thread Denis Oliver Kropp
Attilio Fiandrotti wrote: I jsut completed testng the incremental application of the patches Thanks! provided by dok in the order he indicated (NO_EXPERIMENTS was defined). * Patches which are ok and i think can be committed right now are window_flip_group.patch (this is the patch which

Re: [directfb-dev] GDK-DirectFB Patches

2007-12-07 Thread Attilio Fiandrotti
Denis Oliver Kropp wrote: Attilio Fiandrotti wrote: I jsut completed testng the incremental application of the patches Thanks! provided by dok in the order he indicated (NO_EXPERIMENTS was defined). * Patches which are ok and i think can be committed right now are