gi-gtk-3.0.43: Gtk bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.Gtk.Structs.WidgetClass

Description

No description available in the introspection data.

Synopsis

Exported types

newtype WidgetClass Source #

Memory-managed wrapper type.

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

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

Defined in GI.Gtk.Structs.WidgetClass

newZeroWidgetClass :: MonadIO m => m WidgetClass Source #

Construct a WidgetClass struct initialized to zero.

Methods

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. See builderAddCallbackSymbol.

Note that this must be called from a composite widget classes class initializer after calling widgetClassSetTemplate.

Since: 3.10

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.

Since: 3.10

findStyleProperty

widgetClassFindStyleProperty Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> WidgetClass

klass: a WidgetClass

-> Text

propertyName: the name of the style property to find

-> m GParamSpec

Returns: the ParamSpec of the style property or Nothing if class has no style property with that name.

Finds a style property of a widget class by name.

Since: 2.2

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.

Since: 3.20

installStyleProperty

widgetClassInstallStyleProperty Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> WidgetClass

klass: a WidgetClass

-> GParamSpec

pspec: the ParamSpec for the property

-> m () 

Installs a style property on a widget class. The parser for the style property is determined by the value type of pspec.

setAccessibleRole

widgetClassSetAccessibleRole Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> WidgetClass

widgetClass: class to set the accessible role for

-> Role

role: The role to use for accessibles created for widgetClass

-> m () 

Sets the default Role to be set on accessibles created for widgets of widgetClass. Accessibles may decide to not honor this setting if their role reporting is more refined. Calls to widgetClassSetAccessibleType will reset this value.

In cases where you want more fine-grained control over the role of accessibles created for widgetClass, you should provide your own accessible type and use widgetClassSetAccessibleType instead.

If role is ATK_ROLE_INVALID, the default role will not be changed and the accessible’s default role will be used instead.

This function should only be called from class init functions of widgets.

Since: 3.2

setAccessibleType

widgetClassSetAccessibleType Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> WidgetClass

widgetClass: class to set the accessible type for

-> GType

type: The object type that implements the accessible for widgetClass

-> m () 

Sets the type to be used for creating accessibles for widgets of widgetClass. The given type must be a subtype of the type used for accessibles of the parent class.

This function should only be called from class init functions of widgets.

Since: 3.2

setConnectFunc

widgetClassSetConnectFunc Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> WidgetClass

widgetClass: A WidgetClass

-> BuilderConnectFunc

connectFunc: The BuilderConnectFunc to use when connecting signals in the class template

-> m () 

For use in language bindings, this will override the default BuilderConnectFunc 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.

Since: 3.10

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 of the parent class is used.

Since: 3.20

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.

Since: 3.10

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.

Since: 3.10

Properties

activateSignal

The signal to emit when a widget of this class is activated, widgetActivate handles the emission. Implementation of this signal is optional.

getWidgetClassActivateSignal :: MonadIO m => WidgetClass -> m Word32 Source #

Get the value of the “activate_signal” field. When overloading is enabled, this is equivalent to

get widgetClass #activateSignal

setWidgetClassActivateSignal :: MonadIO m => WidgetClass -> Word32 -> m () Source #

Set the value of the “activate_signal” field. When overloading is enabled, this is equivalent to

