Question about Color name Gtk+ knowns

2006-09-04 Thread chao yeaj
Hello all The gtk's document file saids GTK+ knows all names from the X color database /usr/lib/X11/rgb.txt) But ,in my PC, i can not find this file named rgb.txt My OS is :Fedora Core 5 Why ? Any comments would be much appreciated ,and thanks in advance

Re: Question about Color name Gtk+ knowns

2006-09-04 Thread Yeti
On Mon, Sep 04, 2006 at 02:01:14PM +0800, chao yeaj wrote: The gtk's document file saids GTK+ knows all names from the X color database /usr/lib/X11/rgb.txt) But ,in my PC, i can not find this file named rgb.txt My OS is :Fedora Core 5 $ cat /etc/fedora-release Fedora Core

Re: How to save/load GtkTreeStore into a file?

2006-09-04 Thread Vivien Malerba
On 8/29/06, chabayo [EMAIL PROTECTED] wrote: Hello all,... ...i try to load a GtkTreeStore from a file that i was saving with gtk_tree_store_foreach calling a function inheritting gtk_tree_model_get_string_from_iter (the 0:0,0:1,1:0:0,... thing) and gtk_tree_model_get . Now it would be

show an image in gtk window!

2006-09-04 Thread ferri_marllo
Hi!! Please i need help... i want to build a window,and show into it this image in it: c:\dates\image.jpg I tried with image=create_pixbuf(window1,c:\\dates\\image.jpg) but it showed an error message:Couldn't find the file. Then i tried with

insert an image in a window created with gtk!

2006-09-04 Thread ferri_marllo
I'm trying to insert an image in a window creted with gtk. The problem is that the image doesn't appear efter executing,and there'not an error message. Can you help me?? #include gtk/gtk.h #include gdk-pixbuf/gdk-pixbuf.h int main(int argc,char **argv) { GtkWidget *window; GtkWidget

Re: insert an image in a window created with gtk!

2006-09-04 Thread Sean
On Mon, 4 Sep 2006 12:08:57 +0200 [EMAIL PROTECTED] wrote: I'm trying to insert an image in a window creted with gtk. The problem is that the image doesn't appear efter executing,and there'not an error message. Can you help me?? Your program works here under Linux. Are you sure the path to

Re: How to update a treeview with values from a closed dialog?

2006-09-04 Thread Eduardo M KALINOWSKI
Fabricio Rocha wrote: Hi all! RADiola is going on, as far as I have time to develop it :) It has been a great learning exercise, and I am happy that I could update my C knowledge (which was full of dust) and learn a lot about GTK without having to bug the list all the time! However,

Invalid UTF String

2006-09-04 Thread shibu alampatta
hi all I' m using a combo box, reading text from a Sqlite database table, and trying to add to the combo dropdown list. I'm gettting the warnig Pango-Warning: Invalid UTF String passed to pango_lay_out_set_text(), and the text is being dispalayed in some picture like characters. but if i prints

RE: Invalid UTF String

2006-09-04 Thread Viraj Chatterjee
The string isn't UTF-8 encoded and the pango function you're using needs the data to be in UTF-8. printf is a standard library function and would need the string in host encoding. Look for functions to convert a host encoded string to UTF-8 and then pass that to the pango API. -vc

Re: Invalid UTF String

2006-09-04 Thread Yeti
On Mon, Sep 04, 2006 at 02:15:09PM +0530, shibu alampatta wrote: I' m using a combo box, reading text from a Sqlite database table, and trying to add to the combo dropdown list. I'm gettting the warnig Pango-Warning: Invalid UTF String passed to pango_lay_out_set_text(), and the text is being

Re: insert an image in a window created with gtk!

