leaving focus.

2005-12-12 Thread Craig Harding
I've looked up but can't find how I leave focus on an applet or GtkWidget. When I click a button on a widget, there's a rectangle that surrunds the whole applet. Is there a C call that leaves the focus of the window or widget? Craig. ___ gtk-app-devel

Pango 1.11.1 released

2005-12-12 Thread Matthias Clasen
Behdad stayed up all night to finish Pango 1.11.1 before leaving for the holidays. Thanks, Behdad ! Pango 1.11.1 is now available for download at: ftp://ftp.gtk.org/pub/gtk/v2.9 http://ftp.gnome.org/pub/GNOME/sources/pango/1.11 pango-1.11.1.tar.bz2 c6255bba9bb738a564716fd57b7cc546 pango-1.11.1.t

drawing an RGB bitmap or pixbuf

2005-12-12 Thread Matt Hull
I am new to gtk and trying to draw a bitmap to the screen. the bitmap is about 200 by 300 pixels with 8 bit rgb, total is 24 bits. alpha is optional at the moment. for now it is 0xff. i have tried many different examples from the internet but none seem to work. can anyone give me an example ?

Re: Custom icons

2005-12-12 Thread Iago Rubio
On Sun, 2005-12-11 at 18:57 +0100, Fernando ApesteguĂ­a wrote: > Its likely the path to your icons isn't right. If your using the glade > auto generated c code check the interfaces.c file for a line like > this > > image1 = create_pixmap (window1, "project1/blah.png"); > > I have the line: >

Re: Numeric keypad on win32 (GTK 2.6.9)

2005-12-12 Thread Gabriele Greco
Tor Lillqvist wrote: Are you sure the behaviour you see on Linux happens on all important Linux distributions and/or most Linux X server versions? What about other Unixes? I've tested also on OSX 10.3 with the "fink" gtk 2.2.x and the apple X server, the behaviour of GTK is the same I got in

Re: Custom icons

2005-12-12 Thread Andreas Stricker
Luke Biddell wrote: And while working I always have to do a make install if I change either the pixmaps or the glade file so at runtime they can be found. I'd love to know a better solution. Maybe the solution's not the use glade? I'm not aware of another solution. I ended up by letting the Pi

Re: Custom icons

2005-12-12 Thread Luke Biddell
I seem to remember something about libglade only being able to find pixmaps in the same directory as the glade file. If you search google for "libglade pixmaps" there's more info. I ended up hacking my configure.in to always install the pixmaps in the same dir as the glade file, not pretty. And w

Re: Native Windows Gtk+ from Cygwin

2005-12-12 Thread Tor Lillqvist
Daryl Lee writes: > I'm trying to use Cygwin to build a native Windows app using Gtk+. > First, the symptoms. When I run the executable froma DOS prompt, I get > an error alert: "This application as failed to start because > cygglib-2.0-0.dll was not found." Well, if the application executab

Re: GIOChannel reference counting

2005-12-12 Thread Axel Simon
On Mon, 2005-12-12 at 10:56 +, Richard Warren wrote: > Dear all, > > I would be grateful if anyone could tell me whether I need to unreference a > GIOChannel in order to destroy it properly. > > Here's what I'm currently doing: > > 1. I create a channel with g_io_channel_unix_new() from a s

GIOChannel reference counting

2005-12-12 Thread Richard Warren
Dear all, I would be grateful if anyone could tell me whether I need to unreference a GIOChannel in order to destroy it properly. Here's what I'm currently doing: 1. I create a channel with g_io_channel_unix_new() from a socket. The docs state that the initial reference count will be 1. 2.

Numeric keypad on win32 (GTK 2.6.9)

2005-12-12 Thread Tor Lillqvist
Gabriele Greco writes: > If "num lock" is selected the linux port give the events: > GDK_KP_0 .. GDK_KP_9 while the win32 version gives GDK_0 .. GDK_9. I am not 100% sure, but I think it used to be (long ago) that you got GDK_KP_* on Win32, too, but then somebody complained about it and wanted t