| Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte | 
|---|---|
| License | LGPL-2.1 | 
| Maintainer | Iñaki García Etxebarria | 
| Safe Haskell | Safe-Inferred | 
| Language | Haskell2010 | 
GI.Gtk.Structs.WidgetClass
Contents
- Exported types
- Methods- addShortcut
- bindTemplateCallbackFull
- bindTemplateChildFull
- getAccessibleRole
- getActivateSignal
- getCssName
- getLayoutManagerType
- installAction
- installPropertyAction
- queryAction
- setAccessibleRole
- setActivateSignal
- setActivateSignalFromName
- setCssName
- setLayoutManagerType
- setTemplate
- setTemplateFromResource
- setTemplateScope
 
- Properties
Description
No description available in the introspection data.
Synopsis
- newtype WidgetClass = WidgetClass (ManagedPtr WidgetClass)
- newZeroWidgetClass :: MonadIO m => m WidgetClass
- widgetClassAddShortcut :: (HasCallStack, MonadIO m, IsShortcut a) => WidgetClass -> a -> m ()
- widgetClassBindTemplateCallbackFull :: (HasCallStack, MonadIO m) => WidgetClass -> Text -> Callback -> m ()
- widgetClassBindTemplateChildFull :: (HasCallStack, MonadIO m) => WidgetClass -> Text -> Bool -> Int64 -> m ()
- widgetClassGetAccessibleRole :: (HasCallStack, MonadIO m) => WidgetClass -> m AccessibleRole
- widgetClassGetActivateSignal :: (HasCallStack, MonadIO m) => WidgetClass -> m Word32
- widgetClassGetCssName :: (HasCallStack, MonadIO m) => WidgetClass -> m Text
- widgetClassGetLayoutManagerType :: (HasCallStack, MonadIO m) => WidgetClass -> m GType
- widgetClassInstallAction :: (HasCallStack, MonadIO m) => WidgetClass -> Text -> Maybe Text -> WidgetActionActivateFunc -> m ()
- widgetClassInstallPropertyAction :: (HasCallStack, MonadIO m) => WidgetClass -> Text -> Text -> m ()
- widgetClassQueryAction :: (HasCallStack, MonadIO m) => WidgetClass -> Word32 -> m (Bool, GType, Text, VariantType, Text)
- widgetClassSetAccessibleRole :: (HasCallStack, MonadIO m) => WidgetClass -> AccessibleRole -> m ()
- widgetClassSetActivateSignal :: (HasCallStack, MonadIO m) => WidgetClass -> Word32 -> m ()
- widgetClassSetActivateSignalFromName :: (HasCallStack, MonadIO m) => WidgetClass -> Text -> m ()
- widgetClassSetCssName :: (HasCallStack, MonadIO m) => WidgetClass -> Text -> m ()
- widgetClassSetLayoutManagerType :: (HasCallStack, MonadIO m) => WidgetClass -> GType -> m ()
- widgetClassSetTemplate :: (HasCallStack, MonadIO m) => WidgetClass -> Bytes -> m ()
- widgetClassSetTemplateFromResource :: (HasCallStack, MonadIO m) => WidgetClass -> Text -> m ()
- widgetClassSetTemplateScope :: (HasCallStack, MonadIO m, IsBuilderScope a) => WidgetClass -> a -> m ()
- clearWidgetClassComputeExpand :: MonadIO m => WidgetClass -> m ()
- getWidgetClassComputeExpand :: MonadIO m => WidgetClass -> m (Maybe WidgetClassComputeExpandFieldCallback)
- setWidgetClassComputeExpand :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassComputeExpandFieldCallback -> m ()
- clearWidgetClassContains :: MonadIO m => WidgetClass -> m ()
- getWidgetClassContains :: MonadIO m => WidgetClass -> m (Maybe WidgetClassContainsFieldCallback)
- setWidgetClassContains :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassContainsFieldCallback -> m ()
- clearWidgetClassCssChanged :: MonadIO m => WidgetClass -> m ()
- getWidgetClassCssChanged :: MonadIO m => WidgetClass -> m (Maybe WidgetClassCssChangedFieldCallback)
- setWidgetClassCssChanged :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassCssChangedFieldCallback -> m ()
- clearWidgetClassDirectionChanged :: MonadIO m => WidgetClass -> m ()
- getWidgetClassDirectionChanged :: MonadIO m => WidgetClass -> m (Maybe WidgetClassDirectionChangedFieldCallback)
- setWidgetClassDirectionChanged :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassDirectionChangedFieldCallback -> m ()
- clearWidgetClassFocus :: MonadIO m => WidgetClass -> m ()
- getWidgetClassFocus :: MonadIO m => WidgetClass -> m (Maybe WidgetClassFocusFieldCallback)
- setWidgetClassFocus :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassFocusFieldCallback -> m ()
- clearWidgetClassGetRequestMode :: MonadIO m => WidgetClass -> m ()
- getWidgetClassGetRequestMode :: MonadIO m => WidgetClass -> m (Maybe WidgetClassGetRequestModeFieldCallback)
- setWidgetClassGetRequestMode :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassGetRequestModeFieldCallback -> m ()
- clearWidgetClassGrabFocus :: MonadIO m => WidgetClass -> m ()
- getWidgetClassGrabFocus :: MonadIO m => WidgetClass -> m (Maybe WidgetClassGrabFocusFieldCallback)
- setWidgetClassGrabFocus :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassGrabFocusFieldCallback -> m ()
- clearWidgetClassHide :: MonadIO m => WidgetClass -> m ()
- getWidgetClassHide :: MonadIO m => WidgetClass -> m (Maybe WidgetClassHideFieldCallback)
- setWidgetClassHide :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassHideFieldCallback -> m ()
- clearWidgetClassKeynavFailed :: MonadIO m => WidgetClass -> m ()
- getWidgetClassKeynavFailed :: MonadIO m => WidgetClass -> m (Maybe WidgetClassKeynavFailedFieldCallback)
- setWidgetClassKeynavFailed :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassKeynavFailedFieldCallback -> m ()
- clearWidgetClassMap :: MonadIO m => WidgetClass -> m ()
- getWidgetClassMap :: MonadIO m => WidgetClass -> m (Maybe WidgetClassMapFieldCallback)
- setWidgetClassMap :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassMapFieldCallback -> m ()
- clearWidgetClassMeasure :: MonadIO m => WidgetClass -> m ()
- getWidgetClassMeasure :: MonadIO m => WidgetClass -> m (Maybe WidgetClassMeasureFieldCallback)
- setWidgetClassMeasure :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassMeasureFieldCallback -> m ()
- clearWidgetClassMnemonicActivate :: MonadIO m => WidgetClass -> m ()
- getWidgetClassMnemonicActivate :: MonadIO m => WidgetClass -> m (Maybe WidgetClassMnemonicActivateFieldCallback)
- setWidgetClassMnemonicActivate :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassMnemonicActivateFieldCallback -> m ()
- clearWidgetClassMoveFocus :: MonadIO m => WidgetClass -> m ()
- getWidgetClassMoveFocus :: MonadIO m => WidgetClass -> m (Maybe WidgetClassMoveFocusFieldCallback)
- setWidgetClassMoveFocus :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassMoveFocusFieldCallback -> m ()
- getWidgetClassParentClass :: MonadIO m => WidgetClass -> m InitiallyUnownedClass
- clearWidgetClassQueryTooltip :: MonadIO m => WidgetClass -> m ()
- getWidgetClassQueryTooltip :: MonadIO m => WidgetClass -> m (Maybe WidgetClassQueryTooltipFieldCallback)
- setWidgetClassQueryTooltip :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassQueryTooltipFieldCallback -> m ()
- clearWidgetClassRealize :: MonadIO m => WidgetClass -> m ()
- getWidgetClassRealize :: MonadIO m => WidgetClass -> m (Maybe WidgetClassRealizeFieldCallback)
- setWidgetClassRealize :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassRealizeFieldCallback -> m ()
- clearWidgetClassRoot :: MonadIO m => WidgetClass -> m ()
- getWidgetClassRoot :: MonadIO m => WidgetClass -> m (Maybe WidgetClassRootFieldCallback)
- setWidgetClassRoot :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassRootFieldCallback -> m ()
- clearWidgetClassSetFocusChild :: MonadIO m => WidgetClass -> m ()
- getWidgetClassSetFocusChild :: MonadIO m => WidgetClass -> m (Maybe WidgetClassSetFocusChildFieldCallback)
- setWidgetClassSetFocusChild :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassSetFocusChildFieldCallback -> m ()
- clearWidgetClassShow :: MonadIO m => WidgetClass -> m ()
- getWidgetClassShow :: MonadIO m => WidgetClass -> m (Maybe WidgetClassShowFieldCallback)
- setWidgetClassShow :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassShowFieldCallback -> m ()
- clearWidgetClassSizeAllocate :: MonadIO m => WidgetClass -> m ()
- getWidgetClassSizeAllocate :: MonadIO m => WidgetClass -> m (Maybe WidgetClassSizeAllocateFieldCallback)
- setWidgetClassSizeAllocate :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassSizeAllocateFieldCallback -> m ()
- clearWidgetClassSnapshot :: MonadIO m => WidgetClass -> m ()
- getWidgetClassSnapshot :: MonadIO m => WidgetClass -> m (Maybe WidgetClassSnapshotFieldCallback)
- setWidgetClassSnapshot :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassSnapshotFieldCallback -> m ()
- clearWidgetClassStateFlagsChanged :: MonadIO m => WidgetClass -> m ()
- getWidgetClassStateFlagsChanged :: MonadIO m => WidgetClass -> m (Maybe WidgetClassStateFlagsChangedFieldCallback)
- setWidgetClassStateFlagsChanged :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassStateFlagsChangedFieldCallback -> m ()
- clearWidgetClassSystemSettingChanged :: MonadIO m => WidgetClass -> m ()
- getWidgetClassSystemSettingChanged :: MonadIO m => WidgetClass -> m (Maybe WidgetClassSystemSettingChangedFieldCallback)
- setWidgetClassSystemSettingChanged :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassSystemSettingChangedFieldCallback -> m ()
- clearWidgetClassUnmap :: MonadIO m => WidgetClass -> m ()
- getWidgetClassUnmap :: MonadIO m => WidgetClass -> m (Maybe WidgetClassUnmapFieldCallback)
- setWidgetClassUnmap :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassUnmapFieldCallback -> m ()
- clearWidgetClassUnrealize :: MonadIO m => WidgetClass -> m ()
- getWidgetClassUnrealize :: MonadIO m => WidgetClass -> m (Maybe WidgetClassUnrealizeFieldCallback)
- setWidgetClassUnrealize :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassUnrealizeFieldCallback -> m ()
- clearWidgetClassUnroot :: MonadIO m => WidgetClass -> m ()
- getWidgetClassUnroot :: MonadIO m => WidgetClass -> m (Maybe WidgetClassUnrootFieldCallback)
- setWidgetClassUnroot :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassUnrootFieldCallback -> m ()
Exported types
newtype WidgetClass Source #
Memory-managed wrapper type.
Constructors
| WidgetClass (ManagedPtr WidgetClass) | 
Instances
| Eq WidgetClass Source # | |
| Defined in GI.Gtk.Structs.WidgetClass | |
| BoxedPtr WidgetClass Source # | |
| Defined in GI.Gtk.Structs.WidgetClass | |
| CallocPtr WidgetClass Source # | |
| Defined in GI.Gtk.Structs.WidgetClass Methods boxedPtrCalloc :: IO (Ptr WidgetClass) | |
| ManagedPtrNewtype WidgetClass Source # | |
| Defined in GI.Gtk.Structs.WidgetClass Methods toManagedPtr :: WidgetClass -> ManagedPtr WidgetClass | |
| tag ~ 'AttrSet => Constructible WidgetClass tag Source # | |
| Defined in GI.Gtk.Structs.WidgetClass Methods new :: MonadIO m => (ManagedPtr WidgetClass -> WidgetClass) -> [AttrOp WidgetClass tag] -> m WidgetClass | |
newZeroWidgetClass :: MonadIO m => m WidgetClass Source #
Construct a WidgetClass struct initialized to zero.
Methods
Click to display all available methods, including inherited ones
Methods
addShortcut, bindTemplateCallbackFull, bindTemplateChildFull, installAction, installPropertyAction, queryAction.
Getters
getAccessibleRole, getActivateSignal, getCssName, getLayoutManagerType.
Setters
setAccessibleRole, setActivateSignal, setActivateSignalFromName, setCssName, setLayoutManagerType, setTemplate, setTemplateFromResource, setTemplateScope.
addShortcut
widgetClassAddShortcut Source #
Arguments
| :: (HasCallStack, MonadIO m, IsShortcut a) | |
| => WidgetClass | 
 | 
