| Maintainer | gtk2hs-users@lists.sourceforge.net |
|---|---|
| Stability | provisional |
| Portability | portable (depends on GHC) |
| Safe Haskell | None |
| Language | Haskell98 |
Graphics.UI.Gtk
Contents
- General things, initialization
- Drawing and other Low-Level Operations
- Windows
- Display widgets,
- Buttons and toggles
- Numeric/text data entry
- Multiline text editor
- Tree and list widget
- Menus, combo box, toolbar
- Action-based menus and toolbars
- Selectors (file/font/color)
- Special-purpose features
- Layout containers
- Ornaments
- Printing
- Recent
- Scrolling
- Miscellaneous
- Abstract base classes
- Cross-process embedding
- Non-widgets
- Pango text layout modules
Description
This module gathers all publicly available functions from the Gtk binding.
Synopsis
- module Graphics.UI.Gtk.General.General
- module Graphics.UI.Gtk.General.IconFactory
- module Graphics.UI.Gtk.General.IconTheme
- module Graphics.UI.Gtk.General.StockItems
- module Graphics.UI.Gtk.General.Selection
- module Graphics.UI.Gtk.General.Settings
- module Graphics.UI.Gtk.General.Drag
- module Graphics.UI.Gtk.Gdk.Keys
- module Graphics.UI.Gtk.General.Style
- module Graphics.UI.Gtk.General.RcStyle
- module Graphics.UI.Gtk.General.Clipboard
- module Graphics.UI.Gtk.Gdk.AppLaunchContext
- module Graphics.UI.Gtk.Gdk.Cursor
- module Graphics.UI.Gtk.Gdk.Drawable
- module Graphics.UI.Gtk.Gdk.DrawWindow
- newtype Region = Region (ForeignPtr Region)
- regionNew :: IO Region
- data FillRule
- regionPolygon :: [Point] -> FillRule -> IO Region
- regionCopy :: Region -> IO Region
- regionRectangle :: Rectangle -> IO Region
- regionGetClipbox :: Region -> IO Rectangle
- regionGetRectangles :: Region -> IO [Rectangle]
- regionEmpty :: Region -> IO Bool
- regionEqual :: Region -> Region -> IO Bool
- regionPointIn :: Region -> Point -> IO Bool
- data OverlapType
- regionRectIn :: Region -> Rectangle -> IO OverlapType
- regionOffset :: Region -> Int -> Int -> IO ()
- regionShrink :: Region -> Int -> Int -> IO ()
- regionUnionWithRect :: Region -> Rectangle -> IO ()
- regionIntersect :: Region -> Region -> IO ()
- regionUnion :: Region -> Region -> IO ()
- regionSubtract :: Region -> Region -> IO ()
- regionXor :: Region -> Region -> IO ()
- module Graphics.UI.Gtk.Gdk.EventM
- module Graphics.UI.Gtk.Gdk.Pixbuf
- module Graphics.UI.Gtk.Gdk.Pixmap
- module Graphics.UI.Gtk.Gdk.Screen
- module Graphics.UI.Gtk.Gdk.Keymap
- module Graphics.UI.Gtk.Gdk.Display
- module Graphics.UI.Gtk.Gdk.DisplayManager
- module Graphics.UI.Gtk.Gdk.Gdk
- module Graphics.UI.Gtk.Cairo
- module Graphics.UI.Gtk.Windows.Window
- module Graphics.UI.Gtk.Windows.OffscreenWindow
- module Graphics.UI.Gtk.Windows.Invisible
- module Graphics.UI.Gtk.Windows.Dialog
- module Graphics.UI.Gtk.Windows.AboutDialog
- module Graphics.UI.Gtk.Windows.Assistant
- module Graphics.UI.Gtk.Windows.MessageDialog
- module Graphics.UI.Gtk.Windows.WindowGroup
- module Graphics.UI.Gtk.Display.AccelLabel
- module Graphics.UI.Gtk.Display.Image
- module Graphics.UI.Gtk.Display.Label
- module Graphics.UI.Gtk.Display.ProgressBar
- module Graphics.UI.Gtk.Display.Spinner
- module Graphics.UI.Gtk.Display.Statusbar
- data StatusIcon
- class TooltipClass o => StatusIconClass o
- castToStatusIcon :: GObjectClass obj => obj -> StatusIcon
- gTypeStatusIcon :: GType
- toStatusIcon :: StatusIconClass o => o -> StatusIcon
- statusIconNew :: IO StatusIcon
- statusIconNewFromPixbuf :: Pixbuf -> IO StatusIcon
- statusIconNewFromFile :: GlibString string => string -> IO StatusIcon
- statusIconNewFromStock :: StockId -> IO StatusIcon
- statusIconNewFromIconName :: GlibString string => string -> IO StatusIcon
- statusIconSetFromPixbuf :: StatusIconClass self => self -> Pixbuf -> IO ()
- statusIconSetFromFile :: (StatusIconClass self, GlibString string) => self -> string -> IO ()
- statusIconSetFromStock :: StatusIconClass self => self -> StockId -> IO ()
- statusIconSetFromIconName :: (StatusIconClass self, GlibString string) => self -> string -> IO ()
- statusIconGetStorageType :: StatusIconClass self => self -> IO ImageType
- statusIconGetPixbuf :: StatusIconClass self => self -> IO (Maybe Pixbuf)
- statusIconGetStock :: StatusIconClass self => self -> IO (Maybe StockId)
- statusIconGetIconName :: (StatusIconClass self, GlibString string) => self -> IO (Maybe string)
- statusIconGetSize :: StatusIconClass self => self -> IO Int
- statusIconSetTooltip :: (StatusIconClass self, GlibString string) => self -> string -> IO ()
- statusIconSetVisible :: StatusIconClass self => self -> Bool -> IO ()
- statusIconGetVisible :: StatusIconClass self => self -> IO Bool
- statusIconSetBlinking :: StatusIconClass self => self -> Bool -> IO ()
- statusIconGetBlinking :: StatusIconClass self => self -> IO Bool
- statusIconIsEmbedded :: StatusIconClass self => self -> IO Bool
- statusIconPositionMenu :: (MenuClass menu, StatusIconClass self) => menu -> self -> IO (Int, Int, Bool)
- statusIconGetGeometry :: StatusIconClass self => self -> IO (Maybe (Rectangle, Orientation))
- statusIconSetScreen :: (StatusIconClass self, ScreenClass screen) => self -> Maybe screen -> IO ()
- statusIconGetScreen :: StatusIconClass self => self -> IO (Maybe Screen)
- statusIconSetTooltipText :: (StatusIconClass self, GlibString string) => self -> Maybe string -> IO ()
- statusIconGetTooltipText :: (StatusIconClass self, GlibString string) => self -> IO (Maybe string)
- statusIconSetTooltipMarkup :: (StatusIconClass self, GlibString string) => self -> Maybe string -> IO ()
- statusIconGetTooltipMarkup :: (StatusIconClass self, GlibString string) => self -> IO (Maybe string)
- statusIconSetHasTooltip :: StatusIconClass self => self -> Bool -> IO ()
- statusIconGetHasTooltip :: StatusIconClass self => self -> IO Bool
- statusIconSetTitle :: (StatusIconClass self, GlibString string) => self -> Maybe string -> IO ()
- statusIconGetTitle :: (StatusIconClass self, GlibString string) => self -> IO (Maybe string)
- statusIconSetName :: (StatusIconClass self, GlibString string) => self -> string -> IO ()
- statusIconPixbuf :: StatusIconClass self => Attr self Pixbuf
- statusIconFile :: (StatusIconClass self, GlibString string) => WriteAttr self (Maybe string)
- statusIconStock :: (StatusIconClass self, GlibString string) => Attr self (Maybe string)
- statusIconIconName :: (StatusIconClass self, GlibString string) => Attr self (Maybe string)
- statusIconStorageType :: StatusIconClass self => ReadAttr self ImageType
- statusIconSize :: StatusIconClass self => ReadAttr self Int
- statusIconBlinking :: StatusIconClass self => Attr self Bool
- statusIconVisible :: StatusIconClass self => Attr self Bool
- statusIconScreen :: StatusIconClass self => Attr self Screen
- statusIconTooltipText :: (StatusIconClass self, GlibString string) => Attr self (Maybe string)
- statusIconTooltipMarkup :: (StatusIconClass self, GlibString string) => Attr self (Maybe string)
- statusIconHasTooltip :: StatusIconClass self => Attr self Bool
- statusIconTitle :: (StatusIconClass self, GlibString string) => Attr self (Maybe string)
- statusIconSizeChanged :: StatusIconClass self => Signal self (Int -> IO Bool)
- statusIconActivated :: StatusIconClass self => Signal self (IO ())
- statusIconActivate :: StatusIconClass self => Signal self (IO ())
- statusIconPopupMenu :: StatusIconClass self => Signal self (Maybe MouseButton -> TimeStamp -> IO ())
- onSizeChanged :: StatusIconClass self => self -> (Int -> IO Bool) -> IO (ConnectId self)
- afterSizeChanged :: StatusIconClass self => self -> (Int -> IO Bool) -> IO (ConnectId self)
- module Graphics.UI.Gtk.Display.InfoBar
- module Graphics.UI.Gtk.Buttons.Button
- module Graphics.UI.Gtk.Buttons.CheckButton
- module Graphics.UI.Gtk.Buttons.RadioButton
- module Graphics.UI.Gtk.Buttons.ToggleButton
- module Graphics.UI.Gtk.Buttons.LinkButton
- module Graphics.UI.Gtk.Buttons.ScaleButton
- module Graphics.UI.Gtk.Buttons.VolumeButton
- module Graphics.UI.Gtk.Entry.Editable
- module Graphics.UI.Gtk.Entry.Entry
- module Graphics.UI.Gtk.Entry.EntryBuffer
- module Graphics.UI.Gtk.Entry.EntryCompletion
- module Graphics.UI.Gtk.Entry.HScale
- module Graphics.UI.Gtk.Entry.VScale
- module Graphics.UI.Gtk.Entry.SpinButton
- module Graphics.UI.Gtk.Multiline.TextIter
- module Graphics.UI.Gtk.Multiline.TextMark
- module Graphics.UI.Gtk.Multiline.TextBuffer
- module Graphics.UI.Gtk.Multiline.TextTag
- module Graphics.UI.Gtk.Multiline.TextTagTable
- module Graphics.UI.Gtk.Multiline.TextView
- module Graphics.UI.Gtk.ModelView.CellEditable
- module Graphics.UI.Gtk.ModelView.CellLayout
- module Graphics.UI.Gtk.ModelView.CellRenderer
- module Graphics.UI.Gtk.ModelView.CellRendererSpinner
- module Graphics.UI.Gtk.ModelView.CellRendererCombo
- module Graphics.UI.Gtk.ModelView.CellRendererPixbuf
- module Graphics.UI.Gtk.ModelView.CellRendererProgress
- module Graphics.UI.Gtk.ModelView.CellRendererText
- module Graphics.UI.Gtk.ModelView.CellRendererAccel
- module Graphics.UI.Gtk.ModelView.CellRendererSpin
- module Graphics.UI.Gtk.ModelView.CellRendererToggle
- module Graphics.UI.Gtk.ModelView.CellView
- module Graphics.UI.Gtk.ModelView.CustomStore
- module Graphics.UI.Gtk.ModelView.IconView
- module Graphics.UI.Gtk.ModelView.ListStore
- module Graphics.UI.Gtk.ModelView.TreeDrag
- module Graphics.UI.Gtk.ModelView.TreeModel
- module Graphics.UI.Gtk.ModelView.TreeModelSort
- module Graphics.UI.Gtk.ModelView.TreeSortable
- module Graphics.UI.Gtk.ModelView.TreeModelFilter
- module Graphics.UI.Gtk.ModelView.TreeRowReference
- module Graphics.UI.Gtk.ModelView.TreeSelection
- module Graphics.UI.Gtk.ModelView.TreeStore
- module Graphics.UI.Gtk.ModelView.TreeView
- module Graphics.UI.Gtk.ModelView.TreeViewColumn
- module Graphics.UI.Gtk.MenuComboToolbar.CheckMenuItem
- module Graphics.UI.Gtk.MenuComboToolbar.Combo
- module Graphics.UI.Gtk.MenuComboToolbar.ComboBox
- module Graphics.UI.Gtk.MenuComboToolbar.ComboBoxEntry
- module Graphics.UI.Gtk.MenuComboToolbar.Menu
- module Graphics.UI.Gtk.MenuComboToolbar.MenuBar
- module Graphics.UI.Gtk.MenuComboToolbar.MenuItem
- module Graphics.UI.Gtk.MenuComboToolbar.MenuShell
- module Graphics.UI.Gtk.MenuComboToolbar.OptionMenu
- module Graphics.UI.Gtk.MenuComboToolbar.ImageMenuItem
- module Graphics.UI.Gtk.MenuComboToolbar.RadioMenuItem
- module Graphics.UI.Gtk.MenuComboToolbar.TearoffMenuItem
- module Graphics.UI.Gtk.MenuComboToolbar.Toolbar
- module Graphics.UI.Gtk.MenuComboToolbar.ToolItem
- module Graphics.UI.Gtk.MenuComboToolbar.ToolItemGroup
- module Graphics.UI.Gtk.MenuComboToolbar.ToolPalette
- module Graphics.UI.Gtk.MenuComboToolbar.ToolButton
- module Graphics.UI.Gtk.MenuComboToolbar.MenuToolButton
- module Graphics.UI.Gtk.MenuComboToolbar.ToggleToolButton
- module Graphics.UI.Gtk.MenuComboToolbar.RadioToolButton
- module Graphics.UI.Gtk.MenuComboToolbar.SeparatorMenuItem
- module Graphics.UI.Gtk.MenuComboToolbar.SeparatorToolItem
- module Graphics.UI.Gtk.ActionMenuToolbar.Action
- module Graphics.UI.Gtk.ActionMenuToolbar.ActionGroup
- module Graphics.UI.Gtk.ActionMenuToolbar.ToggleAction
- module Graphics.UI.Gtk.ActionMenuToolbar.RadioAction
- module Graphics.UI.Gtk.ActionMenuToolbar.RecentAction
- module Graphics.UI.Gtk.ActionMenuToolbar.UIManager
- module Graphics.UI.Gtk.Selectors.ColorSelection
- module Graphics.UI.Gtk.Selectors.ColorSelectionDialog
- module Graphics.UI.Gtk.Selectors.ColorButton
- module Graphics.UI.Gtk.Selectors.FileSelection
- module Graphics.UI.Gtk.Selectors.FontSelection
- module Graphics.UI.Gtk.Selectors.FontSelectionDialog
- module Graphics.UI.Gtk.Selectors.FontButton
- module Graphics.UI.Gtk.Selectors.HSV
- module Graphics.UI.Gtk.Special.Ruler
- module Graphics.UI.Gtk.Special.HRuler
- module Graphics.UI.Gtk.Special.VRuler
- module Graphics.UI.Gtk.Selectors.FileChooser
- module Graphics.UI.Gtk.Selectors.FileChooserDialog
- module Graphics.UI.Gtk.Selectors.FileChooserWidget
- module Graphics.UI.Gtk.Selectors.FileChooserButton
- module Graphics.UI.Gtk.Selectors.FileFilter
- module Graphics.UI.Gtk.Layout.Alignment
- module Graphics.UI.Gtk.Layout.AspectFrame
- module Graphics.UI.Gtk.Layout.HBox
- module Graphics.UI.Gtk.Layout.HButtonBox
- module Graphics.UI.Gtk.Layout.Fixed
- module Graphics.UI.Gtk.Layout.HPaned
- module Graphics.UI.Gtk.Layout.Layout
- module Graphics.UI.Gtk.Layout.Notebook
- module Graphics.UI.Gtk.Layout.Expander
- module Graphics.UI.Gtk.Layout.Table
- module Graphics.UI.Gtk.Layout.VBox
- module Graphics.UI.Gtk.Layout.VButtonBox
- module Graphics.UI.Gtk.Layout.VPaned
- module Graphics.UI.Gtk.Ornaments.Frame
- module Graphics.UI.Gtk.Ornaments.HSeparator
- module Graphics.UI.Gtk.Ornaments.VSeparator
- module Graphics.UI.Gtk.Printing.PaperSize
- module Graphics.UI.Gtk.Printing.PageSetup
- module Graphics.UI.Gtk.Printing.PrintContext
- module Graphics.UI.Gtk.Printing.PrintOperation
- module Graphics.UI.Gtk.Printing.PrintSettings
- module Graphics.UI.Gtk.Recent.RecentChooserMenu
- module Graphics.UI.Gtk.Recent.RecentChooserWidget
- module Graphics.UI.Gtk.Recent.RecentFilter
- module Graphics.UI.Gtk.Recent.RecentManager
- module Graphics.UI.Gtk.Recent.RecentInfo
- module Graphics.UI.Gtk.Recent.RecentChooser
- module Graphics.UI.Gtk.Scrolling.HScrollbar
- module Graphics.UI.Gtk.Scrolling.ScrolledWindow
- module Graphics.UI.Gtk.Scrolling.VScrollbar
- module Graphics.UI.Gtk.Misc.Accessible
- module Graphics.UI.Gtk.Misc.Adjustment
- module Graphics.UI.Gtk.Misc.Arrow
- module Graphics.UI.Gtk.Misc.Calendar
- module Graphics.UI.Gtk.Misc.DrawingArea
- module Graphics.UI.Gtk.Misc.EventBox
- module Graphics.UI.Gtk.Misc.HandleBox
- module Graphics.UI.Gtk.Misc.IMMulticontext
- module Graphics.UI.Gtk.Misc.IMContextSimple
- module Graphics.UI.Gtk.Misc.SizeGroup
- module Graphics.UI.Gtk.Misc.Tooltip
- module Graphics.UI.Gtk.Misc.Tooltips
- module Graphics.UI.Gtk.Misc.Viewport
- module Graphics.UI.Gtk.Abstract.Box
- module Graphics.UI.Gtk.Abstract.ButtonBox
- module Graphics.UI.Gtk.Abstract.Container
- module Graphics.UI.Gtk.Abstract.Bin
- module Graphics.UI.Gtk.Abstract.Misc
- module Graphics.UI.Gtk.Abstract.IMContext
- data Object
- class GObjectClass o => ObjectClass o
- castToObject :: GObjectClass obj => obj -> Object
- gTypeObject :: GType
- toObject :: ObjectClass o => o -> Object
- type GWeakNotify = FunPtr (Ptr () -> Ptr GObject -> IO ())
- objectWeakref :: ObjectClass o => o -> IO () -> IO GWeakNotify
- objectWeakunref :: ObjectClass o => o -> GWeakNotify -> IO ()
- objectDestroy :: ObjectClass self => Signal self (IO ())
- notifyProperty :: ObjectClass self => ReadWriteAttr self a b -> Signal self (IO ())
- module Graphics.UI.Gtk.Abstract.Paned
- module Graphics.UI.Gtk.Abstract.Range
- module Graphics.UI.Gtk.Abstract.Scale
- module Graphics.UI.Gtk.Abstract.Scrollbar
- module Graphics.UI.Gtk.Abstract.Separator
- module Graphics.UI.Gtk.Abstract.Widget
- module Graphics.UI.Gtk.Embedding.Plug
- module Graphics.UI.Gtk.Embedding.Socket
- on :: object -> Signal object callback -> callback -> IO (ConnectId object)
- type SignalName = String
- type ConnectAfter = Bool
- data GObjectClass o => ConnectId o = ConnectId CULong o
- after :: object -> Signal object callback -> callback -> IO (ConnectId object)
- connectGeneric :: GObjectClass obj => SignalName -> ConnectAfter -> obj -> handler -> IO (ConnectId obj)
- disconnect :: GObjectClass obj => ConnectId obj -> IO ()
- data GSignalMatchType
- signalBlock :: GObjectClass obj => ConnectId obj -> IO ()
- signalBlockMatched :: GObjectClass obj => obj -> [GSignalMatchType] -> SignalName -> GType -> Quark -> Maybe GClosure -> Maybe (Ptr ()) -> Maybe (Ptr ()) -> IO Int
- signalDisconnect :: GObjectClass obj => ConnectId obj -> IO ()
- signalStopEmission :: GObjectClass obj => obj -> SignalName -> IO ()
- signalUnblock :: GObjectClass obj => ConnectId obj -> IO ()
- data GClosure
- newtype Signal object handler = Signal (Bool -> object -> handler -> IO (ConnectId object))
- data ReadWriteAttr o a b
- type Attr o a = ReadWriteAttr o a a
- newAttr :: (o -> IO a) -> (o -> b -> IO ()) -> ReadWriteAttr o a b
- type WriteAttr o b = ReadWriteAttr o () b
- writeAttr :: (o -> b -> IO ()) -> WriteAttr o b
- get :: o -> ReadWriteAttr o a b -> IO a
- newNamedAttr :: String -> (o -> IO a) -> (o -> b -> IO ()) -> ReadWriteAttr o a b
- data AttrOp o
- = (ReadWriteAttr o a b) := b
- | (ReadWriteAttr o a b) :~ (a -> b)
- | (ReadWriteAttr o a b) :=> (IO b)
- | (ReadWriteAttr o a b) :~> (a -> IO b)
- | (ReadWriteAttr o a b) ::= (o -> b)
- | (ReadWriteAttr o a b) ::~ (o -> a -> b)
- readAttr :: (o -> IO a) -> ReadAttr o a
- readNamedAttr :: String -> (o -> IO a) -> ReadAttr o a
- set :: o -> [AttrOp o] -> IO ()
- writeNamedAttr :: String -> (o -> b -> IO ()) -> WriteAttr o b
- type ReadAttr o a = ReadWriteAttr o a ()
- data GObject
- class GObjectClass o where
- castToGObject :: GObjectClass obj => obj -> obj
- gTypeGObject :: GType
- quarkFromString :: GlibString string => string -> IO Quark
- objectCreateAttribute :: GObjectClass o => IO (Attr o (Maybe a))
- objectSetAttribute :: GObjectClass o => Quark -> o -> Maybe a -> IO ()
- objectGetAttributeUnsafe :: GObjectClass o => Quark -> o -> IO (Maybe a)
- isA :: GObjectClass o => o -> GType -> Bool
- module Graphics.UI.Gtk.Builder
- data PangoContext
- class GObjectClass o => PangoContextClass o
- data Language
- emptyLanguage :: Language
- languageFromString :: GlibString string => string -> IO Language
- contextGetFontDescription :: PangoContext -> IO FontDescription
- contextGetLanguage :: PangoContext -> IO Language
- contextGetMatrix :: PangoContext -> IO Matrix
- contextGetMetrics :: PangoContext -> FontDescription -> Language -> IO FontMetrics
- contextGetTextDir :: PangoContext -> IO PangoDirection
- contextGetTextGravity :: PangoContext -> IO PangoGravity
- contextGetTextGravityHint :: PangoContext -> IO PangoGravityHint
- contextListFamilies :: PangoContext -> IO [FontFamily]
- contextSetFontDescription :: PangoContext -> FontDescription -> IO ()
- contextSetLanguage :: PangoContext -> Language -> IO ()
- contextSetMatrix :: PangoContext -> Matrix -> IO ()
- contextSetTextDir :: PangoContext -> PangoDirection -> IO ()
- contextSetTextGravity :: PangoContext -> PangoGravity -> IO ()
- contextSetTextGravityHint :: PangoContext -> PangoGravityHint -> IO ()
- data SpanAttribute
- = FontDescr String
- | FontFamily String
- | FontSize Size
- | FontStyle FontStyle
- | FontWeight Weight
- | FontVariant Variant
- | FontStretch Stretch
- | FontForeground String
- | FontBackground String
- | FontUnderline Underline
- | FontRise Double
- | FontLang Language
- | FontGravity PangoGravity
- | FontGravityHint PangoGravityHint
- parseMarkup :: (GlibString markup, GlibString string) => markup -> Char -> IO ([[PangoAttribute]], Char, string)
- markSpan :: [SpanAttribute] -> String -> String
- data PangoLayout
- data EllipsizeMode
- data LayoutAlignment
- data LayoutWrapMode
- data LayoutIter
- data LayoutLine
- data PangoRectangle = PangoRectangle Double Double Double Double
- data TabAlign
- escapeMarkup :: GlibString string => string -> string
- layoutContextChanged :: PangoLayout -> IO ()
- layoutCopy :: PangoLayout -> IO PangoLayout
- layoutEmpty :: PangoContext -> IO PangoLayout
- layoutGetAlignment :: PangoLayout -> IO LayoutAlignment
- layoutGetAttributes :: PangoLayout -> IO [[PangoAttribute]]
- layoutGetAutoDir :: PangoLayout -> IO Bool
- layoutGetContext :: PangoLayout -> IO PangoContext
- layoutGetCursorPos :: PangoLayout -> Int -> IO (PangoRectangle, PangoRectangle)
- layoutGetEllipsize :: PangoLayout -> IO EllipsizeMode
- layoutGetExtents :: PangoLayout -> IO (PangoRectangle, PangoRectangle)
- layoutGetFontDescription :: PangoLayout -> IO (Maybe FontDescription)
- layoutGetIndent :: PangoLayout -> IO Double
- layoutGetIter :: PangoLayout -> IO LayoutIter
- layoutGetJustify :: PangoLayout -> IO Bool
- layoutGetLine :: PangoLayout -> Int -> IO LayoutLine
- layoutGetLineCount :: PangoLayout -> IO Int
- layoutGetLines :: PangoLayout -> IO [LayoutLine]
- layoutGetPixelExtents :: PangoLayout -> IO (Rectangle, Rectangle)
- layoutGetSingleParagraphMode :: PangoLayout -> IO Bool
- layoutGetSpacing :: PangoLayout -> IO Double
- layoutGetTabs :: PangoLayout -> IO (Maybe [TabPosition])
- layoutGetText :: GlibString string => PangoLayout -> IO string
- layoutGetWidth :: PangoLayout -> IO (Maybe Double)
- layoutGetWrap :: PangoLayout -> IO LayoutWrapMode
- layoutIndexToPos :: PangoLayout -> Int -> IO PangoRectangle
- layoutIterAtLastLine :: LayoutIter -> IO Bool
- layoutIterGetBaseline :: LayoutIter -> IO Double
- layoutIterGetCharExtents :: LayoutIter -> IO PangoRectangle
- layoutIterGetClusterExtents :: LayoutIter -> IO (PangoRectangle, PangoRectangle)
- layoutIterGetIndex :: LayoutIter -> IO Int
- layoutIterGetItem :: LayoutIter -> IO (Maybe GlyphItem)
- layoutIterGetLine :: LayoutIter -> IO (Maybe LayoutLine)
- layoutIterGetLineExtents :: LayoutIter -> IO (PangoRectangle, PangoRectangle)
- layoutIterGetLineYRange :: LayoutIter -> IO (Double, Double)
- layoutIterGetRunExtents :: LayoutIter -> IO (PangoRectangle, PangoRectangle)
- layoutIterNextChar :: LayoutIter -> IO Bool
- layoutIterNextCluster :: LayoutIter -> IO Bool
- layoutIterNextItem :: LayoutIter -> IO Bool
- layoutIterNextLine :: LayoutIter -> IO Bool
- layoutLineGetExtents :: LayoutLine -> IO (PangoRectangle, PangoRectangle)
- layoutLineGetPixelExtents :: LayoutLine -> IO (Rectangle, Rectangle)
- layoutLineGetXRanges :: LayoutLine -> Int -> Int -> IO [(Double, Double)]
- layoutLineIndexToX :: LayoutLine -> Int -> Bool -> IO Double
- layoutLineXToIndex :: LayoutLine -> Double -> IO (Bool, Int, Int)
- layoutMoveCursorVisually :: PangoLayout -> Bool -> Int -> Bool -> IO CursorPos
- layoutResetTabs :: PangoLayout -> IO ()
- layoutSetAlignment :: PangoLayout -> LayoutAlignment -> IO ()
- layoutSetAttributes :: PangoLayout -> [PangoAttribute] -> IO ()
- layoutSetAutoDir :: PangoLayout -> Bool -> IO ()
- layoutSetEllipsize :: PangoLayout -> EllipsizeMode -> IO ()
- layoutSetFontDescription :: PangoLayout -> Maybe FontDescription -> IO ()
- layoutSetIndent :: PangoLayout -> Double -> IO ()
- layoutSetJustify :: PangoLayout -> Bool -> IO ()
- layoutSetMarkup :: (GlibString markup, GlibString string) => PangoLayout -> markup -> IO string
- layoutSetMarkupWithAccel :: (GlibString markup, GlibString string) => PangoLayout -> markup -> IO (Char, string)
- layoutSetSingleParagraphMode :: PangoLayout -> Bool -> IO ()
- layoutSetSpacing :: PangoLayout -> Double -> IO ()
- layoutSetTabs :: PangoLayout -> [TabPosition] -> IO ()
- layoutSetText :: GlibString string => PangoLayout -> string -> IO ()
- layoutSetWidth :: PangoLayout -> Maybe Double -> IO ()
- layoutSetWrap :: PangoLayout -> LayoutWrapMode -> IO ()
- layoutText :: GlibString string => PangoContext -> string -> IO PangoLayout
- layoutXYToIndex :: PangoLayout -> Double -> Double -> IO (Bool, Int, Int)
- data CursorPos
- = CursorPosPrevPara
- | CursorPos Int Int
- | CursorPosNextPara
- type TabPosition = (Double, TabAlign)
- data GlyphItem
- data PangoItem
- pangoItemGetFont :: PangoItem -> IO Font
- pangoItemGetLanguage :: PangoItem -> IO Language
- glyphItemExtents :: GlyphItem -> IO (PangoRectangle, PangoRectangle)
- glyphItemExtentsRange :: GlyphItem -> Int -> Int -> IO (PangoRectangle, PangoRectangle)
- glyphItemGetLogicalWidths :: GlyphItem -> Maybe Bool -> IO [Double]
- glyphItemIndexToX :: GlyphItem -> Int -> Bool -> IO Double
- glyphItemSplit :: GlyphItem -> Int -> IO (GlyphItem, GlyphItem)
- glyphItemXToIndex :: GlyphItem -> Double -> IO (Int, Bool)
- pangoItemGetFontMetrics :: PangoItem -> IO FontMetrics
- pangoItemize :: GlibString string => PangoContext -> string -> [PangoAttribute] -> IO [PangoItem]
- pangoShape :: PangoItem -> IO GlyphItem
- data Font
- data FontDescription
- data FontMap
- data FontFace
- data FontFamily
- class GObjectClass o => FontClass o
- class GObjectClass o => FontFaceClass o
- class GObjectClass o => FontFamilyClass o
- class GObjectClass o => FontMapClass o
- fontDescriptionFromString :: GlibString string => string -> IO FontDescription
- data FontMask
- fontDescriptionBetterMatch :: FontDescription -> FontDescription -> FontDescription -> Bool
- fontDescriptionCopy :: FontDescription -> IO FontDescription
- fontDescriptionGetFamily :: GlibString string => FontDescription -> IO (Maybe string)
- fontDescriptionGetSize :: FontDescription -> IO (Maybe Double)
- fontDescriptionGetStretch :: FontDescription -> IO (Maybe Stretch)
- fontDescriptionGetStyle :: FontDescription -> IO (Maybe FontStyle)
- fontDescriptionGetVariant :: FontDescription -> IO (Maybe Variant)
- fontDescriptionGetWeight :: FontDescription -> IO (Maybe Weight)
- fontDescriptionMerge :: FontDescription -> FontDescription -> Bool -> IO ()
- fontDescriptionNew :: IO FontDescription
- fontDescriptionSetFamily :: GlibString string => FontDescription -> string -> IO ()
- fontDescriptionSetSize :: FontDescription -> Double -> IO ()
- fontDescriptionSetStretch :: FontDescription -> Stretch -> IO ()
- fontDescriptionSetStyle :: FontDescription -> FontStyle -> IO ()
- fontDescriptionSetVariant :: FontDescription -> Variant -> IO ()
- fontDescriptionSetWeight :: FontDescription -> Weight -> IO ()
- fontDescriptionToString :: GlibString string => FontDescription -> IO string
- fontDescriptionUnsetFields :: FontDescription -> [FontMask] -> IO ()
- pangoFontFaceDescribe :: FontFace -> IO FontDescription
- pangoFontFaceListSizes :: FontFace -> IO (Maybe [Double])
- pangoFontFamilyIsMonospace :: FontFamily -> Bool
- pangoFontFamilyListFaces :: FontFamily -> IO [FontFace]
- pangoFontMapListFamilies :: FontMap -> IO [FontFamily]
- data Rectangle = Rectangle Int Int Int Int
- data PangoAttribute
- = AttrLanguage { }
- | AttrFamily { }
- | AttrStyle { }
- | AttrWeight { }
- | AttrVariant { }
- | AttrStretch { }
- | AttrSize { }
- | AttrAbsSize { }
- | AttrFontDescription {
- paStart :: Int
- paEnd :: Int
- paFontDescription :: FontDescription
- | AttrForeground { }
- | AttrBackground { }
- | AttrUnderline {
- paStart :: Int
- paEnd :: Int
- paUnderline :: Underline
- | AttrUnderlineColor { }
- | AttrStrikethrough {
- paStart :: Int
- paEnd :: Int
- paStrikethrough :: Bool
- | AttrStrikethroughColor { }
- | AttrRise { }
- | AttrShape {
- paStart :: Int
- paEnd :: Int
- paInk :: PangoRectangle
- paLogical :: PangoRectangle
- | AttrScale { }
- | AttrFallback {
- paStart :: Int
- paEnd :: Int
- paFallback :: Bool
- | AttrLetterSpacing {
- paStart :: Int
- paEnd :: Int
- paLetterSpacing :: Double
- | AttrGravity {
- paStart :: Int
- paEnd :: Int
- paGravity :: PangoGravity
- | AttrGravityHint {
- paStart :: Int
- paEnd :: Int
- paGravityHint :: PangoGravityHint
- data Color = Color Word16 Word16 Word16
- data EllipsizeMode
- data FontStyle
- data Variant
- data Stretch
- data Underline
- data PangoGravity
- data PangoGravityHint
- data Weight
- data Language
- emptyLanguage :: Language
- languageFromString :: GlibString string => string -> IO Language
- data FontMetrics = FontMetrics {
- ascent :: Double
- descent :: Double
- approximateCharWidth :: Double
- approximateDigitWidth :: Double
- underlineThickness :: Double
- underlinePosition :: Double
- strikethroughThickness :: Double
- strikethroughPosition :: Double
- data Size
- = SizePoint Double
- | SizeUnreadable
- | SizeTiny
- | SizeSmall
- | SizeMedium
- | SizeLarge
- | SizeHuge
- | SizeGiant
- | SizeSmaller
- | SizeLarger
- data PangoDirection
- data PangoRectangle = PangoRectangle Double Double Double Double
- type PangoUnit = Double
- pangoScale :: Double
General things, initialization
module Graphics.UI.Gtk.General.Drag
module Graphics.UI.Gtk.Gdk.Keys
Drawing and other Low-Level Operations
module Graphics.UI.Gtk.Gdk.Cursor
module Graphics.UI.Gtk.Gdk.Drawable
Specify how to interpret a polygon.
- The flag determines what happens if a polygon has overlapping areas.
Constructors
| EvenOddRule | |
| WindingRule |
Instances
| Enum FillRule Source # | |
Defined in Graphics.UI.Gtk.Gdk.Region | |
regionGetRectangles :: Region -> IO [Rectangle] Source #
regionEmpty :: Region -> IO Bool Source #
Test if a Region is empty.
regionPointIn :: Region -> Point -> IO Bool Source #
Checks if a point it is within a region.
data OverlapType Source #
How a rectangle is contained in a Region.
Instances
| Enum OverlapType Source # | |
Defined in Graphics.UI.Gtk.Gdk.Region Methods succ :: OverlapType -> OverlapType pred :: OverlapType -> OverlapType toEnum :: Int -> OverlapType fromEnum :: OverlapType -> Int enumFrom :: OverlapType -> [OverlapType] enumFromThen :: OverlapType -> OverlapType -> [OverlapType] enumFromTo :: OverlapType -> OverlapType -> [OverlapType] enumFromThenTo :: OverlapType -> OverlapType -> OverlapType -> [OverlapType] | |
regionRectIn :: Region -> Rectangle -> IO OverlapType Source #
Check if a rectangle is within a region.
regionOffset :: Region -> Int -> Int -> IO () Source #
Move a region.
regionShrink :: Region -> Int -> Int -> IO () Source #
Move a region.
- Positive values shrink the region, negative values expand it.
regionUnionWithRect :: Region -> Rectangle -> IO () Source #
Updates the region to include the rectangle.
regionIntersect :: Region -> Region -> IO () Source #
Intersects one region with another.
- Changes
reg1to include the common areas ofreg1andreg2.
regionUnion :: Region -> Region -> IO () Source #
Unions one region with another.
- Changes
reg1to includereg1andreg2.
regionSubtract :: Region -> Region -> IO () Source #
Removes pars of a Region.
- Reduces the region
reg1so that is does not include any areas ofreg2.
regionXor :: Region -> Region -> IO () Source #
XORs two Regions.
- The exclusive or of two regions contains all areas which were not overlapping. In other words, it is the union of the regions minus their intersections.
module Graphics.UI.Gtk.Gdk.EventM
module Graphics.UI.Gtk.Gdk.Pixbuf
module Graphics.UI.Gtk.Gdk.Pixmap
module Graphics.UI.Gtk.Gdk.Screen
module Graphics.UI.Gtk.Gdk.Keymap
module Graphics.UI.Gtk.Gdk.Display
module Graphics.UI.Gtk.Gdk.Gdk
cairo integration
module Graphics.UI.Gtk.Cairo
Windows
Display widgets,
data StatusIcon Source #
Instances
| Eq StatusIcon Source # | |
Defined in Graphics.UI.Gtk.Types | |
| Ord StatusIcon Source # | |
Defined in Graphics.UI.Gtk.Types Methods compare :: StatusIcon -> StatusIcon -> Ordering (<) :: StatusIcon -> StatusIcon -> Bool (<=) :: StatusIcon -> StatusIcon -> Bool (>) :: StatusIcon -> StatusIcon -> Bool (>=) :: StatusIcon -> StatusIcon -> Bool max :: StatusIcon -> StatusIcon -> StatusIcon min :: StatusIcon -> StatusIcon -> StatusIcon | |
| GObjectClass StatusIcon Source # | |
Defined in Graphics.UI.Gtk.Types | |
| StatusIconClass StatusIcon Source # | |
Defined in Graphics.UI.Gtk.Types | |
| TooltipClass StatusIcon Source # | |
Defined in Graphics.UI.Gtk.Types | |
class TooltipClass o => StatusIconClass o Source #
Instances
| StatusIconClass StatusIcon Source # | |
Defined in Graphics.UI.Gtk.Types | |
castToStatusIcon :: GObjectClass obj => obj -> StatusIcon Source #
toStatusIcon :: StatusIconClass o => o -> StatusIcon Source #
statusIconNew :: IO StatusIcon Source #
Creates an empty status icon object.
statusIconNewFromPixbuf Source #
Arguments
| :: Pixbuf |
|
| -> IO StatusIcon |
Creates a status icon displaying pixbuf.
The image will be scaled down to fit in the available space in the notification area, if necessary.
statusIconNewFromFile Source #
Arguments
| :: GlibString string | |
| => string |
|
| -> IO StatusIcon |
Creates a status icon displaying the file filename.
The image will be scaled down to fit in the available space in the notification area, if necessary.
statusIconNewFromStock Source #
Arguments
| :: StockId |
|
| -> IO StatusIcon |
statusIconNewFromIconName Source #
Arguments
| :: GlibString string | |
| => string |
|
| -> IO StatusIcon |
Creates a status icon displaying an icon from the current icon theme. If the current icon theme is changed, the icon will be updated appropriately.
statusIconSetFromPixbuf Source #
Arguments
| :: StatusIconClass self | |
| => self | |
| -> Pixbuf |
|
| -> IO () |
Makes statusIcon display pixbuf. See statusIconNewFromPixbuf for
details.
statusIconSetFromFile Source #
Arguments
| :: (StatusIconClass self, GlibString string) | |
| => self | |
| -> string |
|
| -> IO () |
Makes statusIcon display the file filename. See
statusIconNewFromFile for details.
statusIconSetFromStock Source #
Arguments
| :: StatusIconClass self | |
| => self | |
| -> StockId |
|
| -> IO () |
Makes statusIcon display the stock icon with the id stockId. See
statusIconNewFromStock for details.
statusIconSetFromIconName Source #
Arguments
| :: (StatusIconClass self, GlibString string) | |
| => self | |
| -> string |
|
| -> IO () |
Makes statusIcon display the icon named iconName from the current
icon theme. See statusIconNewFromIconName for details.
statusIconGetStorageType Source #
Arguments
| :: StatusIconClass self | |
| => self | |
| -> IO ImageType | returns the image representation being used |
Gets the type of representation being used by the StatusIcon to store
image data. If the StatusIcon has no image data, the return value will be
ImageEmpty.
Arguments
| :: StatusIconClass self | |
| => self | |
| -> IO (Maybe Pixbuf) | returns the displayed pixbuf, or |
Arguments
| :: StatusIconClass self | |
| => self | |
| -> IO (Maybe StockId) | returns stock id of the displayed stock icon, or |
statusIconGetIconName Source #
Arguments
| :: (StatusIconClass self, GlibString string) | |
| => self | |
| -> IO (Maybe string) | returns name of the displayed icon, or |
Arguments
| :: StatusIconClass self | |
| => self | |
| -> IO Int | returns the size that is available for the image |
Gets the size in pixels that is available for the image. Stock icons and
named icons adapt their size automatically if the size of the notification
area changes. For other storage types, the sizeChanged signal can be used
to react to size changes.
Arguments
| :: (StatusIconClass self, GlibString string) | |
| => self | |
| -> string |
|
| -> IO () |
Sets the tooltip of the status icon.
Removed in Gtk3.
Arguments
| :: StatusIconClass self | |
| => self | |
| -> Bool |
|
| -> IO () |
Shows or hides a status icon.
Arguments
| :: StatusIconClass self | |
| => self | |
| -> IO Bool | returns |
Returns whether the status icon is visible or not. Note that being
visible does not guarantee that the user can actually see the icon, see also
statusIconIsEmbedded.
statusIconSetBlinking Source #
Arguments
| :: StatusIconClass self | |
| => self | |
| -> Bool |
|
| -> IO () |
Makes the status icon start or stop blinking. Note that blinking user interface elements may be problematic for some users, and thus may be turned off, in which case this setting has no effect.
Removed in Gtk3.
statusIconGetBlinking Source #
Arguments
| :: StatusIconClass self | |
| => self | |
| -> IO Bool | returns |
Returns whether the icon is blinking, see statusIconSetBlinking.
Removed in Gtk3.
Arguments
| :: StatusIconClass self | |
| => self | |
| -> IO Bool | returns |
Returns whether the status icon is embedded in a notification area.
statusIconPositionMenu Source #
Arguments
| :: (MenuClass menu, StatusIconClass self) | |
| => menu |
|
| -> self |
|
| -> IO (Int, Int, Bool) |
|
Menu positioning function to use with menuPopup to position menu
aligned to the status icon userData.
statusIconGetGeometry :: StatusIconClass self => self -> IO (Maybe (Rectangle, Orientation)) Source #
Obtains information about the location of the status icon on screen. This information can be used to e.g. position popups like notification bubbles.
Note that some platforms do not allow Gtk+ to provide this information,
and even on platforms that do allow it, the information is not reliable
unless the status icon is embedded in a notification area, see
statusIconIsEmbedded.
statusIconSetScreen :: (StatusIconClass self, ScreenClass screen) => self -> Maybe screen -> IO () Source #
Sets the Screen where status icon is displayed; if the icon is already
mapped, it will be unmapped, and then remapped on the new screen.
statusIconGetScreen :: StatusIconClass self => self -> IO (Maybe Screen) Source #
Returns the Screen associated with the status icon.
statusIconSetTooltipText :: (StatusIconClass self, GlibString string) => self -> Maybe string -> IO () Source #
Sets text as the contents of the tooltip.
This function will take care of setting "has-tooltip" to True and of the default
handler for the "query-tooltip" signal.
See also the "tooltip-text" property and tooltipSetText.
statusIconGetTooltipText :: (StatusIconClass self, GlibString string) => self -> IO (Maybe string) Source #
Gets the contents of the tooltip for status icon.
statusIconSetTooltipMarkup :: (StatusIconClass self, GlibString string) => self -> Maybe string -> IO () Source #
Sets markup as the contents of the tooltip, which is marked up with the Pango text markup language.
This function will take care of setting statusIconHasTooltip to True and of the default
handler for the queryTooltip signal.
See also the tooltipMarkup property and tooltipSetMarkup.
statusIconGetTooltipMarkup :: (StatusIconClass self, GlibString string) => self -> IO (Maybe string) Source #
Gets the contents of the tooltip for status icon.
statusIconSetHasTooltip :: StatusIconClass self => self -> Bool -> IO () Source #
Sets the has-tooltip property on the status icon to hasTooltip.
See statusIconHasTooltip for more information.
statusIconGetHasTooltip :: StatusIconClass self => self -> IO Bool Source #
Returns the current value of the has-tooltip property. See statusIconHasTooltip for more information.
statusIconSetTitle :: (StatusIconClass self, GlibString string) => self -> Maybe string -> IO () Source #
Sets the title of this tray icon. This should be a short, human-readable, localized string describing the tray icon. It may be used by tools like screen readers to render the tray icon.
statusIconGetTitle :: (StatusIconClass self, GlibString string) => self -> IO (Maybe string) Source #
Gets the title of this tray icon. See statusIconSetTitle.
statusIconSetName :: (StatusIconClass self, GlibString string) => self -> string -> IO () Source #
Sets the name of this tray icon. This should be a string identifying this icon. It is may be used for sorting the icons in the tray and will not be shown to the user.
statusIconPixbuf :: StatusIconClass self => Attr self Pixbuf Source #
A Pixbuf to display.
statusIconFile :: (StatusIconClass self, GlibString string) => WriteAttr self (Maybe string) Source #
Filename to load and display.
Default value: Nothing
statusIconStock :: (StatusIconClass self, GlibString string) => Attr self (Maybe string) Source #
Stock ID for a stock image to display.
Default value: Nothing
statusIconIconName :: (StatusIconClass self, GlibString string) => Attr self (Maybe string) Source #
The name of the icon from the icon theme.
Default value: Nothing
statusIconStorageType :: StatusIconClass self => ReadAttr self ImageType Source #
The representation being used for image data.
Default value: ImageEmpty
statusIconSize :: StatusIconClass self => ReadAttr self Int Source #
The size of the icon.
Allowed values: >= 0
Default value: 0
statusIconBlinking :: StatusIconClass self => Attr self Bool Source #
Whether or not the status icon is blinking.
Default value: False
Removed in Gtk3.
statusIconVisible :: StatusIconClass self => Attr self Bool Source #
Whether or not the status icon is visible.
Default value: True
statusIconScreen :: StatusIconClass self => Attr self Screen Source #
The screen where this status icon will be displayed.
statusIconTooltipText :: (StatusIconClass self, GlibString string) => Attr self (Maybe string) Source #
Sets the text of tooltip to be the given string.
Also see tooltipSetText.
This is a convenience property which will take care of getting the tooltip
shown if the given value is not Nothing. "has-tooltip" will automatically
be set to True and the default handler for the "query-tooltip" signal will
take care of displaying the tooltip.
Note that some platforms have limitations on the length of tooltips that they allow on status icons, e.g. Windows only shows the first 64 characters.
Default value: Nothing
statusIconTooltipMarkup :: (StatusIconClass self, GlibString string) => Attr self (Maybe string) Source #
Sets the text of tooltip to be the given string, which is marked up with the
Pango text markup language. Also see tooltipSetMarkup.
This is a convenience property which will take care of getting the tooltip
shown if the given value is not Nothing. "has-tooltip" will automatically
be set to True and the default handler for the "query-tooltip" signal will
take care of displaying the tooltip.
On some platforms, embedded markup will be ignored.
Default value: Nothing
statusIconHasTooltip :: StatusIconClass self => Attr self Bool Source #
Enables or disables the emission of "query-tooltip" on status_icon. A value
of True indicates that status_icon can have a tooltip, in this case the status
icon will be queried using "query-tooltip" to determine whether it will provide
a tooltip or not.
Note that setting this property to True for the first time will change the
event masks of the windows of this status icon to include leave-notify and
motion-notify events. This will not be undone when the property is set to
False again.
Whether this property is respected is platform dependent. For plain text tooltips, use "tooltip-text" in preference.
Default value: False
statusIconTitle :: (StatusIconClass self, GlibString string) => Attr self (Maybe string) Source #
The title of this tray icon. This should be a short, human-readable, localized string describing the tray icon. It may be used by tools like screen readers to render the tray icon.
Default value: Nothing
statusIconSizeChanged :: StatusIconClass self => Signal self (Int -> IO Bool) Source #
Gets emitted when the size available for the image changes, e.g. because the notification area got resized.
statusIconActivated :: StatusIconClass self => Signal self (IO ()) Source #
Gets emitted when the user activates the status icon. If and how status icons can activated is platform-dependent.
statusIconActivate :: StatusIconClass self => Signal self (IO ()) Source #
Deprecated. See statusIconActivated.
statusIconPopupMenu :: StatusIconClass self => Signal self (Maybe MouseButton -> TimeStamp -> IO ()) Source #
Gets emitted when the user brings up the context menu of the status icon. Whether status icons can have context menus and how these are activated is platform-dependent.
The MouseButton and TimeStamp parameters should be
passed as the last to arguments to menuPopup.
onSizeChanged :: StatusIconClass self => self -> (Int -> IO Bool) -> IO (ConnectId self) Source #
Deprecated: instead of 'onSizeChanged obj' use 'on obj sizeChanged'
afterSizeChanged :: StatusIconClass self => self -> (Int -> IO Bool) -> IO (ConnectId self) Source #
Deprecated: instead of 'afterSizeChanged obj' use 'after obj sizeChanged'
Buttons and toggles
Numeric/text data entry
module Graphics.UI.Gtk.Entry.Entry
module Graphics.UI.Gtk.Entry.HScale
module Graphics.UI.Gtk.Entry.VScale
Multiline text editor
Tree and list widget
Menus, combo box, toolbar
Action-based menus and toolbars
Selectors (file/font/color)
Special-purpose features
File chooser
Layout containers
module Graphics.UI.Gtk.Layout.HBox
module Graphics.UI.Gtk.Layout.Fixed
module Graphics.UI.Gtk.Layout.Table
module Graphics.UI.Gtk.Layout.VBox
Ornaments
Printing
Recent
Scrolling
Miscellaneous
module Graphics.UI.Gtk.Misc.Arrow
module Graphics.UI.Gtk.Misc.Tooltip
Abstract base classes
module Graphics.UI.Gtk.Abstract.Box
module Graphics.UI.Gtk.Abstract.Bin
Instances
| Eq Object Source # | |
| Ord Object Source # | |
| GObjectClass Object Source # | |
Defined in Graphics.UI.Gtk.Types | |
| ObjectClass Object Source # | |
Defined in Graphics.UI.Gtk.Types | |
class GObjectClass o => ObjectClass o Source #
Instances
castToObject :: GObjectClass obj => obj -> Object Source #
gTypeObject :: GType Source #
toObject :: ObjectClass o => o -> Object Source #
type GWeakNotify = FunPtr (Ptr () -> Ptr GObject -> IO ()) Source #
objectWeakref :: ObjectClass o => o -> IO () -> IO GWeakNotify Source #
Attach a callback that will be called after the destroy hooks have been called
objectWeakunref :: ObjectClass o => o -> GWeakNotify -> IO () Source #
Detach a weak destroy callback function
objectDestroy :: ObjectClass self => Signal self (IO ()) Source #
Signals that all holders of a reference to the Object should release
the reference that they hold. May result in finalization of the object if
all references are released.
notifyProperty :: ObjectClass self => ReadWriteAttr self a b -> Signal self (IO ()) Source #
Register a notify callback that is triggered when the given property has been modified.
- Note that this callback is triggered even if the actual value of the property has not changed.
- Not all attributes are properties. A warning will be generated at runtime if the passed-in attribute is not a property of the class with which it was registered.
Cross-process embedding
Non-widgets
type SignalName = String #
type ConnectAfter = Bool #
data GObjectClass o => ConnectId o #
Constructors
| ConnectId CULong o |
connectGeneric :: GObjectClass obj => SignalName -> ConnectAfter -> obj -> handler -> IO (ConnectId obj) #
disconnect :: GObjectClass obj => ConnectId obj -> IO () #
data GSignalMatchType #
Constructors
| SignalMatchId | |
| SignalMatchDetail | |
| SignalMatchClosure | |
| SignalMatchFunc | |
| SignalMatchData | |
| SignalMatchUnblocked |
Instances
signalBlock :: GObjectClass obj => ConnectId obj -> IO () #
signalBlockMatched :: GObjectClass obj => obj -> [GSignalMatchType] -> SignalName -> GType -> Quark -> Maybe GClosure -> Maybe (Ptr ()) -> Maybe (Ptr ()) -> IO Int #
signalDisconnect :: GObjectClass obj => ConnectId obj -> IO () #
signalStopEmission :: GObjectClass obj => obj -> SignalName -> IO () #
signalUnblock :: GObjectClass obj => ConnectId obj -> IO () #
data ReadWriteAttr o a b #
Instances
| Show (ReadWriteAttr o a b) | |
Defined in System.Glib.Attributes Methods showsPrec :: Int -> ReadWriteAttr o a b -> ShowS show :: ReadWriteAttr o a b -> String showList :: [ReadWriteAttr o a b] -> ShowS | |
type Attr o a = ReadWriteAttr o a a #
newAttr :: (o -> IO a) -> (o -> b -> IO ()) -> ReadWriteAttr o a b #
type WriteAttr o b = ReadWriteAttr o () b #
get :: o -> ReadWriteAttr o a b -> IO a #
newNamedAttr :: String -> (o -> IO a) -> (o -> b -> IO ()) -> ReadWriteAttr o a b #
Constructors
| (ReadWriteAttr o a b) := b | |
| (ReadWriteAttr o a b) :~ (a -> b) | |
| (ReadWriteAttr o a b) :=> (IO b) | |
| (ReadWriteAttr o a b) :~> (a -> IO b) | |
| (ReadWriteAttr o a b) ::= (o -> b) | |
| (ReadWriteAttr o a b) ::~ (o -> a -> b) |
readNamedAttr :: String -> (o -> IO a) -> ReadAttr o a #
writeNamedAttr :: String -> (o -> b -> IO ()) -> WriteAttr o b #
type ReadAttr o a = ReadWriteAttr o a () #
Instances
| Eq GObject | |
| GObjectClass GObject | |
Defined in System.Glib.Types | |
class GObjectClass o where #
Minimal complete definition
toGObject, unsafeCastGObject
Instances
castToGObject :: GObjectClass obj => obj -> obj #
gTypeGObject :: GType #
quarkFromString :: GlibString string => string -> IO Quark #
objectCreateAttribute :: GObjectClass o => IO (Attr o (Maybe a)) #
objectSetAttribute :: GObjectClass o => Quark -> o -> Maybe a -> IO () #
objectGetAttributeUnsafe :: GObjectClass o => Quark -> o -> IO (Maybe a) #
isA :: GObjectClass o => o -> GType -> Bool #
module Graphics.UI.Gtk.Builder
Pango text layout modules
data PangoContext #
Instances
| Eq PangoContext | |
Defined in Graphics.Rendering.Pango.Types | |
| Ord PangoContext | |
Defined in Graphics.Rendering.Pango.Types Methods compare :: PangoContext -> PangoContext -> Ordering (<) :: PangoContext -> PangoContext -> Bool (<=) :: PangoContext -> PangoContext -> Bool (>) :: PangoContext -> PangoContext -> Bool (>=) :: PangoContext -> PangoContext -> Bool max :: PangoContext -> PangoContext -> PangoContext min :: PangoContext -> PangoContext -> PangoContext | |
| GObjectClass PangoContext | |
Defined in Graphics.Rendering.Pango.Types | |
| PangoContextClass PangoContext | |
Defined in Graphics.Rendering.Pango.Types | |
class GObjectClass o => PangoContextClass o #
Instances
languageFromString :: GlibString string => string -> IO Language #
contextGetLanguage :: PangoContext -> IO Language #
contextGetMatrix :: PangoContext -> IO Matrix #
contextGetMetrics :: PangoContext -> FontDescription -> Language -> IO FontMetrics #
contextGetTextDir :: PangoContext -> IO PangoDirection #
contextGetTextGravity :: PangoContext -> IO PangoGravity #
contextListFamilies :: PangoContext -> IO [FontFamily] #
contextSetFontDescription :: PangoContext -> FontDescription -> IO () #
contextSetLanguage :: PangoContext -> Language -> IO () #
contextSetMatrix :: PangoContext -> Matrix -> IO () #
contextSetTextDir :: PangoContext -> PangoDirection -> IO () #
contextSetTextGravity :: PangoContext -> PangoGravity -> IO () #
contextSetTextGravityHint :: PangoContext -> PangoGravityHint -> IO () #
data SpanAttribute #
Constructors
Instances
| Show SpanAttribute | |
Defined in Graphics.Rendering.Pango.Markup Methods showsPrec :: Int -> SpanAttribute -> ShowS show :: SpanAttribute -> String showList :: [SpanAttribute] -> ShowS | |
parseMarkup :: (GlibString markup, GlibString string) => markup -> Char -> IO ([[PangoAttribute]], Char, string) #
markSpan :: [SpanAttribute] -> String -> String #
data PangoLayout #
data EllipsizeMode #
Constructors
| EllipsizeNone | |
| EllipsizeStart | |
| EllipsizeMiddle | |
| EllipsizeEnd |
Instances
| Enum EllipsizeMode | |
Defined in Graphics.Rendering.Pango.Enums Methods succ :: EllipsizeMode -> EllipsizeMode pred :: EllipsizeMode -> EllipsizeMode toEnum :: Int -> EllipsizeMode fromEnum :: EllipsizeMode -> Int enumFrom :: EllipsizeMode -> [EllipsizeMode] enumFromThen :: EllipsizeMode -> EllipsizeMode -> [EllipsizeMode] enumFromTo :: EllipsizeMode -> EllipsizeMode -> [EllipsizeMode] enumFromThenTo :: EllipsizeMode -> EllipsizeMode -> EllipsizeMode -> [EllipsizeMode] | |
| Eq EllipsizeMode | |
Defined in Graphics.Rendering.Pango.Enums | |
data LayoutAlignment #
Constructors
| AlignLeft | |
| AlignCenter | |
| AlignRight |
Instances
| Enum LayoutAlignment | |
Defined in Graphics.Rendering.Pango.Layout Methods succ :: LayoutAlignment -> LayoutAlignment pred :: LayoutAlignment -> LayoutAlignment toEnum :: Int -> LayoutAlignment fromEnum :: LayoutAlignment -> Int enumFrom :: LayoutAlignment -> [LayoutAlignment] enumFromThen :: LayoutAlignment -> LayoutAlignment -> [LayoutAlignment] enumFromTo :: LayoutAlignment -> LayoutAlignment -> [LayoutAlignment] enumFromThenTo :: LayoutAlignment -> LayoutAlignment -> LayoutAlignment -> [LayoutAlignment] | |
data LayoutWrapMode #
Constructors
| WrapWholeWords | |
| WrapAnywhere | |
| WrapPartialWords | |
| WrapNowhere |
Instances
| Enum LayoutWrapMode | |
Defined in Graphics.Rendering.Pango.Layout Methods succ :: LayoutWrapMode -> LayoutWrapMode pred :: LayoutWrapMode -> LayoutWrapMode toEnum :: Int -> LayoutWrapMode fromEnum :: LayoutWrapMode -> Int enumFrom :: LayoutWrapMode -> [LayoutWrapMode] enumFromThen :: LayoutWrapMode -> LayoutWrapMode -> [LayoutWrapMode] enumFromTo :: LayoutWrapMode -> LayoutWrapMode -> [LayoutWrapMode] enumFromThenTo :: LayoutWrapMode -> LayoutWrapMode -> LayoutWrapMode -> [LayoutWrapMode] | |
data LayoutIter #
data LayoutLine #
data PangoRectangle #
Constructors
| PangoRectangle Double Double Double Double |
Instances
| Storable PangoRectangle | |
Defined in Graphics.Rendering.Pango.Structs Methods sizeOf :: PangoRectangle -> Int alignment :: PangoRectangle -> Int peekElemOff :: Ptr PangoRectangle -> Int -> IO PangoRectangle pokeElemOff :: Ptr PangoRectangle -> Int -> PangoRectangle -> IO () peekByteOff :: Ptr b -> Int -> IO PangoRectangle pokeByteOff :: Ptr b -> Int -> PangoRectangle -> IO () peek :: Ptr PangoRectangle -> IO PangoRectangle poke :: Ptr PangoRectangle -> PangoRectangle -> IO () | |
| Show PangoRectangle | |
Defined in Graphics.Rendering.Pango.Structs Methods showsPrec :: Int -> PangoRectangle -> ShowS show :: PangoRectangle -> String showList :: [PangoRectangle] -> ShowS | |
Instances
| Enum TabAlign | |
Defined in Graphics.Rendering.Pango.Layout | |
escapeMarkup :: GlibString string => string -> string #
layoutContextChanged :: PangoLayout -> IO () #
layoutCopy :: PangoLayout -> IO PangoLayout #
layoutEmpty :: PangoContext -> IO PangoLayout #
layoutGetAlignment :: PangoLayout -> IO LayoutAlignment #
layoutGetAttributes :: PangoLayout -> IO [[PangoAttribute]] #
layoutGetAutoDir :: PangoLayout -> IO Bool #
layoutGetContext :: PangoLayout -> IO PangoContext #
layoutGetCursorPos :: PangoLayout -> Int -> IO (PangoRectangle, PangoRectangle) #
layoutGetEllipsize :: PangoLayout -> IO EllipsizeMode #
layoutGetExtents :: PangoLayout -> IO (PangoRectangle, PangoRectangle) #
layoutGetFontDescription :: PangoLayout -> IO (Maybe FontDescription) #
layoutGetIndent :: PangoLayout -> IO Double #
layoutGetIter :: PangoLayout -> IO LayoutIter #
layoutGetJustify :: PangoLayout -> IO Bool #
layoutGetLine :: PangoLayout -> Int -> IO LayoutLine #
layoutGetLineCount :: PangoLayout -> IO Int #
layoutGetLines :: PangoLayout -> IO [LayoutLine] #
layoutGetPixelExtents :: PangoLayout -> IO (Rectangle, Rectangle) #
layoutGetSingleParagraphMode :: PangoLayout -> IO Bool #
layoutGetSpacing :: PangoLayout -> IO Double #
layoutGetTabs :: PangoLayout -> IO (Maybe [TabPosition]) #
layoutGetText :: GlibString string => PangoLayout -> IO string #
layoutGetWidth :: PangoLayout -> IO (Maybe Double) #
layoutGetWrap :: PangoLayout -> IO LayoutWrapMode #
layoutIndexToPos :: PangoLayout -> Int -> IO PangoRectangle #
layoutIterAtLastLine :: LayoutIter -> IO Bool #
layoutIterGetBaseline :: LayoutIter -> IO Double #
layoutIterGetIndex :: LayoutIter -> IO Int #
layoutIterGetItem :: LayoutIter -> IO (Maybe GlyphItem) #
layoutIterGetLine :: LayoutIter -> IO (Maybe LayoutLine) #
layoutIterGetLineExtents :: LayoutIter -> IO (PangoRectangle, PangoRectangle) #
layoutIterGetLineYRange :: LayoutIter -> IO (Double, Double) #
layoutIterGetRunExtents :: LayoutIter -> IO (PangoRectangle, PangoRectangle) #
layoutIterNextChar :: LayoutIter -> IO Bool #
layoutIterNextCluster :: LayoutIter -> IO Bool #
layoutIterNextItem :: LayoutIter -> IO Bool #
layoutIterNextLine :: LayoutIter -> IO Bool #
layoutLineGetExtents :: LayoutLine -> IO (PangoRectangle, PangoRectangle) #
layoutLineGetPixelExtents :: LayoutLine -> IO (Rectangle, Rectangle) #
layoutLineGetXRanges :: LayoutLine -> Int -> Int -> IO [(Double, Double)] #
layoutLineIndexToX :: LayoutLine -> Int -> Bool -> IO Double #
layoutLineXToIndex :: LayoutLine -> Double -> IO (Bool, Int, Int) #
layoutMoveCursorVisually :: PangoLayout -> Bool -> Int -> Bool -> IO CursorPos #
layoutResetTabs :: PangoLayout -> IO () #
layoutSetAlignment :: PangoLayout -> LayoutAlignment -> IO () #
layoutSetAttributes :: PangoLayout -> [PangoAttribute] -> IO () #
layoutSetAutoDir :: PangoLayout -> Bool -> IO () #
layoutSetEllipsize :: PangoLayout -> EllipsizeMode -> IO () #
layoutSetFontDescription :: PangoLayout -> Maybe FontDescription -> IO () #
layoutSetIndent :: PangoLayout -> Double -> IO () #
layoutSetJustify :: PangoLayout -> Bool -> IO () #
layoutSetMarkup :: (GlibString markup, GlibString string) => PangoLayout -> markup -> IO string #
layoutSetMarkupWithAccel :: (GlibString markup, GlibString string) => PangoLayout -> markup -> IO (Char, string) #
layoutSetSingleParagraphMode :: PangoLayout -> Bool -> IO () #
layoutSetSpacing :: PangoLayout -> Double -> IO () #
layoutSetTabs :: PangoLayout -> [TabPosition] -> IO () #
layoutSetText :: GlibString string => PangoLayout -> string -> IO () #
layoutSetWidth :: PangoLayout -> Maybe Double -> IO () #
layoutSetWrap :: PangoLayout -> LayoutWrapMode -> IO () #
layoutText :: GlibString string => PangoContext -> string -> IO PangoLayout #
layoutXYToIndex :: PangoLayout -> Double -> Double -> IO (Bool, Int, Int) #
Constructors
| CursorPosPrevPara | |
| CursorPos Int Int | |
| CursorPosNextPara |
type TabPosition = (Double, TabAlign) #
pangoItemGetFont :: PangoItem -> IO Font #
pangoItemGetLanguage :: PangoItem -> IO Language #
glyphItemExtents :: GlyphItem -> IO (PangoRectangle, PangoRectangle) #
glyphItemExtentsRange :: GlyphItem -> Int -> Int -> IO (PangoRectangle, PangoRectangle) #
glyphItemGetLogicalWidths :: GlyphItem -> Maybe Bool -> IO [Double] #
glyphItemIndexToX :: GlyphItem -> Int -> Bool -> IO Double #
glyphItemSplit :: GlyphItem -> Int -> IO (GlyphItem, GlyphItem) #
glyphItemXToIndex :: GlyphItem -> Double -> IO (Int, Bool) #
pangoItemGetFontMetrics :: PangoItem -> IO FontMetrics #
pangoItemize :: GlibString string => PangoContext -> string -> [PangoAttribute] -> IO [PangoItem] #
pangoShape :: PangoItem -> IO GlyphItem #
Instances
| Eq Font | |
| Ord Font | |
| GObjectClass Font | |
Defined in Graphics.Rendering.Pango.Types | |
| FontClass Font | |
Defined in Graphics.Rendering.Pango.Types | |
data FontDescription #
Instances
| Show FontDescription | |
Defined in Graphics.Rendering.Pango.BasicTypes Methods showsPrec :: Int -> FontDescription -> ShowS show :: FontDescription -> String showList :: [FontDescription] -> ShowS | |
Instances
| Eq FontMap | |
| Ord FontMap | |
| GObjectClass FontMap | |
Defined in Graphics.Rendering.Pango.Types | |
| FontMapClass FontMap | |
Defined in Graphics.Rendering.Pango.Types | |
Instances
| Show FontFace | |
| Eq FontFace | |
| Ord FontFace | |
Defined in Graphics.Rendering.Pango.Types | |
| GObjectClass FontFace | |
Defined in Graphics.Rendering.Pango.Types | |
| FontFaceClass FontFace | |
Defined in Graphics.Rendering.Pango.Types | |
data FontFamily #
Instances
| Show FontFamily | |
Defined in Graphics.Rendering.Pango.Font Methods showsPrec :: Int -> FontFamily -> ShowS show :: FontFamily -> String showList :: [FontFamily] -> ShowS | |
| Eq FontFamily | |
Defined in Graphics.Rendering.Pango.Types | |
| Ord FontFamily | |
Defined in Graphics.Rendering.Pango.Types Methods compare :: FontFamily -> FontFamily -> Ordering (<) :: FontFamily -> FontFamily -> Bool (<=) :: FontFamily -> FontFamily -> Bool (>) :: FontFamily -> FontFamily -> Bool (>=) :: FontFamily -> FontFamily -> Bool max :: FontFamily -> FontFamily -> FontFamily min :: FontFamily -> FontFamily -> FontFamily | |
| GObjectClass FontFamily | |
Defined in Graphics.Rendering.Pango.Types | |
| FontFamilyClass FontFamily | |
Defined in Graphics.Rendering.Pango.Types | |
class GObjectClass o => FontClass o #
Instances
| FontClass Font | |
Defined in Graphics.Rendering.Pango.Types | |
class GObjectClass o => FontFaceClass o #
Instances
| FontFaceClass FontFace | |
Defined in Graphics.Rendering.Pango.Types | |
class GObjectClass o => FontFamilyClass o #
Instances
class GObjectClass o => FontMapClass o #
Instances
| FontMapClass FontMap | |
Defined in Graphics.Rendering.Pango.Types | |
fontDescriptionFromString :: GlibString string => string -> IO FontDescription #
Constructors
Instances
| Bounded FontMask | |
Defined in Graphics.Rendering.Pango.Description | |
| Enum FontMask | |
Defined in Graphics.Rendering.Pango.Description | |
| Flags FontMask | |
Defined in Graphics.Rendering.Pango.Description | |
fontDescriptionBetterMatch :: FontDescription -> FontDescription -> FontDescription -> Bool #
fontDescriptionGetFamily :: GlibString string => FontDescription -> IO (Maybe string) #
fontDescriptionGetSize :: FontDescription -> IO (Maybe Double) #
fontDescriptionGetStretch :: FontDescription -> IO (Maybe Stretch) #
fontDescriptionGetStyle :: FontDescription -> IO (Maybe FontStyle) #
fontDescriptionGetVariant :: FontDescription -> IO (Maybe Variant) #
fontDescriptionGetWeight :: FontDescription -> IO (Maybe Weight) #
fontDescriptionMerge :: FontDescription -> FontDescription -> Bool -> IO () #
fontDescriptionSetFamily :: GlibString string => FontDescription -> string -> IO () #
fontDescriptionSetSize :: FontDescription -> Double -> IO () #
fontDescriptionSetStretch :: FontDescription -> Stretch -> IO () #
fontDescriptionSetStyle :: FontDescription -> FontStyle -> IO () #
fontDescriptionSetVariant :: FontDescription -> Variant -> IO () #
fontDescriptionSetWeight :: FontDescription -> Weight -> IO () #
fontDescriptionToString :: GlibString string => FontDescription -> IO string #
fontDescriptionUnsetFields :: FontDescription -> [FontMask] -> IO () #
pangoFontFaceDescribe :: FontFace -> IO FontDescription #
pangoFontFaceListSizes :: FontFace -> IO (Maybe [Double]) #
pangoFontFamilyIsMonospace :: FontFamily -> Bool #
pangoFontFamilyListFaces :: FontFamily -> IO [FontFace] #
pangoFontMapListFamilies :: FontMap -> IO [FontFamily] #
Constructors
| Rectangle Int Int Int Int |
Instances
| Storable Rectangle | |
Defined in Graphics.UI.Gtk.General.Structs Methods peekElemOff :: Ptr Rectangle -> Int -> IO Rectangle pokeElemOff :: Ptr Rectangle -> Int -> Rectangle -> IO () peekByteOff :: Ptr b -> Int -> IO Rectangle pokeByteOff :: Ptr b -> Int -> Rectangle -> IO () | |
| Show Rectangle | |
| Eq Rectangle | |
data PangoAttribute #
Constructors
| AttrLanguage | |
| AttrFamily | |
| AttrStyle | |
| AttrWeight | |
| AttrVariant | |
| AttrStretch | |
| AttrSize | |
| AttrAbsSize | |
| AttrFontDescription | |
Fields
| |
| AttrForeground | |
| AttrBackground | |
| AttrUnderline | |
Fields
| |
| AttrUnderlineColor | |
| AttrStrikethrough | |
Fields
| |
| AttrStrikethroughColor | |
| AttrRise | |
| AttrShape | |
Fields
| |
| AttrScale | |
| AttrFallback | |
Fields
| |
| AttrLetterSpacing | |
Fields
| |
| AttrGravity | |
Fields
| |
| AttrGravityHint | |
Fields
| |
Instances
| Show PangoAttribute | |
Defined in Graphics.Rendering.Pango.Structs Methods showsPrec :: Int -> PangoAttribute -> ShowS show :: PangoAttribute -> String showList :: [PangoAttribute] -> ShowS | |
Constructors
| Color Word16 Word16 Word16 |
Instances
| Storable Color | |
Defined in Graphics.UI.Gtk.General.Structs Methods peekElemOff :: Ptr Color -> Int -> IO Color pokeElemOff :: Ptr Color -> Int -> Color -> IO () peekByteOff :: Ptr b -> Int -> IO Color pokeByteOff :: Ptr b -> Int -> Color -> IO () | |
| Show Color | |
| Eq Color | |
data EllipsizeMode #
Constructors
| EllipsizeNone | |
| EllipsizeStart | |
| EllipsizeMiddle | |
| EllipsizeEnd |
Instances
| Enum EllipsizeMode | |
Defined in Graphics.Rendering.Pango.Enums Methods succ :: EllipsizeMode -> EllipsizeMode pred :: EllipsizeMode -> EllipsizeMode toEnum :: Int -> EllipsizeMode fromEnum :: EllipsizeMode -> Int enumFrom :: EllipsizeMode -> [EllipsizeMode] enumFromThen :: EllipsizeMode -> EllipsizeMode -> [EllipsizeMode] enumFromTo :: EllipsizeMode -> EllipsizeMode -> [EllipsizeMode] enumFromThenTo :: EllipsizeMode -> EllipsizeMode -> EllipsizeMode -> [EllipsizeMode] | |
| Eq EllipsizeMode | |
Defined in Graphics.Rendering.Pango.Enums | |
Constructors
| StyleNormal | |
| StyleOblique | |
| StyleItalic |
Instances
| Enum FontStyle | |
Defined in Graphics.Rendering.Pango.BasicTypes | |
| Show FontStyle | |
| Eq FontStyle | |
Constructors
| VariantNormal | |
| VariantSmallCaps | |
| VariantAllSmallCaps | |
| VariantPetiteCaps | |
| VariantAllPetiteCaps | |
| VariantUnicase | |
| VariantTitleCaps |
Instances
| Enum Variant | |
Defined in Graphics.Rendering.Pango.BasicTypes | |
| Show Variant | |
| Eq Variant | |
Constructors
| StretchUltraCondensed | |
| StretchExtraCondensed | |
| StretchCondensed | |
| StretchSemiCondensed | |
| StretchNormal | |
| StretchSemiExpanded | |
| StretchExpanded | |
| StretchExtraExpanded | |
| StretchUltraExpanded |
Instances
| Enum Stretch | |
Defined in Graphics.Rendering.Pango.BasicTypes | |
| Show Stretch | |
| Eq Stretch | |
Constructors
| UnderlineNone | |
| UnderlineSingle | |
| UnderlineDouble | |
| UnderlineLow | |
| UnderlineError | |
| UnderlineSingleLine | |
| UnderlineDoubleLine | |
| UnderlineErrorLine |
Instances
| Enum Underline | |
Defined in Graphics.Rendering.Pango.BasicTypes | |
| Show Underline | |
| Eq Underline | |
data PangoGravity #
Instances
| Enum PangoGravity | |
Defined in Graphics.Rendering.Pango.BasicTypes Methods succ :: PangoGravity -> PangoGravity pred :: PangoGravity -> PangoGravity toEnum :: Int -> PangoGravity fromEnum :: PangoGravity -> Int enumFrom :: PangoGravity -> [PangoGravity] enumFromThen :: PangoGravity -> PangoGravity -> [PangoGravity] enumFromTo :: PangoGravity -> PangoGravity -> [PangoGravity] enumFromThenTo :: PangoGravity -> PangoGravity -> PangoGravity -> [PangoGravity] | |
| Show PangoGravity | |
Defined in Graphics.Rendering.Pango.BasicTypes Methods showsPrec :: Int -> PangoGravity -> ShowS show :: PangoGravity -> String showList :: [PangoGravity] -> ShowS | |
| Eq PangoGravity | |
Defined in Graphics.Rendering.Pango.BasicTypes | |
data PangoGravityHint #
Instances
| Enum PangoGravityHint | |
Defined in Graphics.Rendering.Pango.BasicTypes Methods succ :: PangoGravityHint -> PangoGravityHint pred :: PangoGravityHint -> PangoGravityHint toEnum :: Int -> PangoGravityHint fromEnum :: PangoGravityHint -> Int enumFrom :: PangoGravityHint -> [PangoGravityHint] enumFromThen :: PangoGravityHint -> PangoGravityHint -> [PangoGravityHint] enumFromTo :: PangoGravityHint -> PangoGravityHint -> [PangoGravityHint] enumFromThenTo :: PangoGravityHint -> PangoGravityHint -> PangoGravityHint -> [PangoGravityHint] | |
| Show PangoGravityHint | |
Defined in Graphics.Rendering.Pango.BasicTypes Methods showsPrec :: Int -> PangoGravityHint -> ShowS show :: PangoGravityHint -> String showList :: [PangoGravityHint] -> ShowS | |
| Eq PangoGravityHint | |
Defined in Graphics.Rendering.Pango.BasicTypes Methods (==) :: PangoGravityHint -> PangoGravityHint -> Bool (/=) :: PangoGravityHint -> PangoGravityHint -> Bool | |
Constructors
| WeightThin | |
| WeightUltralight | |
| WeightLight | |
| WeightSemilight | |
| WeightBook | |
| WeightNormal | |
| WeightMedium | |
| WeightSemibold | |
| WeightBold | |
| WeightUltrabold | |
| WeightHeavy | |
| WeightUltraheavy |
Instances
| Enum Weight | |
Defined in Graphics.Rendering.Pango.BasicTypes | |
| Show Weight | |
| Eq Weight | |
languageFromString :: GlibString string => string -> IO Language #
data FontMetrics #
Constructors
| FontMetrics | |
Fields
| |
Instances
| Show FontMetrics | |
Defined in Graphics.Rendering.Pango.Enums Methods showsPrec :: Int -> FontMetrics -> ShowS show :: FontMetrics -> String showList :: [FontMetrics] -> ShowS | |
Constructors
| SizePoint Double | |
| SizeUnreadable | |
| SizeTiny | |
| SizeSmall | |
| SizeMedium | |
| SizeLarge | |
| SizeHuge | |
| SizeGiant | |
| SizeSmaller | |
| SizeLarger |
data PangoDirection #
Constructors
| PangoDirectionLtr | |
| PangoDirectionRtl | |
| PangoDirectionWeakLtr | |
| PangoDirectionWeakRtl | |
| PangoDirectionNeutral |
Instances
data PangoRectangle #
Constructors
| PangoRectangle Double Double Double Double |
Instances
| Storable PangoRectangle | |
Defined in Graphics.Rendering.Pango.Structs Methods sizeOf :: PangoRectangle -> Int alignment :: PangoRectangle -> Int peekElemOff :: Ptr PangoRectangle -> Int -> IO PangoRectangle pokeElemOff :: Ptr PangoRectangle -> Int -> PangoRectangle -> IO () peekByteOff :: Ptr b -> Int -> IO PangoRectangle pokeByteOff :: Ptr b -> Int -> PangoRectangle -> IO () peek :: Ptr PangoRectangle -> IO PangoRectangle poke :: Ptr PangoRectangle -> PangoRectangle -> IO () | |
| Show PangoRectangle | |
Defined in Graphics.Rendering.Pango.Structs Methods showsPrec :: Int -> PangoRectangle -> ShowS show :: PangoRectangle -> String showList :: [PangoRectangle] -> ShowS | |
pangoScale :: Double #