[Cuis-dev] Theme cleanup, and respect taskbar theme setting

Dan Norton dnorton at mindspring.com
Sun May 24 14:32:47 PDT 2020


On Sun, 24 May 2020 16:57:51 -0400
Dan Norton via Cuis-dev <cuis-dev at lists.cuis.st> wrote:

> On Mon, 25 May 2020 03:02:09 +0700
> Luciano Notarfrancesco via Cuis-dev <cuis-dev at lists.cuis.st> wrote:
> 
> > I think you can’t unless the taskbar takes the keyboard focus. In
> > that case I guess it is best to do it as you first suggested on a
> > mouse button event.
> >   
> 
> The following works but maybe too well. I'll try to put up a menu to
> warn and avoid accidents.
> 

The attached seems to work OK. Try it and let me know.

> 'From Cuis 5.0 [latest update: #4163] on 24 May 2020 at 4:47:42 pm'!
> 
> !HoverableButtonMorph methodsFor: 'events' stamp: 'dhn 5/24/2020
> 16:43:27'! mouseButton2Activity
> 
> 	model delete! !
> 
> > On Mon, 25 May 2020 at 2:42 AM, Dan Norton via Cuis-dev <
> > cuis-dev at lists.cuis.st> wrote:
> >   
> > > Ahah. Now I can get it to work if the context is inside the window
> > > itself, not on the title bar. How can we extend KeyboardEvent >>
> > > closeCurrentWindowOf: to delete the morph referred to by the
> > > HoverableButtonMorph?
> > >
> > > On Sun, 24 May 2020 20:54:29 +0200
> > > Hilaire Fernandes via Cuis-dev <cuis-dev at lists.cuis.st> wrote:
> > >    
> > > > For what it worth, it works on Ubuntu 20.04 and Cuis 4112.
> > > >
> > > > Le 24/05/2020 à 20:09, Dan Norton via Cuis-dev a écrit :    
> > > > > Thanks, but ctrl-w does not work either on Debian Linux with
> > > > > Xfce. What's needed is something independent of OS/window
> > > > > manager. There is a #mouseButton2Activity method for the task
> > > > > bar, away from the buttons. Maybe it could detect being over a
> > > > > button somehow...    
> > > >    
> > >
> > > --
> > > Cuis-dev mailing list
> > > Cuis-dev at lists.cuis.st
> > > https://lists.cuis.st/mailman/listinfo/cuis-dev
> > >    
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: HoverableButtonMorph-operating.st
Type: application/octet-stream
Size: 559 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20200524/c115772d/attachment.obj>


More information about the Cuis-dev mailing list