Gdk Pixbuf file saving

2005-08-30 Thread Nick Watts
I am trying to create a simple photo resizing app and I can't get the gdk_pixbuf_save() function to work. I have gdk_pixbuf_scale_simple() working so I evidently have the gdk Here is my code: == static void save_image() {

Re: Gdk Pixbuf file saving

2005-08-30 Thread HuamiSoft Hubert Sokolowski
Hi! On Tue, 30 Aug 2005 17:45:53 +1000 Nick Watts [EMAIL PROTECTED] wrote: I am trying to create a simple photo resizing app and I can't get the gdk_pixbuf_save() function to work. I have gdk_pixbuf_scale_simple() working so I evidently have the gdk Here is my code:

Re: key accelerator bindings

2005-08-30 Thread Olexiy Avramchenko
Boncek, John wrote: We are using GTK 2.2.4 under MontaVista Linux with IceWM. We have been able to assign F1 thru F8, Page Up, Page Down, Enter, and keypad Enter as accelerator keys in our application, using the GTK accelerator group functions. But other keys are not working, including F9

Re: Gdk Pixbuf file saving

2005-08-30 Thread HuamiSoft Hubert Sokolowski
On Tue, 30 Aug 2005 18:35:37 +1000 Nick Watts [EMAIL PROTECTED] wrote: Thanks a whole heap man, solved my problem completely. no problem :) On 8/30/05, HuamiSoft Hubert Sokolowski [EMAIL PROTECTED] wrote: Hi! On Tue, 30 Aug 2005 17:45:53 +1000 Nick Watts [EMAIL PROTECTED]

Re: Combobox Focus Challenge!!!

2005-08-30 Thread Keith Maika
anmol dhawan wrote: Hi, In the following attached code, gtk_widget_grab_focus() is not able to shift the focus to combobox. The behavior should be: When button1 is clicked, focus should come to button and when button is clicked focus should come to combobox. But the focus is not

RE: key accelerator bindings

2005-08-30 Thread Boncek, John
It shows that each of the keys is being pressed and released, so it's not just that the physical keys are not working. -Original Message- From: Olexiy Avramchenko [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 30, 2005 3:31 AM To: Boncek, John Cc: gtk-app-devel-list@gnome.org Subject:

Re: key accelerator bindings

2005-08-30 Thread Olexiy Avramchenko
Boncek, John wrote: It shows that each of the keys is being pressed and released, so it's not just that the physical keys are not working. Well, what code does it show ? GDK_F9 has 0xffc6 code and 'xev' have to show exactly this keysym. It's possible to change keycode-keysym translation.

Internationalizing a simple Gnome Panel Applet .........?

2005-08-30 Thread Christophe Combelles
Hello, I'm trying to rewrite the openoffice quickstart panel applet for Gnome. You can try it at http://gorfou.fr/contrib/ooqstart-gnome/ooqstart-0.8.9.tgz Ot the Debian Sarge package http://gorfou.fr/contrib/ooqstart-gnome/ooqstart-gnome_0.8.9-1_i386.deb It works well, but it needs i18n now,

RE: key accelerator bindings

2005-08-30 Thread Boncek, John
F9 shows 0xffc6. (F8, which is working, shows 0xffc5.) I've tried some additional key bindings with the following results: Ctrl Shift E works E fails Ctrl Sfails Ctrl Shift Sfails Tried just a couple bindings with no window manager

rendering text to drawable

2005-08-30 Thread Mateusz Misiorny
Hi, I just wanted to render some simple strings to a drawable (a pixmap) and it seems it requires massive amount of work and code just to get a few characters on the screen. I am talking about the new way of rendering text - through pango. I have to create many structures and fill many fields

RE: key accelerator bindings

2005-08-30 Thread Boncek, John
The Escape key (GDK_Escape) works. -Original Message- From: Boncek, John Sent: Tuesday, August 30, 2005 2:09 PM To: 'Olexiy Avramchenko' Cc: gtk-app-devel-list@gnome.org Subject: RE: key accelerator bindings F9 shows 0xffc6. (F8, which is working, shows 0xffc5.) I've tried some

GTKImage displays after long latency

2005-08-30 Thread Barry Demchak
Hi -- This is my first GTK application, and I'm simply trying to display an SVG rendering in a window. I can do this OK, but it appears that there is a latency of ~2000ms between assigning the pixbuf into the GTKImage widget and actually seeing the result on the screen. FYI, the scribble