| -> a | 
 | 
| -> m () | 
Installs a shortcut in widgetClass. Every instance created for
 widgetClass or its subclasses will inherit this shortcut and
 trigger it.
Shortcuts added this way will be triggered in the gTKPHASEBUBBLE
 phase, which means they may also trigger if child widgets have focus.
This function must only be used in class initialization functions otherwise it is not guaranteed that the shortcut will be installed.
bindTemplateCallbackFull
widgetClassBindTemplateCallbackFull Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => WidgetClass | 
 | 
| -> Text | 
 | 
| -> Callback | 
 | 
| -> m () | 
Declares a callbackSymbol to handle callbackName from the template XML
 defined for widgetType. This function is not supported after
 widgetClassSetTemplateScope has been used on widgetClass.
 See builderCScopeAddCallbackSymbol.
Note that this must be called from a composite widget classes class
 initializer after calling widgetClassSetTemplate.
bindTemplateChildFull
widgetClassBindTemplateChildFull Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => WidgetClass | 
 | 
| -> Text | 
 | 
| -> Bool | 
 | 
| -> Int64 | 
 | 
| -> m () | 
Automatically assign an object declared in the class template XML to be set to a location
 on a freshly built instance’s private data, or alternatively accessible via widgetGetTemplateChild.
The struct can point either into the public instance, then you should use G_STRUCT_OFFSET(WidgetType, member)
 for structOffset,  or in the private struct, then you should use G_PRIVATE_OFFSET(WidgetType, member).
