Re: fork problem

2003-03-30 Thread Sven Neumann
Hi, Chan Wai [EMAIL PROTECTED] writes: I have tried to write a program, which also act as a server when I run it. I use gtk/gnome to build an interface for it. However, when I run it, there is error on the child programme: Gdk-ERROR **: BadIDChoice (invalid resource ID chosen for this

Re: question about encoding

2003-03-30 Thread Sven Neumann
Hi, Charles Iliya Krempeaux [EMAIL PROTECTED] writes: I don't think that GIOChannel has anything to do with the encoding of a string in a file. To GIOChannel, you are dealing with a file. It really doesn't care what's in it. It's just a bunch of bytes to it. this is only true if you set

Re: Can I make a IM Module resident?

2003-03-28 Thread Sven Neumann
Hi, James Su [EMAIL PROTECTED] writes: Oh, I see. But the interface of this function is different with the static one, could you please give me some hint on how to use it? The GTypeInfo parameter is replaced by a GTypePlugin pointer. Could you please tell me how can I convert a GTypeInfo

Re: question about encoding

2003-03-28 Thread Sven Neumann
Hi, Axel [EMAIL PROTECTED] writes: Yes but imagine there are some people (me , by example) who have locales set to POSIX and have though files with accentued characters, this don' t solve problems. as I explained to you already, you can't solve this problem automatically. If all fails, you

Re: Can I make a IM Module resident?

2003-03-27 Thread Sven Neumann
Hi, James Su [EMAIL PROTECTED] writes: Recently, I'm developing a IM Module for gtk+-2.x, but I met a problem. Because I registered a new class within my IM Module by g_type_register_static, then when I open a input context the second time, the application crashed. The error message shows

Re: problem with g_io_channel_read_to_end ()

2003-03-27 Thread Sven Neumann
Hi, Axel [EMAIL PROTECTED] writes: and why use a GError ** can' t work ? though I allocated memory to it. It s more a C problem than GTK I think, but I d like to understand it. you should probably read the docs for GError then. Salut, Sven ___

Re: Can I make a IM Module resident?

2003-03-27 Thread Sven Neumann
Hi, James Su [EMAIL PROTECTED] writes: The class I registered is not the im module class, it's another class defined by myself. The im class is registered by g_type_module_register_type(). uh, oh, how is that supposed to work? A dynamic module can not register a static type. What if the

Re: next problem with g_io_channel_read_to_end(), again

2003-03-27 Thread Sven Neumann
Hi, Axel [EMAIL PROTECTED] writes: thx all for your advice, read channel works well but, I have a problem here is the error I get when I try to read a file with accentued characters like é è à and so... ** ERROR **: Invalid byte sequence in conversion input aborting... Aborted

Re: Can I make a IM Module resident?

2003-03-27 Thread Sven Neumann
Hi, James Su [EMAIL PROTECTED] writes: Then, how can I use my own class within a IM module? There is no type register function like g_type_register_dynamic. I'm pretty sure there is exactly this function. But don't take my word that this is the right way to do this, I'm more or less only

Re: File Descriptor Input

2003-03-27 Thread Sven Neumann
Hi, Shiraz Baig [EMAIL PROTECTED] writes: Yes, I understand that enter key must be pressed. I have done that. But still failed. Actaully, I am trying to read from a socket. I have already done that thru signal I/O. But I wanted to use the generic functions given by the GTK. actually you

Re: GTK 2.2 make install error

2003-03-25 Thread Sven Neumann
Hi, please stop sending HTML mails to this mailing-list. Thank you. Salut, Sven ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

Re: Compiling gtk error - png ???

2003-03-25 Thread Sven Neumann
Hi, Jose Marcio Martins da Cruz [EMAIL PROTECTED] writes: There was an error before this one. When makefile tried to create gdk-pix-buf/gdk-pixbuf.loaders file there was the following error, which I reproduce, running it by hand : ./gdk-pixbuf-query-loaders libpixbufloader-static-png.la I

Re: Compiling gtk error - png ???

2003-03-25 Thread Sven Neumann
Hi, Jose Marcio Martins da Cruz [EMAIL PROTECTED] writes: Sure. But I configured gtk with ./configure --enable-static=yes --enable-shared=no This seems to me that it's a valid configure option, and compile process should behave as expected. Am I wrong ? no, but it you intend to

Re: Problems compiling

2003-03-25 Thread Sven Neumann
Hi, Tomek Grzejszczyk [EMAIL PROTECTED] writes: I've got problem as in the subject. I run the following things: 1. CPPFLAGS=-I/opt/include LDFLAGS=-L/opt/lib ./configure --prefix=/opt --sysconfdir=/etc you forgot to set PKG_CONFIG_PATH to point to /opt/lib/pkgconfig. Salut, Sven

Re: JPEG Loader Failed

2003-03-25 Thread Sven Neumann
Hi, Ian Scott [EMAIL PROTECTED] writes: I've spent several hours trying to install GTK+ 2.2. I've managed to do some experimenting - (discovered that .pc files were being written to /usr/local/lib/pkgconfig instead of /usr/lib/pkgconfig/ - so I simply copied the relevant ones, amongst

Re: Problems compiling

2003-03-25 Thread Sven Neumann
Hi, Tomek Grzejszczyk [EMAIL PROTECTED] writes: Hi, I've got problem as in the subject. I ran the following things: 1. CPPFLAGS=-I/opt/include LDFLAGS=-L/opt/lib ./configure --prefix=/opt --sysconfdir=/etc This is because I've got Glib and Pango libraries and includes in /opt/lib

Re: signals connection

2003-03-24 Thread Sven Neumann
Hi, Tristan Van Berkom [EMAIL PROTECTED] writes: wait a second :S this is the prototype for g_free: void g_free (gpointer mem); and this is the `catch all function pointer' GCallback void (*GCallback) (void); so far so good but when it comes down to marshalling

Re: Newbie: gtk_image_new_from_file help please.

2003-03-24 Thread Sven Neumann
Hi, Douglas McIntosh [EMAIL PROTECTED] writes: My sample program I want to do nothing more than have a gnome file selector, a button and an image display area. The buttons selects a callback function which should update the image area with the selected image. GtkWidget *image1; image1 =

Re: emits a signal?

2003-03-24 Thread Sven Neumann
Hi, Axel [EMAIL PROTECTED] writes: On Mon, Mar 24, 2003 at 10:00:39PM +0100, Axel wrote: is it possible to emit a signal arbitrarly, in a function, in example, make a widget emit a signal activate without have to click on it, or juste like gtk_signal_emit(my_signal) ? What's

Re: Assert messages.

2003-03-23 Thread Sven Neumann
Hi, Carl B. Constantine [EMAIL PROTECTED] writes: you can force warnings to become fatal by passing --g-fatal-warnings to your GTK+ application. The application will then crash on the first warning message allowing you to examine the cause of the warning in a debugger. That may quit

Re: Problem of installation of GTK 2.2.1

2003-03-20 Thread Sven Neumann
Hi, MALHERBE [EMAIL PROTECTED] writes: I am using a linux box (Mandrake linux distribution version 9.0). I have downloaded GTK version 2.2.1. I have problem when installing Glib version 2.2.1. When I try to install the dependencies packages prior to the installation of GTK, (for example

Re: How to declare a protected region in a gtk window ?

2003-03-19 Thread Sven Neumann
Hi, Edward-Liu [EMAIL PROTECTED] writes: I want to declare a region in gtk window so that it is not redrawn after window expose. The region is drawn by a TV card. Gtk thinks the region is blank (no widget), so Gtk just clears it with the color of background. gdk_window_set_back_pixmap

Re: Walking through the widgets of an application?

2003-03-19 Thread Sven Neumann
Hi, Laszlo Kovacs [EMAIL PROTECTED] writes: I am developing a performance benchmark for Gnome applications. One problem that has to be solved is identification of all widgets by their names in the scripts that drive the benchmark (simulate input, measure times etc). E.g. if I want to write a

Re: Associating labels to widgets

2003-03-16 Thread Sven Neumann
Hi, Mariano Suarez-Alvarez [EMAIL PROTECTED] writes: Is there a way to associate a label (which does *not* have mnemonic) to a widgets (say a GtkEntry) to that when the entry is set (in)sensitive, the label is made (in)sensitive. put them in a box and make the box insensitive ?! Of course,

Re: a question about widgets...

2003-03-10 Thread Sven Neumann
Hi, Adriano Bonat [EMAIL PROTECTED] writes: This is my first message, then go there: Why this code bellow don't function? there are a few mistakes; I'll outline them below... button = gtk_button_new_with_label(Click here!); gtk_container_add(GTK_CONTAINER(window), button);

Re: gtk-2.2.1 installation issues

2003-03-08 Thread Sven Neumann
Hi, Raheel [EMAIL PROTECTED] writes: I am installing gtk2.2.1 on my sparc box. I've found some dependencies for it like atk, pango and glib. glib and atk installed successfully but when i tried to install (./configure) pango (ver: 1.2.1), it says that i am missing fontconfig library which is

Re: DrawingArea and Text display.

2003-03-07 Thread Sven Neumann
Hi, Neil Hodgson [EMAIL PROTECTED] writes: Tony Denault: Fixed_font = pango_font_description_from_string (Fixed); GC = gdk_gc_new(base_window-window); stuck on how to display string in Drawing area using pango PangoContext *pcontext =

Re: glib-2.2.1: g_print() with UTF-8 characters

2003-03-05 Thread Sven Neumann
Hi, Ulf Karlsson [EMAIL PROTECTED] writes: - Glibc has a feature where %Ns actually checks for a whole number of characters in the current encoding. So, unless you are sure you are always going to be in an UTF-8 locale, avoid using %Ns. (You are basically OK for iso-8859-1,

Re: CellRenderText properties question.

2003-03-04 Thread Sven Neumann
Hi, Carl B. Constantine [EMAIL PROTECTED] writes: However, I can't really find any code examples of how to do anything suggested in these docs. For example, I have a GtkTextView that only has a single column in it. When I click a button in my window, I want to find out the current selection

Re: CellRenderText properties question.

2003-03-04 Thread Sven Neumann
Hi, Carl B. Constantine [EMAIL PROTECTED] writes: Thanks for the reply. That confirms what I suspected, but IMHO very bad design as it creates extra overhead for memory and storage in the TreeModel (ListStore in this case) instead of being able to determine the property programatically. What

Re: Changing the background color of a window

2003-02-25 Thread Sven Neumann
Hi, j. santana [EMAIL PROTECTED] writes: I'm trying to change the background color of a window randomly, but I always get a black filled window, even though I get random values from g_rand. (I'm trying this as an exercise in learning GTK.) Colors are especially hard to get right so this

Re: Newbie looking for help configuring gtk+-2.2.1

2003-02-25 Thread Sven Neumann
Hi, Joerg Balsiger [EMAIL PROTECTED] writes: I'm way over my heading in this, but started out trying to get my scanner to work on RedHat Linux 7.1 I saw somewhere that I needed glib and gtk+ to get sane to work. I've downloaded both, was able to install glib but am stuck with gtk+. When I

Re: gtk application compile error

2003-02-24 Thread Sven Neumann
Hi, Raheel [EMAIL PROTECTED] writes: I have written a very basic program using gtk_widgets. And tried the command line switches. Below is what i got when try to compile: # gcc -Wall wind.c -o wind.o 'gtk-config --libs --cflags' are you perhaps using gtk+-2.x (you really should do) ?

Re: Glib-GObject-Warning invalid cast null to unknown error

2003-02-24 Thread Sven Neumann
Hi, Padraig O'Briain [EMAIL PROTECTED] writes: If you run your program in a debugger and put a break point in g_log you will see where the messages are coming from. there's no need to install the breakpoint manually. You can start your app with the --g-fatal-warnings command-line and it will

Re: gtk application compile error

2003-02-24 Thread Sven Neumann
Hi, Raheel [EMAIL PROTECTED] writes: below is what pkginfo reports me. I was speaking of pkg-config, no idea what pkginfo is all about. It is 1.2.10. But just for hanging around when i try , it gives me a long list of err messgages (so long that i can't paste it here) indicating that so

Re: Difference in font layout heights?

2003-02-24 Thread Sven Neumann
Hi, Owen Taylor [EMAIL PROTECTED] writes: Are you setting language tags on your text? (See gtk_get_default_language()). If you don't set a language tag, GTK+ is going to leave enough spacing for any language in many cases. the documentation to gtk_get_default_language() seems to be wrong. It

Re: gtk2.0 font problem

2003-02-23 Thread Sven Neumann
Hi, Ian Zimmerman [EMAIL PROTECTED] writes: Hi, I searched the archive suspecting this could be a FAQ, but without luck. I just installed my first gtk2.0 program and all the dependent libraries. It runs fine, but the default widget font is too small (looks like 9 or 10pt). gtk1.2 apps

Re: fork problem

2003-02-23 Thread Sven Neumann
Hi, Ottavio Campana [EMAIL PROTECTED] writes: I'm trying to execute a new program from a gtk application. When I call fork I've got: The program 'visualizzatore' received an X Window System error. What's wrong with it? you probably didn't read the GTK+ FAQ. Your problem is mentioned

Re: Modify behaviour to select more than one item in GtkListStore

2003-02-20 Thread Sven Neumann
Hi, Emmanuel Di Pretoro [EMAIL PROTECTED] writes: I want to modify the behaviour of my GtkTreeView/GtkListStore. I can select more than one item, but I don't want to use 'Ctrl+Click' to select another item. gtk_tree_selection_set_mode (gtk_tree_view_get_selection (view),

Re: i18n

2003-02-20 Thread Sven Neumann
Hi, Holczer Szilard [EMAIL PROTECTED] writes: I have a problem with internation character using. If I insert theese somewhere, like menus, button, ect. the gtk send me Gtk-WARNING **: Invalid input string message, and the application broke. All strings must be UTF-8 encoded. If you need to

Re: Gtk documentation with function descriptions

2003-02-19 Thread Sven Neumann
Hi, Neil Freeman [EMAIL PROTECTED] writes: Sorry for the newbie question but is there some Gtk documentation available which actually describes the various Gtk functions. I have downloaded the api references from http://www.gtk.org/api/ but this appears to only list the functions and does

Re: gtk testing directory

2003-02-18 Thread Sven Neumann
Hi, Carl B. Constantine [EMAIL PROTECTED] writes: In the gtk download, there is a testing directory which contains code to test various widgets. In this directory are two files, Makefile.am and Makefile.in. I've posted this question once before and received no reply that answered the

Re: Library size on solaris

2003-02-14 Thread Sven Neumann
Hi, [EMAIL PROTECTED] (Florin Iucha) writes: Yes, strip helped. I was expecting the make install to already strip the libraries. make install-strip does that. Salut, Sven ___ gtk-list mailing list [EMAIL PROTECTED]

Re: How can I solve this problem of Gdk

2003-02-14 Thread Sven Neumann
Hi, =?ISO-8859-15?B?QW5hIEd1dGnpcnJl?=z Pascual [EMAIL PROTECTED] writes: i'm new with gtk/gdk. i create a program to design some differents objects, in this case a simple line. but i supose i don't use correctly the pointers 'cause i obtain these errors. Gdk-CRITICAL **: file

Re: PANGO fonts

2003-02-14 Thread Sven Neumann
Hi, Bernd Demian [EMAIL PROTECTED] writes: ok my problem described 7. Febraur is unresolved. I got some tips but no solution. Other developer have the same proplem I have. I debugged my test program and got following results. 1. Linux Redhat 8.0 PangoFont Courier 11 XFont

Re: PANGO fonts

2003-02-14 Thread Sven Neumann
Hi, Bernd Demian [EMAIL PROTECTED] writes: Sorry, but all displays have 1280x1024 pixel! I said display resolution, not display size. You are specifying the size in points which is a real-world unit like millimeters. In order to calculate a pixel size from it, the screen dimensions are being

Re: gtk2.2 pixbuf doesn't load any png file

2003-02-13 Thread Sven Neumann
Hi, Xiong Jiang [EMAIL PROTECTED] writes: I am trying build Gnome 2.2 on plain redhat 8.0 from the SRPM's. I have built and installed gtk2-2.2.1. When I was build libgnomeui-2.2.0.1, I got err with message failed to load ./stock_attach.png: Couldn't recognize the image file format for

Re: Installing gtk2-2.2

2003-02-12 Thread Sven Neumann
Hi, Neil Hodge [EMAIL PROTECTED] writes: rpm -ql libpng /usr/lib/libpng.so.3 /usr/lib/libpng.so.3.1.2.2 /usr/lib/libpng12.so.0 /usr/lib/libpng12.so.0.1.2.2 /usr/share/doc/libpng-1.2.2 /usr/share/doc/libpng-1.2.2/CHANGES /usr/share/doc/libpng-1.2.2/README /usr/share/doc/libpng-1.2.2/TODO

Re: Problem while using framebuffer... Help

2003-02-11 Thread Sven Neumann
Hi, Binoj VB [EMAIL PROTECTED] writes: I am new to Linux GUI programming (also Linux) and I have a requirement where I should use frame buffer in-order to bye-pass the Xserver. Currently I am using RH 8, and I am confused with the GTK versions that I need to select in-order to get the

Re: I18n problem

2003-02-10 Thread Sven Neumann
Hi, Andrew E. Makeev [EMAIL PROTECTED] writes: I have problem to get STOCK items internationalized on my machine. (Sorry, couldn't take a look at FAQs, it looks like GTK site is down for now.) What exactly should I set up to get STOCK items have appeared in Russian? For now they are

Re: pangoft refuses to install

2003-02-05 Thread Sven Neumann
Hi, torsten [EMAIL PROTECTED] writes: I come across this problem occasionally with configure, that libraries refuse to install. problempangoft2 libraries will not install. ./configure --prefix=/usr/local \ --mandir=/usr/local/share/man \ --infodir=/usr/local/share/info \

Re: Difference between 1.2 and 2.0 and 2.2

2003-02-04 Thread Sven Neumann
Hi, Individual . . [EMAIL PROTECTED] writes: But what about personal comments? Would you recommend that I start with 1.3 or 2.2? Which is more widely installed? if you start a new application, you should definitely go for the 2.0 API. GTK+-2.2 is source and binary compatible with 2.0. The API

Re: Finding cause of Gtk-CRITICAL in gtk_destroy_widget()

2003-02-03 Thread Sven Neumann
Hi, Brenden Conte [EMAIL PROTECTED] writes: Thanks for the input. It appears to have killed the program immediately, but all that was left in the stack was a kill, raise, and abort - nothing i could use to track even the memory position or anything. Did i need to compile it with special

Re: gtk-config obsolete?

2003-01-30 Thread Sven Neumann
Hi, Fielder [EMAIL PROTECTED] writes: Since the newer versions of GTK+ use pkg-config, is there any nice way to keep programs that compile with gtk-config happy? Maybe I'm doing something wrong, but it seems rediculous that the latest version of GIMP still looks for gtk-config during the

Re: Difference between 1.2 and 2.0 and 2.2

2003-01-30 Thread Sven Neumann
Hi, Individual . . [EMAIL PROTECTED] writes: I have looked at the website and done a quick mailing list archive search, but I cannot seem to find an answer to the question: what are the specific differences between version 1.2, 2.0 and 2.2?

Re: [NEWBIE] GdkPixbuf loading problem

2003-01-30 Thread Sven Neumann
Hi, Andrej Kacian [EMAIL PROTECTED] writes: I have a problem loading pixbufs using gdk_pixbuf_new_from_file() function. Following code results in segmentation fault: /* begin */ char buf[64]; GdkPixbuf *p; GError **err; strcpy(buf, /tmp/image.png); p =

Re: Compoilation error

2003-01-28 Thread Sven Neumann
Hi, Chris Nystrom [EMAIL PROTECTED] writes: It looks like you have more than one version on your system. gtk-config is reporting glib-1.2 and yet your find is reporting glib-2.2.0. gtk-config will always report a glib-1.2, never a 2.x version. Perhaps you are using the wrong version of

Re: Update a GtkTreeView

2003-01-27 Thread Sven Neumann
Hi, Emmanuel Di Pretoro [EMAIL PROTECTED] writes: OK, garbage collector, I know that ;-)) garbage collector is not the correct term here. GObject doesn't do garbage collection as you usually refer to it. While reference counting is often used with garbage collection it's not at all the same

Re: GtkGlArea - Newbie Question

2003-01-26 Thread Sven Neumann
Hi, Rob Wilkens [EMAIL PROTECTED] writes: I'm just getting my feet wet in both GTK programming, X-Windows programming, and OpenGL programming. I'm not sure how serious I'll get involved in the above. Someone had mentioned to me the existence of a Gtk widget called GtkGlArea which I was

Re: GtkGlArea - Newbie Question

2003-01-26 Thread Sven Neumann
Hi, Rob Wilkens [EMAIL PROTECTED] writes: Does its inclusion in CVS imply that it's something that's under development and not yet a part of gtk+, but will possibly be part of a future release of GTK+? If so, I can wait for it to stabilize, I'm in no hurry to get what I'm doing done -=-

Re: GtkFB is stable ?

2003-01-17 Thread Sven Neumann
Hi, Stephane Wirtel [EMAIL PROTECTED] writes: with gtk+-2.2, the extension --enable-fbmanager is stable ? because, i would like to create a program with gtk+-2.2 without the XFree server, if you want to run multiple applications on the linux frame buffer device, I'd suggest you use

Re: Convert a text

2003-01-17 Thread Sven Neumann
Hi, Emmanuel Di Pretoro [EMAIL PROTECTED] writes: Probably a newbie question. So, I've created a little front-end in GTK2 to a posgresql database. When I insert character like 'é', 'è', etc, the result in the database is like Ã@. What can I do to correct that ? feed it with UTF-8 and

Re: add a checkbutton to a treeview?

2003-01-14 Thread Sven Neumann
Hi, Ottavio Campana [EMAIL PROTECTED] writes: I'm trying to add some rows to a treeview. There's only one column, but I don't want to add some text, but a checkbutton. Is it possible? How can ? I do it? see http://developer.gnome.org/doc/API/2.0/gtk/GtkCellRendererToggle.html Salut, Sven

Re: Setting up global key bindings

2003-01-14 Thread Sven Neumann
Hi, Paul Davis [EMAIL PROTECTED] writes: - another way to setup global key bindings ? what you're doing sounds right for most applications. does it? I don't think it does. Having hidden key bindings is a very bad idea from an UI-design point of view. So in order to bind keys to certain

Re: A dialog with many spin buttons has errors, Xlib: unexpected async reply

2003-01-13 Thread Sven Neumann
Hi, Edy [EMAIL PROTECTED] writes: I was very careful on threads. did you read what the GTK+ FAQ says about threads ? Salut, Sven ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

Re: configuring GTK 2.2

2003-01-13 Thread Sven Neumann
Hi, Hubert de Fraysseix [EMAIL PROTECTED] writes: libatk-1.0.so should not be calling g_value_get_as_pointer. the problem is most likely that a very old version of glib-genmarshal is being used to build atk. g_value_get_as_pointer() was renamed to g_value_peek_pointer() almost a year ago.

Re: how to improve the speed of GTK pixmap

2003-01-12 Thread Sven Neumann
Hi, magicdhj [EMAIL PROTECTED] writes: I am now trying to use gtk to draw graphic. And I use the double buffer to avoid flicker. you don't need to do any double buffering with gtk+-2.x since the library transparently does it for you. If you implement your own buffering on top of it, you

Re: Does gtk-2.0 support 4 bits per pixel graphical format?

2003-01-09 Thread Sven Neumann
Hi, James Su [EMAIL PROTECTED] writes: I'm going to port DirectFB and GTK-DirectFB to a embedded board with a 4bpp LCD monitor, so I want to know if it's possible for gtk+-2.0.x? I think it should be doable. At least GdkRGB seems to support 4bit color depth for PSEUDO_COLOR, STATIC_COLOR and

Re: A problem with the button_press.

2003-01-09 Thread Sven Neumann
Hi, Pascual [EMAIL PROTECTED] writes: My problem is how can I know I'm clicking in any line of my rectangle 'cause when I used the function button_press_event there's nothing new, and I want to know when I'm clicking in the rectangle, any idea? I suspect you are trying to tell us

Re: Q: How to disable shadow text for insensitive widgets?

2003-01-08 Thread Sven Neumann
Hi, Kuth, Joachim Dr. [EMAIL PROTECTED] writes: I have the following problem: If I set a Button (, CheckButton, OptionMenu, ...) to insensitive, the corresponding label will show its text with a white shadow. How can I change this behaviour? why do you want to change it? It's the way GTK+

Re: random crash [treeview bug?]

2003-01-05 Thread Sven Neumann
Hi, Ottavio Campana [EMAIL PROTECTED] writes: On Sun, Jan 05, 2003 at 03:18:35PM +0100, Ottavio Campana wrote: When it crashes gdb says that nothing particular. Is seems to be a signal problem, but nothing more. If I type where I've got a long list of functions (sometimes more than

Re: random crash [treeview bug?]

2003-01-05 Thread Sven Neumann
Hi, Ottavio Campana [EMAIL PROTECTED] writes: at the beginning I call g_thread_init and then I close the critical code in gdk_threads_enter and gdk_threads_leave. I see my application (created with glade2) is running multitasking. that only assures that any global variables GTK+ and

Re: gtk + directfb + live cd

2003-01-04 Thread Sven Neumann
Hi, Ottavio Campana [EMAIL PROTECTED] writes: I've compiled the first example of the tutorial and it crashes. Here's the debug: Starting program: /var/root/helloworld [New Thread 16384 (LWP 242)] -- DirectFB v0.9.15 - (c)

Re: gtk + directfb + live cd

2003-01-04 Thread Sven Neumann
Hi, Ottavio Campana [EMAIL PROTECTED] writes: On Sat, Jan 04, 2003 at 12:00:29PM +0100, Sven Neumann wrote: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 16384 (LWP 242)] 0x40394fdb in MiniXftPatternFind () from /usr/lib/libpangoft2-1.0.so.0 looks

Re: Newbie question

2003-01-01 Thread Sven Neumann
Hi, Claus Hetzer [EMAIL PROTECTED] writes: I have just gotted GTK+ and am trying to run the Hello World program presented in the tutorial. It compiles just fine (using gcc and the command-line parameters as specified) and the window appears when I run the executable, but a series of

Re: Compiled, linked, but get error related to nonuse of -fnative-struct !!!

2002-12-20 Thread Sven Neumann
Hi, John Miskinis [EMAIL PROTECTED] writes: I forgot to mention that I had to define M_PI as 3.1415, which may be indictative of something else wrong. I searched my entire drive, and M_PI was not defined anywhere, but used in the gtkdial example. gtkdial.c should use G_PI (defined by glib)

Re: For the LOVE OF GOD will someone please help me..

2002-11-28 Thread Sven Neumann
Hi, Joshua L. McDowell [EMAIL PROTECTED] writes: PLEASE if ANYONE has ever written a GOOD how to please pass it on. I am about to give up on this and throw linux out in the trash! http://developer.gnome.org/doc/API/2.0/gtk/gtk-building.html Salut, Sven

Re: deprecated functions

2002-11-27 Thread Sven Neumann
Hi, Brandon McCombs [EMAIL PROTECTED] writes: No, there is no such list. Often the function docs will say which function to use; other times you just have to know. How would you know when the docs don't say?? I wondered the same thing a few days ago. Just about the whole signal

Re: hate to bother again, gtk2 is causing errors that gtk1 didn't

2002-11-26 Thread Sven Neumann
Hi, Brandon McCombs [EMAIL PROTECTED] writes: I'm still working on my lottery program. GTK2 doesn't seem to like something that GTK1 had no problem with. This code only works in GTK1.2.8 and is causing the errors below, along with a segfault. for (i=0; i3; i++) { pick3comp[i] =

Re: key release event

2002-11-26 Thread Sven Neumann
Hi, Marco Lettere [EMAIL PROTECTED] writes: I' m creating a fullscreen popup on which I render an opengl screen. This popup is created upon a button press on the main application window which is a toplevel. I'm trying to catch keyboard strokes on the popup connetting to the signals

Re: gtkfb and debian-installer

2002-11-26 Thread Sven Neumann
Hi, Owen Taylor [EMAIL PROTECTED] writes: Note that there is no actual requirement to use --with-included-modules=yes with linux-fb, unless you need a standalone binary, which you probably don't for your installer. I was assuming that he was trying to build a static binary in order to reduce

Re: gtkfb and debian-installer

2002-11-25 Thread Sven Neumann
Hi, Michael Cardenas [EMAIL PROTECTED] writes: what about using gtk+-directfb ? Does gtk+-directfb support as many graphics cards as gtkfb does/did? yes, it only needs a working frame buffer device just like linux-fb. Well, actually it even works w/o a frame buffer device thru SDL. This is

Re: Rotated text

2002-11-21 Thread Sven Neumann
Hi, Ian King [ES] [EMAIL PROTECTED] writes: What makes you think this is so easy? For 90, 180 and 270 degrees it's fairly simple but what about 45? I have played about with the gimp and they only support limited (90, 180, 270) rotation. Am I missing something here, gdk allows me to render

Re: Gtk execution question

2002-11-12 Thread Sven Neumann
Hi, [EMAIL PROTECTED] writes: (e.g. in the handler function I will change 'my_test_variable' into 0 when the ok button is pressed). When 'my_test_variable' changes value GTK should go on and making 'window' How can obtain this kind of behavior ? what about connecting to the clicked signal

Re: Gtk execution question

2002-11-12 Thread Sven Neumann
Hi, [EMAIL PROTECTED] writes: Maybe I was not clear in my previous message : I connect the clicked event as shown in the code, but my problem is I don't want to show the file selection dialog and window togheter. I wish to show the window only when the ok button is pressed ! To do this a

Re: (no subject)

2002-11-10 Thread Sven Neumann
Hi, Blowfish [EMAIL PROTECTED] writes: are there any tutorial for beginner about using drawing area ? yes, see http://gtk.org/tutorial/ch-scribble.html Salut, Sven ___ gtk-list mailing list [EMAIL PROTECTED]

Re: compiling gdk-pixbuf in 2.0.7

2002-11-07 Thread Sven Neumann
Hi, [EMAIL PROTECTED] writes: im getting this trying to build gtk 2.0.7 under linux when it starts building gdk-pixbuf: /usr/bin/ld:.libs/libgdk_pixbuf-2.0.ver:1: parse error in VERSION script any clues? glib 2.0.7 built fine by the way... I've heard the same complaints from some users

Re: I still have problems with GTK 2.0

2002-11-04 Thread Sven Neumann
Hi, Stoyan karanfilov [EMAIL PROTECTED] writes: I have Gnome 1.4 with GTK 1.2, but I'm using GTK 2.0 and I want to use standart Gnome Functins like gnome_dialog_run and gnome_about_new. When trying to compile these functins with GTK 2.0 an error message says that I need some header files

Re: undefined reference to `g_type_check_instance_cast

2002-11-03 Thread Sven Neumann
Hi, Gerard Sanromà [EMAIL PROTECTED] writes: thanks to Sven Neumann for his precious help on my gtk-config problem. Effectively the problem was that gtk+-2.0 doesn't work with gtk-config, and in conseqüence, the application I was trying to compile wasn't compatible with 2.0 version of gtk

Re: gtk-config

2002-11-02 Thread Sven Neumann
Hi, Gerard Sanromà [EMAIL PROTECTED] writes: I've been compiling some programs that need gtk+ and all failed in ./configure due to not find gtk. It seems that ./configure looks for a script named gtk-config. I've installed all gtk-blablalba-devel, -common, ... libgtk-blabla, etc etc etc

Re: upgrade from GTK 1.2 to a recent 2.x

2002-10-31 Thread Sven Neumann
Hi, [EMAIL PROTECTED] writes: on my system is GTK 1.2.10 installed. I want to upgrade to a recent 2.0 release (2.0.6 seems to be most recent in the moment). What do I have to do, to get this done ? I know I need some other packages, namely glib, atk and pango. But I do not want to break

Re: Remove GdkPixmap from a container

2002-10-30 Thread Sven Neumann
Hi, amitjain [EMAIL PROTECTED] writes: i am using Gtk1.2. I have a container in that i added some widgets and some pixmaps. I added these pixmap in a vbox and then that i added that vbox in my main container. now i want to remove vbox on some events, and pixmap should be disappear from

Re: Can I have multiply copy of gtk-2.0 with different gdktargets installed within my system?

2002-10-28 Thread Sven Neumann
Hi, James Su [EMAIL PROTECTED] writes: I noticed that the immodules are linked to libgtk and libgdk with specific backend. I wonder if immodules linked to libgtk-x11 and libgdk-x11 can be used with libgtk-directfb, libgdk-directfb? If it can't, how can I make the two set of immodules coexist

Re: Can I have multiply copy of gtk-2.0 with different gdktargets installed within my system?

2002-10-28 Thread Sven Neumann
Hi, James Su [EMAIL PROTECTED] writes: Did you mean we cannot use immodules within gtk-directfb? It will be very pity if it's true. hmm, I hadn't cared about input modules before and I obviously mixed things up a bit. There's an X input method which is X11 specific. The other input modules

Re: Can I have multiply copy of gtk-2.0 with different gdktargets installed within my system?

2002-10-28 Thread Sven Neumann
Hi, James Su [EMAIL PROTECTED] writes: Is it possible to fix this problem without breaking the binary compatibility? I don't know if it's OK that we move /usr/lib/gtk-2.0 to /usr/lib/gtk-2.0-x11 for gtk2-x11 and to /usr/lib/gtk-2.0-directfb for gtk2-directfb? IMHO this should work and it

Re: Can I have multiply copy of gtk-2.0 with different gdktargets installed within my system?

2002-10-26 Thread Sven Neumann
Hi, James Su [EMAIL PROTECTED] writes: And even more, can I have an application switches between gtk2-x11 and gtk2-directfb without recompile? Is there any way to achieve this kind of dynamic link? as far as I know this unfortunately doesn't work. Salut, Sven

Re: Can I have multiply copy of gtk-2.0 with different gdktargets installed within my system?

2002-10-25 Thread Sven Neumann
Hi, James Su [EMAIL PROTECTED] writes: I want to install both gtk-2.0 with x11 gdktarget and directfb gdktarget into my system, if it's possible, how can I do it? the libraries coexist happily even in the same installation prefix. Applications will use the version they have been linked

Re: Porting GTK, requirements

2002-10-23 Thread Sven Neumann
Hi, Owen Taylor [EMAIL PROTECTED] writes: There are two sets of framebuffer code ... the linux-fb code in in the GTK+ distribution and the directfb port of GTK+ (http://www.directfb.org) Both are linux specific; the linux-fb code is probably easier to port to a different

Re: change text in button

2002-10-16 Thread Sven Neumann
Hi, CAVEY GERARD [EMAIL PROTECTED] writes: Objet : change text in button I can not change the color of the text (only when I click on the butten..the 'markes' that the button is selected are 'red' then.) How could I reach the label in the butten in order to change the color? something

Re: GdkPixmap and GtkDrawingarea

2002-10-16 Thread Sven Neumann
Hi, Olexiy Avramchenko [EMAIL PROTECTED] writes: You have to be sure that your widget (GtkDrawingArea) was realized. If not - all gdk stuff inside it is not allocated. The simpliest way is to call gtk_widget_show(area) after area creation (before all your drawlings). Olexiy is right here

<    1   2   3   4   5   6   7   8   >