From a8d1056a85621cd5ad8ee4230b5323a20631b714 Mon Sep 17 00:00:00 2001 From: lazarus Date: Sat, 9 Feb 2002 01:45:18 +0000 Subject: [PATCH] Added Triple Click Shane git-svn-id: trunk@691 - --- lcl/interfaces/gtk/gtkobject.inc | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/lcl/interfaces/gtk/gtkobject.inc b/lcl/interfaces/gtk/gtkobject.inc index 4c1ddf3678..8b5c659c5d 100644 --- a/lcl/interfaces/gtk/gtkobject.inc +++ b/lcl/interfaces/gtk/gtkobject.inc @@ -1722,14 +1722,8 @@ begin ConnectSignal(gFixed, 'draw', @GTKDraw); end; - LM_EXPOSEEVENT : - begin -// ConnectSignal(gFixed, 'expose-event', @gtkexposeevent) - end; - LM_FOCUS : begin - //ConnectSignal(gObject, 'focus', @gtkfocusCB); if (sender is TCustomComboBox) then Begin ConnectSignal(PgtkObject(PgtkCombo(TCustomComboBox(sender).handle)^.entry), 'focus-in-event', @gtkFocusCB); @@ -1780,8 +1774,8 @@ begin LM_MOUSEMOVE: begin - if (sender is TComboBox) - then Begin + if (sender is TComboBox) then + Begin ConnectSignal(PgtkObject(PgtkCombo(TComboBox(sender).handle)^.entry), 'motion-notify-event', @GTKMotionNotify, GDK_POINTER_MOTION_MASK); ConnectSignal(PgtkObject(PgtkCombo(TComboBox(sender).handle)^.button), 'motion-notify-event', @GTKMotionNotify, GDK_POINTER_MOTION_MASK); end @@ -1841,16 +1835,18 @@ begin LM_ENTER : begin - if sender is TButton - then ConnectSignal(gObject, 'enter', @gtkenterCB) - else ConnectSignal(gObject, 'focus-in-event', @gtkFocusInNotifyCB); //TODO: check this focus in is mapped to focus + if sender is TButton then + ConnectSignal(gObject, 'enter', @gtkenterCB) + else + ConnectSignal(gObject, 'focus-in-event', @gtkFocusInNotifyCB); //TODO: check this focus in is mapped to focus end; LM_EXIT : begin - if sender is TButton - then ConnectSignal(gObject, 'leave', @gtkleaveCB) - else ConnectSignal(gObject, 'focus-out-event', @gtkFocusOutNotifyCB); + if sender is TButton then + ConnectSignal(gObject, 'leave', @gtkleaveCB) + else + ConnectSignal(gObject, 'focus-out-event', @gtkFocusOutNotifyCB); end; LM_LEAVE : @@ -3845,6 +3841,10 @@ end; { ============================================================================= $Log$ + Revision 1.113 2002/03/29 19:11:38 lazarus + Added Triple Click + Shane + Revision 1.112 2002/03/27 00:33:54 lazarus MWE: * Cleanup in lmessages