An explicit strong reference will be held automatically for the duration of your
 instance’s life cycle, it will be released automatically when ObjectClass.dispose() runs
 on your instance and if a structOffset that is != 0 is specified, then the automatic location
 in your instance public or private data will be set to Nothing. You can however access an automated child
 pointer the first time your classes ObjectClass.dispose() runs, or alternatively in
 WidgetClass.destroy().
If internalChild is specified, BuildableIface.get_internal_child() will be automatically
 implemented by the Widget class so there is no need to implement it manually.
The wrapper macros gtk_widget_class_bind_template_child(), gtk_widget_class_bind_template_child_internal(),
 gtk_widget_class_bind_template_child_private() and gtk_widget_class_bind_template_child_internal_private()
 might be more convenient to use.
Note that this must be called from a composite widget classes class
 initializer after calling widgetClassSetTemplate.
getAccessibleRole
widgetClassGetAccessibleRole Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => WidgetClass | 
 | 
| -> m AccessibleRole | Returns: the accessible role for the widget class | 
Retrieves the accessible role used by the given Widget class.
Different accessible roles have different states, and are rendered differently by assistive technologies.
See also: accessibleGetAccessibleRole
getActivateSignal
widgetClassGetActivateSignal Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => WidgetClass | 
 | 
| -> m Word32 | Returns: a signal id, or 0 if the widget class does not specify an activation signal | 
Retrieves the signal id for the activation signal set using
 widgetClassSetActivateSignal.
