Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

ob::EventAction Struct Reference

#include <python.hh>

List of all members.

Public Types

enum  EA {
  EnterWindow, LeaveWindow, PlaceWindow, DisplayingWindow,
  NewWindow, CloseWindow, Startup, Shutdown,
  Focus, Bell, UrgentWindow
}


Member Enumeration Documentation

enum ob::EventAction::EA
 

Enumeration values:
EnterWindow  Occurs when the mouse enters a window.
LeaveWindow  Occurs when the mouse leaves a window.
PlaceWindow  Occurs while a window is being managed. The handler should call Client::move on the window.
DisplayingWindow  Occurs while a window is being managed, just before the window is displayed.

Note that the window's state may not be completely stabilized by this point. The NewWindow event should be used when possible.

NewWindow  Occurs when a window is finished being managed.
CloseWindow  Occurs when a window has been closed and is going to be unmanaged.
Startup  Occurs when the window manager manages a screen.

This event occurs on each managed screen during startup.

Shutdown  Occurs when the window manager unmanages a screen.

This event occurs on each managed screen during shutdown.

Focus  Occurs when the input focus target changes.

The data.client will be None of no client is focused.

Bell  Occurs when the system is fired through X.

The data.client will hold the client associated with the bell if one has been specified, or None.

UrgentWindow  Occurs when a client toggles its urgent status.

The Client::urgent method can be used to get the status.

Definition at line 80 of file python.hh.

00080           {
00081     EnterWindow,        //!< Occurs when the mouse enters a window
00082     LeaveWindow,        //!< Occurs when the mouse leaves a window
00083     //! Occurs while a window is being managed. The handler should call
00084     //! Client::move on the window
00085     PlaceWindow,
00086     //! Occurs while a window is being managed, just before the window is
00087     //! displayed
00088     /*!
00089       Note that the window's state may not be completely stabilized by this
00090       point. The NewWindow event should be used when possible.
00091     */
00092     DisplayingWindow,
00093     //! Occurs when a window is finished being managed
00094     NewWindow,
00095     //! Occurs when a window has been closed and is going to be unmanaged
00096     CloseWindow,
00097     //! Occurs when the window manager manages a screen
00098     /*!
00099       This event occurs on each managed screen during startup.
00100     */
00101     Startup,
00102     //! Occurs when the window manager unmanages a screen
00103     /*!
00104       This event occurs on each managed screen during shutdown.
00105     */
00106     Shutdown,
00107     //! Occurs when the input focus target changes
00108     /*!
00109       The data.client will be None of no client is focused.
00110     */
00111     Focus,
00112     //! Occurs when the system is fired through X.
00113     /*!
00114       The data.client will hold the client associated with the bell if
00115       one has been specified, or None.
00116     */
00117     Bell,
00118     //! Occurs when a client toggles its urgent status.
00119     /*!
00120       The Client::urgent method can be used to get the status.
00121     */
00122     UrgentWindow
00123 #if ! (defined(DOXYGEN_IGNORE) || defined(SWIG))
00124     , NUM_EVENTS
00125 #endif
00126   };


The documentation for this struct was generated from the following file:
Generated on Tue Feb 4 23:00:15 2003 for Openbox by doxygen1.3-rc2