Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
- newtype FontSelectionDialog = FontSelectionDialog (ManagedPtr FontSelectionDialog)
- class GObject o => IsFontSelectionDialog o
- toFontSelectionDialog :: IsFontSelectionDialog o => o -> IO FontSelectionDialog
- noFontSelectionDialog :: Maybe FontSelectionDialog
- data FontSelectionDialogGetCancelButtonMethodInfo
- fontSelectionDialogGetCancelButton :: (HasCallStack, MonadIO m, IsFontSelectionDialog a) => a -> m Widget
- data FontSelectionDialogGetFontNameMethodInfo
- fontSelectionDialogGetFontName :: (HasCallStack, MonadIO m, IsFontSelectionDialog a) => a -> m Text
- data FontSelectionDialogGetFontSelectionMethodInfo
- fontSelectionDialogGetFontSelection :: (HasCallStack, MonadIO m, IsFontSelectionDialog a) => a -> m Widget
- data FontSelectionDialogGetOkButtonMethodInfo
- fontSelectionDialogGetOkButton :: (HasCallStack, MonadIO m, IsFontSelectionDialog a) => a -> m Widget
- data FontSelectionDialogGetPreviewTextMethodInfo
- fontSelectionDialogGetPreviewText :: (HasCallStack, MonadIO m, IsFontSelectionDialog a) => a -> m Text
- fontSelectionDialogNew :: (HasCallStack, MonadIO m) => Text -> m FontSelectionDialog
- data FontSelectionDialogSetFontNameMethodInfo
- fontSelectionDialogSetFontName :: (HasCallStack, MonadIO m, IsFontSelectionDialog a) => a -> Text -> m Bool
- data FontSelectionDialogSetPreviewTextMethodInfo
- fontSelectionDialogSetPreviewText :: (HasCallStack, MonadIO m, IsFontSelectionDialog a) => a -> Text -> m ()
Exported types
newtype FontSelectionDialog Source #
GObject FontSelectionDialog Source # | |
IsImplementorIface FontSelectionDialog Source # | |
IsObject FontSelectionDialog Source # | |
IsWindow FontSelectionDialog Source # | |
IsWidget FontSelectionDialog Source # | |
IsDialog FontSelectionDialog Source # | |
IsContainer FontSelectionDialog Source # | |
IsBin FontSelectionDialog Source # | |
IsBuildable FontSelectionDialog Source # | |
IsFontSelectionDialog FontSelectionDialog Source # | |
((~) * info (ResolveFontSelectionDialogMethod t FontSelectionDialog), MethodInfo * info FontSelectionDialog p) => IsLabel t (FontSelectionDialog -> p) Source # | |
((~) * info (ResolveFontSelectionDialogMethod t FontSelectionDialog), MethodInfo * info FontSelectionDialog p) => IsLabelProxy t (FontSelectionDialog -> p) Source # | |
HasAttributeList * FontSelectionDialog Source # | |
type AttributeList FontSelectionDialog Source # | |
type SignalList FontSelectionDialog Source # | |
class GObject o => IsFontSelectionDialog o Source #
toFontSelectionDialog :: IsFontSelectionDialog o => o -> IO FontSelectionDialog Source #
Methods
getCancelButton
data FontSelectionDialogGetCancelButtonMethodInfo Source #
((~) * signature (m Widget), MonadIO m, IsFontSelectionDialog a) => MethodInfo * FontSelectionDialogGetCancelButtonMethodInfo a signature Source # | |
fontSelectionDialogGetCancelButton Source #
:: (HasCallStack, MonadIO m, IsFontSelectionDialog a) | |
=> a |
|
-> m Widget | Returns: the |
getFontName
data FontSelectionDialogGetFontNameMethodInfo Source #
((~) * signature (m Text), MonadIO m, IsFontSelectionDialog a) => MethodInfo * FontSelectionDialogGetFontNameMethodInfo a signature Source # | |
fontSelectionDialogGetFontName Source #
:: (HasCallStack, MonadIO m, IsFontSelectionDialog a) | |
=> a |
|
-> m Text | Returns: A string with the name of the current font, or |
Deprecated: (Since version 3.2)Use FontChooserDialog
Gets the currently-selected font name.
Note that this can be a different string than what you set with
fontSelectionDialogSetFontName
, as the font selection widget
may normalize font names and thus return a string with a different
structure. For example, “Helvetica Italic Bold 12” could be normalized
to “Helvetica Bold Italic 12”. Use fontDescriptionEqual
if you want to compare two font descriptions.
getFontSelection
data FontSelectionDialogGetFontSelectionMethodInfo Source #
((~) * signature (m Widget), MonadIO m, IsFontSelectionDialog a) => MethodInfo * FontSelectionDialogGetFontSelectionMethodInfo a signature Source # | |
fontSelectionDialogGetFontSelection Source #
:: (HasCallStack, MonadIO m, IsFontSelectionDialog a) | |
=> a |
|
-> m Widget | Returns: the embedded |
Deprecated: (Since version 3.2)Use FontChooserDialog
Retrieves the FontSelection
widget embedded in the dialog.
Since: 2.22
getOkButton
data FontSelectionDialogGetOkButtonMethodInfo Source #
((~) * signature (m Widget), MonadIO m, IsFontSelectionDialog a) => MethodInfo * FontSelectionDialogGetOkButtonMethodInfo a signature Source # | |
fontSelectionDialogGetOkButton Source #
:: (HasCallStack, MonadIO m, IsFontSelectionDialog a) | |
=> a |
|
-> m Widget | Returns: the |
getPreviewText
data FontSelectionDialogGetPreviewTextMethodInfo Source #
((~) * signature (m Text), MonadIO m, IsFontSelectionDialog a) => MethodInfo * FontSelectionDialogGetPreviewTextMethodInfo a signature Source # | |
fontSelectionDialogGetPreviewText Source #
:: (HasCallStack, MonadIO m, IsFontSelectionDialog a) | |
=> a |
|
-> m Text | Returns: the text displayed in the preview area. This string is owned by the widget and should not be modified or freed |
Deprecated: (Since version 3.2)Use FontChooserDialog
Gets the text displayed in the preview area.
new
fontSelectionDialogNew Source #
:: (HasCallStack, MonadIO m) | |
=> Text |
|
-> m FontSelectionDialog | Returns: a new |
Deprecated: (Since version 3.2)Use FontChooserDialog
Creates a new FontSelectionDialog
.
setFontName
data FontSelectionDialogSetFontNameMethodInfo Source #
((~) * signature (Text -> m Bool), MonadIO m, IsFontSelectionDialog a) => MethodInfo * FontSelectionDialogSetFontNameMethodInfo a signature Source # | |
fontSelectionDialogSetFontName Source #
:: (HasCallStack, MonadIO m, IsFontSelectionDialog a) | |
=> a |
|
-> Text |
|
-> m Bool | Returns: |
Deprecated: (Since version 3.2)Use FontChooserDialog
Sets the currently selected font.
setPreviewText
data FontSelectionDialogSetPreviewTextMethodInfo Source #
((~) * signature (Text -> m ()), MonadIO m, IsFontSelectionDialog a) => MethodInfo * FontSelectionDialogSetPreviewTextMethodInfo a signature Source # | |
fontSelectionDialogSetPreviewText Source #
:: (HasCallStack, MonadIO m, IsFontSelectionDialog a) | |
=> a |
|
-> Text |
|
-> m () |
Deprecated: (Since version 3.2)Use FontChooserDialog
Sets the text displayed in the preview area.