How to act on a widget if clicked outside of it?



Hello,

I try to mimic the behaviour of a menu:

If it is open, you can go over the other menu entries, they are
highlighted and can be selected
-> this is an easy task with a local grab on the menubar

But what about response from other parts of the application. Other
applications (like firefox) respond from other GUI elements (like the
toolbar or the status bar) with highlighting, too.

My problem is with an edit entry that popup from a label and should be
dismissed when the user clicks elsewhere inside or outside the
application. All other GUI elements should stay responsive (be
highlighted when moused over).

Can you help me?

Thank you
Uwe

.



Relevant Pages

  • Re: Encase Forensic
    ... One more historical tan operatings will wherever urge the codes. ... highlighting across dynamic, towards confident, in addition to ... He'll be combining in response to surprised Andy until his sunshine ...
    (sci.crypt)
  • Re: Highlight cells with ctrl-click but only un-highlight one cell
    ... Paul B ... Always backup your data before trying something new ... Please post any response to the newsgroups so others can benefit from it ... > highlighting one incorrectly, how can I un-highlight it without losing my ...
    (microsoft.public.excel.misc)
  • Re: Agent - Bottom Post?
    ... >>> I suppose there are still a few diehards that prefer highlighting with ... >>> the few real advantages of a GUI. ... the emphasis and the smiley and see my response to Al's response. ...
    (news.software.readers)
  • Re: left column of blank spaces are hilighted when editing mail in mutt
    ... Thanks for the response. ... I think it was caused by this setting in .muttrc: ... # blank line after the headers. ... vim's highlighting every empty line. ...
    (comp.editors)
  • Re: Autofill email adresses history delete
    ... You can delete them one at a time by highlighting the selected entry and ... pressing the delete button. ... if you have many entries that you need to ...
    (microsoft.public.outlook.contacts)