diff options
author | fluxgen <fluxgen> | 2003-05-10 23:14:22 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-05-10 23:14:22 (GMT) |
commit | a9e2a8d2e67c706a27daa12a28af8fc5580db936 (patch) | |
tree | 728dbc570a9baac27632201eef9e6247295999b7 | |
parent | c0fa8f2263e8defef0db9c5d4d2d7677dd96cbe3 (diff) | |
download | fluxbox_paul-a9e2a8d2e67c706a27daa12a28af8fc5580db936.zip fluxbox_paul-a9e2a8d2e67c706a27daa12a28af8fc5580db936.tar.bz2 |
documentation
-rw-r--r-- | src/FbTk/EventHandler.hh | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/src/FbTk/EventHandler.hh b/src/FbTk/EventHandler.hh index 8f07c8c..6e60cc2 100644 --- a/src/FbTk/EventHandler.hh +++ b/src/FbTk/EventHandler.hh | |||
@@ -1,5 +1,5 @@ | |||
1 | // EventHandler.cc for Fluxbox Window Manager | 1 | // EventHandler.cc for Fluxbox Window Manager |
2 | // Copyright (c) 2002-2003 Henrik Kinnunen (fluxgen at linuxmail.org) | 2 | // Copyright (c) 2002-2003 Henrik Kinnunen (fluxgen at users.sourceforge.net) |
3 | // | 3 | // |
4 | // Permission is hereby granted, free of charge, to any person obtaining a | 4 | // Permission is hereby granted, free of charge, to any person obtaining a |
5 | // copy of this software and associated documentation files (the "Software"), | 5 | // copy of this software and associated documentation files (the "Software"), |
@@ -19,7 +19,9 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | // $Id: EventHandler.hh,v 1.4 2003/04/28 01:47:29 fluxgen Exp $ | 22 | // $Id: EventHandler.hh,v 1.5 2003/05/10 23:14:22 fluxgen Exp $ |
23 | |||
24 | /// @file holds EventHandler interface for X events | ||
23 | 25 | ||
24 | #ifndef FBTK_EVENTHANDLER_HH | 26 | #ifndef FBTK_EVENTHANDLER_HH |
25 | #define FBTK_EVENTHANDLER_HH | 27 | #define FBTK_EVENTHANDLER_HH |
@@ -28,9 +30,17 @@ | |||
28 | 30 | ||
29 | namespace FbTk { | 31 | namespace FbTk { |
30 | 32 | ||
33 | |||
34 | /// interface for X events | ||
31 | /** | 35 | /** |
32 | interface for X events | 36 | * Use this class to catch events from X windows and FbWindows \n |
33 | */ | 37 | * Register instance of this class to EventManager \n |
38 | * example: \n | ||
39 | * EventManager::instance()->add(your_eventhandler, your_window); \n | ||
40 | * Don't forget to unregister it: \n | ||
41 | * EventManager::instance()->remove(your_window); | ||
42 | * @see EventManager | ||
43 | */ | ||
34 | class EventHandler { | 44 | class EventHandler { |
35 | public: | 45 | public: |
36 | virtual ~EventHandler() { } | 46 | virtual ~EventHandler() { } |