Re: [gtk-list] Basic Questions



OK, I've figured out the first question, but not the other two.

(As far as the first, I figured there's no such thing as a single click
just a single press+release.)


On Fri, 30 Apr 1999, pavel wrote:

> 
> I will accept RTFM as an answer since I'm not sure this wasn't covered
> there. But I couldn't find it.
> 
> Suppose I have a preview.
> 1. How do I capture a mouse click? Is there a special event for that or do
> I have to capture and press and a release? (How about double click? - I
> believe I've seen an answer to this one.) If there is such an event then
> how is that distinguished from a press+release?
> 
> 2. It seems that sometimes I need gtk_widget_draw(preview, .) after a row
> draw to refresh the preview and sometimes I don't. What's the rule here?
> 
> 3. If I press the button and move the mouse then "motion_notify_event"
> only fires once, unless I use gdk_window_get_pointer(preview->window, &x,&y, NULL);
> 
> Why?
> 
> Thanks a lot!
> 
> Pavel
> 
> -- 
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
> 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]