GTK+ Website
Just an information. Is someone working on a new version of the GTK+ website? Thanks for replies. Renato Perini ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
g_filename_to/from_utf8()
Hi, I've had some problems with g_filename_to/from_utf8(). On a Linux RH7.3 g_filename_from_utf8() returns an utf8 string i.e. not converted. RH7.3 do not use utf8 as its native file name representation. On a Linux RH9 g_filename_from_utf8() returns an iso-8859-1 string (atleast it looks like iso-8859-1) i.e. converted. RH9 uses utf8 as its native file name representation. In both cases the file names looks wrong in a shell and in Nautilus. On Windows XP g_filename_from_utf8() returns an iso-8859-1(or CP1252?) string (or whatever is native on Windows XP i.e. converted. (Fortunately g_filename_to_utf8 reverses the string in all three cases.) Anyone experienced something like this? What do I do wrong, if I do anything wrong? Are there any way to determine the 'native file name representation', so that I could you one of the other convertion functions instead? Best regards Egon Andersen ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
g_utf8_collate on windows
Hi, on windows the g_utf8_collate gives strange results. What happens is basically that all accented chars are sorted before their unaccented versions. The expected behaviour is to discard the accents when sorting (this happens on Linux for example). Does this have something to do with locale? However, I tried with various locale and Win versions and it did not help. Thanks, Jiri pgp0.pgp Description: signature
Re: Symbology and annotations "on top" of my images.
Hi Amit, Have a look at my application called giv, which does exactly this (except for the dragging part). It is built around my widget GtkImageViewer, which you can also use yourself if giv isn't general enough for you. Have a look at: http://imagic.weizmann.ac.il/~dov/freesw/gtk/gtk-image-viewer/ and http://imagic.weizmann.ac.il/~dov/freesw/gtk/giv/ Note that both the widget and the standalone tool are being developed in the gnome cvs. Regards, Dov On Tue, Jan 27, 2004 at 03:22:46PM -0800, Amit BHATNAGAR wrote: > Hi all. > > I plan on using a drawing area widget to display images where > the user may want to place some symbology and textual annotations > at various locations on the image. I am wondering how GTK / GdkPixbuf > will facilitate this. > > Ideally, I would like to treat the symbology and text annotations as > "layers" where the user would be able to toggle on and off the display of > the symbology/annotations, and possibly drag them to different positions. > > Does GTK / GdkPixbuf allow me to do something like this? If not, what would > be an approach to take? > > thanks again. > amit. > ___ > gtk-list mailing list > [EMAIL PROTECTED] > http://mail.gnome.org/mailman/listinfo/gtk-list ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
glib-2.2.3 vs. pkgconfig-0.15.0
Hi there, I have installed glib-2.2.3, however then there is a problem with pkgconfig-0.15.0 I cannot solve. The error occured while running .configure script of atk-1.2.4. Thank you in advance for any suggestions! checking for GLIB - version >= 2.0.0... *** 'pkg-config --modversion glib-2.0' returned 2.2.3, but GLIB (2.0.6) *** was found! If pkg-config was correct, then it is best *** to remove the old version of GLib. You may also be able to fix the error *** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing *** /etc/ld.so.conf. Make sure you have run ldconfig if that is *** required on your system. *** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH *** to point to the correct configuration files no configure: error: *** GLIB 2.0.0 or better is required. The latest version of *** GLIB is always available from ftp://ftp.gtk.org/. linux:~/atk-1.2.4 # make make: *** No targets specified and no makefile found. Stop. linux:~/atk-1.2.4 # Pavel Solin (CAAM, Rice University, Houston, TX) ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Gtk2 nested List question
Hi guys, I'm working on an application which I want to graphically nest representations of Perl arrays and hashes as lists (and perhaps trees). For a number of reasons, among which is performance, Gtk2 looks like it doesn't really store real widgets inside lists/trees, but instead uses cell painters. Does that mean that there's no way of nesting a list in a list, say? I know that the CLists are still available, but I don't think that their Perl Gtk2 bindings are exposed because they are deprecated. I might also be able to get away with tables, but need to experiment with this. Any thoughts would be appreciated, Regards, Nick Glencross ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Re: glib-2.2.3 vs. pkgconfig-0.15.0
At Sun, Feb 01, 2004 at 08:11:16PM -, [EMAIL PROTECTED] wrote: > checking for GLIB - version >= 2.0.0... > *** 'pkg-config --modversion glib-2.0' returned 2.2.3, but GLIB (2.0.6) > *** was found! If pkg-config was correct, then it is best > *** to remove the old version of GLib. You may also be able to fix the error > *** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing > *** /etc/ld.so.conf. Make sure you have run ldconfig if that is > *** required on your system. pkg-config is right, the linker is wrong. All possible solutions are listed in that block of text. More information can be found in the installation guide: http://developer.gnome.org/doc/API/2.2/gtk/gtk-building.html You might also try searching the list archives: http://mail.gnome.org/archives/gtk-list/ -- Chad Daelhousen My opinions are my own, until UB purchases my soul. Do not BCC me; it is considered spam and deleted. ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
how to get the ft2 bitmap of a font string
Hi all, How to get the freetype 2 bitmap of any given font string. I had gone across pango_ft2_render_layout() API. But failed in using it to a good effect. Can anyone send me an example code, involving getting the bitmap of a given font string. If any links breifing about getting bmp from any standard ( OpenType, TrueType) font will be an icing. Actually i am trying to have bmp for printing purpose. Thanks in advance. Bheemesh. ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list