[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gtk-app-devel
Subject:    GtkScrollType and co
From:       Mathieu Malaterre <Mathieu.Malaterre () creatis ! insa-lyon ! fr>
Date:       2003-04-25 12:50:22
[Download RAW message or body]

Hi all,
	I would like to associate an event to a slider *but* only when the 
mouse is release (=endscroll event). How would you do that with GTK.
There doesn't seems to be an event associated with it:

typedef enum
{
   GTK_SCROLL_NONE,
   GTK_SCROLL_STEP_BACKWARD,
   GTK_SCROLL_STEP_FORWARD,
   GTK_SCROLL_PAGE_BACKWARD,
   GTK_SCROLL_PAGE_FORWARD,
   GTK_SCROLL_JUMP
} GtkScrollType;


---
	I have recently sent a mail:
http://mail.gnome.org/archives/gtk-app-devel-list/2003-April/msg00268.html
And Owen told me I should better not called gdk_window_at_pointer(). So 
what should I use instead ?
	Let say I have 2 window A & B if I drag the mouse from A to B, I still 
want to be able to release the mouse (even when on B). That's why I 
decide that window A capture the mouse.

---

	This lead to my second question: how good is it to grab the mouse and 
attached it to a particular window ? For example let say window A has 
capture the mouse, but window C pop up and got the focus (progress bar 
or what ever). How would you deal with it ?

Thanks
mathieu

-- 
Mathieu Malaterre
CREATIS
28 Avenue du Doyen LEPINE
B.P. Lyon-Montchat
69394 Lyon Cedex 03
http://www.creatis.insa-lyon.fr/~malaterre/

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic