The Artima Developer Community
Sponsored Link

Design Forum
Event Dispatching & Focus Handling

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Rob

Posts: 1
Nickname: rtrartima
Registered: Apr, 2003

Event Dispatching & Focus Handling Posted: Apr 12, 2003 5:40 AM
Reply to this message Reply
Advertisement
I have been implementing a c++ wrapper for libcurses. So far the design utilizes the composite pattern to represent the relationships between widgets <-> windows. I've advanced to the point where I want to design event and focus handling facilities within the widget hierarchy.

I'm having particular difficulty with regard to focus handling and the dispatching to target widgets (those with focus).

Is there anywhere online that presents an extensive OO model for managing this behavior, perhaps even with stub code to demonstrate whats under the hood of a dispatcher and focus handler?

Also, if someone saavy on the topic comes by I wouldn't mind discussing it here.

Thanks

Topic: Can packages and classes have same name? Previous Topic   Next Topic Topic: From Analysis to Design

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use