getCssName
widgetClassGetCssName Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => WidgetClass | 
 | 
| -> m Text | Returns: the CSS name of the given class | 
Gets the name used by this class for matching in CSS code. See
 widgetClassSetCssName for details.
getLayoutManagerType
widgetClassGetLayoutManagerType Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => WidgetClass | 
 | 
| -> m GType | Returns: a  | 
Retrieves the type of the LayoutManager used by the Widget class.
See also: widgetClassSetLayoutManagerType
installAction
widgetClassInstallAction Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => WidgetClass | 
 | 
| -> Text | 
 | 
| -> Maybe Text | 
 | 
| -> WidgetActionActivateFunc | 
 | 
| -> m () | 
This should be called at class initialization time to specify actions to be added for all instances of this class.
Actions installed by this function are stateless. The only state they have is whether they are enabled or not.
installPropertyAction
widgetClassInstallPropertyAction Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => WidgetClass | 
 | 
| -> Text | 
 | 
| -> Text | 
 | 
| -> m () | 
Installs an action called actionName on widgetClass and binds its
 state to the value of the propertyName property.
This function will perform a few santity checks on the property selected
 via propertyName. Namely, the property must exist, must be readable,
 writable and must not be construct-only. There are also restrictions
 on the type of the given property, it must be boolean, int, unsigned int,
 double or string. If any of these conditions are not met, a critical
 warning will be printed and no action will be added.
The state type of the action matches the property type.
If the property is boolean, the action will have no parameter and toggle the property value. Otherwise, the action will have a parameter of the same type as the property.
queryAction
widgetClassQueryAction Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => WidgetClass | 
 | 
| -> Word32 | 
 | 
| -> m (Bool, GType, Text, VariantType, Text) | Returns:  | 
Queries the actions that have been installed for
 a widget class using widgetClassInstallAction
 during class initialization.
Note that this function will also return actions defined
 by parent classes. You can identify those by looking
 at owner.
setAccessibleRole
widgetClassSetAccessibleRole Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => WidgetClass | 
 | 
| -> AccessibleRole | 
 | 
| -> m () | 
Sets the accessible role used by the given Widget class.
Different accessible roles have different states, and are rendered differently by assistive technologies.
setActivateSignal
widgetClassSetActivateSignal Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => WidgetClass | 
 | 
| -> Word32 | 
 | 
| -> m () | 
Sets the WidgetClass.activate_signal field with the
 given signalId; the signal will be emitted when calling
 widgetActivate.
The signalId must have been registered with g_signal_new()
 or g_signal_newv() before calling this function.
setActivateSignalFromName
widgetClassSetActivateSignalFromName Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => WidgetClass | 
 | 
| -> Text | 
 | 
| -> m () | 
Sets the WidgetClass.activate_signal field with the signal id for
 the given signalName; the signal will be emitted when calling
 widgetActivate.
The signalName of widgetType must have been registered with
 g_signal_new() or g_signal_newv() before calling this function.
setCssName
widgetClassSetCssName Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => WidgetClass | 
 | 
| -> Text | 
 | 
| -> m () | 
Sets the name to be used for CSS matching of widgets.
If this function is not called for a given class, the name set on the parent class is used. By default, GtkWidget uses the name "widget".
setLayoutManagerType
widgetClassSetLayoutManagerType Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => WidgetClass | 
 | 
| -> GType | 
 | 
| -> m () | 
Sets the type to be used for creating layout managers for widgets of
 widgetClass. The given type must be a subtype of LayoutManager.
This function should only be called from class init functions of widgets.
setTemplate
widgetClassSetTemplate Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => WidgetClass | 
 | 
