From owner-oi-users Fri Feb 24 08:10:23 1995 Return-Path: oi-users-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id IAA19136 for oi-users-outgoing; Fri, 24 Feb 1995 08:10:23 -0800 Received: from Sun.COM (Sun.COM [192.9.9.1]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id IAA19127 for ; Fri, 24 Feb 1995 08:10:19 -0800 Received: from EBay.Sun.COM (female.EBay.Sun.COM) by Sun.COM (sun-barr.Sun.COM) id AA09684; Fri, 24 Feb 95 08:09:09 PST Received: from odessa.EBay.Sun.COM by EBay.Sun.COM (SMI-8.6.9/SMI-5.3) id IAA18493; Fri, 24 Feb 1995 08:09:07 -0800 Received: by odessa.EBay.Sun.COM (5.0/SMI-SVR4) id AA26234; Fri, 24 Feb 1995 08:10:46 +0800 Date: Fri, 24 Feb 1995 08:10:45 -0800 (PST) From: Tony Gaw To: oi-users@freefall.cdrom.com Subject: resend: glyph click callback/drag object (fwd) Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: oi-users-owner@FreeBSD.org Precedence: bulk (sorry if you saw this already) I have a OI_glyph object which has a click callback from gp->set_click(). It worked fine until I made this OI_glyph draggable by overriding the OI_glyph translation: static char button_trans[] = ": drag_copy_start()\n"; Because of the above trans, my glyph click callback never gets called. Any tips on how to get both the click callback AND draggability to work on my glyph? BTW, I'm trying to mimic Sun's filemgr icons - which allow the icon to be selected (one click), viewed (double click), and dragged. TIA.