How to remove glib 1.2.9 from my system?
Dear Sir, I've installed glib-1.2.9 on my linux box and I didn't know that glib-1.2.10. When I ./configure many programs it say that I have to delete the older version. Can you help me removing the 1.2.9? Thank you for your help. Yours, Ibrahim El-Shafei ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
g_signal_connect_swapped
Hi, I am studying the helloworld.c example on the gtk.org website, but as the examples are already a mixture of GTK1.2 and GTK2.0, things do not compile as it should. g_signal_connect_swapped doesn't compile. eg.: g_signal_connect_swapped (GTK_OBJECT (button), clicked, GTK_SIGNAL_FUNC (gtk_widget_destroy), GTK_OBJECT (window)); Is there still a manual somewhere that describes the GTK1.2 version of GTK ? It seems as if I stepped into GTK in the middle of a transition, and this causes some confusion. Also I will probably still use GTK1.2 for a while as I cannot take the risk of instability of the new GTK2.0 version which will probably be the case in the beginning. Best regards, Peter ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Re: g_signal_connect_swapped
Peter Van Osta [EMAIL PROTECTED] writes: Is there still a manual somewhere that describes the GTK1.2 version of GTK ? If you download the GTK 1.2 tarballs (gtk+-1.2.x.tar.gz) there's a copy of the 1.2 tutorial in there. Havoc ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
interesting thread issue at exit()
GDK registers an exit function to be called on normal process termination. This function will be called from whatever thread calls exit(2). However, the function is not thread safe, and if the thread calling exit(2) is not the main GUI thread, many nasty things can happen. This is not fixed in GTK+ 1.3/2.0, at least not as of a month or two ago. Do you folks consider this a genuine bug, or a design constraint? --p ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Re: interesting thread issue at exit()
Paul Davis [EMAIL PROTECTED] writes: GDK registers an exit function to be called on normal process termination. This function will be called from whatever thread calls exit(2). However, the function is not thread safe, and if the thread calling exit(2) is not the main GUI thread, many nasty things can happen. This is not fixed in GTK+ 1.3/2.0, at least not as of a month or two ago. Do you folks consider this a genuine bug, or a design constraint? Fri Feb 1 08:57:38 2002 Owen Taylor [EMAIL PROTECTED] * gtk/gtkmain.c (gtk_exit_func): Remove this useless atexit handler. (existance pointed out by Stefan Kost) 2001-02-19 Havoc Pennington [EMAIL PROTECTED] * gdk/gdk.c (gdk_exit_func): #if 0 this for now, don't install it (gdk_init_check): no atexit func atexit functions are completely evil - the intent is to have none. Havoc ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
How do I find out an object's type using the GTK+ (1.2) type system?
I have a situation like the following: void setParms(GtkOpenmapProj* proj, ...) { ... class-normalize_latitude(proj, ...); } GtkOpenmapProj is a base class that has multiple sub-types. Each of the subtypes may override the normalize_latitude method of the GtkOpenmapProj class. However, I don't know which of the subtypes is passed into my function, just that its some sub-type of GtkOpenmapProj. How do I find which type identifier to feed to gtk_type_class() so that I can obtain the class struct for the proper sub-type (and use the proper normalize_latitude function)? How does GTK+ handle polymorphism? Thanks for any help. By the way, I'm assuming use of the GTK+ 1.2 version of the type system. I understand that the system may change some with 2.0, but I'm trying to learn the simpler system first. It also helps that a book is available for the earlier system (GGAD). - Michael Bowman [EMAIL PROTECTED] (410) 266-4876 ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
About the focus move in table?
Title: About the focus move in table? hi guys: anyone could tell how to change the focus in three tables(there is a lot of buttons in each table) with keyboard. and I find that the buttons focus in one table couldn't be changed smoothly.for example,when you press left key on keyboard,you expect the focus will move to the left button,however the focus maybe move to the a button on the bottom of the table. a table's layout like following picture:(24 buttons in one table) when focus in 14 button,i press down key on keyboard.i expect the focus will move to the 20 button,the result is the focus moves to the15 button or other button,not 20 button.the same thing is happen to the 18,20 button.do anyone knows how to handle with the problem? or how to control the focus in a table? Thanks in advance! kason ole0.bmp Description: ole0.bmp
gtk-deviceid How to use?
Dear Sir, I have just devleoped a X input driver for my small graphic tablet. And it is working Now I have cursor that will move according to mouse OR graphic tablet. Now I want to develope a gtk application that will ONLY respond the event from my graphic tablet. I have a callback function in my GTK application, motion_notify_event and I have compared the event content of my mouse and my graphic tablet and they look the same (the deviceid content etc). and I have no way to distuguish whether the event is from the mouse or from the graphic tablet. What did I do wrong in my driver? can please have a look at http://input.foruto.com/IME/BINARIES/gogopen.tar.gz and tell me whether I did wrong in the device driver? Yick Hong Kong china ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list