| -> Bytes | |
| -> m () | 
This should be called at class initialization time to specify the GtkBuilder XML to be used to extend a widget.
For convenience, widgetClassSetTemplateFromResource is also provided.
Note that any class that installs templates must call widgetInitTemplate
 in the widget’s instance initializer.
setTemplateFromResource
widgetClassSetTemplateFromResource Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => WidgetClass | 
 | 
| -> Text | 
 | 
| -> m () | 
A convenience function to call widgetClassSetTemplate.
Note that any class that installs templates must call widgetInitTemplate
 in the widget’s instance initializer.
setTemplateScope
widgetClassSetTemplateScope Source #
Arguments
| :: (HasCallStack, MonadIO m, IsBuilderScope a) | |
| => WidgetClass | 
 | 
| -> a | 
 | 
| -> m () | 
For use in language bindings, this will override the default BuilderScope to be
 used when parsing GtkBuilder XML from this class’s template data.
Note that this must be called from a composite widget classes class
 initializer after calling widgetClassSetTemplate.
Properties
computeExpand
No description available in the introspection data.
clearWidgetClassComputeExpand :: MonadIO m => WidgetClass -> m () Source #
Set the value of the “compute_expand” field to Nothing.
 When overloading is enabled, this is equivalent to
clear #computeExpand
getWidgetClassComputeExpand :: MonadIO m => WidgetClass -> m (Maybe WidgetClassComputeExpandFieldCallback) Source #
Get the value of the “compute_expand” field.
 When overloading is enabled, this is equivalent to
get widgetClass #computeExpand
setWidgetClassComputeExpand :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassComputeExpandFieldCallback -> m () Source #
Set the value of the “compute_expand” field.
 When overloading is enabled, this is equivalent to
