Portability | portable (depends on GHC) |
---|---|
Stability | provisional |
Maintainer | gtk2hs-users@lists.sourceforge.net |
Safe Haskell | Safe-Infered |
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 -> WindowGroupSource
toWindowGroup :: WindowGroupClass o => o -> WindowGroupSource
Constructors
windowGroupNew :: IO WindowGroupSource
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
.
:: (WindowGroupClass self, WindowClass window) | |
=> self | |
-> window |
|
-> IO () |
Removes a window from a WindowGroup
.
:: 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