gtk2hsContentsIndex
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
eventBoxNew :: IO EventBox
eventBoxSetVisibleWindow :: EventBox -> Bool -> IO ()
eventBoxGetVisibleWindow :: EventBox -> IO Bool
eventBoxSetAboveChild :: EventBox -> Bool -> IO ()
eventBoxGetAboveChild :: EventBox -> IO Bool
Documentation
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