gi-gtk-4.0.4: Gtk bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Gtk.Structs.WidgetClass

Description

No description available in the introspection data.

Synopsis

Exported types

newtype WidgetClass Source #

Memory-managed wrapper type.

Constructors

WidgetClass (ManagedPtr WidgetClass) 

Instances

Instances details
Eq WidgetClass Source # 
Instance details

Defined in GI.Gtk.Structs.WidgetClass

BoxedPtr WidgetClass Source # 
Instance details

Defined in GI.Gtk.Structs.WidgetClass

CallocPtr WidgetClass Source # 
Instance details

Defined in GI.Gtk.Structs.WidgetClass

ManagedPtrNewtype WidgetClass Source # 
Instance details

Defined in GI.Gtk.Structs.WidgetClass

Methods

toManagedPtr :: WidgetClass -> ManagedPtr WidgetClass

tag ~ 'AttrSet => Constructible WidgetClass tag Source # 
Instance details

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

addShortcut

widgetClassAddShortcut Source #

Arguments

:: (HasCallStack, MonadIO m, IsShortcut a) 
=> WidgetClass

widgetClass: the class to add the shortcut to

-> a

shortcut: the Shortcut to add

-> 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

widgetClass: A WidgetClass

-> Text

callbackName: The name of the callback as expected in the template XML

-> Callback

callbackSymbol: The callback symbol

-> 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

widgetClass: A WidgetClass

-> Text

name: The “id” of the child defined in the template XML

-> Bool

internalChild: Whether the child should be accessible as an “internal-child” when this class is used in GtkBuilder XML

-> Int64

structOffset: The structure offset into the composite widget’s instance public or private structure where the automated child pointer should be set, or 0 to not assign the pointer.

-> 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

widgetClass: a 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

widgetClass: a 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

widgetClass: class to set the name on

-> 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

widgetClass: a WidgetClass

-> m GType

Returns: a LayoutManager subclass, or G_TYPE_INVALID

Retrieves the type of the LayoutManager used by the Widget class.

See also: widgetClassSetLayoutManagerType

installAction

widgetClassInstallAction Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> WidgetClass

widgetClass: a WidgetClass

-> Text

actionName: a prefixed action name, such as "clipboard.paste"

-> Maybe Text

parameterType: the parameter type, or Nothing

-> WidgetActionActivateFunc

activate: callback to use when the action is activated

-> 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

widgetClass: a WidgetClass

-> Text

actionName: name of the action

-> Text

propertyName: name of the property in instances of widgetClass or any parent class.

-> 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

widgetClass: a WidgetClass

-> Word32

index_: position of the action to query

-> m (Bool, GType, Text, VariantType, Text)

Returns: True if the action was found, False if index_ is out of range

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

widgetClass: a WidgetClass

-> AccessibleRole

accessibleRole: the AccessibleRole used by the widgetClass

-> 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

widgetClass: a WidgetClass

-> Word32

signalId: the id for the activate signal

-> 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

widgetClass: a WidgetClass

-> Text

signalName: the name of the activate signal of widgetType

-> 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

widgetClass: class to set the name on

-> Text

name: name to use

-> 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

widgetClass: class to set the layout manager type for

-> GType

type: The object type that implements the LayoutManager for widgetClass

-> 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

widgetClass: A WidgetClass

-> Bytes

templateBytes: A Bytes holding the Builder XML

-> 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

widgetClass: A WidgetClass

-> Text

resourceName: The name of the resource to load the template from

-> 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

widgetClass: A WidgetClass

-> a

scope: The BuilderScope to use when loading the class template

-> 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

set widgetClass [ #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

set widgetClass [ #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

set widgetClass [ #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

set widgetClass [ #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

set widgetClass [ #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

set widgetClass [ #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

set widgetClass [ #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

set widgetClass [ #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

set widgetClass [ #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

set widgetClass [ #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

set widgetClass [ #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

set widgetClass [ #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

set widgetClass [ #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

set widgetClass [ #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

set widgetClass [ #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

set widgetClass [ #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

set widgetClass [ #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

set widgetClass [ #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

set widgetClass [ #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

set widgetClass [ #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

set widgetClass [ #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

set widgetClass [ #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

set widgetClass [ #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

set widgetClass [ #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

set widgetClass [ #unroot := value ]