2006-09-04 Thread Tor Lillqvist
Sean writes: Your program works here under Linux. Works fine here on Windows, too. Most probably he has screwed up his GTK+ installation by moving and copying DLLs around willy-nilly so that GTK+ doesn't find its gdk-pixbuf.loaders file, and thus can't load the .bmp file. Ferri (is that your

cairo/Gtk X compile problem.

2006-09-04 Thread harshavardhanreddy mandeepala
Hi All, I am trying to cross compile cairo-1.1.6 for ARM11before cross compiling Gtk. I already compiled Xcompiled, XFree86-4.6. But when i cross compile cairo-1.1.6 it is giving following error. if arm-none-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_GNU_SOURCE -I. -I../pixman/src

Pango-1.14.3 released

2006-09-04 Thread Behdad Esfahbod
Pango-1.14.3 is now available for download at: http://download.gnome.org/sources/pango/1.14/ or ftp://ftp.gtk.org/pub/pango/1.14 afaf7128791f31b225079f73322eb67d pango-1.14.3.tar.bz2 b0904336167ab64af068b8d126bf6407 pango-1.14.3.tar.gz This is a stable release and is source and binary

[Fwd: Pango-1.14.3 released]

2006-09-04 Thread Behdad Esfahbod
Oops, Overview of changes between 1.14.2 and 1.14.3 == * Win32 build improvement. [Tor Lillqist] * Bugs fixed in this release: Bug 353525 – libpangoft2-1.0.so.0: undefined reference to `pango_font_description_get_gravity'

create_pixbuf/gtk_image_new_from_file

2006-09-04 Thread ferri_marllo
Hi!! Please i need help... i want to build a window,and show into it this image in it: c:\dates\image.jpg I tried with image=create_pixbuf(window1,c:\\dates\\image.jpg) but it showed an error message:Couldn't find the file. Then i tried with

Re: Why extension events are disabled by default?

2006-09-04 Thread Tommi Komulainen
On Fri, 2006-09-01 at 12:04 -0400, ext Owen Taylor wrote: I can't really give an exact reasons at this point ... this was pretty much my first submission to GTK+ in 1997, which is a long time ago. But I'd basically say that the current situation is due to major limitations in the the XInput

Insert an image into a gtk_window

2006-09-04 Thread ferri_marllo
I'm trying to insert an image in a window creted with gtk. The problem is that the image doesn't appear efter executing,and there'not an error message. Can you help me?? #include gtk/gtk.h #include gdk-pixbuf/gdk-pixbuf.h int main(int argc,char **argv) { GtkWidget *window; GtkWidget

Re: Insert an image into a gtk_window

2006-09-04 Thread Emmanuele Bassi
Hi; On Mon, 2006-09-04 at 12:07 +0200, [EMAIL PROTECTED] wrote: I'm trying to insert an image in a window creted with gtk. The problem is that the image doesn't appear efter executing,and there'not an error message. Check the console: if there has been an error loading the image you should be

Re: Reloading keymap under DirectFB

2006-09-04 Thread Tim Janik
On Sun, 3 Sep 2006, Denis Oliver Kropp wrote: Attilio Fiandrotti schrieb: Sven Neumann wrote: Why is reloading the keymap needed in the first place? I suggest that this is fixed in DirectFB instead of adding an API for the sole purpose of working around what appears to be a bug in DirectFB.

Re: Invert characters' rendering when text cursor is fat

2006-09-04 Thread Masatake YAMATO
Could you give me a mail if you read this message? Also please, give me hints for the reason why I cannot get any ack from gtk+ developers. I'm afraid my messages went to somewhere /dev/null of the net. I had got no answer yet about my patch:

Pango-1.14.3 released

2006-09-04 Thread Behdad Esfahbod
Pango-1.14.3 is now available for download at: http://download.gnome.org/sources/pango/1.14/ or ftp://ftp.gtk.org/pub/pango/1.14 afaf7128791f31b225079f73322eb67d pango-1.14.3.tar.bz2 b0904336167ab64af068b8d126bf6407 pango-1.14.3.tar.gz This is a stable release and is source and binary

[Fwd: Pango-1.14.3 released]

2006-09-04 Thread Behdad Esfahbod
Oops, Overview of changes between 1.14.2 and 1.14.3 == * Win32 build improvement. [Tor Lillqist] * Bugs fixed in this release: Bug 353525 – libpangoft2-1.0.so.0: undefined reference to `pango_font_description_get_gravity'