Re: Wheel mice

2000-09-27 Thread Nils Rennebarth
On Wed, Sep 27, 2000 at 10:07:48AM +0100, Chris Wareham wrote: This is the braindead Motif behaviour. Num Lock is considered a modifier, which affects not only keys, but the mouse buttons as well. So whenever the Num Lock is on, keyboard accelerators (eg. Ctrl-S to save in NEdit) and the

Re: Wheel mice

2000-09-18 Thread Nils Rennebarth
On Thu, Sep 14, 2000 at 11:35:27AM -0300, [EMAIL PROTECTED] wrote: I recently bought a cordless wheel mouse from Logitech (it's just great!) and started enjoying the freedom of a cordless mouse. After it, I looked at that wheel and thought about actually using it. It was not a pleasant

Re: Unix install

2000-09-18 Thread Nils Rennebarth
On Sat, Sep 16, 2000 at 08:00:18PM -0400, Meghal Harish Varia wrote: By setting various options, I am finally able to get a compile of gtk, and even the ability to compile the helloworld example. However, I get the following error when I try to run the helloworld program:

selection field of a GtkCList

2000-09-15 Thread Nils Rennebarth
In the description of GtkCList, all fields of the struct are declared private, but I can't see a way to get the current selection other than accessing the clist-selection field. Even the FAQ says to use this field. Is this a documentation bug? Nils -- Quotes from the net, featuring John

containers in toolbars

2000-09-12 Thread Nils Rennebarth
I want to place a widget in my toolbar containing of a label and a combo box, so I create a HBox, add label and combo box and use gtk_toolbar_append_widget to put it into the toolbar. This doesn't work, the widget never shows up. If I add an gtk_widget_show_all(h) (h ist the HBox), it works, but

How to create precise timeouts?

2000-09-04 Thread Nils Rennebarth
From reading the description of g_timeout_add, it seems that if I call g_timeout_add(100,function,NULL) and function itself takes 80ms to complete, this will end up in function being started every 180ms. Is this right? What I want is to have it beeing called about every 100ms, maybe 10ms

What happens if timeout events take too long?

2000-09-02 Thread Nils Rennebarth
Before looking too deep into the source: What if I gtk_timeout_add(100,lengthy_function,NULL) but lengthy function takes say 200ms to execute? Will invocations be queued up or just thrown away? Will other events still be processed? Nils -- Quotes from the net, featuring John Lapeyre[L]

Parsing X-geometry

2000-09-01 Thread Nils Rennebarth
I vaguely remember having seen a function somewhere in GTK/GDK/GLIB/... to parse an X geometry of the form widthxheight+x+y Can someone point me in the right direction? Nils -- Quotes from the net, featuring John Lapeyre[L] and Christopher F. Miller [M]: M I'm not sure what the right words