GTK+ 2.7.0 released [unstable]

2005-06-20 Thread Matthias Clasen
GTK+ 2.7.0 is now available for download at: ftp://ftp.gtk.org/pub/gtk/v2.7/ gtk+-2.7.0.tar.bz2 md5sum: d4acba5ed2be742d412b165d8b51acfc gtk+-2.7.0.tar.gz md5sum: baec8daf006b10812ea4173368a50998 This is the first development release leading up to GTK+ 2.8. The major change in thi

Re: get size of a GTKImage

2005-06-20 Thread Brian J. Tarricone
[EMAIL PROTECTED] wrote: > I am writing some app where I need to move an image around inside a GtkFixed, > and I need to get it's size. > > I create the image from a file with gtk_image_set_from_file() > > Is there an easy way? I managed to get it's dimens

get size of a GTKImage

2005-06-20 Thread davidgn
I am writing some app where I need to move an image around inside a GtkFixed, and I need to get it's size. I create the image from a file with gtk_image_set_from_file() Is there an easy way? I managed to get it's dimensions by getting it's pixbuf,

100 Different Colors

2005-06-20 Thread Lola Smith
Hello, I need to create 100 little squares and each of them has to be a different color. They can't just be a random color: they have to follow the colors of the standard color spectrum/palette. For example, the first one is dark blue, then lighter blue, ... , green, ... , red. I am new to GTK,

Question about gtk_text_buffer_insert

2005-06-20 Thread Michal Porzuczek
Hi, When using gtk_text_buffer_insert on a GtkTextView widget that is open at the same time as I edit the textView's buffer can this be responsible for a Seg Fault and or a pretty dramatic decrease in CPU performance? Is there an alternative? Michal ___

Pango-1.9.0 released [unstable]

2005-06-20 Thread Owen Taylor
Pango-1.9.0 is now available for download at: ftp://ftp.gtk.org/pub/gtk/v2.7/ pango-1.9.0.tar.bz2 md5sum: d4948020be961217f2c3b0c0470762d1 pango-1.9.0.tar.gzmd5sum: acd786b4995ab233e3f4345db787e6f1 This is a development release leading up to Pango-1.10.0, which will be released together

Re: What key is now pressed?

2005-06-20 Thread Liam R. E. Quin
On Mon, 2005-06-20 at 21:28 +, Jan wrote: > Hello. > > Using gdk_display_get_pointer, I can know is ctrl, alt, shift now up or > down, > and I wonder is there function to check up or down any key? A better approach is often to have a callback for a keypress and/or key release. Have your pro

Re: GTK themes on windows

2005-06-20 Thread Deekshit M
Yes... That is exactly the problem. I replaced the exsiting engine dll files with the one from 2.4 and everything is fine now. Thank you very much Deekshit M --- Tor Lillqvist <[EMAIL PROTECTED]> wrote: > Deekshit M writes: > > After that I get an error message "The procedure > entry point >

Re: GTK themes on windows

2005-06-20 Thread Tor Lillqvist
Deekshit M writes: > After that I get an error message "The procedure entry point > g_return_if_fail_warning could not be located in dynamic link > library libglib-2.0-0.dll", for any GTK application. My guess is that you are using a theme engine built for GTK+ 2.6 with a GTK+ 2.4 (and GLib 2.4

Re: GTK themes on windows

2005-06-20 Thread Deekshit M
Hi , I added the following line in.gtkrc-2.0 include "D:/GnuWin32/share/themes/Glossy/gtk-2.0/gtkrc", in C:\Documents and Settings\. IN fact, the file was already existsing. I just removed all the contests and added this line. After that I get an error message "The procedure entry point g_return

What key is now pressed?

2005-06-20 Thread Jan
Hello. Using gdk_display_get_pointer, I can know is ctrl, alt, shift now up or down, and I wonder is there function to check up or down any key? ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk

scratchbox / Re: arm-llinux-gcc cross compile

2005-06-20 Thread Toni Willberg
On Mon, 2005-06-20 at 10:56 -0400, Mike Gilorma wrote: > I'm trying to develop an application to run on a pxa-255 based system, so I > need to use a cross complier. When I try to cross compile, I get an error > message that says "gtk/gtk.h: No such file or directory." The test program > I have

Re: how to set icon for gtk app on windows?

2005-06-20 Thread Hubert Sokołowski
I found a way to do that, maybe someone will need it too. You have to create a resource file that references your icon. --- begin foo.rc --- 1 ICON "foo.ico" --- end foo.rc --- Then compile this file with windres windres foo.rc fooicon.o Then link your program. gcc -o foo.exe -mwindows foo.

arm-llinux-gcc cross compile

2005-06-20 Thread Mike Gilorma
I'm trying to develop an application to run on a pxa-255 based system, so I need to use a cross complier. When I try to cross compile, I get an error message that says "gtk/gtk.h: No such file or directory." The test program I have written complies fine normally, and I have used the cross comp

how to set icon for gtk app on windows?

2005-06-20 Thread Hubert Sokołowski
Hi! I post this question on this list because I believe I can find here programmers that use gtk on windows. I want to add an icon to my gtk application on windows. Anyone know how to do that ? Are there any free tools on the net for this? I found some to extract icons from executable files but n

Re: GtkTreeView issues (porting from GtkCList)

2005-06-20 Thread Yury Aliaev
Thanks a lot, this probably is a solution :-) ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: GTK themes on windows

2005-06-20 Thread Deekshit M
Hi, I heard a lot about pixmap-engine. Is it a downloadable engine, or available with standard GTK package itself. Thanks Deekshit M --- Carlo Agrusti <[EMAIL PROTECTED]> wrote: > Deekshit M ha scritto lo scorso 19/06/2005 20:17: > > Hi all, > >I wanted to know how do I add a theme to the

Re: GTK themes on windows

2005-06-20 Thread Carlo Agrusti
Deekshit M ha scritto lo scorso 19/06/2005 20:17: Hi all, I wanted to know how do I add a theme to the windows application, that I am am developing on windows. I could see that, when I change the theme using theme-selector applictaion, the theme for the GTK-demos get changed. But not for my ap