set widgetClass [ #activateSignal := value ]

adjustBaselineAllocation

No description available in the introspection data.

clearWidgetClassAdjustBaselineAllocation :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “adjust_baseline_allocation” field to Nothing. When overloading is enabled, this is equivalent to

clear #adjustBaselineAllocation

getWidgetClassAdjustBaselineAllocation :: MonadIO m => WidgetClass -> m (Maybe WidgetClassAdjustBaselineAllocationFieldCallback) Source #

Get the value of the “adjust_baseline_allocation” field. When overloading is enabled, this is equivalent to

get widgetClass #adjustBaselineAllocation

setWidgetClassAdjustBaselineAllocation :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassAdjustBaselineAllocationFieldCallback -> m () Source #

Set the value of the “adjust_baseline_allocation” field. When overloading is enabled, this is equivalent to

set widgetClass [ #adjustBaselineAllocation := value ]

adjustBaselineRequest

No description available in the introspection data.

clearWidgetClassAdjustBaselineRequest :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “adjust_baseline_request” field to Nothing. When overloading is enabled, this is equivalent to

clear #adjustBaselineRequest

getWidgetClassAdjustBaselineRequest :: MonadIO m => WidgetClass -> m (Maybe WidgetClassAdjustBaselineRequestFieldCallback) Source #

Get the value of the “adjust_baseline_request” field. When overloading is enabled, this is equivalent to

get widgetClass #adjustBaselineRequest

setWidgetClassAdjustBaselineRequest :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassAdjustBaselineRequestFieldCallback -> m () Source #

Set the value of the “adjust_baseline_request” field. When overloading is enabled, this is equivalent to

set widgetClass [ #adjustBaselineRequest := value ]

adjustSizeAllocation

Convert an initial size allocation assigned by a Container using widgetSizeAllocate, into an actual size allocation to be used by the widget. adjust_size_allocation adjusts to a child widget’s actual allocation from what a parent container computed for the child. The adjusted allocation must be entirely within the original allocation. In any custom implementation, chain up to the default Widget implementation of this method, which applies the margin and alignment properties of Widget. Chain up before performing your own adjustments so your own adjustments remove more allocation after the Widget base class has already removed margin and alignment. The natural size passed in should be adjusted in the same way as the allocated size, which allows adjustments to perform alignments or other changes based on natural size.

clearWidgetClassAdjustSizeAllocation :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “adjust_size_allocation” field to Nothing. When overloading is enabled, this is equivalent to

clear #adjustSizeAllocation

getWidgetClassAdjustSizeAllocation :: MonadIO m => WidgetClass -> m (Maybe WidgetClassAdjustSizeAllocationFieldCallback) Source #

Get the value of the “adjust_size_allocation” field. When overloading is enabled, this is equivalent to

get widgetClass #adjustSizeAllocation

setWidgetClassAdjustSizeAllocation :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassAdjustSizeAllocationFieldCallback -> m () Source #

Set the value of the “adjust_size_allocation” field. When overloading is enabled, this is equivalent to

set widgetClass [ #adjustSizeAllocation := value ]

adjustSizeRequest

Convert an initial size request from a widget's SizeRequestMode virtual method implementations into a size request to be used by parent containers in laying out the widget. adjust_size_request adjusts from a child widget's original request to what a parent container should use for layout. The forSize argument will be -1 if the request should not be for a particular size in the opposing orientation, i.e. if the request is not height-for-width or width-for-height. If forSize is greater than -1, it is the proposed allocation in the opposing orientation that we need the request for. Implementations of adjust_size_request should chain up to the default implementation, which applies Widget’s margin properties and imposes any values from widgetSetSizeRequest. Chaining up should be last, after your subclass adjusts the request, so Widget can apply constraints and add the margin properly.

clearWidgetClassAdjustSizeRequest :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “adjust_size_request” field to Nothing. When overloading is enabled, this is equivalent to

clear #adjustSizeRequest

getWidgetClassAdjustSizeRequest :: MonadIO m => WidgetClass -> m (Maybe WidgetClassAdjustSizeRequestFieldCallback) Source #

Get the value of the “adjust_size_request” field. When overloading is enabled, this is equivalent to

get widgetClass #adjustSizeRequest

setWidgetClassAdjustSizeRequest :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassAdjustSizeRequestFieldCallback -> m () Source #

Set the value of the “adjust_size_request” field. When overloading is enabled, this is equivalent to

set widgetClass [ #adjustSizeRequest := value ]

buttonPressEvent

Signal will be emitted when a button (typically from a mouse) is pressed.

clearWidgetClassButtonPressEvent :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “button_press_event” field to Nothing. When overloading is enabled, this is equivalent to

clear #buttonPressEvent

getWidgetClassButtonPressEvent :: MonadIO m => WidgetClass -> m (Maybe WidgetClassButtonPressEventFieldCallback) Source #

Get the value of the “button_press_event” field. When overloading is enabled, this is equivalent to

get widgetClass #buttonPressEvent

setWidgetClassButtonPressEvent :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassButtonPressEventFieldCallback -> m () Source #

Set the value of the “button_press_event” field. When overloading is enabled, this is equivalent to

set widgetClass [ #buttonPressEvent := value ]

buttonReleaseEvent

Signal will be emitted when a button (typically from a mouse) is released.

clearWidgetClassButtonReleaseEvent :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “button_release_event” field to Nothing. When overloading is enabled, this is equivalent to

clear #buttonReleaseEvent

getWidgetClassButtonReleaseEvent :: MonadIO m => WidgetClass -> m (Maybe WidgetClassButtonReleaseEventFieldCallback) Source #

Get the value of the “button_release_event” field. When overloading is enabled, this is equivalent to

get widgetClass #buttonReleaseEvent

setWidgetClassButtonReleaseEvent :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassButtonReleaseEventFieldCallback -> m () Source #

Set the value of the “button_release_event” field. When overloading is enabled, this is equivalent to

set widgetClass [ #buttonReleaseEvent := value ]

canActivateAccel

Signal allows applications and derived widgets to override the default GtkWidget handling for determining whether an accelerator can be activated.

clearWidgetClassCanActivateAccel :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “can_activate_accel” field to Nothing. When overloading is enabled, this is equivalent to

clear #canActivateAccel

getWidgetClassCanActivateAccel :: MonadIO m => WidgetClass -> m (Maybe WidgetClassCanActivateAccelFieldCallback) Source #

Get the value of the “can_activate_accel” field. When overloading is enabled, this is equivalent to

get widgetClass #canActivateAccel

setWidgetClassCanActivateAccel :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassCanActivateAccelFieldCallback -> m () Source #

Set the value of the “can_activate_accel” field. When overloading is enabled, this is equivalent to

set widgetClass [ #canActivateAccel := value ]

childNotify

Signal emitted for each child property that has changed on an object.

clearWidgetClassChildNotify :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “child_notify” field to Nothing. When overloading is enabled, this is equivalent to

clear #childNotify

getWidgetClassChildNotify :: MonadIO m => WidgetClass -> m (Maybe WidgetClassChildNotifyFieldCallback) Source #

Get the value of the “child_notify” field. When overloading is enabled, this is equivalent to

get widgetClass #childNotify

setWidgetClassChildNotify :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassChildNotifyFieldCallback -> m () Source #

Set the value of the “child_notify” field. When overloading is enabled, this is equivalent to

set widgetClass [ #childNotify := value ]

compositedChanged

Signal emitted when the composited status of widgets screen changes. See screenIsComposited.

clearWidgetClassCompositedChanged :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “composited_changed” field to Nothing. When overloading is enabled, this is equivalent to

clear #compositedChanged

getWidgetClassCompositedChanged :: MonadIO m => WidgetClass -> m (Maybe WidgetClassCompositedChangedFieldCallback) Source #

Get the value of the “composited_changed” field. When overloading is enabled, this is equivalent to

get widgetClass #compositedChanged

setWidgetClassCompositedChanged :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassCompositedChangedFieldCallback -> m () Source #

Set the value of the “composited_changed” field. When overloading is enabled, this is equivalent to

set widgetClass [ #compositedChanged := value ]

computeExpand

Computes whether a container should give this widget extra space when possible.

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 ]

configureEvent

Signal will be emitted when the size, position or stacking of the widget’s window has changed.

clearWidgetClassConfigureEvent :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “configure_event” field to Nothing. When overloading is enabled, this is equivalent to

clear #configureEvent

getWidgetClassConfigureEvent :: MonadIO m => WidgetClass -> m (Maybe WidgetClassConfigureEventFieldCallback) Source #

Get the value of the “configure_event” field. When overloading is enabled, this is equivalent to

get widgetClass #configureEvent

setWidgetClassConfigureEvent :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassConfigureEventFieldCallback -> m () Source #

Set the value of the “configure_event” field. When overloading is enabled, this is equivalent to

set widgetClass [ #configureEvent := value ]

damageEvent

Signal emitted when a redirected window belonging to widget gets drawn into.

clearWidgetClassDamageEvent :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “damage_event” field to Nothing. When overloading is enabled, this is equivalent to

clear #damageEvent

getWidgetClassDamageEvent :: MonadIO m => WidgetClass -> m (Maybe WidgetClassDamageEventFieldCallback) Source #

Get the value of the “damage_event” field. When overloading is enabled, this is equivalent to

get widgetClass #damageEvent

setWidgetClassDamageEvent :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassDamageEventFieldCallback -> m () Source #

Set the value of the “damage_event” field. When overloading is enabled, this is equivalent to

set widgetClass [ #damageEvent := value ]

deleteEvent

Signal emitted if a user requests that a toplevel window is closed.

clearWidgetClassDeleteEvent :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “delete_event” field to Nothing. When overloading is enabled, this is equivalent to

clear #deleteEvent

getWidgetClassDeleteEvent :: MonadIO m => WidgetClass -> m (Maybe WidgetClassDeleteEventFieldCallback) Source #

Get the value of the “delete_event” field. When overloading is enabled, this is equivalent to

get widgetClass #deleteEvent

setWidgetClassDeleteEvent :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassDeleteEventFieldCallback -> m () Source #

Set the value of the “delete_event” field. When overloading is enabled, this is equivalent to

set widgetClass [ #deleteEvent := value ]

destroy

Signals that all holders of a reference to the widget should release the reference that they hold.

clearWidgetClassDestroy :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “destroy” field to Nothing. When overloading is enabled, this is equivalent to

clear #destroy

getWidgetClassDestroy :: MonadIO m => WidgetClass -> m (Maybe WidgetClassDestroyFieldCallback) Source #

Get the value of the “destroy” field. When overloading is enabled, this is equivalent to

get widgetClass #destroy

setWidgetClassDestroy :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassDestroyFieldCallback -> m () Source #

Set the value of the “destroy” field. When overloading is enabled, this is equivalent to

set widgetClass [ #destroy := value ]

destroyEvent

Signal is emitted when a Window is destroyed.

clearWidgetClassDestroyEvent :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “destroy_event” field to Nothing. When overloading is enabled, this is equivalent to

clear #destroyEvent

getWidgetClassDestroyEvent :: MonadIO m => WidgetClass -> m (Maybe WidgetClassDestroyEventFieldCallback) Source #

Get the value of the “destroy_event” field. When overloading is enabled, this is equivalent to

get widgetClass #destroyEvent

setWidgetClassDestroyEvent :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassDestroyEventFieldCallback -> m () Source #

Set the value of the “destroy_event” field. When overloading is enabled, this is equivalent to

set widgetClass [ #destroyEvent := value ]

directionChanged

Signal emitted when the text direction of a widget changes.

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 ]

dispatchChildPropertiesChanged

Seldomly overidden.

clearWidgetClassDispatchChildPropertiesChanged :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “dispatch_child_properties_changed” field to Nothing. When overloading is enabled, this is equivalent to

clear #dispatchChildPropertiesChanged

getWidgetClassDispatchChildPropertiesChanged :: MonadIO m => WidgetClass -> m (Maybe WidgetClassDispatchChildPropertiesChangedFieldCallback) Source #

Get the value of the “dispatch_child_properties_changed” field. When overloading is enabled, this is equivalent to

get widgetClass #dispatchChildPropertiesChanged

setWidgetClassDispatchChildPropertiesChanged :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassDispatchChildPropertiesChangedFieldCallback -> m () Source #

Set the value of the “dispatch_child_properties_changed” field. When overloading is enabled, this is equivalent to

set widgetClass [ #dispatchChildPropertiesChanged := value ]

dragBegin

Signal emitted on the drag source when a drag is started.

clearWidgetClassDragBegin :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “drag_begin” field to Nothing. When overloading is enabled, this is equivalent to

clear #dragBegin

getWidgetClassDragBegin :: MonadIO m => WidgetClass -> m (Maybe WidgetClassDragBeginFieldCallback) Source #

Get the value of the “drag_begin” field. When overloading is enabled, this is equivalent to

get widgetClass #dragBegin

setWidgetClassDragBegin :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassDragBeginFieldCallback -> m () Source #

Set the value of the “drag_begin” field. When overloading is enabled, this is equivalent to

set widgetClass [ #dragBegin := value ]

dragDataDelete

Signal emitted on the drag source when a drag with the action DragActionMove is successfully completed.

clearWidgetClassDragDataDelete :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “drag_data_delete” field to Nothing. When overloading is enabled, this is equivalent to

clear #dragDataDelete

getWidgetClassDragDataDelete :: MonadIO m => WidgetClass -> m (Maybe WidgetClassDragDataDeleteFieldCallback) Source #

Get the value of the “drag_data_delete” field. When overloading is enabled, this is equivalent to

get widgetClass #dragDataDelete

setWidgetClassDragDataDelete :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassDragDataDeleteFieldCallback -> m () Source #

Set the value of the “drag_data_delete” field. When overloading is enabled, this is equivalent to

set widgetClass [ #dragDataDelete := value ]

dragDataGet

Signal emitted on the drag source when the drop site requests the data which is dragged.

clearWidgetClassDragDataGet :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “drag_data_get” field to Nothing. When overloading is enabled, this is equivalent to

clear #dragDataGet

getWidgetClassDragDataGet :: MonadIO m => WidgetClass -> m (Maybe WidgetClassDragDataGetFieldCallback) Source #

Get the value of the “drag_data_get” field. When overloading is enabled, this is equivalent to

get widgetClass #dragDataGet

setWidgetClassDragDataGet :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassDragDataGetFieldCallback -> m () Source #

Set the value of the “drag_data_get” field. When overloading is enabled, this is equivalent to

set widgetClass [ #dragDataGet := value ]

dragDataReceived

Signal emitted on the drop site when the dragged data has been received.

clearWidgetClassDragDataReceived :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “drag_data_received” field to Nothing. When overloading is enabled, this is equivalent to

clear #dragDataReceived

getWidgetClassDragDataReceived :: MonadIO m => WidgetClass -> m (Maybe WidgetClassDragDataReceivedFieldCallback) Source #

Get the value of the “drag_data_received” field. When overloading is enabled, this is equivalent to

get widgetClass #dragDataReceived

setWidgetClassDragDataReceived :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassDragDataReceivedFieldCallback -> m () Source #

Set the value of the “drag_data_received” field. When overloading is enabled, this is equivalent to

set widgetClass [ #dragDataReceived := value ]

dragDrop

Signal emitted on the drop site when the user drops the data onto the widget.

clearWidgetClassDragDrop :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “drag_drop” field to Nothing. When overloading is enabled, this is equivalent to

clear #dragDrop

getWidgetClassDragDrop :: MonadIO m => WidgetClass -> m (Maybe WidgetClassDragDropFieldCallback) Source #

Get the value of the “drag_drop” field. When overloading is enabled, this is equivalent to

get widgetClass #dragDrop

setWidgetClassDragDrop :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassDragDropFieldCallback -> m () Source #

Set the value of the “drag_drop” field. When overloading is enabled, this is equivalent to

set widgetClass [ #dragDrop := value ]

dragEnd

Signal emitted on the drag source when a drag is finished.

clearWidgetClassDragEnd :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “drag_end” field to Nothing. When overloading is enabled, this is equivalent to

clear #dragEnd

getWidgetClassDragEnd :: MonadIO m => WidgetClass -> m (Maybe WidgetClassDragEndFieldCallback) Source #

Get the value of the “drag_end” field. When overloading is enabled, this is equivalent to

get widgetClass #dragEnd

setWidgetClassDragEnd :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassDragEndFieldCallback -> m () Source #

Set the value of the “drag_end” field. When overloading is enabled, this is equivalent to

set widgetClass [ #dragEnd := value ]

dragFailed

Signal emitted on the drag source when a drag has failed.

clearWidgetClassDragFailed :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “drag_failed” field to Nothing. When overloading is enabled, this is equivalent to

clear #dragFailed

getWidgetClassDragFailed :: MonadIO m => WidgetClass -> m (Maybe WidgetClassDragFailedFieldCallback) Source #

Get the value of the “drag_failed” field. When overloading is enabled, this is equivalent to

get widgetClass #dragFailed

setWidgetClassDragFailed :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassDragFailedFieldCallback -> m () Source #

Set the value of the “drag_failed” field. When overloading is enabled, this is equivalent to

set widgetClass [ #dragFailed := value ]

dragLeave

Signal emitted on the drop site when the cursor leaves the widget.

clearWidgetClassDragLeave :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “drag_leave” field to Nothing. When overloading is enabled, this is equivalent to

clear #dragLeave

getWidgetClassDragLeave :: MonadIO m => WidgetClass -> m (Maybe WidgetClassDragLeaveFieldCallback) Source #

Get the value of the “drag_leave” field. When overloading is enabled, this is equivalent to

get widgetClass #dragLeave

setWidgetClassDragLeave :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassDragLeaveFieldCallback -> m () Source #

Set the value of the “drag_leave” field. When overloading is enabled, this is equivalent to

set widgetClass [ #dragLeave := value ]

dragMotion

signal emitted on the drop site when the user moves the cursor over the widget during a drag.

clearWidgetClassDragMotion :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “drag_motion” field to Nothing. When overloading is enabled, this is equivalent to

clear #dragMotion

getWidgetClassDragMotion :: MonadIO m => WidgetClass -> m (Maybe WidgetClassDragMotionFieldCallback) Source #

Get the value of the “drag_motion” field. When overloading is enabled, this is equivalent to

get widgetClass #dragMotion

setWidgetClassDragMotion :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassDragMotionFieldCallback -> m () Source #

Set the value of the “drag_motion” field. When overloading is enabled, this is equivalent to

set widgetClass [ #dragMotion := value ]

draw

Signal emitted when a widget is supposed to render itself.

clearWidgetClassDraw :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “draw” field to Nothing. When overloading is enabled, this is equivalent to

clear #draw

getWidgetClassDraw :: MonadIO m => WidgetClass -> m (Maybe WidgetClassDrawFieldCallback) Source #

Get the value of the “draw” field. When overloading is enabled, this is equivalent to

get widgetClass #draw

setWidgetClassDraw :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassDrawFieldCallback -> m () Source #

Set the value of the “draw” field. When overloading is enabled, this is equivalent to

set widgetClass [ #draw := value ]

enterNotifyEvent

Signal event will be emitted when the pointer enters the widget’s window.

clearWidgetClassEnterNotifyEvent :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “enter_notify_event” field to Nothing. When overloading is enabled, this is equivalent to

clear #enterNotifyEvent

getWidgetClassEnterNotifyEvent :: MonadIO m => WidgetClass -> m (Maybe WidgetClassEnterNotifyEventFieldCallback) Source #

Get the value of the “enter_notify_event” field. When overloading is enabled, this is equivalent to

get widgetClass #enterNotifyEvent

setWidgetClassEnterNotifyEvent :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassEnterNotifyEventFieldCallback -> m () Source #

Set the value of the “enter_notify_event” field. When overloading is enabled, this is equivalent to

set widgetClass [ #enterNotifyEvent := value ]

event

The GTK+ main loop will emit three signals for each GDK event delivered to a widget: one generic event signal, another, more specific, signal that matches the type of event delivered (e.g. "key-press-event") and finally a generic "event-after" signal.

clearWidgetClassEvent :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “event” field to Nothing. When overloading is enabled, this is equivalent to

clear #event

getWidgetClassEvent :: MonadIO m => WidgetClass -> m (Maybe WidgetClassEventFieldCallback) Source #

Get the value of the “event” field. When overloading is enabled, this is equivalent to

get widgetClass #event

setWidgetClassEvent :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassEventFieldCallback -> m () Source #

Set the value of the “event” field. When overloading is enabled, this is equivalent to

set widgetClass [ #event := 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 ]

focusInEvent

Signal emitted when the keyboard focus enters the widget’s window.

clearWidgetClassFocusInEvent :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “focus_in_event” field to Nothing. When overloading is enabled, this is equivalent to

clear #focusInEvent

getWidgetClassFocusInEvent :: MonadIO m => WidgetClass -> m (Maybe WidgetClassFocusInEventFieldCallback) Source #

Get the value of the “focus_in_event” field. When overloading is enabled, this is equivalent to

get widgetClass #focusInEvent

setWidgetClassFocusInEvent :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassFocusInEventFieldCallback -> m () Source #

Set the value of the “focus_in_event” field. When overloading is enabled, this is equivalent to

set widgetClass [ #focusInEvent := value ]

focusOutEvent

Signal emitted when the keyboard focus leaves the widget’s window.

clearWidgetClassFocusOutEvent :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “focus_out_event” field to Nothing. When overloading is enabled, this is equivalent to

clear #focusOutEvent

getWidgetClassFocusOutEvent :: MonadIO m => WidgetClass -> m (Maybe WidgetClassFocusOutEventFieldCallback) Source #

Get the value of the “focus_out_event” field. When overloading is enabled, this is equivalent to

get widgetClass #focusOutEvent

setWidgetClassFocusOutEvent :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassFocusOutEventFieldCallback -> m () Source #

Set the value of the “focus_out_event” field. When overloading is enabled, this is equivalent to

set widgetClass [ #focusOutEvent := value ]

getAccessible

Returns the accessible object that describes the widget to an assistive technology.

clearWidgetClassGetAccessible :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “get_accessible” field to Nothing. When overloading is enabled, this is equivalent to

clear #getAccessible

getWidgetClassGetAccessible :: MonadIO m => WidgetClass -> m (Maybe WidgetClassGetAccessibleFieldCallback) Source #

Get the value of the “get_accessible” field. When overloading is enabled, this is equivalent to

get widgetClass #getAccessible

setWidgetClassGetAccessible :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassGetAccessibleFieldCallback -> m () Source #

Set the value of the “get_accessible” field. When overloading is enabled, this is equivalent to

set widgetClass [ #getAccessible := value ]

getPreferredHeight

This is called by containers to obtain the minimum and natural height of a widget. A widget that does not actually trade any height for width or width for height only has to implement these two virtual methods (tWidgetClass.get_preferred_width() and WidgetClass.get_preferred_height()).

clearWidgetClassGetPreferredHeight :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “get_preferred_height” field to Nothing. When overloading is enabled, this is equivalent to

clear #getPreferredHeight

getWidgetClassGetPreferredHeight :: MonadIO m => WidgetClass -> m (Maybe WidgetClassGetPreferredHeightFieldCallback) Source #

Get the value of the “get_preferred_height” field. When overloading is enabled, this is equivalent to

get widgetClass #getPreferredHeight

setWidgetClassGetPreferredHeight :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassGetPreferredHeightFieldCallback -> m () Source #

Set the value of the “get_preferred_height” field. When overloading is enabled, this is equivalent to

set widgetClass [ #getPreferredHeight := value ]

getPreferredHeightAndBaselineForWidth

No description available in the introspection data.

clearWidgetClassGetPreferredHeightAndBaselineForWidth :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “get_preferred_height_and_baseline_for_width” field to Nothing. When overloading is enabled, this is equivalent to

clear #getPreferredHeightAndBaselineForWidth

getWidgetClassGetPreferredHeightAndBaselineForWidth :: MonadIO m => WidgetClass -> m (Maybe WidgetClassGetPreferredHeightAndBaselineForWidthFieldCallback) Source #

Get the value of the “get_preferred_height_and_baseline_for_width” field. When overloading is enabled, this is equivalent to

get widgetClass #getPreferredHeightAndBaselineForWidth

setWidgetClassGetPreferredHeightAndBaselineForWidth :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassGetPreferredHeightAndBaselineForWidthFieldCallback -> m () Source #

Set the value of the “get_preferred_height_and_baseline_for_width” field. When overloading is enabled, this is equivalent to

set widgetClass [ #getPreferredHeightAndBaselineForWidth := value ]

getPreferredHeightForWidth

This is similar to WidgetClass.get_preferred_height() except that it is passed a contextual width to request height for. By implementing this virtual method it is possible for a Label to tell its parent how much height would be required if the label were to be allocated a said width.

clearWidgetClassGetPreferredHeightForWidth :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “get_preferred_height_for_width” field to Nothing. When overloading is enabled, this is equivalent to

clear #getPreferredHeightForWidth

getWidgetClassGetPreferredHeightForWidth :: MonadIO m => WidgetClass -> m (Maybe WidgetClassGetPreferredHeightForWidthFieldCallback) Source #

Get the value of the “get_preferred_height_for_width” field. When overloading is enabled, this is equivalent to

get widgetClass #getPreferredHeightForWidth

setWidgetClassGetPreferredHeightForWidth :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassGetPreferredHeightForWidthFieldCallback -> m () Source #

Set the value of the “get_preferred_height_for_width” field. When overloading is enabled, this is equivalent to

set widgetClass [ #getPreferredHeightForWidth := value ]

getPreferredWidth

This is called by containers to obtain the minimum and natural width of a widget. A widget will never be allocated a width less than its minimum and will only ever be allocated a width greater than the natural width once all of the said widget’s siblings have received their natural widths. Furthermore, a widget will only ever be allocated a width greater than its natural width if it was configured to receive extra expand space from its parent container.

clearWidgetClassGetPreferredWidth :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “get_preferred_width” field to Nothing. When overloading is enabled, this is equivalent to

clear #getPreferredWidth

getWidgetClassGetPreferredWidth :: MonadIO m => WidgetClass -> m (Maybe WidgetClassGetPreferredWidthFieldCallback) Source #

Get the value of the “get_preferred_width” field. When overloading is enabled, this is equivalent to

get widgetClass #getPreferredWidth

setWidgetClassGetPreferredWidth :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassGetPreferredWidthFieldCallback -> m () Source #

Set the value of the “get_preferred_width” field. When overloading is enabled, this is equivalent to

set widgetClass [ #getPreferredWidth := value ]

getPreferredWidthForHeight

This is analogous to WidgetClass.get_preferred_height_for_width() except that it operates in the oposite orientation. It’s rare that a widget actually does SizeRequestModeWidthForHeight requests but this can happen when, for example, a widget or container gets additional columns to compensate for a smaller allocated height.

clearWidgetClassGetPreferredWidthForHeight :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “get_preferred_width_for_height” field to Nothing. When overloading is enabled, this is equivalent to

clear #getPreferredWidthForHeight

getWidgetClassGetPreferredWidthForHeight :: MonadIO m => WidgetClass -> m (Maybe WidgetClassGetPreferredWidthForHeightFieldCallback) Source #

Get the value of the “get_preferred_width_for_height” field. When overloading is enabled, this is equivalent to

get widgetClass #getPreferredWidthForHeight

setWidgetClassGetPreferredWidthForHeight :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassGetPreferredWidthForHeightFieldCallback -> m () Source #

Set the value of the “get_preferred_width_for_height” field. When overloading is enabled, this is equivalent to

set widgetClass [ #getPreferredWidthForHeight := value ]

getRequestMode

This allows a widget to tell its parent container whether it prefers to be allocated in SizeRequestModeHeightForWidth or SizeRequestModeWidthForHeight mode. SizeRequestModeHeightForWidth means the widget prefers to have WidgetClass.get_preferred_width() called and then WidgetClass.get_preferred_height_for_width(). SizeRequestModeConstantSize disables any height-for-width or width-for-height geometry management for a said widget and is the default return. It’s important to note (as described below) that any widget which trades height-for-width or width-for-height must respond properly to both of the virtual methods WidgetClass.get_preferred_height_for_width() and WidgetClass.get_preferred_width_for_height() since it might be queried in either SizeRequestMode by its parent container.

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 ]

grabBrokenEvent

Signal emitted when a pointer or keyboard grab on a window belonging to widget gets broken.

clearWidgetClassGrabBrokenEvent :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “grab_broken_event” field to Nothing. When overloading is enabled, this is equivalent to

clear #grabBrokenEvent

getWidgetClassGrabBrokenEvent :: MonadIO m => WidgetClass -> m (Maybe WidgetClassGrabBrokenEventFieldCallback) Source #

Get the value of the “grab_broken_event” field. When overloading is enabled, this is equivalent to

get widgetClass #grabBrokenEvent

setWidgetClassGrabBrokenEvent :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassGrabBrokenEventFieldCallback -> m () Source #

Set the value of the “grab_broken_event” field. When overloading is enabled, this is equivalent to

set widgetClass [ #grabBrokenEvent := value ]

grabFocus

Causes widget to have the keyboard focus for the Window it’s inside.

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 ]

grabNotify

Signal emitted when a widget becomes shadowed by a GTK+ grab (not a pointer or keyboard grab) on another widget, or when it becomes unshadowed due to a grab being removed.

clearWidgetClassGrabNotify :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “grab_notify” field to Nothing. When overloading is enabled, this is equivalent to

clear #grabNotify

getWidgetClassGrabNotify :: MonadIO m => WidgetClass -> m (Maybe WidgetClassGrabNotifyFieldCallback) Source #

Get the value of the “grab_notify” field. When overloading is enabled, this is equivalent to

get widgetClass #grabNotify

setWidgetClassGrabNotify :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassGrabNotifyFieldCallback -> m () Source #

Set the value of the “grab_notify” field. When overloading is enabled, this is equivalent to

set widgetClass [ #grabNotify := value ]

hide

Signal emitted when widget is hidden.

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 ]

hierarchyChanged

Signal emitted when the anchored state of a widget changes.

clearWidgetClassHierarchyChanged :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “hierarchy_changed” field to Nothing. When overloading is enabled, this is equivalent to

clear #hierarchyChanged

getWidgetClassHierarchyChanged :: MonadIO m => WidgetClass -> m (Maybe WidgetClassHierarchyChangedFieldCallback) Source #

Get the value of the “hierarchy_changed” field. When overloading is enabled, this is equivalent to

get widgetClass #hierarchyChanged

setWidgetClassHierarchyChanged :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassHierarchyChangedFieldCallback -> m () Source #

Set the value of the “hierarchy_changed” field. When overloading is enabled, this is equivalent to

set widgetClass [ #hierarchyChanged := value ]

keyPressEvent

Signal emitted when a key is pressed.

clearWidgetClassKeyPressEvent :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “key_press_event” field to Nothing. When overloading is enabled, this is equivalent to

clear #keyPressEvent

getWidgetClassKeyPressEvent :: MonadIO m => WidgetClass -> m (Maybe WidgetClassKeyPressEventFieldCallback) Source #

Get the value of the “key_press_event” field. When overloading is enabled, this is equivalent to

get widgetClass #keyPressEvent

setWidgetClassKeyPressEvent :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassKeyPressEventFieldCallback -> m () Source #

Set the value of the “key_press_event” field. When overloading is enabled, this is equivalent to

set widgetClass [ #keyPressEvent := value ]

keyReleaseEvent

Signal is emitted when a key is released.

clearWidgetClassKeyReleaseEvent :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “key_release_event” field to Nothing. When overloading is enabled, this is equivalent to

clear #keyReleaseEvent

getWidgetClassKeyReleaseEvent :: MonadIO m => WidgetClass -> m (Maybe WidgetClassKeyReleaseEventFieldCallback) Source #

Get the value of the “key_release_event” field. When overloading is enabled, this is equivalent to

get widgetClass #keyReleaseEvent

setWidgetClassKeyReleaseEvent :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassKeyReleaseEventFieldCallback -> m () Source #

Set the value of the “key_release_event” field. When overloading is enabled, this is equivalent to

set widgetClass [ #keyReleaseEvent := value ]

keynavFailed

Signal emitted if keyboard navigation fails.

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 ]

leaveNotifyEvent

Will be emitted when the pointer leaves the widget’s window.

clearWidgetClassLeaveNotifyEvent :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “leave_notify_event” field to Nothing. When overloading is enabled, this is equivalent to

clear #leaveNotifyEvent

getWidgetClassLeaveNotifyEvent :: MonadIO m => WidgetClass -> m (Maybe WidgetClassLeaveNotifyEventFieldCallback) Source #

Get the value of the “leave_notify_event” field. When overloading is enabled, this is equivalent to

get widgetClass #leaveNotifyEvent

setWidgetClassLeaveNotifyEvent :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassLeaveNotifyEventFieldCallback -> m () Source #

Set the value of the “leave_notify_event” field. When overloading is enabled, this is equivalent to

set widgetClass [ #leaveNotifyEvent := value ]

map

Signal emitted when widget is going to be mapped, that is when the widget is visible (which is controlled with widgetSetVisible) and all its parents up to the toplevel widget are also visible.

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 ]

mapEvent

Signal emitted when the widget’s window is mapped.

clearWidgetClassMapEvent :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “map_event” field to Nothing. When overloading is enabled, this is equivalent to

clear #mapEvent

getWidgetClassMapEvent :: MonadIO m => WidgetClass -> m (Maybe WidgetClassMapEventFieldCallback) Source #

Get the value of the “map_event” field. When overloading is enabled, this is equivalent to

get widgetClass #mapEvent

setWidgetClassMapEvent :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassMapEventFieldCallback -> m () Source #

Set the value of the “map_event” field. When overloading is enabled, this is equivalent to

set widgetClass [ #mapEvent := value ]

mnemonicActivate

Activates the widget if groupCycling is False, and just grabs the focus if groupCycling is True.

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 ]

motionNotifyEvent

Signal emitted when the pointer moves over the widget’s Window.

clearWidgetClassMotionNotifyEvent :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “motion_notify_event” field to Nothing. When overloading is enabled, this is equivalent to

clear #motionNotifyEvent

getWidgetClassMotionNotifyEvent :: MonadIO m => WidgetClass -> m (Maybe WidgetClassMotionNotifyEventFieldCallback) Source #

Get the value of the “motion_notify_event” field. When overloading is enabled, this is equivalent to

get widgetClass #motionNotifyEvent

setWidgetClassMotionNotifyEvent :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassMotionNotifyEventFieldCallback -> m () Source #

Set the value of the “motion_notify_event” field. When overloading is enabled, this is equivalent to

set widgetClass [ #motionNotifyEvent := value ]

moveFocus

Signal emitted when a change of focus is requested

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

parentSet

Signal emitted when a new parent has been set on a widget.

clearWidgetClassParentSet :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “parent_set” field to Nothing. When overloading is enabled, this is equivalent to

clear #parentSet

getWidgetClassParentSet :: MonadIO m => WidgetClass -> m (Maybe WidgetClassParentSetFieldCallback) Source #

Get the value of the “parent_set” field. When overloading is enabled, this is equivalent to

get widgetClass #parentSet

setWidgetClassParentSet :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassParentSetFieldCallback -> m () Source #

Set the value of the “parent_set” field. When overloading is enabled, this is equivalent to

set widgetClass [ #parentSet := value ]

popupMenu

Signal emitted whenever a widget should pop up a context menu.

clearWidgetClassPopupMenu :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “popup_menu” field to Nothing. When overloading is enabled, this is equivalent to

clear #popupMenu

getWidgetClassPopupMenu :: MonadIO m => WidgetClass -> m (Maybe WidgetClassPopupMenuFieldCallback) Source #

Get the value of the “popup_menu” field. When overloading is enabled, this is equivalent to

get widgetClass #popupMenu

setWidgetClassPopupMenu :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassPopupMenuFieldCallback -> m () Source #

Set the value of the “popup_menu” field. When overloading is enabled, this is equivalent to

set widgetClass [ #popupMenu := value ]

propertyNotifyEvent

Signal will be emitted when a property on the widget’s window has been changed or deleted.

clearWidgetClassPropertyNotifyEvent :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “property_notify_event” field to Nothing. When overloading is enabled, this is equivalent to

clear #propertyNotifyEvent

getWidgetClassPropertyNotifyEvent :: MonadIO m => WidgetClass -> m (Maybe WidgetClassPropertyNotifyEventFieldCallback) Source #

Get the value of the “property_notify_event” field. When overloading is enabled, this is equivalent to

get widgetClass #propertyNotifyEvent

setWidgetClassPropertyNotifyEvent :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassPropertyNotifyEventFieldCallback -> m () Source #

Set the value of the “property_notify_event” field. When overloading is enabled, this is equivalent to

set widgetClass [ #propertyNotifyEvent := value ]

proximityInEvent

No description available in the introspection data.

clearWidgetClassProximityInEvent :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “proximity_in_event” field to Nothing. When overloading is enabled, this is equivalent to

clear #proximityInEvent

getWidgetClassProximityInEvent :: MonadIO m => WidgetClass -> m (Maybe WidgetClassProximityInEventFieldCallback) Source #

Get the value of the “proximity_in_event” field. When overloading is enabled, this is equivalent to

get widgetClass #proximityInEvent

setWidgetClassProximityInEvent :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassProximityInEventFieldCallback -> m () Source #

Set the value of the “proximity_in_event” field. When overloading is enabled, this is equivalent to

set widgetClass [ #proximityInEvent := value ]

proximityOutEvent

No description available in the introspection data.

clearWidgetClassProximityOutEvent :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “proximity_out_event” field to Nothing. When overloading is enabled, this is equivalent to

clear #proximityOutEvent

getWidgetClassProximityOutEvent :: MonadIO m => WidgetClass -> m (Maybe WidgetClassProximityOutEventFieldCallback) Source #

Get the value of the “proximity_out_event” field. When overloading is enabled, this is equivalent to

get widgetClass #proximityOutEvent

setWidgetClassProximityOutEvent :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassProximityOutEventFieldCallback -> m () Source #

Set the value of the “proximity_out_event” field. When overloading is enabled, this is equivalent to

set widgetClass [ #proximityOutEvent := value ]

queryTooltip

Signal emitted when “has-tooltip” is True and the hover timeout has expired with the cursor hovering “above” widget; or emitted when widget got focus in keyboard mode.

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 ]

queueDrawRegion

Invalidates the area of widget defined by region by calling windowInvalidateRegion on the widget's window and all its child windows.

clearWidgetClassQueueDrawRegion :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “queue_draw_region” field to Nothing. When overloading is enabled, this is equivalent to

clear #queueDrawRegion

getWidgetClassQueueDrawRegion :: MonadIO m => WidgetClass -> m (Maybe WidgetClassQueueDrawRegionFieldCallback) Source #

Get the value of the “queue_draw_region” field. When overloading is enabled, this is equivalent to

get widgetClass #queueDrawRegion

setWidgetClassQueueDrawRegion :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassQueueDrawRegionFieldCallback -> m () Source #

Set the value of the “queue_draw_region” field. When overloading is enabled, this is equivalent to

set widgetClass [ #queueDrawRegion := value ]

realize

Signal emitted when widget is associated with a Window, which means that widgetRealize has been called or the widget has been mapped (that is, it is going to be drawn).

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 ]

screenChanged

Signal emitted when the screen of a widget has changed.

clearWidgetClassScreenChanged :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “screen_changed” field to Nothing. When overloading is enabled, this is equivalent to

clear #screenChanged

getWidgetClassScreenChanged :: MonadIO m => WidgetClass -> m (Maybe WidgetClassScreenChangedFieldCallback) Source #

Get the value of the “screen_changed” field. When overloading is enabled, this is equivalent to

get widgetClass #screenChanged

setWidgetClassScreenChanged :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassScreenChangedFieldCallback -> m () Source #

Set the value of the “screen_changed” field. When overloading is enabled, this is equivalent to

set widgetClass [ #screenChanged := value ]

scrollEvent

Signal emitted when a button in the 4 to 7 range is pressed.

clearWidgetClassScrollEvent :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “scroll_event” field to Nothing. When overloading is enabled, this is equivalent to

clear #scrollEvent

getWidgetClassScrollEvent :: MonadIO m => WidgetClass -> m (Maybe WidgetClassScrollEventFieldCallback) Source #

Get the value of the “scroll_event” field. When overloading is enabled, this is equivalent to

get widgetClass #scrollEvent

setWidgetClassScrollEvent :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassScrollEventFieldCallback -> m () Source #

Set the value of the “scroll_event” field. When overloading is enabled, this is equivalent to

set widgetClass [ #scrollEvent := value ]

selectionClearEvent

Signal will be emitted when the the widget’s window has lost ownership of a selection.

clearWidgetClassSelectionClearEvent :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “selection_clear_event” field to Nothing. When overloading is enabled, this is equivalent to

clear #selectionClearEvent

getWidgetClassSelectionClearEvent :: MonadIO m => WidgetClass -> m (Maybe WidgetClassSelectionClearEventFieldCallback) Source #

Get the value of the “selection_clear_event” field. When overloading is enabled, this is equivalent to

get widgetClass #selectionClearEvent

setWidgetClassSelectionClearEvent :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassSelectionClearEventFieldCallback -> m () Source #

Set the value of the “selection_clear_event” field. When overloading is enabled, this is equivalent to

set widgetClass [ #selectionClearEvent := value ]

selectionGet

No description available in the introspection data.

clearWidgetClassSelectionGet :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “selection_get” field to Nothing. When overloading is enabled, this is equivalent to

clear #selectionGet

getWidgetClassSelectionGet :: MonadIO m => WidgetClass -> m (Maybe WidgetClassSelectionGetFieldCallback) Source #

Get the value of the “selection_get” field. When overloading is enabled, this is equivalent to

get widgetClass #selectionGet

setWidgetClassSelectionGet :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassSelectionGetFieldCallback -> m () Source #

Set the value of the “selection_get” field. When overloading is enabled, this is equivalent to

set widgetClass [ #selectionGet := value ]

selectionNotifyEvent

No description available in the introspection data.

clearWidgetClassSelectionNotifyEvent :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “selection_notify_event” field to Nothing. When overloading is enabled, this is equivalent to

clear #selectionNotifyEvent

getWidgetClassSelectionNotifyEvent :: MonadIO m => WidgetClass -> m (Maybe WidgetClassSelectionNotifyEventFieldCallback) Source #

Get the value of the “selection_notify_event” field. When overloading is enabled, this is equivalent to

get widgetClass #selectionNotifyEvent

setWidgetClassSelectionNotifyEvent :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassSelectionNotifyEventFieldCallback -> m () Source #

Set the value of the “selection_notify_event” field. When overloading is enabled, this is equivalent to

set widgetClass [ #selectionNotifyEvent := value ]

selectionReceived

No description available in the introspection data.

clearWidgetClassSelectionReceived :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “selection_received” field to Nothing. When overloading is enabled, this is equivalent to

clear #selectionReceived

getWidgetClassSelectionReceived :: MonadIO m => WidgetClass -> m (Maybe WidgetClassSelectionReceivedFieldCallback) Source #

Get the value of the “selection_received” field. When overloading is enabled, this is equivalent to

get widgetClass #selectionReceived

setWidgetClassSelectionReceived :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassSelectionReceivedFieldCallback -> m () Source #

Set the value of the “selection_received” field. When overloading is enabled, this is equivalent to

set widgetClass [ #selectionReceived := value ]

selectionRequestEvent

Signal will be emitted when another client requests ownership of the selection owned by the widget's window.

clearWidgetClassSelectionRequestEvent :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “selection_request_event” field to Nothing. When overloading is enabled, this is equivalent to

clear #selectionRequestEvent

getWidgetClassSelectionRequestEvent :: MonadIO m => WidgetClass -> m (Maybe WidgetClassSelectionRequestEventFieldCallback) Source #

Get the value of the “selection_request_event” field. When overloading is enabled, this is equivalent to

get widgetClass #selectionRequestEvent

setWidgetClassSelectionRequestEvent :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassSelectionRequestEventFieldCallback -> m () Source #

Set the value of the “selection_request_event” field. When overloading is enabled, this is equivalent to

set widgetClass [ #selectionRequestEvent := value ]

show

Signal emitted when widget is shown

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 ]

showAll

Recursively shows a widget, and any child widgets (if the widget is a container).

clearWidgetClassShowAll :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “show_all” field to Nothing. When overloading is enabled, this is equivalent to

clear #showAll

getWidgetClassShowAll :: MonadIO m => WidgetClass -> m (Maybe WidgetClassShowAllFieldCallback) Source #

Get the value of the “show_all” field. When overloading is enabled, this is equivalent to

get widgetClass #showAll

setWidgetClassShowAll :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassShowAllFieldCallback -> m () Source #

Set the value of the “show_all” field. When overloading is enabled, this is equivalent to

set widgetClass [ #showAll := value ]

showHelp

No description available in the introspection data.

clearWidgetClassShowHelp :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “show_help” field to Nothing. When overloading is enabled, this is equivalent to

clear #showHelp

getWidgetClassShowHelp :: MonadIO m => WidgetClass -> m (Maybe WidgetClassShowHelpFieldCallback) Source #

Get the value of the “show_help” field. When overloading is enabled, this is equivalent to

get widgetClass #showHelp

setWidgetClassShowHelp :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassShowHelpFieldCallback -> m () Source #

Set the value of the “show_help” field. When overloading is enabled, this is equivalent to

set widgetClass [ #showHelp := value ]

sizeAllocate

Signal emitted to get the widget allocation.

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 ]

stateChanged

Signal emitted when the widget state changes. Deprecated: 3.0

clearWidgetClassStateChanged :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “state_changed” field to Nothing. When overloading is enabled, this is equivalent to

clear #stateChanged

getWidgetClassStateChanged :: MonadIO m => WidgetClass -> m (Maybe WidgetClassStateChangedFieldCallback) Source #

Get the value of the “state_changed” field. When overloading is enabled, this is equivalent to

get widgetClass #stateChanged

setWidgetClassStateChanged :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassStateChangedFieldCallback -> m () Source #

Set the value of the “state_changed” field. When overloading is enabled, this is equivalent to

set widgetClass [ #stateChanged := value ]

stateFlagsChanged

Signal emitted when the widget state changes, see widgetGetStateFlags.

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 ]

styleSet

Signal emitted when a new style has been set on a widget. Deprecated: 3.0

clearWidgetClassStyleSet :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “style_set” field to Nothing. When overloading is enabled, this is equivalent to

clear #styleSet

getWidgetClassStyleSet :: MonadIO m => WidgetClass -> m (Maybe WidgetClassStyleSetFieldCallback) Source #

Get the value of the “style_set” field. When overloading is enabled, this is equivalent to

get widgetClass #styleSet

setWidgetClassStyleSet :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassStyleSetFieldCallback -> m () Source #

Set the value of the “style_set” field. When overloading is enabled, this is equivalent to

set widgetClass [ #styleSet := value ]

styleUpdated

Signal emitted when the GtkStyleContext of a widget is changed.

clearWidgetClassStyleUpdated :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “style_updated” field to Nothing. When overloading is enabled, this is equivalent to

clear #styleUpdated

getWidgetClassStyleUpdated :: MonadIO m => WidgetClass -> m (Maybe WidgetClassStyleUpdatedFieldCallback) Source #

Get the value of the “style_updated” field. When overloading is enabled, this is equivalent to

get widgetClass #styleUpdated

setWidgetClassStyleUpdated :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassStyleUpdatedFieldCallback -> m () Source #

Set the value of the “style_updated” field. When overloading is enabled, this is equivalent to

set widgetClass [ #styleUpdated := value ]

touchEvent

Signal emitted when a touch event happens

clearWidgetClassTouchEvent :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “touch_event” field to Nothing. When overloading is enabled, this is equivalent to

clear #touchEvent

getWidgetClassTouchEvent :: MonadIO m => WidgetClass -> m (Maybe WidgetClassTouchEventFieldCallback) Source #

Get the value of the “touch_event” field. When overloading is enabled, this is equivalent to

get widgetClass #touchEvent

setWidgetClassTouchEvent :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassTouchEventFieldCallback -> m () Source #

Set the value of the “touch_event” field. When overloading is enabled, this is equivalent to

set widgetClass [ #touchEvent := value ]

unmap

Signal emitted when widget is going to be unmapped, which means that either it or any of its parents up to the toplevel widget have been set as hidden.

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 ]

unmapEvent

Signal will be emitted when the widget’s window is unmapped.

clearWidgetClassUnmapEvent :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “unmap_event” field to Nothing. When overloading is enabled, this is equivalent to

clear #unmapEvent

getWidgetClassUnmapEvent :: MonadIO m => WidgetClass -> m (Maybe WidgetClassUnmapEventFieldCallback) Source #

Get the value of the “unmap_event” field. When overloading is enabled, this is equivalent to

get widgetClass #unmapEvent

setWidgetClassUnmapEvent :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassUnmapEventFieldCallback -> m () Source #

Set the value of the “unmap_event” field. When overloading is enabled, this is equivalent to

set widgetClass [ #unmapEvent := value ]

unrealize

Signal emitted when the GdkWindow associated with widget is destroyed, which means that widgetUnrealize has been called or the widget has been unmapped (that is, it is going to be hidden).

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 ]

visibilityNotifyEvent

Signal emitted when the widget’s window is obscured or unobscured.

clearWidgetClassVisibilityNotifyEvent :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “visibility_notify_event” field to Nothing. When overloading is enabled, this is equivalent to

clear #visibilityNotifyEvent

getWidgetClassVisibilityNotifyEvent :: MonadIO m => WidgetClass -> m (Maybe WidgetClassVisibilityNotifyEventFieldCallback) Source #

Get the value of the “visibility_notify_event” field. When overloading is enabled, this is equivalent to

get widgetClass #visibilityNotifyEvent

setWidgetClassVisibilityNotifyEvent :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassVisibilityNotifyEventFieldCallback -> m () Source #

Set the value of the “visibility_notify_event” field. When overloading is enabled, this is equivalent to

set widgetClass [ #visibilityNotifyEvent := value ]

windowStateEvent

Signal emitted when the state of the toplevel window associated to the widget changes.

clearWidgetClassWindowStateEvent :: MonadIO m => WidgetClass -> m () Source #

Set the value of the “window_state_event” field to Nothing. When overloading is enabled, this is equivalent to

clear #windowStateEvent

getWidgetClassWindowStateEvent :: MonadIO m => WidgetClass -> m (Maybe WidgetClassWindowStateEventFieldCallback) Source #

Get the value of the “window_state_event” field. When overloading is enabled, this is equivalent to

get widgetClass #windowStateEvent

setWidgetClassWindowStateEvent :: MonadIO m => WidgetClass -> FunPtr C_WidgetClassWindowStateEventFieldCallback -> m () Source #

Set the value of the “window_state_event” field. When overloading is enabled, this is equivalent to

set widgetClass [ #windowStateEvent := value ]