Newbie help: How to put a .png icon in a toolbar button ??

2002-12-11 Thread Alfredo P. Ricafort
Hi, I need some advice here as I'm terribly new to GTK+ programming(Gtk+ 1.2). I am trying to create toolbar buttons with .png icons. From what I had read, you need to use the Gdkpixbuf to do this, so I coded my program like this: pixbuf=gdk_pixbuf_new_from_file(filename); gdk_pixbuf_re

Re: Loading JPGs

2002-12-11 Thread James M. Cape
On Wed, 2002-12-11 at 18:07, Diego Zuccato wrote: > Hello all. > > I'd need to load a jpg file and eventually mark (with crosses or points) > some points on it. The jpg is fixed-size (256x256 pixels), taken from a > thumbnail gallery. > I thought I could use a gtk_pixmap or a gnome_pixmap, but it

GTK+-2.1.4 release [unstable]

2002-12-11 Thread Owen Taylor
GTK+-2.1.4 is now available for download at: ftp://ftp.gtk.org/pub/gtk/v2.1/ This is a development release leading up to GTK+-2.2. The major change as compared to the stable GTK+-2.0.6 is support for multiple displays and multiple screens in GDK, although there are numerous minor changes as we

GLib-2.1.4 release [unstable]

2002-12-11 Thread Owen Taylor
GLib-2.1.4 is now available for download at: ftp://ftp.gtk.org/pub/gtk/v2.1/ This is a development release leading up to GLib-2.2. As compared to the stable GTK+-2.0.x series, it contains a number of small API additions. Also new in this release is support for building using an included copy of

Loading JPGs

2002-12-11 Thread Diego Zuccato
Hello all. I'd need to load a jpg file and eventually mark (with crosses or points) some points on it. The jpg is fixed-size (256x256 pixels), taken from a thumbnail gallery. I thought I could use a gtk_pixmap or a gnome_pixmap, but it seems neither of them permits loading jpg files. Then I looked

Re: How to identify a particular checkbutton ?

2002-12-11 Thread Paul Davis
>I thought with gtk_object_set_data_full I can put a gchar *key and latter I ca >n "pull" this value again in callback function, manipulate this string and ext >ract what checkbutton is, but isn't, the key works how as a "index" to data pa >ssed by gtk_object_set_data... but this is not what I want

Re: How to identify a particular checkbutton ?

2002-12-11 Thread Flavio Alberto Lopes Soares
On Wed, 11 Dec 2002 08:46:09 -0500 Paul Davis <[EMAIL PROTECTED]> wrote: I thought with gtk_object_set_data_full I can put a gchar *key and latter I can "pull" this value again in callback function, manipulate this string and extract what checkbutton is, but isn't, the key works how as a "index"

Re: How to identify a particular checkbutton ?

2002-12-11 Thread Paul Davis
>I create one GtkWindow using GTK 1.2 in C with a matrix formed by 20 rows x 32 > columns = 640 checkbuttons to user to mark to create a "picture" to send to a > device attached by serial line, >to make the interface I used glade, >I attached the signal "toggled" to same function (I believe that if

Problem in cross-compile

2002-12-11 Thread Xiong Feng
Hi,     I want to cross-compile my small application for the ARM board using GTK+, but it reports many " multiple definition" error. I have cross compiled message.o, dialog.o, gnome-dialog.o and create libemapp.so emapplib.a. I think I need to recompile glib-1.2.7 and gtk+-1.2.7, I have ame

Scaling tests for GTK+ & mediaLib

2002-12-11 Thread James Cheng
Hi GTK+ team, My name is James Cheng. I have been helping Brian Cameron from Sun's Gnome team to accelerate image scaling by using functions provided in mediaLib, a product developed by our group in Sun (which can be found at http://www.sun.com/processors/vis/mlib.html ). To be specific, we are

GTK/GNOME PRGRAMMING BOOK BY Peter Wright

2002-12-11 Thread Richard Carranza
I have a question about the book by Peter Wright: GTK+/GNOME Programming. I am interested in using the program filedlg.c in Mr Wright's book. However I am writing my own program too, and I am interested in transferring the data from the variable SelectedFile in filedlg to my program, so that

Re: Does exist a "Muilti windows widget" ???

2002-12-11 Thread Michael L Torrie
On Mon, 2002-12-09 at 08:21, Michael Hill wrote: > QT has a MDI widget. It's called QWorkSpace. I also agree that they > make for a bad design and shouldn't be used. But wanted to mention > other GUI toolkits do have them. I believe wxWindows has one to.? wxWindows does indeed have one. Fortu

compile glib 2.1.3

2002-12-11 Thread younker
need pkgconfig 0.14 or higher, but where I can download the pkg-config 0.14 ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

Re: How to identify a particular checkbutton ?

2002-12-11 Thread Emmanuel Briot
On Wed, 2002-12-11 at 02:20, Flavio Alberto wrote: > I create one GtkWindow using GTK 1.2 in C with a matrix formed by 20 rows x 32 >columns = 640 checkbuttons to user to mark to create a "picture" to send to a device >attached by serial line, > to make the interface I used glade, > I attached t

Re: How to identify a particular checkbutton ?

2002-12-11 Thread Oistein Aanensen
On Wed, 2002-12-11 at 02:20, Flavio Alberto wrote: > Hello all, > > I create one GtkWindow using GTK 1.2 in C with a matrix formed by 20 rows x 32 >columns = 640 checkbuttons to user to mark to create a "picture" to send to a device >attached by serial line, > to make the interface I used glade,

RE: Problem in cross-compile

2002-12-11 Thread Joerg Vogler
Hi, I managed to build a GTK+ application for ARM some weeks ago. You cannot build GTK+ applications for ARM with glib/gtk+ libs for the PC. You have to rebuild both libs for ARM. Please refer to http://innominate.org/kurth/ipaq/cross/ to obtain more information about cross-compiling GTK+ for ARM