Re: how compile gtk application stically help in MinGW and Linux

2006-07-18 Thread Yeti
On Wed, Jul 19, 2006 at 12:03:53PM +0800, Herman wrote: > 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 > s

Re: Raster operations

2006-07-18 Thread Asela Leelaratne
Hi Ivan and Iago, Thanx for the tips and the explanations. I will study Cairo and try to draw with Cairo. --- Asela. On Tue, 18 Jul 2006 19:04:38 +0200 Iago Rubio <[EMAIL PROTECTED]> wrote: > Hi Asela, > > On Tue, 2006-07-11 at 11:45 +0900, Asela Leelaratne wrote: > > Hello List members, > [sni

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

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 ___ gtk

More about RADiola

2006-07-18 Thread Fabricio Rocha
Guys, thank you very much for your opinions and the debate -- you are great. I just hope that this talk (more conceptual, less technical) does not bother the list members. If it does, please, tell me, and I will keep the discussion only in private e-mail messages. I'll try to ad

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 string

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

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(

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: 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 li

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 onl

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 cours

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 escribió:

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 dial