Gtk2HsContentsIndex
Graphics.UI.Gtk.Misc.EventBox
Description

This container can be used to receive Events for a widget that has no window on its own.

TODO

  • check: Is this widget useful?
Synopsis
data EventBox
class BinClass o => EventBoxClass o
castToEventBox :: GObjectClass obj => obj -> EventBox
eventBoxNew :: IO EventBox
eventBoxSetVisibleWindow :: EventBox -> Bool -> IO ()
eventBoxGetVisibleWindow :: EventBox -> IO Bool
eventBoxSetAboveChild :: EventBox -> Bool -> IO ()
eventBoxGetAboveChild :: EventBox -> IO Bool
Documentation
data EventBox
Instances
EventBoxClass EventBox
BinClass EventBox
ContainerClass EventBox
WidgetClass EventBox
ObjectClass EventBox
GObjectClass EventBox
class BinClass o => EventBoxClass o
Instances
EventBoxClass EventBox
castToEventBox :: GObjectClass obj => obj -> EventBox
eventBoxNew :: IO EventBox
Create a new EventBox.
eventBoxSetVisibleWindow :: EventBox -> Bool -> IO ()
Set whether the event box uses a visible or invisible child window. The default is to use visible windows. The C documentation for details of what difference this makes.
eventBoxGetVisibleWindow :: EventBox -> IO Bool
Returns whether the event box has a visible window.
eventBoxSetAboveChild :: EventBox -> Bool -> IO ()

Set whether the event box window is positioned above the windows of its child, as opposed to below it.

  • If the window is above, all events inside the event box will go to the event box. If the window is below, events in windows of child widgets will first got to that widget, and then to its parents.
eventBoxGetAboveChild :: EventBox -> IO Bool
Returns whether the event box window is above or below the windows of its child. See eventBoxSetAboveChild for details.
Produced by Haddock version 0.6