Re: Why gtk+ application are so slow

2004-12-13 Thread Joao Victor
Hello folks, I can't resist commenting about the oh-so-popular-with-gtk give me some numbers comentary. Every once in a while there's somebody saying GTK is slow, and there's another someone asking for numbers... i think we should try to figure a pattern here. If 1 person was saying GTK is slow,

gtk for sql applications

2004-12-13 Thread Piotr Legiecki
Hi I'v just done a quick search for grid like widget (or spreadsheet) which could easly arrange rows and columns of data taken from SQL querry. Well, I hove found nothing ;-( Is there really no such a widget? So how you arrange datas from SQL database? Regards Piotr L.

Re: gtk-list Digest, Vol 8, Issue 17

2004-12-13 Thread hongky gump
in my opinion, i feel the responsiveness of GTK+ apps too. i have some projects done with MFC in WIN32, later, i rebulid it with GTK+ in WIN32. But i found the case, it's slow and application main frame twinkling. and if you installed the gaim, you can push the scrolled window, it's so delay

Re: Why gtk+ application are so slow

2004-12-13 Thread Joao Victor
On Mon, 13 Dec 2004 07:51:16 -0500, Paul Davis [EMAIL PROTECTED] wrote: i must be ultra modern, then. gedit fires up slightly faster than kedit in all of 10 tests, including 5 done without flushing the buffer cache and 5 where the buffer cache was flushed every time. Could you please tell us

Re: Why gtk+ application are so slow

2004-12-13 Thread Paul Davis
On Mon, 13 Dec 2004 07:51:16 -0500, Paul Davis [EMAIL PROTECTED] wrote: i must be ultra modern, then. gedit fires up slightly faster than kedit in all of 10 tests, including 5 done without flushing the buffer cache and 5 where the buffer cache was flushed every time. Could you please tell us

Re: gtk for sql applications

2004-12-13 Thread Piotr Legiecki
Uytkownik Tim Mller napisa: On Monday 13 December 2004 13:38, Piotr Legiecki wrote: I'v just done a quick search for grid like widget (or spreadsheet) which could easly arrange rows and columns of data taken from SQL querry. Well, I hove found nothing ;-( Is there really no such a widget? So how

Re: gtk for sql applications

2004-12-13 Thread Jean Bréfort
Le lundi 13 dcembre 2004 10:29 -0500, Tristan Van Berkom a crit : On Mon, 13 Dec 2004 15:28:22 +0100, Piotr Legiecki [EMAIL PROTECTED] wrote: [...] Thanx, but I know about gnomedb. I don't want to be gnome dependant. So my question is still valid. I wonder why nobody has written such

Re: Why gtk+ application are so slow

2004-12-13 Thread Joao Victor
On Mon, 13 Dec 2004 09:14:35 -0500, Paul Davis [EMAIL PROTECTED] wrote: On Mon, 13 Dec 2004 07:51:16 -0500, Paul Davis [EMAIL PROTECTED] wrote: i must be ultra modern, then. gedit fires up slightly faster than kedit in all of 10 tests, including 5 done without flushing the buffer cache and

Re: Why gtk+ application are so slow

2004-12-13 Thread Paul Davis
P4, 2.8GHz, IDE 7200rpm drive, 2.4.26+lowlat kernel. Dude... talk about bleeding edge hardware! :P I've got a much average computer: AthlonXP2000+ 1.7Ghz 256RAM 72000rpm drive. I'm pretty sure Gedit opens really fast on your PC... but you gotta think about we poor users who just want to take

Re: gtk for sql applications

2004-12-13 Thread Tristan Van Berkom
On Mon, 13 Dec 2004 15:28:22 +0100, Piotr Legiecki [EMAIL PROTECTED] wrote: [...] Thanx, but I know about gnomedb. I don't want to be gnome dependant. So my question is still valid. I wonder why nobody has written such a usefull wigdet. Have you looked at gtkextra.sf.net ? (I dont know if

Re: Why gtk+ application are so slow

