GTK+ 2.10.3 released
GTK+ 2.10.3 is now available for download at: ftp://ftp.gtk.org/pub/gtk/v2.10/ http://ftp.gnome.org/pub/GNOME/sources/gtk+/2.10/ gtk+-2.10.3.tar.bz2 md5sum: c662ca204e204edfd8b8b917b9a852aa gtk+-2.10.3.tar.gzmd5sum: 138374669cb1d6cf8123fd78fa30433e This is a bug fix release and is source and binary compatible with 2.10.0. What is GTK+ GTK+ is a multi-platform toolkit for creating graphical user interfaces. Offering a complete set of widgets, GTK+ is suitable for projects ranging from small one-off tools to complete application suites. GTK+ has been designed from the ground up to support a range of languages, not only C/C++. Using GTK+ from languages such as Perl and Python (especially in combination with the Glade GUI builder) provides an effective method of rapid application development. GTK+ is free software and part of the GNU Project. However, the licensing terms for GTK+, the GNU LGPL, allow it to be used by all developers, including those developing proprietary software, without any license fees or royalties. Where to get more information about GTK+ Information about GTK+ including links to documentation can be found at: http://www.gtk.org/ An installation guide for GTK+ 2.10 is found at: http://developer.gnome.org/doc/API/2.0/gtk/gtk-building.html Common questions: http://developer.gnome.org/doc/API/2.0/gtk/gtk-question-index.html http://www.gtk.org/faq/ Overview of Changes from GTK+ 2.10.2 to 2.10.3 == * GtkFileChooser: - Fix several Win32-specific problems - Add automated tests for GtkFileSystem - Make overwrite confirmation work again * Printing support: - Fix confusion between names and values in combo boxes - Poll for printer list updates in the cups backend * Add an automatic scrolling example to gtk-demo * Bugs fixed: 354004 Use of g_warning("%s", NULL) after failing to open a display 346751 symbolic colors can't be use in properties 352264 gtk_status_icon_set_from_pixbuf leaks the old pixbuf 352391 small link button leak 353449 A break is missing in gtk_recent_chooser_menu_set_current_uri 329604 do not scroll on copy to clipboard 354035 Typo in the GtkWidget::drag-drop doc blurb * Translation updates (ang,bn_IN,ca,de,dz,el,eu,fi, fr,hi,hu,it,ja,lt,ml,mr,nn,or,pl,pt_BR,ro,ru,sl, sr,[EMAIL PROTECTED],sv,ta,th,tr,vi,zh_CN,zh_HK,zh_TW) A list of all bugs fixed in this release can be found at: http://bugzilla.gnome.org/buglist.cgi?bug_id=354004,346751,352264,352391,353449,329604,354035 Thanks to all contributors: Paolo Borelli, Tor Lillqvist, Federico Mena Quintero, Ross Burton, Michael Natterer, Emmanuele Bassi, Jan Arne Petersen, Abel Cheung, Chris Wilson, Mariano Suárez-Alvarez, Frederic Crozat, Kristian Rietveld, Yevgen Muntyan Matthias Clasen September 5, 2006 ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[Fwd: Pango-1.14.3 released]
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' Bug 349813 – typo in docs for pango_layout_move_cursor_visually behdad Forwarded Message From: Behdad Esfahbod <[EMAIL PROTECTED]> To: gnome-announce-list@gnome.org, gtk-app-devel-list@gnome.org, gtk-devel-list@gnome.org, gtk-i18n-list@gnome.org, gtk-list Subject: Pango-1.14.3 released Date: Mon, 04 Sep 2006 23:53:50 -0400 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 compatible with 1.14.0. About Pango === Pango is a library for layout and rendering of text, with an emphasis on internationalization. Pango can be used anywhere that text layout is needed, though most of the work on Pango so far has been done in the context of the GTK+ widget toolkit. Pango forms the core of text and font handling for GTK+-2.x. Pango is designed to be modular; the core Pango layout engine can be used with different font backends. There are three basic backends, with multiple options for rendering with each. - Client side fonts using the FreeType and fontconfig libraries. Rendering can be with with Cairo or Xft libraries, or directly to an in-memory buffer with no additional libraries. - Native fonts on Microsoft Windows. (Optionally using Uniscribe for complex-text handling). Rendering can be done via Cairo or directly using the native Win32 API. - Native fonts on MacOS X, rendering via Cairo. The integration of Pango with Cairo (http://cairographics.org) provides a complete solution with high quality text handling and graphics rendering. Dynamically loaded modules then handle text layout for particular combinations of script and font backend. Pango ships with a wide selection of modules, including modules for Hebrew, Arabic, Hangul, Thai, and a number of Indic scripts. Virtually all of the world's major scripts are supported. As well as the low level layout rendering routines, Pango includes PangoLayout, a high level driver for laying out entire blocks of text, and routines to assist in editing internationalized text. More information about Pango is available from http://www.pango.org/. Bugs should be reported to http://bugzilla.gnome.org. Pango 1.14 depends on version 2.10.0 or newer of the GLib library and version 1.2.2 or newer of the cairo library (if the cairo backend is desired); more information about GLib and cairo can be found at http://www.gtk.org/ and http://cairographics.org/ respectively. Behdad Esfahbod 4 September 2006 -- behdad http://behdad.org/ "Commandment Three says Do Not Kill, Amendment Two says Blood Will Spill" -- Dan Bern, "New American Language" ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Pango-1.14.3 released
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 compatible with 1.14.0. About Pango === Pango is a library for layout and rendering of text, with an emphasis on internationalization. Pango can be used anywhere that text layout is needed, though most of the work on Pango so far has been done in the context of the GTK+ widget toolkit. Pango forms the core of text and font handling for GTK+-2.x. Pango is designed to be modular; the core Pango layout engine can be used with different font backends. There are three basic backends, with multiple options for rendering with each. - Client side fonts using the FreeType and fontconfig libraries. Rendering can be with with Cairo or Xft libraries, or directly to an in-memory buffer with no additional libraries. - Native fonts on Microsoft Windows. (Optionally using Uniscribe for complex-text handling). Rendering can be done via Cairo or directly using the native Win32 API. - Native fonts on MacOS X, rendering via Cairo. The integration of Pango with Cairo (http://cairographics.org) provides a complete solution with high quality text handling and graphics rendering. Dynamically loaded modules then handle text layout for particular combinations of script and font backend. Pango ships with a wide selection of modules, including modules for Hebrew, Arabic, Hangul, Thai, and a number of Indic scripts. Virtually all of the world's major scripts are supported. As well as the low level layout rendering routines, Pango includes PangoLayout, a high level driver for laying out entire blocks of text, and routines to assist in editing internationalized text. More information about Pango is available from http://www.pango.org/. Bugs should be reported to http://bugzilla.gnome.org. Pango 1.14 depends on version 2.10.0 or newer of the GLib library and version 1.2.2 or newer of the cairo library (if the cairo backend is desired); more information about GLib and cairo can be found at http://www.gtk.org/ and http://cairographics.org/ respectively. Behdad Esfahbod 4 September 2006 ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
cairo/Gtk X compile problem.
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 -I../src -I../src -I/opt/freescale/usr/local/gcc- 4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/X11R6/include -I/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/include/libpng12 -I/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/include/fontconfig -I/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/include/freetype2 -I/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing-g -O2 -MT imagediff.o -MD -MP -MF ".deps/imagediff.Tpo" -c -o imagediff.o imagediff.c; \ then mv -f ".deps/imagediff.Tpo" ".deps/imagediff.Po"; else rm -f ".deps/imagediff.Tpo"; exit 1; fi /bin/sh ../libtool --tag=CC --mode=link arm-none-linux-gnueabi-gcc -g -O2 -o imagediff imagediff.o libcairotest.la ../src/libcairo.la -lpthread \ -lm -L/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/lib -lpng12 -L/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/lib/libfontconfig.so -L/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/lib -lxml2 -lz -lm arm-none-linux-gnueabi-gcc -g -O2 -o .libs/imagediff imagediff.o ./.libs/libcairotest.a /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/lib/libstdc++.so -L/usr/src/redhat/BUILD/crosstool/build/arm-none-linux-gnueabi/gcc- 4.1.1-glibc-2.4-nptl-2/build-gcc/arm-none-linux-gnueabi/libstdc++-v3/src -L/usr/src/redhat/BUILD/crosstool/build/arm-none-linux-gnueabi/gcc- 4.1.1-glibc-2.4-nptl-2/build-gcc/arm-none-linux-gnueabi/libstdc++-v3/src/.libs -L/usr/src/redhat/BUILD/crosstool/build/arm-none-linux-gnueabi/gcc- 4.1.1-glibc-2.4-nptl-2/build-gcc/./gcc -L/opt/freescale/usr/local/gcc- 4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/bin -L/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/lib ../src/.libs/libcairo.so -lpthread -L/opt/freescale/usr/local/gcc- 4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/lib /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/lib/libpng12.so -L/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/lib/libfontconfig.so /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/lib/libxml2.so -lz -lm -Wl,--rpath -Wl,/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/lib -Wl,--rpath -Wl,/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2 /arm-none-linux-gnueabi/arm-none-linux-gnueabi/local/lib /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/lib/gcc/arm-none-linux-gnueabi/4.1.1/../../../../arm-none-linux-gnueabi/bin/ld: skipping incompatible /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/arm-none-linux-gnueabi/lib/libz.so when searching for -lz /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/lib/gcc/arm-none-linux-gnueabi/4.1.1/../../../../arm-none-linux-gnueabi/bin/ld: warning: libXrender.so.1, needed by ../src/.libs/libcairo.so, not found (try using -rpath or -rpath-link) /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/lib/gcc/arm-none-linux-gnueabi/4.1.1/../../../../arm-none-linux-gnueabi/bin/ld: warning: libX11.so.6, needed by ../src/.libs/libcairo.so, not found (try using -rpath or -rpath-link) /opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-2/arm-none-linux-gnueabi/lib/gcc/arm-none-linux-gnueabi/4.1.1/../../../../arm-none-linux-gnueabi/bin/ld: warning: libXext.so.6, needed by ../src/.libs/libcairo.so, not found (try using -rpath or -rpath-link) ./.libs/libcairotest.a(cairo-test.o): In function `cleanup_xlib': /home/harsha/Desktop/SRCLibs/ALLGTK_NEW/cairo-1.1.6/test/cairo-test.c:1106: undefined reference to `XFreePixmap' /home/harsha/Desktop/SRCLibs/ALLGTK_NEW/cairo-1.1.6/test/cairo-test.c:1107: undefined reference to `XCloseDisplay' ./.libs/libcairotest.a(cairo-test.o): In function `create_xlib_surface': /home/harsha/Desktop/SRCLibs/ALLGTK_NEW/cairo-1.1.6/test/cairo-test.c:1059: undefined reference to `XOpenDisplay' /home/harsha/Desktop/SRCLibs/ALLGTK_NEW/cairo-1.1.6/test/cairo-test.c:1065: unde
Re: insert an image in a window created with gtk!
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 name?), are you building your exe as a windowing executable? Then you won't see the warning and error messages (unless you explicitly redirect them to a file or pipe). Build it as a console executable until you have fixed all problems, and run it from the Command Prompt. --tml ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: Invalid UTF String
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 dispalayed in some picture like characters. > but if i prints the characters using printf() i'm getting it properly on the > terminal. any help pls Unless you use UTF-8 locale correct printing to the terminal is no proof of UTF-8, in fact, quite the contrary. You probably need g_locale_to_utf8() to convert from your locale encoding to UTF-8. Yeti -- Anonyms eat their boogers. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
RE: Invalid UTF String
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 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of shibu alampatta Sent: Monday, September 04, 2006 2:15 PM To: gtk-app-devel-list@gnome.org Subject: Invalid UTF String 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 the characters using printf() i'm getting it properly on the terminal. any help pls Thxs in advance... with regards Shibu ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Invalid UTF String
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 the characters using printf() i'm getting it properly on the terminal. any help pls Thxs in advance... with regards Shibu ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: How to update a treeview with values from a closed dialog?
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, some times I really need > some tips... and here is one more question. > > In many dialog windows, I have treeviews showing some data, and buttons > alongside it for, as an example, adding an item. Clicking on the button > pops a dialog, where the item is created, renamed, etc. But... When I > click OK in this dialog, I wish that the treeview would be automatically > updated to show the data which was edited in the dialog. > > Naively, my first attempt was to call a function for updating the > treeview right after the call to open the dialog. Surely didn´t work, as > the "button OK callback" for the dialog is ANOTHER function -- and, as > this dialog serves to other purposes, it can not directly alter the > treeview. Also, the interface functions and callbacks for each of the > windows (the one with the treeview, and the one with the dialog) are in > different source files, and I would not like to set the forms global. > > So, dudes, what is the technique, please? > I don't know what you tried, but you just need to change the model used in the TreeView, and the view will be updated. However, that means you'll need the TreeModel to be available for modification. If you do not want it global, you can try passing it as the user_data argument of a callback, or use g_object_set_data to store a pointer to it in some widget of the dialog, retrieved later with g_object_get_data. -- After an instrument has been assembled, extra components will be found on the bench. Eduardo M KALINOWSKI [EMAIL PROTECTED] http://move.to/hpkb ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: insert an image in a window created with gtk!
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 the graphic image is correct? Sean ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
insert an image in a window created with gtk!
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 #include int main(int argc,char **argv) { GtkWidget *window; GtkWidget *image; GdkPixbuf *pixbuf; gtk_init(&argc,&argv); window=gtk_window_new(GTK_WINDOW_TOPLEVEL); g_signal_connect(G_OBJECT(window),"destroy",gtk_main_quit,NULL); image=gtk_image_new_from_file("c:\\Projects\\logoceam2.bmp"); gtk_container_add(GTK_CONTAINER(window),image); gtk_widget_show_all(window); gtk_main(); return(0); } ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
show an image in gtk window!
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 image=gtk_image_new_from_file(,"c:\\dates\\image.jpg")...but the image doesn't appear(it's broken). I'm using windows 98. Please...can you help me?? ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: How to save/load GtkTreeStore into a file?
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 seem easy to me to be done with > gtk_tree_model_get_iter_from_string and gtk_tree_store_set. > > The Problem is, by meaning, there is no node to iterate for the factive > virtual node referenced by the string. > > Anyone could tell me the preferable way to save/load GtkTreeStores ?? It's not the GtkTreeStore but the GtkTreeModel which you need to save and/or load. This depends on the data you have; I personally use XML files which are quite well adapted to represent trees. Regards, vivien ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Rubberband effect on the desktop window
Hi, I'm trying to realize a rubberband effect on the desktop window. Does anyone have any clue ? It's better to use cairo or directly Xrender? Thanks, -- Colossus Xarchiver, a Linux GTK+2 only archive manager - http://xarchiver.xfce.org Xscreencast, a DE independent desktop session recorder - http://xscreencast.berlios.de Cpsed, a Linux OpenGL 3D scene editor - http://cpsed.sourceforge.net ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list