Re: How do I find out an object's type using the GTK+ (1.2) type syst em?

2002-02-22 Thread Havoc Pennington
"Bowman, Michael W. \(MBOWMAN\)" <[EMAIL PROTECTED]> writes: > 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

gtk->deviceid How to use?

2002-02-22 Thread Lam Yick Yan
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

About the focus move in table?

2002-02-22 Thread 黃慶 Kason Huang
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 e

How do I find out an object's type using the GTK+ (1.2) type system?

2002-02-22 Thread Bowman, Michael W. (MBOWMAN)
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 do

GtkTreeModel patch ...

2002-02-22 Thread Andreas Scherf
Hello ,i have written a small patch to get the rows from the GtkTreeModel: gint gtk_tree_model_get_n_rows (GtkTreeModel *model) { gint rows=0; GtkTreeIter iter; if (gtk_tree_model_get_flags (GTK_TREE_MODEL(model))!=GTK_TREE_MODEL_LIST_ONLY) return -1; gtk_tree_model_get_iter_root(GTK_TR

Re: interesting thread issue at exit()

2002-02-22 Thread Havoc Pennington
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

interesting thread issue at exit()

2002-02-22 Thread Paul Davis
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

Re: g_signal_connect_swapped

2002-02-22 Thread Havoc Pennington
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 mail

g_signal_connect_swapped

2002-02-22 Thread Peter Van Osta
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",

How to remove glib 1.2.9 from my system?

2002-02-22 Thread shaffei
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