Re: GTK Install Problem (..Xft backend is required)

2003-11-18 Thread Sven Neumann
Hi, Tim Johnson [EMAIL PROTECTED] writes: there is no explicit information on _how to_ compile Xft with pango. Because there is no explicit information since it works automatically if your build environment is correctly setup. Make sure that xft.pc is in your PKG_CONFIG_PATH. configure

Re: stopping signals

2003-11-16 Thread Sven Neumann
Hi, dave walters [EMAIL PROTECTED] writes: I have a spin button with a callback function invoked by the value_changed signal. The callback func has a gtk_spin_button_set_value(). When this executes it causes the spinner to emit the value_changed' signal which invokes the callback which

Re: default gtk2 font size

2003-11-15 Thread Sven Neumann
Hi, [EMAIL PROTECTED] writes: I think his question was What file do I put this in for a *system-wide* default value? If that was the question, the answer is to put the very same line into /etc/gtk-2.0/gtkrc Sven ___ gtk-list mailing list [EMAIL

Re: Your opinion about how to get data from dialog box

2003-11-15 Thread Sven Neumann
Hi, Roger Leigh [EMAIL PROTECTED] writes: This might be OT, but I would inherit from Gtk::Dialog, and provide get_foo() methods to get at my data. Mixing the user interface with the actual code seems to be a bad design choice. The dialog should be a view on the data not providing the data. So

Re: basic font problem

2003-11-14 Thread Sven Neumann
Hi, Shane McAndrew [EMAIL PROTECTED] writes: Other X applications (such as emacs) can display all the characters in the file with the standard font -misc-fixed-medium-r-normal--15-*-*-*-c-70-iso8859-1. So I have concluded it is not an X windows problem. Am I right? Yes, newer GTK+ apps

Re: default gtk2 font size

2003-11-14 Thread Sven Neumann
Hi, Kurt Erickson [EMAIL PROTECTED] writes: Under my debian unstable install, if I delete my .gtkrc-2.0 file, gtk2 fonts revert to 8pt size. What do I change to make them revert to 12pt by default, instead? In other words, I'm looking for a way to configure the default gtk2 font size. I've

Re: Glib 2.0

2003-11-12 Thread Sven Neumann
Hi, Marte il guerriero [EMAIL PROTECTED] writes: I installed Glib 2.2.3 (I downloaded if from here : ftp://ftp.gtk.org/pub/gtk/v2.2/glib-2.2.3.tar.gz) and everything was ok, without any problem. I installed Glib 2.2.3 with these commands: 1) ./configure 2) make 3) make install The

Re: Getting gtk+ to find my private copy of libgobject-2.0.so

2003-11-04 Thread Sven Neumann
Hi, Michael Terry [EMAIL PROTECTED] writes: I thought I said so: Here's the setup: I checked out glib, atk, and pango. I compiled them all with --prefix=/home/mike/path, LD_LIBRARY_PATH=/home/mike/path/lib, PKG_CONFIG_PATH=/home/mike/path/lib/pkgconfig, and PATH=/home/mike/path/bin:$PATH.

Re: no subject

2003-11-01 Thread Sven Neumann
Hi, Pisanu Prasertnopakun [EMAIL PROTECTED] writes: I want to update my gtk1.2 to gtk2.2. And i try to install every packages that in http://developer.gnome.org/doc/API/2.2/gtk/gtk-building.html recommend. But i have many problems with installation they need more and more packages. :(

Re: How to create a API doc

2003-10-31 Thread Sven Neumann
Hi, Vincent Torri [EMAIL PROTECTED] writes: I would like to know the program that you (documentation maintainers) used to create the GTK (and others) API on gtk.org ? Have a look at the docs/reference folder in the GTK+ source tree. The documentation is created from inline comments using

Re: GTK+-2.3.0 released [unstable]

2003-10-27 Thread Sven Neumann
Hi, Matthias Mann [EMAIL PROTECTED] writes: Now GtkCTree is not very old but deprecated. What's about GtkFileSelection? Du i need to update my source code in the next three months? Deprecated doesn't mean that you cannot use it any longer. It just means that you should not be using it in

Re: emitting a signal for refeshing entries

2003-10-24 Thread Sven Neumann
Hi, Peter Van Osta [EMAIL PROTECTED] writes: Thank you all for the replies, but what I am looking for is a way to send an EXPOSE signal to the main window and wiil this signal propagate to all the widgets in this main window ? Call gtk_widget_queue_draw() on the top-level widget (the

Re: gtk on windows

2003-10-24 Thread Sven Neumann
Hi, U Fleku [EMAIL PROTECTED] writes: Hi all, I am a windows user and I am trying to port gtk on cygwin. If you give support only to Unix users, I'll thank you anyway. Win32, especially cygwin, is an officially supported platform so there's no need to port anything. If you are looking for

Re: gtk on windows

2003-10-24 Thread Sven Neumann
Hi, U Fleku [EMAIL PROTECTED] writes: If you are looking for Win32 binaries, there is this link on the GTK+ homepage that points to http://www.gimp.org/~tml/gimp/win32/ Yes, I know gtk for win32, but the package don't have the gtk-config file, that the compilation of Lopster

Re: why is gtk install so difficult?

2003-10-21 Thread Sven Neumann
Hi, Steve Grimaud [EMAIL PROTECTED] writes: I'm sorry, but the statement below by Reuben hits the nail on the head for the user. The user doesn't compile any packages. Perhaps the user installs a binary package from time to time but actually she shouldn't even have to bother with that.

Re: why is gtk install so difficult?

2003-10-20 Thread Sven Neumann
Hi, Ruben Safir Secretary NYLXS [EMAIL PROTECTED] writes: While it might be tedious to have a properly working autoconf test, it is what is needed for a sane installation of the source. You obviously missed the cause of this particular problem. Of course what you state here is correct in

Re: why is gtk install so difficult?

2003-10-19 Thread Sven Neumann
Hi, Tara Milana [EMAIL PROTECTED] writes: My particular problem was with compiling gdk-pixbuf, I posted the problem earlier. As outlined in http://bugzilla.gnome.org/show_bug.cgi?id=103708 your problem to compile gdk-pixbuf is a version incompatibility with your binutils and you can hardly

Re: why is gtk install so difficult?

2003-10-19 Thread Sven Neumann
Hi, Michael Torrie [EMAIL PROTECTED] writes: As outlined in http://bugzilla.gnome.org/show_bug.cgi?id=103708 your problem to compile gdk-pixbuf is a version incompatibility with your binutils and you can hardly blame the GTK+ developers for this. Perhaps this should be in the permanent

Re: why is gtk install so difficult?

2003-10-19 Thread Sven Neumann
Hi, Russell Shaw [EMAIL PROTECTED] writes: Any version incompatibilities should be handled in the relevant configure.ac. We are talking about incompatibilies between the linker and installed libraries. This is completely out of the realm of GTK+. Sven

Re: why is gtk install so difficult?

2003-10-19 Thread Sven Neumann
Hi, Russell Shaw [EMAIL PROTECTED] writes: You could make an autoconf macro to check the ld.so version from ldconfig -V. And how would I know that the user has libraries installed that are linked with a different and incompatible linker? The problem is not that GTK+ would depend on a specific

Re: gtk+2.2.4: text display problem...

2003-10-18 Thread Sven Neumann
Hi, [EMAIL PROTECTED] writes: All texts are wrongs. I can only read the half of the words. I don't know where I have to look for. Is it a problem with pango or a gtk+ problem? Do you have a reasonable font setup? Check what fonts you get when you call fc-list and have a look at

Re: gtk+-2.2.0 ./configure error about pango 1.2.0

2003-10-18 Thread Sven Neumann
Hi, busmanus [EMAIL PROTECTED] writes: Here's what's inside my (automatically generated) pangoxft.pc: prefix=/usr/local exec_prefix=${prefix} libdir=${exec_prefix}/lib includedir=${prefix}/include Name: Pango Xft Description: Xft font support for Pango Version: 1.2.0 Requires: pango

Re: Glade 2 passing data to signal handlers

2003-10-18 Thread Sven Neumann
Hi, Joe Scaduto [EMAIL PROTECTED] writes: Both of your suggestions seems logical to me and I will try them. The only problem I have is that Glade 2 created that siganl connection not me. And at the beginning of the file where the signal connections are it says DO NOT EDIT THIS FILE -

Re: gtk+-2.2.0 ./configure error about pango 1.2.0

2003-10-17 Thread Sven Neumann
Hi, busmanus [EMAIL PROTECTED] writes: Looks like for whatever reason libexpat (used by fontconfig) is not found in your library search path. What does that mean? Fontconfig must have found it during compilation, because the reason I installed expat was fontconfig refusing to compile

Re: why is gtk install so difficult?

2003-10-16 Thread Sven Neumann
Hi, Chad A Daelhousen [EMAIL PROTECTED] writes: Oh, I misunderstood the problem. /usr/bin/pkg-config is _still there_, oblivious to /usr/local/*, and run by default because it's earlier in $PATH. In that case, is there any situation in which /usr/bin/pkg-config should NOT look in

Re: gtk+-2.2.0 ./configure error about pango 1.2.0

2003-10-16 Thread Sven Neumann
Hi, busmanus [EMAIL PROTECTED] writes: The download page still shows version 2.2.0 as the latest stable version, at least that's what I made out of it. What page is that? http://gtk.org/download/ says 2.2 is the latest version and it links to ftp://ftp.gtk.org/pub/gtk/v2.2/. At the beginning

Re: gtk+-2.2.0 ./configure error about pango 1.2.0

2003-10-16 Thread Sven Neumann
Hi, busmanus [EMAIL PROTECTED] writes: I definitely won't, when I asked this question, I didn't realize it was 43 kB. Anyway, I had another look at the config.log and it makes some more sense now, but I'll need some help all the same. Here's what seems like the key to the problem:

Re: gtk+-2.2.0 ./configure error about pango 1.2.0

2003-10-15 Thread Sven Neumann
Hi, busmanus [EMAIL PROTECTED] writes: When I am trying to configure the source code of gtk+-2.2.0, Is there a special reason you are compiling gtk+-2.2.0 instead of the newer gtk+-2.2.4? You should always use the latest released versions in the stable series (glib-2.2.3, pango-1.2.5,

Re: gdk_draw_string deprecated?

2003-10-14 Thread Sven Neumann
Hi, Andrej Prsa [EMAIL PROTECTED] writes: Could anyone tell me what to use if gdk_draw_string and gdk_draw_text are deprecated? I want to put labels to my graph on a drawable? PangoLayout, I think. There is some information here:

Re: How to draw focus?

2003-10-13 Thread Sven Neumann
Hi, Peter Krueger [EMAIL PROTECTED] writes: I have a GtkDrawingArea which shall get the keyboard focus when a user clicks with the mouse over it. I want to draw a focus then as explained in the GtkDrawingArea-docs with gtk_paint_focus(). But gtk_paint_focus() is not documented. Can anyone

Re: Libraries

2003-10-08 Thread Sven Neumann
Hi, Ruben Carvajal Schiaffino [EMAIL PROTECTED] writes: Where can I download the libraries gtk and pango since this link seems to be broken: ftp://ftp.gtk.org/pub/gtk/v2.2/ The link works for me. You probably hit the server while it was being slashdotted (GIMP goes SVG) yesterday. Sven

Re: compiling gtk-application on Debian

2003-10-02 Thread Sven Neumann
Hi, [EMAIL PROTECTED] [EMAIL PROTECTED] writes: I am using Debian/Woody and want to compile the gtk-application gqcam. When I install gqcam as a Debian package it funktions. So I think that gtk+is installed properly. The library is probably installed properly but you need to install the

Re: passing on signals

2003-10-02 Thread Sven Neumann
Hi, edscott wilson garcia [EMAIL PROTECTED] writes: Does anybody know the correct way to pass on keypressed signals received by one widget to another? Either of the following two lines causes gtk to segfault when signal received by GtkCombo is passed to GtkEntry: gtk_signal_emit_by_name

Re: passing on signals

2003-10-02 Thread Sven Neumann
Hi, edscott wilson garcia [EMAIL PROTECTED] writes: I suppose the additional parameter after event will make the call blocking so that the return value of the signal handler can be returned there, and if there is no additional parameter (or set to NULL) the function will just toss the signal

Re: GTK now asking for Pangox?

2003-09-27 Thread Sven Neumann
Hi, JS [EMAIL PROTECTED] writes: Well, I downloaded Xft and it now is causing problems. It doesn't want to compile. Here is the log: cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode make: *** [xftcolor.o] Error 1 Argh, that stupid smart preprocessor.

Re: GTK now asking for Pangox?

2003-09-27 Thread Sven Neumann
Hi, JS [EMAIL PROTECTED] writes: It seems odd though, since I do have the Apple X11 server installed on my system and I have installed other packages without an issue. Binary packages or did you compile applications that use X11 from source? You don't need the headers in order to use X11

Re: glib probs...

2003-09-26 Thread Sven Neumann
Hi, Jamie McLaughlin [EMAIL PROTECTED] writes: Oh, pity a poor struggling TD that is trying his best to learn more and more... I use Maya at work, and Shake, and all's peachy in RH7.1. It uses GLIB2.0 (iirc...), or whichever release it used. Now, at work, Softimage|3D, Maya, XSI,

Re: GTK Configure Can't link to libjpeg now

2003-09-26 Thread Sven Neumann
Hi, JS [EMAIL PROTECTED] writes: configure:23772: checking for jpeg_destroy_decompress in -ljpeg configure:23803: gcc -o conftest -g -O2 -Wall conftest.c -ljpeg -lintl 5 ld: can't locate file for: -ljpeg Is there a file called libjpeg.so on your system? Sven

Re: Setting fixed-width font

2003-09-26 Thread Sven Neumann
Hi, Peter Krueger [EMAIL PROTECTED] writes: This will completely override the old font attributes. If you only want to change the font from Helvetica or whatever it is to Fixed and keep the other attributes (style and font size) but you don't already know them, this is a bit more

Re: GTK now asking for Pangox?

2003-09-26 Thread Sven Neumann
Hi, JS [EMAIL PROTECTED] writes: configure: error: pangox Pango backend is required for x11 target Now, I already installed Pango and have tried to compile GTK in X11 but it still wants pangox. What is that and how do fix this problem? You compiled Pango but what Pango backends did you

Re: GTK now asking for Pangox?

2003-09-26 Thread Sven Neumann
Hi, JS [EMAIL PROTECTED] writes: At least Pango Ft2 is installed, but how do I get Pangox to install? Actually you should seek to get PangoXft installed. PangoX is the old way of handling fonts on the X server side, you better forget about it. Pango will compile the PangoXft backend if it

Re: GTK Can't Find libtiff

2003-09-24 Thread Sven Neumann
Hi, JS [EMAIL PROTECTED] writes: Well, I looked through the help page and decided to try to compile GTK with the string that you suggested. However, configure still didn't link to libtiff. Can you show us the relevant (tiff-related) parts of config.log? Sven

Re: GTK Can't Find libtiff

2003-09-24 Thread Sven Neumann
Hi, JS [EMAIL PROTECTED] writes: configure:23170: checking for TIFFReadScanline in -ltiff configure:23201: gcc -o conftest -g -O2 -Wall -L/usr/local/bin conftest.c -ltiff -lm -lintl 5 ld: table of contents for archive: /usr/lib/libtiff.a is out of date; rerun ranlib(1) (can't load from

Re: GTK Can't Find libtiff

2003-09-24 Thread Sven Neumann
Hi, JS [EMAIL PROTECTED] writes: I have searched the entire root directory and cannot find a libtiff.so file. Is there anyway I could get this file so I can get GTK to recognize libtiff? Yes, compile a shared libtiff library or get your hands on a prebuilt version. fink should have it.

Re: GTK Can't Find libtiff

2003-09-23 Thread Sven Neumann
Hi, JS [EMAIL PROTECTED] writes: As I continue on my quest to get GIMP running on MacOS 10.2.6, I have again ran into a snare with installation. This time it deals with GTK itself. After compiling and installing Pango, I tried to compile GTK again. Well, it came up with another

Re: Can't Install Pango 1.2.5 on MacOS X

2003-09-22 Thread Sven Neumann
Hi, JS [EMAIL PROTECTED] writes: I and a friend of mine have been trying to get the GIMP running on MacOS 10.2.6 without getting MACgimp. So we have gotten all the necessary software (X11 and Apple Developer Tools) to start working on the installation. On the first try to compile GIMP,

Re: Can't Install Pango 1.2.5 on MacOS X

2003-09-22 Thread Sven Neumann
Hi, JS [EMAIL PROTECTED] writes: Thank you both for the great info and links! Actually, I and my friend realized the fontconfig dependency right after posting to the list, but thanks again for the links and the extra help. I will be trying the install of fontconfig soon and will let you

Re: Can't Install Pango 1.2.5 on MacOS X

2003-09-22 Thread Sven Neumann
Hi, JS [EMAIL PROTECTED] writes: It seems to be asking for the expat library, but I am not sure what it is or where to download this dependency. Any help finding this would be great! expat, XML parser library, google will get you there Sven ___

Re: Can't compile pango 1.2.5 on a SunOS 5.8 box

2003-09-19 Thread Sven Neumann
Hi, [EMAIL PROTECTED] writes: ok... got fontconfig compiled and set PKG_CONFIG_PATH... other problem... i don't have xft... got openwin without xft. can't I compile pango??? You can compile pango with fontconfig and xft, but it is strongly recommend you install these libraries. Xft is just a

Re: Can't compile pango 1.2.5 on a SunOS 5.8 box

2003-09-19 Thread Sven Neumann
Hi, [EMAIL PROTECTED] writes: the xft library... is this vendor dependent? i've searched xft with google, but don't found a download link... www.xfree86.org got the entire package... but i want only xft http://pdx.freedesktop.org/~fontconfig/release/xft-2.1.2.tar.gz Sven

Re: more broken installers

2003-09-18 Thread Sven Neumann
Hi, Anthony [EMAIL PROTECTED] writes: Installing ggv-2.4.0.1. Like many other packages, it refuses to look in the /usr/local/lib directory for glib, and instead it looks in /usr/lib. glib is installed in /usr/local. /etc/ld.so.conf has /usr/local/lib as the first line, and doesn't have

Re: Refreshing window other

2003-09-17 Thread Sven Neumann
Hi, SMS WebMaster [EMAIL PROTECTED] writes: 2. Where can I download http://www.gtk.org/tutorial/ in html format. (the URL ftp.gtk.org/pub/ can't be found !!!) The documentation is part of the GTK+ source tarball. It is by default installed (and cross-linked with documentation for glib,

Re: Source for testgtk

2003-09-17 Thread Sven Neumann
Hi, Don Dudley [EMAIL PROTECTED] writes: GTK+ comes with a program called testgtk, installed in /usr/bin. Actually this executable is not supposed to be installed. Anyone know where one can obtain the source code for it? You will find the source in the tests directory of the GTK+ source

Re: (no subject)

2003-09-17 Thread Sven Neumann
Hi, edscott wilson garcia [EMAIL PROTECTED] writes: On Wed, 2003-09-17 at 15:05, Philippe wrote: Hello, I've got a dialog with three treeviews and one treemodel filled with the names of all the users for the system. I'd like the three treeviews to use the same treemodel. yet they must

Re: GTK+ documentation

2003-09-15 Thread Sven Neumann
Hi, Chris Moller [EMAIL PROTECTED] writes: I'm in the process of writing a CDT hover help extension to Eclipse, the mechanism that pops up a brief description of a function when you park the cursor over the function name in the Eclipse C/C++ editor. To do this, I need to store API info in a

Re: mtrace reading

2003-09-15 Thread Sven Neumann
Hi, [EMAIL PROTECTED] writes: in a my application with gtk, program makes and destroy many widgets. With 'top' I have noticed an enormous use of memory for my appl. and so i have used mtrace() function to test memory usage. I suggest you try using memprof instead. Sven

Re: gtk 2.2.2 and gtk-perl 0.7009

2003-09-09 Thread Sven Neumann
Hi, xavier dumur [EMAIL PROTECTED] writes: I'm trying to build Gtk-perl 0.7009 AFAIK, that version requires gtk+-1.2 which is not compatible with gtk+-2.2 but can be installed in parallel. Sven ___ gtk-list mailing list [EMAIL PROTECTED]

Re: blocking signals

2003-09-09 Thread Sven Neumann
Hi, Peter Van Osta [EMAIL PROTECTED] writes: I am using a spinbutton of which I change the value by interactively by pushing the arrows, but also from another place in the software. However I capture the changed signal, which is very annoying when changing the value of the spinbutton in the

Re: gtk_text_buffer_insert() cause fault.

2003-08-28 Thread Sven Neumann
Hi, [EMAIL PROTECTED] writes: After cross-compiling all the gtk+2.2 related things for my iPAQ, I can run all test applications in the examples directory except 'paned'. When I run 'paned' I got following errors. # ./paned Gtk-ERROR **: file gtktextdisplay.c: line 237

Re: gtk_text_buffer_insert() cause fault.

2003-08-28 Thread Sven Neumann
Hi, [EMAIL PROTECTED] writes: I'm not using framebuffer based gtk+. Good, I'm not responsible for your bug then ;) I think you should write a small test-case that triggers your problem and file a bug-report at bugzilla.gnome.org attaching your test code. Sven

Re: How can I disable the arrows in submenus?

2003-08-21 Thread Sven Neumann
Hi, On Thu, 2003-08-21 at 01:18, Pablo De Napoli wrote: I want to ask you a question. I don't like the ugly arrows that appear in submenus in gtk+ 2.2 How can I diable them? (I think that they are not a good idea since they make harder to read the submenus) Shall I change somthing in the

Re: Is GTK+ mature on all platforms?

2003-08-14 Thread Sven Neumann
On Thu, 2003-08-14 at 06:57, Michael Torrie wrote: (Does anyone know how to ask GTK+ for the operating system directory separatoer character?) G_DIR_SEPARATOR and G_DIR_SEPARATOR_S (these have been in glib-1.2 already). GIMP is a good example, except that the new GImp 1.3 does not yet

Re: Is GTK+ mature on all platforms?

2003-08-14 Thread Sven Neumann
On Tue, 2003-08-12 at 21:31, Charlie Root wrote: So I guess the question is are there large applications that can run on win32 demonstrating the strengths of GTK+? What about The GIMP (http://gimp.org/win32) ? Sven ___ gtk-list mailing list

Re: problems installing latest version of glib...

2003-07-22 Thread Sven Neumann
Hi, Ed Hartnett [EMAIL PROTECTED] writes: I am on a red hat Linux box, trying to install glib-2.2.2. As per web page instructions, I first got and installed pkg-config. That seemed to go fine. I got version 0.15. During configure of glib-2.2.2 I got the following problem: checking for

Re: Printer friendly docs

2003-07-21 Thread Sven Neumann
Hi, Cross-posting to four lists is very bad style. Please read up on netiquette and how to use mailing lists. Because i'm learning the package, it's too tedious to read all the documentation on the monitor. What's the best way to get a printable output preferably with a table of contents and

Re: GTK2 problems after power cut

2003-07-20 Thread Sven Neumann
Hi, Wedge_ [EMAIL PROTECTED] writes: This is a slightly strange problem, but I hope someone can help. Yesterday, for no apparent reason, all the lights in my house went off for about half a second. When I checked my comp, it had reset itself. I logged back in, and everything seemed fine, but

Re: Installing local/individual GTK

2003-07-17 Thread Sven Neumann
Hi, J. Davison de St. Germain [EMAIL PROTECTED] writes: PPS. I'm trying to install it locally because our program that links against the older/system installed libs exhibits strange behavior and also to learn about the GTK system. The strange behavior is this: The program comes up but when

Re: gtk2 win32 and default font

2003-07-02 Thread Sven Neumann
Hi, Kiyoshi TAKAHASHI [EMAIL PROTECTED] writes: That's strange because when I use this, the font is not changed and I have the error message: assertion GDK_IS_COLORMAP(colormap) failed. Up to now, I still wasn't able to change the default font size, in spite of the numerous solutions

Re: Odd Problem with Icons (2.2.2)

2003-06-27 Thread Sven Neumann
Hi, ellF [EMAIL PROTECTED] writes: I'm having an odd problem with icons, as my subject line suggests. I noticed that in gaim (and reproducible with the Stock Icons and Items demo, part of the gtk-demo app), icons would lose their image (that is, either get garbled or disappear entirely)

Re: Fuzzy fonts under 2.2.2?

2003-06-24 Thread Sven Neumann
Hi, Geoff [EMAIL PROTECTED] writes: I just upgraded from gtk+-2.0.9 to 2.2.2. I don't run gnome, but I think I have all necessary libraries. I am running Xfree 4.3 and the icewm WM. I am no expert on fonts. I work mostly in arial, and I immediately noticed that the font seems to look

Re: gtkFB performance

2003-06-21 Thread Sven Neumann
Hi, Peter Gasper [EMAIL PROTECTED] writes: Well, I compiled the geode specific framebuffer drivers. While there was a tiny noticeable speed improvement in redrawing, it is still much too slow. Any other ideas? What sort of linux OS environment related things could cause poor performance.

Re: Can't run the example

2003-06-20 Thread Sven Neumann
Hi, Jane Young [EMAIL PROTECTED] writes: I just installed GTK+-2.2.2 and libraries including atk-1.2.4, glib-2.2.2 and pango-1.2.3, but when I was trying to compile an example which is included in the zip file, it gave me errors like: gcc menu.c -o menu -Wall

Re: gtkFB performance

2003-06-20 Thread Sven Neumann
Hi, Peter Gasper [EMAIL PROTECTED] writes: I have a simple GUI app (gtkmm) running on gtkFB. The framebuffer driver being used is the kernel's vesa driver. It runs, but screen redraws (for example resizing of panes) are very slow and cause the mouse to pause till its done redrawing. I can

Re: gtk-config

2003-06-18 Thread Sven Neumann
Hi, [EMAIL PROTECTED] writes: I built glib, atk, pango, then gtk. No gtk-config? No, gtk-config is in gtk+-1.2 only. Please read http://developer.gnome.org/doc/API/2.0/gtk/gtk-compiling.html Sven ___ gtk-list mailing list [EMAIL PROTECTED]

Re: Uninstall GLIB 2.2.1

2003-06-11 Thread Sven Neumann
Hi, Gerald Wong [EMAIL PROTECTED] writes: I've installed glib-2.2.2 but i can't compile atk or pango because of the following error: checking for GLIB - version = 2.0.0... *** 'pkg-config --modversion glib-2.0' returned 2.2.2, but GLIB (2.2.1) *** was found! If pkg-config was correct, then

Re: Save errors message

2003-06-11 Thread Sven Neumann
Hi, dcabaton [EMAIL PROTECTED] writes: Hi ! I create an gtk interface with glade for the framebuffer ! When i run the application there is mani errors message but i can't read this ! I run with ./test errors.log but there is no message in the file ! The messages are about GTK Warning...

Re: Save errors message

2003-06-11 Thread Sven Neumann
Hi, dcabaton [EMAIL PROTECTED] writes: But can you explain the 21 !! what this ? Any reasonably good book about UNIX shells will tell you. Sven ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

Re: problems with Item Factory

2003-06-10 Thread Sven Neumann
Hi, Stoyan karanfilov [EMAIL PROTECTED] writes: I got an error : ANSI C++ prohibits conversion from `(Scene *)' to `(...)' Please read the comment in gtkitemfactory.h. You need an explicit cast if you are using GtkItemFactoryCallback from C++. Sven

Re: newbie: doubt on GObject system

2003-06-08 Thread Sven Neumann
Hi, Tarun Ramakrishna Elankath [EMAIL PROTECTED] writes: I am new to Gtk and have been reading up on GObject and GType. What I have failed to understand is why is it that the GTypeInfo structure fails to provide a field for instance finalizer functions ? We have fields for specifying class

Re: trying to build gtk+-2.2.1 - error when running configure

2003-06-06 Thread Sven Neumann
Hi, Luong, Natalie N [EMAIL PROTECTED] writes: I ran ./configure, and I get the following error (as recorded in the config.log): configure:12889: checking for gdk-pixbuf-csource configure:12920: result: no configure:12928: error: Could not find a gdk-pixbuf-csource in your PATH How do

Re: Label issue of toggle buttons...

2003-06-05 Thread Sven Neumann
Hi, Hari Prasad Nadig [EMAIL PROTECTED] writes: This didn't work I'm using GTK 1.2. Perhaps this is a function in GTK 2.0... Yes, this function was added in GTK+-2.0 and no, I'm not going to give support for an outdated and unmaintained GTK+ version that noone should be developing with

Re: Label issue of toggle buttons...

2003-06-05 Thread Sven Neumann
Hi, Paul Davis [EMAIL PROTECTED] writes: gtk_label_set_text (GTK_LABEL(GTK_BIN(button)-child), OFF); Fortunately you don't need to write this ugly code any longer since there is gtk_button_set_label() nowadays. Sven ___ gtk-list mailing list

Re: Speed of GtkListStore additions O(n^2)?

2003-06-05 Thread Sven Neumann
Hi, Linus Walleij [EMAIL PROTECTED] writes: Then I happen to need to blank the store and refill it repeatedly. And there doesn't seem to be a good way to turn sorting _off_ once you turned it on, so any subsequent fills will be O(n^2) anyway. Any suggestions? Or will I simply have to

Re: Label issue of toggle buttons...

2003-06-05 Thread Sven Neumann
Hi, Hari Prasad Nadig [EMAIL PROTECTED] writes: I created a new toggle button.. gtk_toggle_button_new_with_label(ON); now how do I change the label to OFF when the button is toggled? gtk_button_set_label (GTK_BUTTON toggle), OFF); Sven ___

Re: gtk_menu: update the menu

2003-06-04 Thread Sven Neumann
Hi, Maarten [EMAIL PROTECTED] writes: I use strtok to separate the entrys from the string. Have a look at the strtok(3) man-page. It explains why you should _never_ use this function. Consider to use g_strsplit() instead. Sven ___ gtk-list mailing

Re: compiling problem of gtkpixbuf

2003-06-03 Thread Sven Neumann
Hi, yangxiaoli [EMAIL PROTECTED] writes: From tutorial I get a program about pixbuf.When I compiled it using command: gcc pixbuf.c -o pixbuf 'pkg-config gtk+-2.0 --cfalgs --libs' There are two problems with your command. First, it should be --cflags, not --cfalgs. Then, you need to use

Re: Running gtk+-1.2

2003-06-02 Thread Sven Neumann
Hi, Shiraz Baig [EMAIL PROTECTED] writes: I have installed on my computer, both, the gtk+-1.2 and gtk+-2.0. I want to compile programs with gtk+-1.2. But I do not know how to do that? I can compile with gtk+-2.0 by using pkg-config --cflags --libs, but I do not know, how to compile the

Re: theme question

2003-05-31 Thread Sven Neumann
Hi, Dave Smith [EMAIL PROTECTED] writes: I am just learning about GTK and I have a related problem. My test program does not seem to find my ~/.gtkrc file. Are you using GTK+-2.x (well, you should)? If so, try to rename your file to .gtkrc-2.0. Sven

Re: theme question

2003-05-31 Thread Sven Neumann
Hi, Dave Smith [EMAIL PROTECTED] writes: BTW, I am using gtk+-2.2.1, (my distro initially loaded 1.2). Any ideas on why the font command still doesn't work in this file? Yes. The syntax for gtkrc-2.0 is not 100% compatible with the old gtkrc format. Fonts are no longer specified using the

Re: Transparent buttons

2003-05-28 Thread Sven Neumann
Hi, Paul Davis [EMAIL PROTECTED] writes: On Tue, 2003-05-27 at 18:51, sydney barrow wrote: Is there a way to create transparent buttons (so that the background pixmap shows through) in GTK+ (1.2)? Any help would be greatly appreciated. IIRC, this was one of the really cool features

Re: succeeded in Xscreensaver+GTK on Solaris 2.8

2003-04-04 Thread Sven Neumann
Hi, Utku Ozcan [EMAIL PROTECTED] writes: 3. Not to mention, I have installed make-3.80, m4-1.4, autoconf-2.57, automake-1.7.3 (http://www.gnu.org). Some tarballs require aclocal-1.4 instead of aclocal and automake-1.4 instead of automake in $PATH, therefore I have manually created symbolic

Re: succeeded in Xscreensaver+GTK on Solaris 2.8

2003-04-04 Thread Sven Neumann
Hi, Utku Ozcan [EMAIL PROTECTED] writes: I haven't used automake-1.4 before, can't we say that automake-1.7 program is backwards compatible with automake-1.4? What kind of side effects might have the symbolic link workaround I've found above? unfortunately, 1.7 is not 100% backward

Re: Pango/Xft compile problem

2003-04-04 Thread Sven Neumann
Hi, Frank Hrebabetzky [EMAIL PROTECTED] writes: Thanks for the hint 'config.log'. Nevertheless it contains basically the same lines as the 'make' output (see below). So what can I try? you could have a look at the header file that fails: /usr/X11R6/include/X11/Xft/XftFreetype.h:73: parse

Re: widgets arange question

2003-04-03 Thread Sven Neumann
Hi, Stoyan karanfilov [EMAIL PROTECTED] writes: Hi, I'm newie to GTK programming. I am writting a program in which I want to place 4 frames with same square sizes (fillinf a square area in the window) and 1 notebook on the right. I already have a menu and toolbar on top of the window. How

Re: Pango/Xft compile problem

2003-04-03 Thread Sven Neumann
Hi, Frank Hrebabetzky [EMAIL PROTECTED] writes: GTK is needed for a bunch of X-Windows programs, and it requires pango, so I downloaded pango-1.0.5. I tried to install, but during ./configure, the following lines appeared: .. checking for XftFontOpen in -lXft... yes checking

Re: How to add backend application

2003-04-02 Thread Sven Neumann
Hi, pratik desai [EMAIL PROTECTED] writes: I have to run a dc servo motor through RTLinux but the front end GUI needs to be written in Linux. The problem is that how can i connect my applcation to RTLinux module using fifo(real time FIFOs)in GTK programme. Is it possible to write an

Re: Maybe a bug of gtk/gdk ?

2003-03-31 Thread Sven Neumann
Hi, James Su [EMAIL PROTECTED] writes: when I call gtk_init (argc, argv) with argc == 0, the program crashed at gdk_parse_args () in gdk.c. I digged into the source code and found that there are possiblly some bugs in gdk_arg_context_parse, which does not check if argc = 0. I don't know

Re: Double-buffering with GTK

2003-03-31 Thread Sven Neumann
Hi, Zigus Software Inc [EMAIL PROTECTED] writes: I have to create a game in Linux using c++ and gtk v2.0. I'll have a lot of small images (around 100) in the screen that will need to move fast. I was wondering how redrawing can happen fast without flickering. How can I implement

Re: Maybe a bug of gtk/gdk ?

2003-03-31 Thread Sven Neumann
Hi, James Su [EMAIL PROTECTED] writes: Sorry, I'm using gtk+2.2.1. I'll check GTK+ HEAD later. But I wonder if this fix will be merged into 2.2 series? if the problem exists in 2.2.1, it probably has not been fixed. Bug fixes are currently always applied to the 2.2 branch as well. Salut,

Re: How is GdkPixbuf pixel data stored?

2003-03-30 Thread Sven Neumann
Hi, Christopher Andrew Chenery [EMAIL PROTECTED] writes: My Question is simply why are there two extra bytes per image row, what do they represent and what is a rowstride? - the documentation assumes this knowledge! rowstride is the number of bytes you need to skip to get to the same

<    1   2   3   4   5   6   7   8   >