2004-12-13 Thread Owen Taylor
On Sun, 2004-12-12 at 18:50 +0300, Victor Nazarov wrote: Sven Neumann wrote: Hi, Victor Nazarov [EMAIL PROTECTED] writes: Can you give some numbers please? I don't see any noticeable delay when starting a GTK+ application. So I suspect that something is wrong with your setup.

Re: Why gtk+ application are so slow

2004-12-13 Thread Joao Victor
On Mon, 13 Dec 2004 11:08:54 -0500, Owen Taylor [EMAIL PROTECTED] wrote: Try 'fc-cache -f' as root on your system, have stale font caches is a common cause of startup slowness. Someone recently found out there's an issue with Pango that makes rendering slower when using non-english languages,

Re: Why gtk+ application are so slow

2004-12-13 Thread Owen Taylor
On Mon, 2004-12-13 at 17:03 +, Joao Victor wrote: On Mon, 13 Dec 2004 11:08:54 -0500, Owen Taylor [EMAIL PROTECTED] wrote: Try 'fc-cache -f' as root on your system, have stale font caches is a common cause of startup slowness. Someone recently found out there's an issue with Pango

Re: gtk for sql applications

2004-12-13 Thread Diego Zuccato
Piotr Legiecki wrote: Is there really no such a widget? So how you arrange datas from SQL database? Since I didn't like too much gnome-db, I wrote some more-or-less wrapper functions around PostgreSQL calls. And since I needed it, I placed a default callback to populate a GtkListStore from a

Problems printing 64-bit integers i glib 2.4.8

2004-12-13 Thread Egon Andersen
Hi, I've experienced problems with g_strdup_printf() in glib 2.4.8 when I try to print 64-bit integers on Windows. I have the following line in my code: intmax_t se_nr; /* ISO-C99 */ ... se_nr = ... /* e.g. 12345678 */ ... string = g_strdup_printf(%08PRIdMAXadmin, se_nr); string is assigend NULL

Glib 2.4.8 doesn't seem to include symbols needed by Pango

2004-12-13 Thread William Lahti
I've found a lot of posts about not being able to compile pango because of undefined symbols from glib which people continually say is because of an old version. I had no old version and installed Glib 2.4.8 and it had that problem. nm showed no signs of the culprit symbols in libglib-2.0.so.

Re: gtk for sql applications

2004-12-13 Thread Tim Müller
On Monday 13 December 2004 13:38, Piotr Legiecki wrote: I'v just done a quick search for grid like widget (or spreadsheet) which could easly arrange rows and columns of data taken from SQL querry. Well, I hove found nothing ;-( Is there really no such a widget? So how you arrange datas from

display

2004-12-13 Thread Aaron Yang
hi everyone, as gtk is event driven, does anyone know how i can create a program that can send "clicked" signals on its own without user input? e.g. void push_item( GtkWidget *widget, gpointer data ){ static int count = 1; char buff[20]; sprintf (buff, "Item %d", count++); gtk_statusbar_push

Re: gtk-list Digest, Vol 8, Issue 18

2004-12-13 Thread hongky gump
does everybody notice resolve the FRAME *twinkling* for GTK? it persecutem long time, but i did not found the way. now, i install the GAIM for WIN32. when pushing the scrolled window(that is the contact tree view) top to down, you will found it's so delay and twinking, the same situation as

i know is off of topic, but...

2004-12-13 Thread Mario Motta
hi all, someone can tell me why this piece of sw compile and works even if it should not ? $ gcc --version gcc (GCC) 3.3.1 (mingw special 20030804-1) $ gcc impossible.c -o impossible == #include stdio.h int main(int argc, char *argv[]) { int

Re: gtk for sql applications

2004-12-13 Thread Todd Fisher
Piotr Legiecki wrote: Uytkownik Tim Mller napisa: On Monday 13 December 2004 13:38, Piotr Legiecki wrote: I'v just done a quick search for grid like widget (or spreadsheet) which could easly arrange rows and columns of data taken from SQL querry. Well, I hove found nothing ;-( Is there really