# Uses of Interface
com.tick42.glue.core.GlueEvent.Subscription

Packages that use GlueEvent.Subscription
Package | Description
--- | ---
com.tick42.glue.core | The core API for Glue.
com.tick42.glue.desktop.windows | The window management API for Glue.
com.tick42.glue.internal | Internal implementation details.

- ## Uses of GlueEvent.Subscription in com.tick42.glue.core

  Methods in com.tick42.glue.core that return types with arguments of type GlueEvent.Subscription
  Modifier and Type | Method | Description
  --- | --- | ---
  `<E extends GlueEvent<?>> CompletionStage<GlueEvent.Subscription<E>>` | GlueEvent.Monitor.`on​(GlueEvent.Listener<? extends E> listener)` |

- ## Uses of GlueEvent.Subscription in com.tick42.glue.desktop.windows

  Methods in com.tick42.glue.desktop.windows that return GlueEvent.Subscription
  Modifier and Type | Method | Description
  --- | --- | ---
  `GlueEvent.Subscription<WindowFrameButtonClickedEvent>` | Window.`onFrameButtonClicked​(WindowFrameButtonClickedEvent.Listener listener)` | Registers a callback to be notified when some button from the window frame is clicked.
  `GlueEvent.Subscription<WindowHibernateEvent>` | Window.`onHibernated​(WindowHibernateEvent.Listener listener)` | Registers a callback to be notified when the current layout is about to be suspended/hibernated.
  `GlueEvent.Subscription<WindowResumedEvent>` | Window.`onResumed​(WindowResumedEvent.Listener listener)` | Registers a callback to be notified when the current layout is about to be resumed.

- ## Uses of GlueEvent.Subscription in com.tick42.glue.internal

  Methods in com.tick42.glue.internal that return types with arguments of type GlueEvent.Subscription
  Modifier and Type | Method | Description
  --- | --- | ---
  `<E extends GlueEvent<?>> CompletionStage<GlueEvent.Subscription<E>>` | Tick42Glue.`on​(GlueEvent.Listener<? extends E> listener)` |