Maintainer | gtk2hs-users@lists.sourceforge.net |
---|---|
Stability | provisional |
Portability | portable (depends on GHC) |
Safe Haskell | None |
Language | Haskell98 |
Limit the effect of grabs
- data WindowGroup
- class GObjectClass o => WindowGroupClass o
- castToWindowGroup :: GObjectClass obj => obj -> WindowGroup
- gTypeWindowGroup :: GType
- toWindowGroup :: WindowGroupClass o => o -> WindowGroup
- windowGroupNew :: IO WindowGroup
- windowGroupAddWindow :: (WindowGroupClass self, WindowClass window) => self -> window -> IO ()
- windowGroupRemoveWindow :: (WindowGroupClass self, WindowClass window) => self -> window -> IO ()
- windowGroupListWindows :: WindowGroupClass self => self -> IO [Window]
Class Hierarchy
| GObject
| +----WindowGroup
Types
data WindowGroup Source #
class GObjectClass o => WindowGroupClass o Source #
castToWindowGroup :: GObjectClass obj => obj -> WindowGroup Source #
toWindowGroup :: WindowGroupClass o => o -> WindowGroup Source #
Constructors
windowGroupNew :: IO WindowGroup Source #
Creates a new WindowGroup
object. Grabs added with
grabAdd
only affect windows within the
same WindowGroup
.
Methods
:: (WindowGroupClass self, WindowClass window) | |
=> self | |
-> window |
|
-> IO () |
Adds a window to a WindowGroup
.
windowGroupRemoveWindow Source #
:: (WindowGroupClass self, WindowClass window) | |
=> self | |
-> window |
|
-> IO () |
Removes a window from a WindowGroup
.
windowGroupListWindows Source #
:: WindowGroupClass self | |
=> self |
|
-> IO [Window] | returns the list of windows inside this group |
Returns a list of the Window
s that belong to windowGroup
.
- Available since Gtk+ version 2.14