- sourceLanguageForFilename :: SourceLanguageManager -> Maybe String -> IO (Maybe String, Maybe SourceLanguage)
- windowNewWithWindowGroup :: WindowGroup -> IO Window
- rectangleX :: Rectangle -> Int
- rectangleY :: Rectangle -> Int
- rectangleW :: Rectangle -> Int
- rectangleH :: Rectangle -> Int
- socketNew_ :: IO Socket
- windowIsFullscreen :: Window -> IO Bool
- frameNewWithShadowType :: Maybe ShadowType -> IO Frame
- widgetRedrawRectangleFrame :: WidgetClass self => self -> Int -> Int -> Int -> Int -> Int -> IO ()
- widgetHasParent :: WidgetClass widget => widget -> IO Bool
- widgetPropagateEvent :: WidgetClass widget => widget -> SerializedEvent -> IO ()
- widgetGetScreenSize :: WidgetClass widget => widget -> IO (Int, Int)
- imageNewFromIcon :: String -> Int -> IO Image
- panedAdjustSize :: PanedClass self => self -> Int -> IO ()
- colorToRGB :: Color -> (Double, Double, Double)
Documentation
sourceLanguageForFilename :: SourceLanguageManager -> Maybe String -> IO (Maybe String, Maybe SourceLanguage)Source
Get source language along with file name.
windowNewWithWindowGroup :: WindowGroup -> IO WindowSource
Add window with special window group.
rectangleX :: Rectangle -> IntSource
Get x coordinate of Rectangle.
rectangleY :: Rectangle -> IntSource
Get y coordinate of Rectangle.
rectangleW :: Rectangle -> IntSource
Get width of Rectangle.
rectangleH :: Rectangle -> IntSource
Get height of Rectangle.
This function like socketNew
,
but call widgetShow
when create.
Because Gtk+ said must show GtkScoekt before add to container.
windowIsFullscreen :: Window -> IO BoolSource
Window is full-screen. Notes, just call this function when you have realized window.
frameNewWithShadowType :: Maybe ShadowType -> IO FrameSource
Frame new with shadow type.
widgetRedrawRectangleFrame :: WidgetClass self => self -> Int -> Int -> Int -> Int -> Int -> IO ()Source
Redraw rectangle frame.
widgetHasParent :: WidgetClass widget => widget -> IO BoolSource
Whether the widget has parent.
widgetPropagateEvent :: WidgetClass widget => widget -> SerializedEvent -> IO ()Source
Propagate event on specify widget.
widgetGetScreenSize :: WidgetClass widget => widget -> IO (Int, Int)Source
Get screen size.
imageNewFromIcon :: String -> Int -> IO ImageSource
Create image widget with given icon name and size.
panedAdjustSize :: PanedClass self => self -> Int -> IO ()Source
Set position of paned.