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)
- 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.DrawWindow
- module Graphics.UI.Gtk.Gdk.EventM
- module Graphics.UI.Gtk.Gdk.GLContext
- module Graphics.UI.Gtk.Gdk.Pixbuf
- 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.LevelBar
- module Graphics.UI.Gtk.Display.ProgressBar
- module Graphics.UI.Gtk.Display.Spinner
- module Graphics.UI.Gtk.Display.Statusbar
- module Graphics.UI.Gtk.Display.StatusIcon
- 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.ComboBox
- 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.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.FontSelection
- module Graphics.UI.Gtk.Selectors.FontSelectionDialog
- module Graphics.UI.Gtk.Selectors.FontButton
- module Graphics.UI.Gtk.Selectors.HSV
- 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.Grid
- module Graphics.UI.Gtk.Layout.Overlay
- 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.Layout.Stack
- module Graphics.UI.Gtk.Layout.StackSwitcher
- 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.GLArea
- 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.Viewport
- module Graphics.UI.Gtk.Misc.Switch
- 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
- type GWeakNotify = FunPtr (Ptr () -> Ptr GObject -> IO ())
- objectWeakref :: GObjectClass o => o -> IO () -> IO GWeakNotify
- objectWeakunref :: GObjectClass o => o -> GWeakNotify -> IO ()
- objectDestroy :: WidgetClass self => Signal self (IO ())
- notifyProperty :: GObjectClass 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
- type WriteAttr o b = ReadWriteAttr o () b
- writeAttr :: (o -> b -> IO ()) -> WriteAttr o b
- newAttr :: (o -> IO a) -> (o -> b -> IO ()) -> ReadWriteAttr o a b
- get :: o -> ReadWriteAttr o a b -> IO a
- newNamedAttr :: String -> (o -> IO a) -> (o -> b -> IO ()) -> ReadWriteAttr o a b
- type ReadAttr o a = ReadWriteAttr o a ()
- 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
- 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.EventM
module Graphics.UI.Gtk.Gdk.Pixbuf
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,
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)
File chooser
Layout containers
module Graphics.UI.Gtk.Layout.HBox
module Graphics.UI.Gtk.Layout.Fixed
module Graphics.UI.Gtk.Layout.Grid
module Graphics.UI.Gtk.Layout.Table
module Graphics.UI.Gtk.Layout.VBox
module Graphics.UI.Gtk.Layout.Stack
Ornaments
Printing
Recent
Scrolling
Miscellaneous
module Graphics.UI.Gtk.Misc.Arrow
module Graphics.UI.Gtk.Misc.GLArea
module Graphics.UI.Gtk.Misc.Tooltip
module Graphics.UI.Gtk.Misc.Switch
Abstract base classes
module Graphics.UI.Gtk.Abstract.Box
module Graphics.UI.Gtk.Abstract.Bin
type GWeakNotify = FunPtr (Ptr () -> Ptr GObject -> IO ()) Source #
objectWeakref :: GObjectClass o => o -> IO () -> IO GWeakNotify Source #
Attach a callback that will be called after the destroy hooks have been called
objectWeakunref :: GObjectClass o => o -> GWeakNotify -> IO () Source #
Detach a weak destroy callback function
objectDestroy :: WidgetClass 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 :: GObjectClass 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 #
type WriteAttr o b = ReadWriteAttr o () b #
newAttr :: (o -> IO a) -> (o -> b -> IO ()) -> ReadWriteAttr o a b #
get :: o -> ReadWriteAttr o a b -> IO a #
newNamedAttr :: String -> (o -> IO a) -> (o -> b -> IO ()) -> ReadWriteAttr o a b #
type ReadAttr o a = ReadWriteAttr o a () #
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 #
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
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
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
PangoFontMaskFamily | |
PangoFontMaskStyle | |
PangoFontMaskVariant | |
PangoFontMaskWeight | |
PangoFontMaskStretch | |
PangoFontMaskSize | |
PangoFontMaskGravity | |
PangoFontMaskVariations | |
PangoFontMaskFeatures |
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 #