setwidgetClass [ #computeExpand:=value ]
contains
No description available in the introspection data.
clearWidgetClassContains :: MonadIO m => WidgetClass -> m () Source #
Set the value of the “contains” field to Nothing.
 When overloading is enabled, this is equivalent to
clear #contains
getWidgetClassContains :: MonadIO m => WidgetClass -> m (Maybe WidgetClassContainsFieldCallback) Source #
Get the value of the “contains” field.
 When overloading is enabled, this is equivalent to
get widgetClass #contains
setWidgetClassContains :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassContainsFieldCallback -> m () Source #
Set the value of the “contains” field.
 When overloading is enabled, this is equivalent to
setwidgetClass [ #contains:=value ]
cssChanged
No description available in the introspection data.
clearWidgetClassCssChanged :: MonadIO m => WidgetClass -> m () Source #
Set the value of the “css_changed” field to Nothing.
 When overloading is enabled, this is equivalent to
clear #cssChanged
getWidgetClassCssChanged :: MonadIO m => WidgetClass -> m (Maybe WidgetClassCssChangedFieldCallback) Source #
Get the value of the “css_changed” field.
 When overloading is enabled, this is equivalent to
get widgetClass #cssChanged
setWidgetClassCssChanged :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassCssChangedFieldCallback -> m () Source #
Set the value of the “css_changed” field.
 When overloading is enabled, this is equivalent to
setwidgetClass [ #cssChanged:=value ]
directionChanged
No description available in the introspection data.
clearWidgetClassDirectionChanged :: MonadIO m => WidgetClass -> m () Source #
Set the value of the “direction_changed” field to Nothing.
 When overloading is enabled, this is equivalent to
clear #directionChanged
getWidgetClassDirectionChanged :: MonadIO m => WidgetClass -> m (Maybe WidgetClassDirectionChangedFieldCallback) Source #
Get the value of the “direction_changed” field.
 When overloading is enabled, this is equivalent to
get widgetClass #directionChanged
setWidgetClassDirectionChanged :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassDirectionChangedFieldCallback -> m () Source #
Set the value of the “direction_changed” field.
 When overloading is enabled, this is equivalent to
setwidgetClass [ #directionChanged:=value ]
focus
No description available in the introspection data.
clearWidgetClassFocus :: MonadIO m => WidgetClass -> m () Source #
Set the value of the “focus” field to Nothing.
 When overloading is enabled, this is equivalent to
clear #focus
getWidgetClassFocus :: MonadIO m => WidgetClass -> m (Maybe WidgetClassFocusFieldCallback) Source #
Get the value of the “focus” field.
 When overloading is enabled, this is equivalent to
get widgetClass #focus
setWidgetClassFocus :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassFocusFieldCallback -> m () Source #
Set the value of the “focus” field.
 When overloading is enabled, this is equivalent to
setwidgetClass [ #focus:=value ]
getRequestMode
No description available in the introspection data.
clearWidgetClassGetRequestMode :: MonadIO m => WidgetClass -> m () Source #
Set the value of the “get_request_mode” field to Nothing.
 When overloading is enabled, this is equivalent to
clear #getRequestMode
getWidgetClassGetRequestMode :: MonadIO m => WidgetClass -> m (Maybe WidgetClassGetRequestModeFieldCallback) Source #
Get the value of the “get_request_mode” field.
 When overloading is enabled, this is equivalent to
get widgetClass #getRequestMode
setWidgetClassGetRequestMode :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassGetRequestModeFieldCallback -> m () Source #
Set the value of the “get_request_mode” field.
 When overloading is enabled, this is equivalent to
setwidgetClass [ #getRequestMode:=value ]
grabFocus
No description available in the introspection data.
clearWidgetClassGrabFocus :: MonadIO m => WidgetClass -> m () Source #
Set the value of the “grab_focus” field to Nothing.
 When overloading is enabled, this is equivalent to
clear #grabFocus
getWidgetClassGrabFocus :: MonadIO m => WidgetClass -> m (Maybe WidgetClassGrabFocusFieldCallback) Source #
Get the value of the “grab_focus” field.
 When overloading is enabled, this is equivalent to
get widgetClass #grabFocus
setWidgetClassGrabFocus :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassGrabFocusFieldCallback -> m () Source #
Set the value of the “grab_focus” field.
 When overloading is enabled, this is equivalent to
setwidgetClass [ #grabFocus:=value ]
hide
No description available in the introspection data.
clearWidgetClassHide :: MonadIO m => WidgetClass -> m () Source #
Set the value of the “hide” field to Nothing.
 When overloading is enabled, this is equivalent to
clear #hide
getWidgetClassHide :: MonadIO m => WidgetClass -> m (Maybe WidgetClassHideFieldCallback) Source #
Get the value of the “hide” field.
 When overloading is enabled, this is equivalent to
get widgetClass #hide
setWidgetClassHide :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassHideFieldCallback -> m () Source #
Set the value of the “hide” field.
 When overloading is enabled, this is equivalent to
setwidgetClass [ #hide:=value ]
keynavFailed
No description available in the introspection data.
clearWidgetClassKeynavFailed :: MonadIO m => WidgetClass -> m () Source #
Set the value of the “keynav_failed” field to Nothing.
 When overloading is enabled, this is equivalent to
clear #keynavFailed
getWidgetClassKeynavFailed :: MonadIO m => WidgetClass -> m (Maybe WidgetClassKeynavFailedFieldCallback) Source #
Get the value of the “keynav_failed” field.
 When overloading is enabled, this is equivalent to
get widgetClass #keynavFailed
setWidgetClassKeynavFailed :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassKeynavFailedFieldCallback -> m () Source #
Set the value of the “keynav_failed” field.
 When overloading is enabled, this is equivalent to
setwidgetClass [ #keynavFailed:=value ]
map
No description available in the introspection data.
clearWidgetClassMap :: MonadIO m => WidgetClass -> m () Source #
Set the value of the “map” field to Nothing.
 When overloading is enabled, this is equivalent to
clear #map
getWidgetClassMap :: MonadIO m => WidgetClass -> m (Maybe WidgetClassMapFieldCallback) Source #
Get the value of the “map” field.
 When overloading is enabled, this is equivalent to
get widgetClass #map
setWidgetClassMap :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassMapFieldCallback -> m () Source #
Set the value of the “map” field.
 When overloading is enabled, this is equivalent to
setwidgetClass [ #map:=value ]
measure
No description available in the introspection data.
clearWidgetClassMeasure :: MonadIO m => WidgetClass -> m () Source #
Set the value of the “measure” field to Nothing.
 When overloading is enabled, this is equivalent to
clear #measure
getWidgetClassMeasure :: MonadIO m => WidgetClass -> m (Maybe WidgetClassMeasureFieldCallback) Source #
Get the value of the “measure” field.
 When overloading is enabled, this is equivalent to
get widgetClass #measure
setWidgetClassMeasure :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassMeasureFieldCallback -> m () Source #
Set the value of the “measure” field.
 When overloading is enabled, this is equivalent to
setwidgetClass [ #measure:=value ]
mnemonicActivate
No description available in the introspection data.
clearWidgetClassMnemonicActivate :: MonadIO m => WidgetClass -> m () Source #
Set the value of the “mnemonic_activate” field to Nothing.
 When overloading is enabled, this is equivalent to
clear #mnemonicActivate
getWidgetClassMnemonicActivate :: MonadIO m => WidgetClass -> m (Maybe WidgetClassMnemonicActivateFieldCallback) Source #
Get the value of the “mnemonic_activate” field.
 When overloading is enabled, this is equivalent to
get widgetClass #mnemonicActivate
setWidgetClassMnemonicActivate :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassMnemonicActivateFieldCallback -> m () Source #
Set the value of the “mnemonic_activate” field.
 When overloading is enabled, this is equivalent to
setwidgetClass [ #mnemonicActivate:=value ]
moveFocus
No description available in the introspection data.
clearWidgetClassMoveFocus :: MonadIO m => WidgetClass -> m () Source #
Set the value of the “move_focus” field to Nothing.
 When overloading is enabled, this is equivalent to
clear #moveFocus
getWidgetClassMoveFocus :: MonadIO m => WidgetClass -> m (Maybe WidgetClassMoveFocusFieldCallback) Source #
Get the value of the “move_focus” field.
 When overloading is enabled, this is equivalent to
get widgetClass #moveFocus
setWidgetClassMoveFocus :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassMoveFocusFieldCallback -> m () Source #
Set the value of the “move_focus” field.
 When overloading is enabled, this is equivalent to
setwidgetClass [ #moveFocus:=value ]
parentClass
The object class structure needs to be the first element in the widget class structure in order for the class mechanism to work correctly. This allows a GtkWidgetClass pointer to be cast to a GObjectClass pointer.
getWidgetClassParentClass :: MonadIO m => WidgetClass -> m InitiallyUnownedClass Source #
Get the value of the “parent_class” field.
 When overloading is enabled, this is equivalent to
get widgetClass #parentClass
queryTooltip
No description available in the introspection data.
clearWidgetClassQueryTooltip :: MonadIO m => WidgetClass -> m () Source #
Set the value of the “query_tooltip” field to Nothing.
 When overloading is enabled, this is equivalent to
clear #queryTooltip
getWidgetClassQueryTooltip :: MonadIO m => WidgetClass -> m (Maybe WidgetClassQueryTooltipFieldCallback) Source #
Get the value of the “query_tooltip” field.
 When overloading is enabled, this is equivalent to
get widgetClass #queryTooltip
setWidgetClassQueryTooltip :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassQueryTooltipFieldCallback -> m () Source #
Set the value of the “query_tooltip” field.
 When overloading is enabled, this is equivalent to
setwidgetClass [ #queryTooltip:=value ]
realize
No description available in the introspection data.
clearWidgetClassRealize :: MonadIO m => WidgetClass -> m () Source #
Set the value of the “realize” field to Nothing.
 When overloading is enabled, this is equivalent to
clear #realize
getWidgetClassRealize :: MonadIO m => WidgetClass -> m (Maybe WidgetClassRealizeFieldCallback) Source #
Get the value of the “realize” field.
 When overloading is enabled, this is equivalent to
get widgetClass #realize
setWidgetClassRealize :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassRealizeFieldCallback -> m () Source #
Set the value of the “realize” field.
 When overloading is enabled, this is equivalent to
setwidgetClass [ #realize:=value ]
root
No description available in the introspection data.
clearWidgetClassRoot :: MonadIO m => WidgetClass -> m () Source #
Set the value of the “root” field to Nothing.
 When overloading is enabled, this is equivalent to
clear #root
getWidgetClassRoot :: MonadIO m => WidgetClass -> m (Maybe WidgetClassRootFieldCallback) Source #
Get the value of the “root” field.
 When overloading is enabled, this is equivalent to
get widgetClass #root
setWidgetClassRoot :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassRootFieldCallback -> m () Source #
Set the value of the “root” field.
 When overloading is enabled, this is equivalent to
setwidgetClass [ #root:=value ]
setFocusChild
No description available in the introspection data.
clearWidgetClassSetFocusChild :: MonadIO m => WidgetClass -> m () Source #
Set the value of the “set_focus_child” field to Nothing.
 When overloading is enabled, this is equivalent to
clear #setFocusChild
getWidgetClassSetFocusChild :: MonadIO m => WidgetClass -> m (Maybe WidgetClassSetFocusChildFieldCallback) Source #
Get the value of the “set_focus_child” field.
 When overloading is enabled, this is equivalent to
get widgetClass #setFocusChild
setWidgetClassSetFocusChild :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassSetFocusChildFieldCallback -> m () Source #
Set the value of the “set_focus_child” field.
 When overloading is enabled, this is equivalent to
setwidgetClass [ #setFocusChild:=value ]
show
No description available in the introspection data.
clearWidgetClassShow :: MonadIO m => WidgetClass -> m () Source #
Set the value of the “show” field to Nothing.
 When overloading is enabled, this is equivalent to
clear #show
getWidgetClassShow :: MonadIO m => WidgetClass -> m (Maybe WidgetClassShowFieldCallback) Source #
Get the value of the “show” field.
 When overloading is enabled, this is equivalent to
get widgetClass #show
setWidgetClassShow :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassShowFieldCallback -> m () Source #
Set the value of the “show” field.
 When overloading is enabled, this is equivalent to
setwidgetClass [ #show:=value ]
sizeAllocate
No description available in the introspection data.
clearWidgetClassSizeAllocate :: MonadIO m => WidgetClass -> m () Source #
Set the value of the “size_allocate” field to Nothing.
 When overloading is enabled, this is equivalent to
clear #sizeAllocate
getWidgetClassSizeAllocate :: MonadIO m => WidgetClass -> m (Maybe WidgetClassSizeAllocateFieldCallback) Source #
Get the value of the “size_allocate” field.
 When overloading is enabled, this is equivalent to
get widgetClass #sizeAllocate
setWidgetClassSizeAllocate :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassSizeAllocateFieldCallback -> m () Source #
Set the value of the “size_allocate” field.
 When overloading is enabled, this is equivalent to
setwidgetClass [ #sizeAllocate:=value ]
snapshot
No description available in the introspection data.
clearWidgetClassSnapshot :: MonadIO m => WidgetClass -> m () Source #
Set the value of the “snapshot” field to Nothing.
 When overloading is enabled, this is equivalent to
clear #snapshot
getWidgetClassSnapshot :: MonadIO m => WidgetClass -> m (Maybe WidgetClassSnapshotFieldCallback) Source #
Get the value of the “snapshot” field.
 When overloading is enabled, this is equivalent to
get widgetClass #snapshot
setWidgetClassSnapshot :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassSnapshotFieldCallback -> m () Source #
Set the value of the “snapshot” field.
 When overloading is enabled, this is equivalent to
setwidgetClass [ #snapshot:=value ]
stateFlagsChanged
No description available in the introspection data.
clearWidgetClassStateFlagsChanged :: MonadIO m => WidgetClass -> m () Source #
Set the value of the “state_flags_changed” field to Nothing.
 When overloading is enabled, this is equivalent to
clear #stateFlagsChanged
getWidgetClassStateFlagsChanged :: MonadIO m => WidgetClass -> m (Maybe WidgetClassStateFlagsChangedFieldCallback) Source #
Get the value of the “state_flags_changed” field.
 When overloading is enabled, this is equivalent to
get widgetClass #stateFlagsChanged
setWidgetClassStateFlagsChanged :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassStateFlagsChangedFieldCallback -> m () Source #
Set the value of the “state_flags_changed” field.
 When overloading is enabled, this is equivalent to
setwidgetClass [ #stateFlagsChanged:=value ]
systemSettingChanged
No description available in the introspection data.
clearWidgetClassSystemSettingChanged :: MonadIO m => WidgetClass -> m () Source #
Set the value of the “system_setting_changed” field to Nothing.
 When overloading is enabled, this is equivalent to
clear #systemSettingChanged
getWidgetClassSystemSettingChanged :: MonadIO m => WidgetClass -> m (Maybe WidgetClassSystemSettingChangedFieldCallback) Source #
Get the value of the “system_setting_changed” field.
 When overloading is enabled, this is equivalent to
get widgetClass #systemSettingChanged
setWidgetClassSystemSettingChanged :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassSystemSettingChangedFieldCallback -> m () Source #
Set the value of the “system_setting_changed” field.
 When overloading is enabled, this is equivalent to
setwidgetClass [ #systemSettingChanged:=value ]
unmap
No description available in the introspection data.
clearWidgetClassUnmap :: MonadIO m => WidgetClass -> m () Source #
Set the value of the “unmap” field to Nothing.
 When overloading is enabled, this is equivalent to
clear #unmap
getWidgetClassUnmap :: MonadIO m => WidgetClass -> m (Maybe WidgetClassUnmapFieldCallback) Source #
Get the value of the “unmap” field.
 When overloading is enabled, this is equivalent to
get widgetClass #unmap
setWidgetClassUnmap :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassUnmapFieldCallback -> m () Source #
Set the value of the “unmap” field.
 When overloading is enabled, this is equivalent to
setwidgetClass [ #unmap:=value ]
unrealize
No description available in the introspection data.
clearWidgetClassUnrealize :: MonadIO m => WidgetClass -> m () Source #
Set the value of the “unrealize” field to Nothing.
 When overloading is enabled, this is equivalent to
clear #unrealize
getWidgetClassUnrealize :: MonadIO m => WidgetClass -> m (Maybe WidgetClassUnrealizeFieldCallback) Source #
Get the value of the “unrealize” field.
 When overloading is enabled, this is equivalent to
get widgetClass #unrealize
setWidgetClassUnrealize :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassUnrealizeFieldCallback -> m () Source #
Set the value of the “unrealize” field.
 When overloading is enabled, this is equivalent to
setwidgetClass [ #unrealize:=value ]
unroot
No description available in the introspection data.
clearWidgetClassUnroot :: MonadIO m => WidgetClass -> m () Source #
Set the value of the “unroot” field to Nothing.
 When overloading is enabled, this is equivalent to
clear #unroot
getWidgetClassUnroot :: MonadIO m => WidgetClass -> m (Maybe WidgetClassUnrootFieldCallback) Source #
Get the value of the “unroot” field.
 When overloading is enabled, this is equivalent to
get widgetClass #unroot
setWidgetClassUnroot :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassUnrootFieldCallback -> m () Source #
Set the value of the “unroot” field.
 When overloading is enabled, this is equivalent to
setwidgetClass [ #unroot:=value ]