|
|
|
|
|
| Description |
|
|
| Synopsis |
|
|
|
| Documentation |
|
| type Point = (Int, Int) |
| Represents the x and y coordinate of a point.
|
|
| data Rectangle |
Rectangle
- for Events
- Specifies x, y, width and height
| | Constructors | | Rectangle Int Int Int Int | |
| | Instances | |
|
|
| data Color |
Color
- Specifies a color with three integer values for red, green and blue.
All values range from 0 (least intense) to 65535 (highest intensity).
| | Constructors | | Color Word16 Word16 Word16 | |
| | Instances | |
|
|
| data GCValues |
Intermediate data structure for GCs.
- If graphicsExposure is set then copying portions into a
drawable will generate an "exposure" event, even if the
destination area is not currently visible.
| | Constructors | | GCValues | | | foreground :: Color | | | background :: Color | | | function :: Function | | | fill :: Fill | | | tile :: (Maybe Pixmap) | | | stipple :: (Maybe Pixmap) | | | clipMask :: (Maybe Pixmap) | | | subwindowMode :: SubwindowMode | | | tsXOrigin :: Int | | | tsYOrigin :: Int | | | clipXOrigin :: Int | | | clipYOrigin :: Int | | | graphicsExposure :: Bool | | | lineWidth :: Int | | | lineStyle :: LineStyle | | | capStyle :: CapStyle | | | joinStyle :: JoinStyle | |
|
| | Instances | |
|
|
| pokeGCValues :: Ptr GCValues -> GCValues -> IO CInt |
|
| newGCValues :: GCValues |
|
| widgetGetState :: WidgetClass w => w -> IO StateType |
Retrieve the current state of the widget.
- The state refers to different modes of user interaction, see
StateType for more information.
|
|
| widgetGetSavedState :: WidgetClass w => w -> IO StateType |
Retrieve the current state of the widget.
- If a widget is turned insensitive, the previous state is stored in
a specific location. This function retrieves this previous state.
|
|
| type Allocation = Rectangle |
Allocation
- for Widget's size_allocate signal
|
|
| data Requisition |
Requisition
- for Widget's size_request
| | Constructors | | | Instances | |
|
|
| treeIterSize :: Int |
|
| textIterSize :: Int |
|
| inputError :: Int32 |
|
| dialogGetUpper :: DialogClass dc => dc -> IO VBox |
Get the upper part of a dialog.
- The upper part of a dialog window consists of a VBox.
Add the required widgets into this box.
|
|
| dialogGetActionArea :: DialogClass dc => dc -> IO HBox |
Extract the action area of a dialog box.
- This
is useful to add some special widgets that cannot be added with
dialogAddActionWidget.
|
|
| fileSelectionGetButtons :: FileSelectionClass fsel => fsel -> IO (Button, Button) |
| Extract the buttons of a fileselection.
|
|
| data ResponseId |
| Some constructors that can be used as response
numbers for dialogs.
| | Constructors | | ResponseNone | GTK returns this if a response widget has no response_id,
or if the dialog gets programmatically hidden or destroyed. | | ResponseReject | GTK won't return these unless you pass them in as
the response for an action widget. They are for your convenience. | | ResponseAccept | (as above) | | ResponseDeleteEvent | If the dialog is deleted. | | ResponseOk | "Ok" was pressed.
- This value is returned from the "Ok" stock dialog button.
| | ResponseCancel | "Cancel" was pressed.
- These value is returned from the "Cancel" stock dialog button.
| | ResponseClose | "Close" was pressed.
- This value is returned from the "Close" stock dialog button.
| | ResponseYes | "Yes" was pressed.
- This value is returned from the "Yes" stock dialog button.
| | ResponseNo | "No" was pressed.
- This value is returned from the "No" stock dialog button.
| | ResponseApply | "Apply" was pressed.
- This value is returned from the "Apply" stock dialog button.
| | ResponseHelp | "Help" was pressed.
- This value is returned from the "Help" stock dialog button.
| | ResponseUser Int | A user-defined response
- This value is returned from a user defined button
|
| | Instances | |
|
|
| fromResponse :: Integral a => ResponseId -> a |
|
| toResponse :: Integral a => a -> ResponseId |
|
| toolbarChildButton :: CInt |
|
| toolbarChildToggleButton :: CInt |
|
| toolbarChildRadioButton :: CInt |
|
| type IconSize = Int |
|
| iconSizeInvalid :: IconSize |
|
| iconSizeMenu :: IconSize |
|
| iconSizeSmallToolbar :: IconSize |
|
| iconSizeLargeToolbar :: IconSize |
|
| iconSizeButton :: IconSize |
|
| iconSizeDialog :: IconSize |
|
| comboGetList :: Combo -> IO List |
| Extract the List container from a Combo box.
|
|
| priorityLow :: Int |
|
| priorityDefault :: Int |
|
| priorityHigh :: Int |
| For installing idle callbacks: Priorities.
|
|
| drawingAreaGetDrawWindow :: DrawingArea -> IO DrawWindow |
| Retrieves the Drawable part.
|
|
| drawingAreaGetSize :: DrawingArea -> IO (Int, Int) |
Returns the current size.
- This information may be out of date if the use is resizing the window.
|
|
| pangoScale :: Int |
Internal unit of measuring sizes.
- The ref constant pangoScale constant represents the scale between
dimensions used for distances in text rendering and device units. (The
definition of device units is dependent on the output device; it will
typically be pixels for a screen, and points for a printer.) When
setting font sizes, device units are always considered to be points
(as in "12 point font"), rather than pixels.
|
|
| styleGetForeground :: StateType -> Style -> IO GC |
Retrieve the GC for the foreground
color.
- The parameter state determines for which widget
state (one of StateType) the GC should be recieved.
Use widgetGetState to determine the current state of the
widget.
|
|
| styleGetBackground :: StateType -> Style -> IO GC |
Retrieve the GC for the background
color.
- The parameter state determines for which widget
state (one of StateType) the GC should be recieved.
Use widgetGetState to determine the current state of the
widget.
|
|
| styleGetLight :: StateType -> Style -> IO GC |
Retrieve the GC for a light
color.
- The parameter state determines for which widget
state (one of StateType) the GC should be recieved.
Use widgetGetState to determine the current state of the
widget.
|
|
| styleGetMiddle :: StateType -> Style -> IO GC |
Retrieve the GC for a middle
color.
- The parameter state determines for which widget
state (one of StateType) the GC should be recieved.
Use widgetGetState to determine the current state of the
widget.
|
|
| styleGetDark :: StateType -> Style -> IO GC |
Retrieve the GC for a dark
color.
- The parameter state determines for which widget
state (one of StateType) the GC should be recieved.
Use widgetGetState to determine the current state of the
widget.
|
|
| styleGetText :: StateType -> Style -> IO GC |
Retrieve the GC for the text
color.
- The parameter state determines for which widget
state (one of StateType) the GC should be recieved.
Use widgetGetState to determine the current state of the
widget.
|
|
| styleGetBase :: StateType -> Style -> IO GC |
Retrieve the GC for the base
color.
- The base color is the standard text background of a widget.
- The parameter state determines for which widget
state (one of StateType) the GC should be recieved.
Use widgetGetState to determine the current state of the
widget.
|
|
| styleGetAntiAliasing :: StateType -> Style -> IO GC |
Retrieve the GC for drawing
anti-aliased text.
- The anti-aliasing color is the color which is used when the rendering
of a character does not make it clear if a certain pixel shoud be set
or not. This color is between the text and the base color.
- The parameter state determines for which widget
state (one of StateType) the GC should be recieved.
Use widgetGetState to determine the current state of the
widget.
|
|
| Produced by Haddock version 0.6 |