Re: Simple Yes/No dialog

2006-07-18 Thread Roland Koebler
On 15-Jul-2006 15:34:12, Freddie Unpenstein wrote: if you want to make non-blocking dialogs, you have to take care i.e. that: - a lot of non-blocking-dialogs may be opened, and stay open. gtk_widget_present() comes in handy there... thanks, this is very useful for non-blocking dialog. but

Re: Strange compile error : /usr/include/ cairo/cairo.h:55: error: expected ‘=’, =?U TF-8?Q?=E2=80=98,=E2=80=99,_=E2=80=98; =E2=80=9 9?= , ‘asm’ or ‘__attribute__’ before ‘ int’

2006-07-18 Thread Ivan Baldo
Maybe you have a name clash with GTK. Try to #include gtk.h sooner in state_panel.h and try to include state_panel.h sooner in state_panel.c. By sooner I mean before other #include's and other definitions from your program. Hope this helps. El 11/07/06 22:43, chao yeaj

Re: Raster operations

2006-07-18 Thread Ivan Baldo
Have you looked at Cairo? Instead of using GDK you can use Cairo. Unfortunately I don't know anything about ROP2, ROP3, Porter and Duff, I don't know what they are, but using Cairo is easy and seems more powerful than GDK to me, I use a GtkDrawingArea too (but drawing with Cairo of

Re: Multi-threaded gtk app very very slow

2006-07-18 Thread Daniel Haude
On Mon, 17 Jul 2006 20:10:05 +0200, Mark Richardson [EMAIL PROTECTED] wrote: I have a multi-threaded application that I developed using gtk 2.4.1 I'm writing one of those myself, and funny things can happen. One important rule to remember is this: Run all your GUI stuff in one thread only.

Re: Multi-threaded gtk app very very slow

2006-07-18 Thread John Cupitt
On 7/17/06, Mark Richardson [EMAIL PROTECTED] wrote: I ran the debugger and came up with this (for the primary gtk thread - all other threads aren't blocking). ?? _XRead() from libX11.so.6 _XReply() from libX11.so.6 _XIDHandler() from libX11.so.6 XCreatePixmap() from

Problem running program

2006-07-18 Thread Nathan Beaulieu
Hi, Here is my environment: OS: Win XP Pro IDE: Eclipse/CDT Compiler: gcc (cygwin) I copied the code from http://www.gtk.org/tutorial/c58.html#SEC-HELLOWORLDand I got it to build the .exe but when I run it I get this: (process:28052): GLib-GObject-WARNING **: invalid cast from `(null)' to

Re: Raster operations

2006-07-18 Thread Iago Rubio
Hi Asela, On Tue, 2006-07-11 at 11:45 +0900, Asela Leelaratne wrote: Hello List members, [snip] The problem is I need to do some raster operations like ROP2, ROP3, Porter and Duff etc... Are there any api's in Gtk(or Gdk) to achive it? If not is there a library or something that I can use(C

glade begginer - callbacks.c

2006-07-18 Thread nuser
hi, my application is writen in c, and I use a file for the functions, another one to hold the several structs are being used (using typedef), and the functions prots. another application uses these methods to manipulate data. so in the other source.c, in the main() function i declared

Pango Text Rendering

2006-07-18 Thread Ian Bull
Hi all, I have a small app (written in Swing) which renders a bunch of Text on a Canvas. I was hoping to use GTK for a similar task. I have very limited GTK+ (and Pango) experience, so this is probably something I'm doing wrong. Using Swing I was able to render about 500,000 Hello, World

how compile gtk application stically help in MinGW and Linux

2006-07-18 Thread Herman
Hi all!! I have try ./configure --disable-shared under MSYS but no result need dll what i must to do for get EXE without dll i'm using msys and msys-dev mingw under gcc i also have try put --all-static in Makefile ldflags but result is same ___

Re: More about RADiola

2006-07-18 Thread Atanas Atanasov
Why don't you try to set a mailing list at sourceforge - it should be possible. This way we will keep RADiola specific talk there. I like the idea of XML code template. It can be a good option to make the code browser fairly portable languagewise. Though we have to discuss this. I have a couple