gi-ibus-1.5.3: IBus bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.IBus.Objects.PanelService

Description

An IBusPanelService is a base class for UI services. Developers can "extend" this class for panel UI development.

Synopsis

Exported types

newtype PanelService Source #

Memory-managed wrapper type.

Constructors

PanelService (ManagedPtr PanelService) 

Instances

Instances details
Eq PanelService Source # 
Instance details

Defined in GI.IBus.Objects.PanelService

GObject PanelService Source # 
Instance details

Defined in GI.IBus.Objects.PanelService

ManagedPtrNewtype PanelService Source # 
Instance details

Defined in GI.IBus.Objects.PanelService

Methods

toManagedPtr :: PanelService -> ManagedPtr PanelService

TypedObject PanelService Source # 
Instance details

Defined in GI.IBus.Objects.PanelService

Methods

glibType :: IO GType

HasParentTypes PanelService Source # 
Instance details

Defined in GI.IBus.Objects.PanelService

IsGValue (Maybe PanelService) Source #

Convert PanelService to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.IBus.Objects.PanelService

Methods

gvalueGType_ :: IO GType

gvalueSet_ :: Ptr GValue -> Maybe PanelService -> IO ()

gvalueGet_ :: Ptr GValue -> IO (Maybe PanelService)

type ParentTypes PanelService Source # 
Instance details

Defined in GI.IBus.Objects.PanelService

type ParentTypes PanelService = '[Service, Object, Object]

class (GObject o, IsDescendantOf PanelService o) => IsPanelService o Source #

Type class for types which can be safely cast to PanelService, for instance with toPanelService.

Instances

Instances details
(GObject o, IsDescendantOf PanelService o) => IsPanelService o Source # 
Instance details

Defined in GI.IBus.Objects.PanelService

toPanelService :: (MonadIO m, IsPanelService o) => o -> m PanelService Source #

Cast to PanelService, for types for which this is known to be safe. For general casts, use castTo.

Methods

candidateClicked

panelServiceCandidateClicked Source #

Arguments

:: (HasCallStack, MonadIO m, IsPanelService a) 
=> a

panel: An IBusPanelService

-> Word32

index: Index in the Lookup table

-> Word32

button: GdkEventButton[button](#g:signal:button) (1: left button, etc.)

-> Word32

state: GdkEventButton[state](#g:signal:state) (key modifier flags)

-> m () 

Notify that a candidate is clicked by sending a "CandidateClicked" to IBus service.

commitText

panelServiceCommitText Source #

Arguments

:: (HasCallStack, MonadIO m, IsPanelService a, IsText b) 
=> a

panel: An PanelService

-> b

text: An Text

-> m () 

Notify that a text is sent by sending a "CommitText" message to IBus service.

cursorDown

panelServiceCursorDown Source #

Arguments

:: (HasCallStack, MonadIO m, IsPanelService a) 
=> a

panel: An IBusPanelService

-> m () 

Notify that the cursor is down by sending a "CursorDown" to IBus service.

cursorUp

panelServiceCursorUp Source #

Arguments

:: (HasCallStack, MonadIO m, IsPanelService a) 
=> a

panel: An IBusPanelService

-> m () 

Notify that the cursor is up by sending a "CursorUp" to IBus service.

new

panelServiceNew Source #

Arguments

:: (HasCallStack, MonadIO m, IsDBusConnection a) 
=> a

connection: An GDBusConnection.

-> m PanelService

Returns: A newly allocated PanelService.

Creates a new PanelService from an DBusConnection.

pageDown

panelServicePageDown Source #

Arguments

:: (HasCallStack, MonadIO m, IsPanelService a) 
=> a

panel: An IBusPanelService

-> m () 

Notify that the page is down by sending a "PageDown" to IBus service.

pageUp

panelServicePageUp Source #

Arguments

:: (HasCallStack, MonadIO m, IsPanelService a) 
=> a

panel: An IBusPanelService

-> m () 

Notify that the page is up by sending a "PageUp" to IBus service.

panelExtension

panelServicePanelExtension Source #

Arguments

:: (HasCallStack, MonadIO m, IsPanelService a, IsExtensionEvent b) 
=> a

panel: An PanelService

-> b

event: A PanelExtensionEvent which is sent to a panel extension.

-> m () 

Enable or disable a panel extension with ExtensionEvent. Notify that a data is sent by sending a "PanelExtension" message to IBus panel extension service.

propertyActivate

panelServicePropertyActivate Source #

Arguments

:: (HasCallStack, MonadIO m, IsPanelService a) 
=> a

panel: An IBusPanelService

-> Text

propName: A property name

-> Word32

propState: State of the property

-> m () 

Notify that a property is active by sending a "PropertyActivate" message to IBus service.

propertyHide

panelServicePropertyHide Source #

Arguments

:: (HasCallStack, MonadIO m, IsPanelService a) 
=> a

panel: An IBusPanelService

-> Text

propName: A property name

-> m () 

Notify that a property is hidden by sending a "ValueChanged" message to IBus service.

propertyShow

panelServicePropertyShow Source #

Arguments

:: (HasCallStack, MonadIO m, IsPanelService a) 
=> a

panel: An IBusPanelService

-> Text

propName: A property name

-> m () 

Notify that a property is shown by sending a "ValueChanged" message to IBus service.

updateAuxiliaryTextReceived

panelServiceUpdateAuxiliaryTextReceived Source #

Arguments

:: (HasCallStack, MonadIO m, IsPanelService a, IsText b) 
=> a

panel: An PanelService

-> b

text: An Text

-> Bool

visible: Whether the auxilirary text is visible.

-> m () 

Notify that the auxilirary is updated by the panel extension.

(Note: The table object will be released, if it is floating. If caller want to keep the object, caller should make the object sink by g_object_ref_sink.)

updateLookupTableReceived

panelServiceUpdateLookupTableReceived Source #

Arguments

:: (HasCallStack, MonadIO m, IsPanelService a, IsLookupTable b) 
=> a

panel: An PanelService

-> b

table: An LookupTable

-> Bool

visible: Whether the lookup table is visible.

-> m () 

Notify that the lookup table is updated by the panel extension.

(Note: The table object will be released, if it is floating. If caller want to keep the object, caller should make the object sink by g_object_ref_sink.)

updatePreeditTextReceived

panelServiceUpdatePreeditTextReceived Source #

Arguments

:: (HasCallStack, MonadIO m, IsPanelService a, IsText b) 
=> a

panel: An PanelService

-> b

text: Update content.

-> Word32

cursorPos: Current position of cursor

-> Bool

visible: Whether the pre-edit buffer is visible.

-> m () 

Notify that the preedit is updated by the panel extension

(Note: The table object will be released, if it is floating. If caller want to keep the object, caller should make the object sink by g_object_ref_sink.)

Signals

candidateClickedLookupTable

type C_PanelServiceCandidateClickedLookupTableCallback = Ptr () -> Word32 -> Word32 -> Word32 -> Ptr () -> IO () Source #

Type for the callback on the (unwrapped) C side.

type PanelServiceCandidateClickedLookupTableCallback = Word32 -> Word32 -> Word32 -> IO () Source #

No description available in the introspection data.

afterPanelServiceCandidateClickedLookupTable :: (IsPanelService a, MonadIO m) => a -> PanelServiceCandidateClickedLookupTableCallback -> m SignalHandlerId Source #

Connect a signal handler for the candidateClickedLookupTable signal, to be run after the default handler. When overloading is enabled, this is equivalent to

after panelService #candidateClickedLookupTable callback

onPanelServiceCandidateClickedLookupTable :: (IsPanelService a, MonadIO m) => a -> PanelServiceCandidateClickedLookupTableCallback -> m SignalHandlerId Source #

Connect a signal handler for the candidateClickedLookupTable signal, to be run before the default handler. When overloading is enabled, this is equivalent to

on panelService #candidateClickedLookupTable callback

commitTextReceived

type C_PanelServiceCommitTextReceivedCallback = Ptr () -> Ptr Text -> Ptr () -> IO () Source #

Type for the callback on the (unwrapped) C side.

type PanelServiceCommitTextReceivedCallback Source #

Arguments

 = Text

text: A Text

-> IO () 

Emitted when the client application get the commitTextReceived. Implement the member function IBusPanelServiceClass[commit_text_received](#g:signal:commit_text_received) in extended class to receive this signal.

<note><para>Argument userData is ignored in this function.</para> </note>

afterPanelServiceCommitTextReceived :: (IsPanelService a, MonadIO m) => a -> PanelServiceCommitTextReceivedCallback -> m SignalHandlerId Source #

Connect a signal handler for the commitTextReceived signal, to be run after the default handler. When overloading is enabled, this is equivalent to

after panelService #commitTextReceived callback

onPanelServiceCommitTextReceived :: (IsPanelService a, MonadIO m) => a -> PanelServiceCommitTextReceivedCallback -> m SignalHandlerId Source #

Connect a signal handler for the commitTextReceived signal, to be run before the default handler. When overloading is enabled, this is equivalent to

on panelService #commitTextReceived callback

cursorDownLookupTable

type C_PanelServiceCursorDownLookupTableCallback = Ptr () -> Ptr () -> IO () Source #

Type for the callback on the (unwrapped) C side.

type PanelServiceCursorDownLookupTableCallback = IO () Source #

Emitted when the client application get the cursorDownLookupTable. Implement the member function IBusPanelServiceClass[cursor_down_lookup_table](#g:signal:cursor_down_lookup_table) in extended class to receive this signal.

<note><para>Argument userData is ignored in this function.</para> </note>

afterPanelServiceCursorDownLookupTable :: (IsPanelService a, MonadIO m) => a -> PanelServiceCursorDownLookupTableCallback -> m SignalHandlerId Source #

Connect a signal handler for the cursorDownLookupTable signal, to be run after the default handler. When overloading is enabled, this is equivalent to

after panelService #cursorDownLookupTable callback

onPanelServiceCursorDownLookupTable :: (IsPanelService a, MonadIO m) => a -> PanelServiceCursorDownLookupTableCallback -> m SignalHandlerId Source #

Connect a signal handler for the cursorDownLookupTable signal, to be run before the default handler. When overloading is enabled, this is equivalent to

on panelService #cursorDownLookupTable callback

cursorUpLookupTable

type C_PanelServiceCursorUpLookupTableCallback = Ptr () -> Ptr () -> IO () Source #

Type for the callback on the (unwrapped) C side.

type PanelServiceCursorUpLookupTableCallback = IO () Source #

Emitted when the client application get the cursorUpLookupTable. Implement the member function IBusPanelServiceClass[cursor_up_lookup_table](#g:signal:cursor_up_lookup_table) in extended class to receive this signal.

<note><para>Argument userData is ignored in this function.</para> </note>

afterPanelServiceCursorUpLookupTable :: (IsPanelService a, MonadIO m) => a -> PanelServiceCursorUpLookupTableCallback -> m SignalHandlerId Source #

Connect a signal handler for the cursorUpLookupTable signal, to be run after the default handler. When overloading is enabled, this is equivalent to

after panelService #cursorUpLookupTable callback

onPanelServiceCursorUpLookupTable :: (IsPanelService a, MonadIO m) => a -> PanelServiceCursorUpLookupTableCallback -> m SignalHandlerId Source #

Connect a signal handler for the cursorUpLookupTable signal, to be run before the default handler. When overloading is enabled, this is equivalent to

on panelService #cursorUpLookupTable callback

destroyContext

type C_PanelServiceDestroyContextCallback = Ptr () -> CString -> Ptr () -> IO () Source #

Type for the callback on the (unwrapped) C side.

type PanelServiceDestroyContextCallback Source #

Arguments

 = Text

inputContextPath: Object path of InputContext.

-> IO () 

Emitted when the client application destroys. Implement the member function IBusPanelServiceClass[destroy_context](#g:signal:destroy_context) in extended class to receive this signal.

<note><para>Argument userData is ignored in this function.</para> </note>

afterPanelServiceDestroyContext :: (IsPanelService a, MonadIO m) => a -> PanelServiceDestroyContextCallback -> m SignalHandlerId Source #

Connect a signal handler for the destroyContext signal, to be run after the default handler. When overloading is enabled, this is equivalent to

after panelService #destroyContext callback

onPanelServiceDestroyContext :: (IsPanelService a, MonadIO m) => a -> PanelServiceDestroyContextCallback -> m SignalHandlerId Source #

Connect a signal handler for the destroyContext signal, to be run before the default handler. When overloading is enabled, this is equivalent to

on panelService #destroyContext callback

focusIn

type C_PanelServiceFocusInCallback = Ptr () -> CString -> Ptr () -> IO () Source #

Type for the callback on the (unwrapped) C side.

type PanelServiceFocusInCallback Source #

Arguments

 = Text

inputContextPath: Object path of InputContext.

-> IO () 

Emitted when the client application get the focusIn. Implement the member function IBusPanelServiceClass[focus_in](#g:signal:focus_in) in extended class to receive this signal.

<note><para>Argument userData is ignored in this function.</para> </note>

afterPanelServiceFocusIn :: (IsPanelService a, MonadIO m) => a -> PanelServiceFocusInCallback -> m SignalHandlerId Source #

Connect a signal handler for the focusIn signal, to be run after the default handler. When overloading is enabled, this is equivalent to

after panelService #focusIn callback

onPanelServiceFocusIn :: (IsPanelService a, MonadIO m) => a -> PanelServiceFocusInCallback -> m SignalHandlerId Source #

Connect a signal handler for the focusIn signal, to be run before the default handler. When overloading is enabled, this is equivalent to

on panelService #focusIn callback

focusOut

type C_PanelServiceFocusOutCallback = Ptr () -> CString -> Ptr () -> IO () Source #

Type for the callback on the (unwrapped) C side.

type PanelServiceFocusOutCallback Source #

Arguments

 = Text

inputContextPath: Object path of InputContext.

-> IO () 

Emitted when the client application get the focusOut. Implement the member function IBusPanelServiceClass[focus_out](#g:signal:focus_out) in extended class to receive this signal.

<note><para>Argument userData is ignored in this function.</para> </note>

afterPanelServiceFocusOut :: (IsPanelService a, MonadIO m) => a -> PanelServiceFocusOutCallback -> m SignalHandlerId Source #

Connect a signal handler for the focusOut signal, to be run after the default handler. When overloading is enabled, this is equivalent to

after panelService #focusOut callback

onPanelServiceFocusOut :: (IsPanelService a, MonadIO m) => a -> PanelServiceFocusOutCallback -> m SignalHandlerId Source #

Connect a signal handler for the focusOut signal, to be run before the default handler. When overloading is enabled, this is equivalent to

on panelService #focusOut callback

hideAuxiliaryText

type C_PanelServiceHideAuxiliaryTextCallback = Ptr () -> Ptr () -> IO () Source #

Type for the callback on the (unwrapped) C side.

type PanelServiceHideAuxiliaryTextCallback = IO () Source #

Emitted when the client application get the hideAuxiliaryText. Implement the member function IBusPanelServiceClass[hide_auxiliary_text](#g:signal:hide_auxiliary_text) in extended class to receive this signal.

<note><para>Argument userData is ignored in this function.</para> </note>

afterPanelServiceHideAuxiliaryText :: (IsPanelService a, MonadIO m) => a -> PanelServiceHideAuxiliaryTextCallback -> m SignalHandlerId Source #

Connect a signal handler for the hideAuxiliaryText signal, to be run after the default handler. When overloading is enabled, this is equivalent to

after panelService #hideAuxiliaryText callback

onPanelServiceHideAuxiliaryText :: (IsPanelService a, MonadIO m) => a -> PanelServiceHideAuxiliaryTextCallback -> m SignalHandlerId Source #

Connect a signal handler for the hideAuxiliaryText signal, to be run before the default handler. When overloading is enabled, this is equivalent to

on panelService #hideAuxiliaryText callback

hideLanguageBar

type C_PanelServiceHideLanguageBarCallback = Ptr () -> Ptr () -> IO () Source #

Type for the callback on the (unwrapped) C side.

type PanelServiceHideLanguageBarCallback = IO () Source #

Emitted when the client application get the hideLanguageBar. Implement the member function IBusPanelServiceClass[hide_language_bar](#g:signal:hide_language_bar) in extended class to receive this signal.

<note><para>Argument userData is ignored in this function.</para> </note>

afterPanelServiceHideLanguageBar :: (IsPanelService a, MonadIO m) => a -> PanelServiceHideLanguageBarCallback -> m SignalHandlerId Source #

Connect a signal handler for the hideLanguageBar signal, to be run after the default handler. When overloading is enabled, this is equivalent to

after panelService #hideLanguageBar callback

onPanelServiceHideLanguageBar :: (IsPanelService a, MonadIO m) => a -> PanelServiceHideLanguageBarCallback -> m SignalHandlerId Source #

Connect a signal handler for the hideLanguageBar signal, to be run before the default handler. When overloading is enabled, this is equivalent to

on panelService #hideLanguageBar callback

hideLookupTable

type C_PanelServiceHideLookupTableCallback = Ptr () -> Ptr () -> IO () Source #

Type for the callback on the (unwrapped) C side.

type PanelServiceHideLookupTableCallback = IO () Source #

Emitted when the client application get the hideLookupTable. Implement the member function IBusPanelServiceClass[hide_lookup_table](#g:signal:hide_lookup_table) in extended class to receive this signal.

<note><para>Argument userData is ignored in this function.</para> </note>

afterPanelServiceHideLookupTable :: (IsPanelService a, MonadIO m) => a -> PanelServiceHideLookupTableCallback -> m SignalHandlerId Source #

Connect a signal handler for the hideLookupTable signal, to be run after the default handler. When overloading is enabled, this is equivalent to

after panelService #hideLookupTable callback

onPanelServiceHideLookupTable :: (IsPanelService a, MonadIO m) => a -> PanelServiceHideLookupTableCallback -> m SignalHandlerId Source #

Connect a signal handler for the hideLookupTable signal, to be run before the default handler. When overloading is enabled, this is equivalent to

on panelService #hideLookupTable callback

hidePreeditText

type C_PanelServiceHidePreeditTextCallback = Ptr () -> Ptr () -> IO () Source #

Type for the callback on the (unwrapped) C side.

type PanelServiceHidePreeditTextCallback = IO () Source #

Emitted when the client application get the hidePreeditText. Implement the member function IBusPanelServiceClass[hide_preedit_text](#g:signal:hide_preedit_text) in extended class to receive this signal.

<note><para>Argument userData is ignored in this function.</para> </note>

afterPanelServiceHidePreeditText :: (IsPanelService a, MonadIO m) => a -> PanelServiceHidePreeditTextCallback -> m SignalHandlerId Source #

Connect a signal handler for the hidePreeditText signal, to be run after the default handler. When overloading is enabled, this is equivalent to

after panelService #hidePreeditText callback

onPanelServiceHidePreeditText :: (IsPanelService a, MonadIO m) => a -> PanelServiceHidePreeditTextCallback -> m SignalHandlerId Source #

Connect a signal handler for the hidePreeditText signal, to be run before the default handler. When overloading is enabled, this is equivalent to

on panelService #hidePreeditText callback

pageDownLookupTable

type C_PanelServicePageDownLookupTableCallback = Ptr () -> Ptr () -> IO () Source #

Type for the callback on the (unwrapped) C side.

type PanelServicePageDownLookupTableCallback = IO () Source #

Emitted when the client application get the pageDownLookupTable. Implement the member function IBusPanelServiceClass[page_down_lookup_table](#g:signal:page_down_lookup_table) in extended class to receive this signal.

<note><para>Argument userData is ignored in this function.</para> </note>

afterPanelServicePageDownLookupTable :: (IsPanelService a, MonadIO m) => a -> PanelServicePageDownLookupTableCallback -> m SignalHandlerId Source #

Connect a signal handler for the pageDownLookupTable signal, to be run after the default handler. When overloading is enabled, this is equivalent to

after panelService #pageDownLookupTable callback

onPanelServicePageDownLookupTable :: (IsPanelService a, MonadIO m) => a -> PanelServicePageDownLookupTableCallback -> m SignalHandlerId Source #

Connect a signal handler for the pageDownLookupTable signal, to be run before the default handler. When overloading is enabled, this is equivalent to

on panelService #pageDownLookupTable callback

pageUpLookupTable

type C_PanelServicePageUpLookupTableCallback = Ptr () -> Ptr () -> IO () Source #

Type for the callback on the (unwrapped) C side.

type PanelServicePageUpLookupTableCallback = IO () Source #

Emitted when the client application get the pageUpLookupTable. Implement the member function IBusPanelServiceClass[page_up_lookup_table](#g:signal:page_up_lookup_table) in extended class to receive this signal.

<note><para>Argument userData is ignored in this function.</para> </note>

afterPanelServicePageUpLookupTable :: (IsPanelService a, MonadIO m) => a -> PanelServicePageUpLookupTableCallback -> m SignalHandlerId Source #

Connect a signal handler for the pageUpLookupTable signal, to be run after the default handler. When overloading is enabled, this is equivalent to

after panelService #pageUpLookupTable callback

onPanelServicePageUpLookupTable :: (IsPanelService a, MonadIO m) => a -> PanelServicePageUpLookupTableCallback -> m SignalHandlerId Source #

Connect a signal handler for the pageUpLookupTable signal, to be run before the default handler. When overloading is enabled, this is equivalent to

on panelService #pageUpLookupTable callback

panelExtensionReceived

type C_PanelServicePanelExtensionReceivedCallback = Ptr () -> Ptr ExtensionEvent -> Ptr () -> IO () Source #

Type for the callback on the (unwrapped) C side.

type PanelServicePanelExtensionReceivedCallback Source #

Arguments

 = ExtensionEvent

data: A GVariant

-> IO () 

Emitted when the client application get the panelExtensionReceived. Implement the member function IBusPanelServiceClass[panel_extension_received](#g:signal:panel_extension_received) in extended class to receive this signal.

<note><para>Argument userData is ignored in this function.</para> </note>

afterPanelServicePanelExtensionReceived :: (IsPanelService a, MonadIO m) => a -> PanelServicePanelExtensionReceivedCallback -> m SignalHandlerId Source #

Connect a signal handler for the panelExtensionReceived signal, to be run after the default handler. When overloading is enabled, this is equivalent to

after panelService #panelExtensionReceived callback

onPanelServicePanelExtensionReceived :: (IsPanelService a, MonadIO m) => a -> PanelServicePanelExtensionReceivedCallback -> m SignalHandlerId Source #

Connect a signal handler for the panelExtensionReceived signal, to be run before the default handler. When overloading is enabled, this is equivalent to

on panelService #panelExtensionReceived callback

processKeyEvent

type C_PanelServiceProcessKeyEventCallback = Ptr () -> Word32 -> Word32 -> Word32 -> Ptr () -> IO CInt Source #

Type for the callback on the (unwrapped) C side.

type PanelServiceProcessKeyEventCallback Source #

Arguments

 = Word32

keyval: Key symbol of the key press.

-> Word32

keycode: KeyCode of the key press.

-> Word32

state: Key modifier flags.

-> IO Bool

Returns: True for successfully process the key; False otherwise. See also: inputContextProcessKeyEvent.

<note><para>Argument userData is ignored in this function.</para> </note>

Emitted when a key event is received. Implement the member function IBusPanelServiceClass[process_key_event](#g:signal:process_key_event) in extended class to receive this signal. Both the key symbol and keycode are passed to the member function. See inputContextProcessKeyEvent for further explanation of key symbol, keycode and which to use.

afterPanelServiceProcessKeyEvent :: (IsPanelService a, MonadIO m) => a -> PanelServiceProcessKeyEventCallback -> m SignalHandlerId Source #

Connect a signal handler for the processKeyEvent signal, to be run after the default handler. When overloading is enabled, this is equivalent to

after panelService #processKeyEvent callback

onPanelServiceProcessKeyEvent :: (IsPanelService a, MonadIO m) => a -> PanelServiceProcessKeyEventCallback -> m SignalHandlerId Source #

Connect a signal handler for the processKeyEvent signal, to be run before the default handler. When overloading is enabled, this is equivalent to

on panelService #processKeyEvent callback

registerProperties

type C_PanelServiceRegisterPropertiesCallback = Ptr () -> Ptr PropList -> Ptr () -> IO () Source #

Type for the callback on the (unwrapped) C side.

type PanelServiceRegisterPropertiesCallback Source #

Arguments

 = PropList

propList: An IBusPropList that contains properties.

-> IO () 

Emitted when the client application get the registerProperties. Implement the member function IBusPanelServiceClass[register_properties](#g:signal:register_properties) in extended class to receive this signal.

<note><para>Argument userData is ignored in this function.</para> </note>

afterPanelServiceRegisterProperties :: (IsPanelService a, MonadIO m) => a -> PanelServiceRegisterPropertiesCallback -> m SignalHandlerId Source #

Connect a signal handler for the registerProperties signal, to be run after the default handler. When overloading is enabled, this is equivalent to

after panelService #registerProperties callback

onPanelServiceRegisterProperties :: (IsPanelService a, MonadIO m) => a -> PanelServiceRegisterPropertiesCallback -> m SignalHandlerId Source #

Connect a signal handler for the registerProperties signal, to be run before the default handler. When overloading is enabled, this is equivalent to

on panelService #registerProperties callback

reset

type C_PanelServiceResetCallback = Ptr () -> Ptr () -> IO () Source #

Type for the callback on the (unwrapped) C side.

type PanelServiceResetCallback = IO () Source #

Emitted when the client application get the reset. Implement the member function IBusPanelServiceClass[reset](#g:signal:reset) in extended class to receive this signal.

<note><para>Argument userData is ignored in this function.</para> </note>

afterPanelServiceReset :: (IsPanelService a, MonadIO m) => a -> PanelServiceResetCallback -> m SignalHandlerId Source #

Connect a signal handler for the reset signal, to be run after the default handler. When overloading is enabled, this is equivalent to

after panelService #reset callback

genClosure_PanelServiceReset :: MonadIO m => PanelServiceResetCallback -> m (GClosure C_PanelServiceResetCallback) Source #

Wrap the callback into a GClosure.

onPanelServiceReset :: (IsPanelService a, MonadIO m) => a -> PanelServiceResetCallback -> m SignalHandlerId Source #

Connect a signal handler for the reset signal, to be run before the default handler. When overloading is enabled, this is equivalent to

on panelService #reset callback

setContentType

type C_PanelServiceSetContentTypeCallback = Ptr () -> Word32 -> Word32 -> Ptr () -> IO () Source #

Type for the callback on the (unwrapped) C side.

type PanelServiceSetContentTypeCallback Source #

Arguments

 = Word32

purpose: Input purpose.

-> Word32

hints: Input hints.

-> IO () 

Emitted when the client application get the setContentType. Implement the member function IBusPanelServiceClass[set_content_type](#g:signal:set_content_type) in extended class to receive this signal.

<note><para>Argument userData is ignored in this function.</para> </note>

afterPanelServiceSetContentType :: (IsPanelService a, MonadIO m) => a -> PanelServiceSetContentTypeCallback -> m SignalHandlerId Source #

Connect a signal handler for the setContentType signal, to be run after the default handler. When overloading is enabled, this is equivalent to

after panelService #setContentType callback

onPanelServiceSetContentType :: (IsPanelService a, MonadIO m) => a -> PanelServiceSetContentTypeCallback -> m SignalHandlerId Source #

Connect a signal handler for the setContentType signal, to be run before the default handler. When overloading is enabled, this is equivalent to

on panelService #setContentType callback

setCursorLocation

type C_PanelServiceSetCursorLocationCallback = Ptr () -> Int32 -> Int32 -> Int32 -> Int32 -> Ptr () -> IO () Source #

Type for the callback on the (unwrapped) C side.

type PanelServiceSetCursorLocationCallback Source #

Arguments

 = Int32

x: X coordinate of the cursor.

-> Int32

y: Y coordinate of the cursor.

-> Int32

w: Width of the cursor.

-> Int32

h: Height of the cursor.

-> IO () 

Emitted when the client application get the setCursorLocation. Implement the member function IBusPanelServiceClass[set_cursor_location](#g:signal:set_cursor_location) in extended class to receive this signal.

<note><para>Argument userData is ignored in this function.</para> </note>

afterPanelServiceSetCursorLocation :: (IsPanelService a, MonadIO m) => a -> PanelServiceSetCursorLocationCallback -> m SignalHandlerId Source #

Connect a signal handler for the setCursorLocation signal, to be run after the default handler. When overloading is enabled, this is equivalent to

after panelService #setCursorLocation callback

onPanelServiceSetCursorLocation :: (IsPanelService a, MonadIO m) => a -> PanelServiceSetCursorLocationCallback -> m SignalHandlerId Source #

Connect a signal handler for the setCursorLocation signal, to be run before the default handler. When overloading is enabled, this is equivalent to

on panelService #setCursorLocation callback

setCursorLocationRelative

type C_PanelServiceSetCursorLocationRelativeCallback = Ptr () -> Int32 -> Int32 -> Int32 -> Int32 -> Ptr () -> IO () Source #

Type for the callback on the (unwrapped) C side.

type PanelServiceSetCursorLocationRelativeCallback Source #

Arguments

 = Int32

x: X coordinate of the cursor.

-> Int32

y: Y coordinate of the cursor.

-> Int32

w: Width of the cursor.

-> Int32

h: Height of the cursor.

-> IO () 

Emitted when the client application get the set-cursor-location-relative. Implement the member function set_cursor_location_relative() in extended class to receive this signal.

<note><para>Argument userData is ignored in this function.</para> </note>

afterPanelServiceSetCursorLocationRelative :: (IsPanelService a, MonadIO m) => a -> PanelServiceSetCursorLocationRelativeCallback -> m SignalHandlerId Source #

Connect a signal handler for the setCursorLocationRelative signal, to be run after the default handler. When overloading is enabled, this is equivalent to

after panelService #setCursorLocationRelative callback

onPanelServiceSetCursorLocationRelative :: (IsPanelService a, MonadIO m) => a -> PanelServiceSetCursorLocationRelativeCallback -> m SignalHandlerId Source #

Connect a signal handler for the setCursorLocationRelative signal, to be run before the default handler. When overloading is enabled, this is equivalent to

on panelService #setCursorLocationRelative callback

showAuxiliaryText

type C_PanelServiceShowAuxiliaryTextCallback = Ptr () -> Ptr () -> IO () Source #

Type for the callback on the (unwrapped) C side.

type PanelServiceShowAuxiliaryTextCallback = IO () Source #

Emitted when the client application get the showAuxiliaryText. Implement the member function IBusPanelServiceClass[show_auxiliary_text](#g:signal:show_auxiliary_text) in extended class to receive this signal.

<note><para>Argument userData is ignored in this function.</para> </note>

afterPanelServiceShowAuxiliaryText :: (IsPanelService a, MonadIO m) => a -> PanelServiceShowAuxiliaryTextCallback -> m SignalHandlerId Source #

Connect a signal handler for the showAuxiliaryText signal, to be run after the default handler. When overloading is enabled, this is equivalent to

after panelService #showAuxiliaryText callback

onPanelServiceShowAuxiliaryText :: (IsPanelService a, MonadIO m) => a -> PanelServiceShowAuxiliaryTextCallback -> m SignalHandlerId Source #

Connect a signal handler for the showAuxiliaryText signal, to be run before the default handler. When overloading is enabled, this is equivalent to

on panelService #showAuxiliaryText callback

showLanguageBar

type C_PanelServiceShowLanguageBarCallback = Ptr () -> Ptr () -> IO () Source #

Type for the callback on the (unwrapped) C side.

type PanelServiceShowLanguageBarCallback = IO () Source #

Emitted when the client application get the showLanguageBar. Implement the member function IBusPanelServiceClass[show_language_bar](#g:signal:show_language_bar) in extended class to receive this signal.

<note><para>Argument userData is ignored in this function.</para> </note>

afterPanelServiceShowLanguageBar :: (IsPanelService a, MonadIO m) => a -> PanelServiceShowLanguageBarCallback -> m SignalHandlerId Source #

Connect a signal handler for the showLanguageBar signal, to be run after the default handler. When overloading is enabled, this is equivalent to

after panelService #showLanguageBar callback

onPanelServiceShowLanguageBar :: (IsPanelService a, MonadIO m) => a -> PanelServiceShowLanguageBarCallback -> m SignalHandlerId Source #

Connect a signal handler for the showLanguageBar signal, to be run before the default handler. When overloading is enabled, this is equivalent to

on panelService #showLanguageBar callback

showLookupTable

type C_PanelServiceShowLookupTableCallback = Ptr () -> Ptr () -> IO () Source #

Type for the callback on the (unwrapped) C side.

type PanelServiceShowLookupTableCallback = IO () Source #

Emitted when the client application get the showLookupTable. Implement the member function IBusPanelServiceClass[show_lookup_table](#g:signal:show_lookup_table) in extended class to receive this signal.

<note><para>Argument userData is ignored in this function.</para> </note>

afterPanelServiceShowLookupTable :: (IsPanelService a, MonadIO m) => a -> PanelServiceShowLookupTableCallback -> m SignalHandlerId Source #

Connect a signal handler for the showLookupTable signal, to be run after the default handler. When overloading is enabled, this is equivalent to

after panelService #showLookupTable callback

onPanelServiceShowLookupTable :: (IsPanelService a, MonadIO m) => a -> PanelServiceShowLookupTableCallback -> m SignalHandlerId Source #

Connect a signal handler for the showLookupTable signal, to be run before the default handler. When overloading is enabled, this is equivalent to

on panelService #showLookupTable callback

showPreeditText

type C_PanelServiceShowPreeditTextCallback = Ptr () -> Ptr () -> IO () Source #

Type for the callback on the (unwrapped) C side.

type PanelServiceShowPreeditTextCallback = IO () Source #

Emitted when the client application get the showPreeditText. Implement the member function IBusPanelServiceClass[show_preedit_text](#g:signal:show_preedit_text) in extended class to receive this signal.

<note><para>Argument userData is ignored in this function.</para> </note>

afterPanelServiceShowPreeditText :: (IsPanelService a, MonadIO m) => a -> PanelServiceShowPreeditTextCallback -> m SignalHandlerId Source #

Connect a signal handler for the showPreeditText signal, to be run after the default handler. When overloading is enabled, this is equivalent to

after panelService #showPreeditText callback

onPanelServiceShowPreeditText :: (IsPanelService a, MonadIO m) => a -> PanelServiceShowPreeditTextCallback -> m SignalHandlerId Source #

Connect a signal handler for the showPreeditText signal, to be run before the default handler. When overloading is enabled, this is equivalent to

on panelService #showPreeditText callback

startSetup

type C_PanelServiceStartSetupCallback = Ptr () -> Ptr () -> IO () Source #

Type for the callback on the (unwrapped) C side.

type PanelServiceStartSetupCallback = IO () Source #

Emitted when the client application get the startSetup. Implement the member function IBusPanelServiceClass[start_setup](#g:signal:start_setup) in extended class to receive this signal.

<note><para>Argument userData is ignored in this function.</para> </note>

afterPanelServiceStartSetup :: (IsPanelService a, MonadIO m) => a -> PanelServiceStartSetupCallback -> m SignalHandlerId Source #

Connect a signal handler for the startSetup signal, to be run after the default handler. When overloading is enabled, this is equivalent to

after panelService #startSetup callback

onPanelServiceStartSetup :: (IsPanelService a, MonadIO m) => a -> PanelServiceStartSetupCallback -> m SignalHandlerId Source #

Connect a signal handler for the startSetup signal, to be run before the default handler. When overloading is enabled, this is equivalent to

on panelService #startSetup callback

stateChanged

type C_PanelServiceStateChangedCallback = Ptr () -> Ptr () -> IO () Source #

Type for the callback on the (unwrapped) C side.

type PanelServiceStateChangedCallback = IO () Source #

Emitted when the client application get the stateChanged. Implement the member function IBusPanelServiceClass[state_changed](#g:signal:state_changed) in extended class to receive this signal.

<note><para>Argument userData is ignored in this function.</para> </note>

afterPanelServiceStateChanged :: (IsPanelService a, MonadIO m) => a -> PanelServiceStateChangedCallback -> m SignalHandlerId Source #

Connect a signal handler for the stateChanged signal, to be run after the default handler. When overloading is enabled, this is equivalent to

after panelService #stateChanged callback

onPanelServiceStateChanged :: (IsPanelService a, MonadIO m) => a -> PanelServiceStateChangedCallback -> m SignalHandlerId Source #

Connect a signal handler for the stateChanged signal, to be run before the default handler. When overloading is enabled, this is equivalent to

on panelService #stateChanged callback

updateAuxiliaryText

type C_PanelServiceUpdateAuxiliaryTextCallback = Ptr () -> Ptr Text -> CInt -> Ptr () -> IO () Source #

Type for the callback on the (unwrapped) C side.

type PanelServiceUpdateAuxiliaryTextCallback Source #

Arguments

 = Text

text: A preedit text to be updated.

-> Bool

visible: Whether the update is visible.

-> IO () 

Emitted when the client application get the updateAuxiliaryText. Implement the member function IBusPanelServiceClass[update_auxiliary_text](#g:signal:update_auxiliary_text) in extended class to receive this signal.

<note><para>Argument userData is ignored in this function.</para> </note>

afterPanelServiceUpdateAuxiliaryText :: (IsPanelService a, MonadIO m) => a -> PanelServiceUpdateAuxiliaryTextCallback -> m SignalHandlerId Source #

Connect a signal handler for the updateAuxiliaryText signal, to be run after the default handler. When overloading is enabled, this is equivalent to

after panelService #updateAuxiliaryText callback

onPanelServiceUpdateAuxiliaryText :: (IsPanelService a, MonadIO m) => a -> PanelServiceUpdateAuxiliaryTextCallback -> m SignalHandlerId Source #

Connect a signal handler for the updateAuxiliaryText signal, to be run before the default handler. When overloading is enabled, this is equivalent to

on panelService #updateAuxiliaryText callback

updateLookupTable

type C_PanelServiceUpdateLookupTableCallback = Ptr () -> Ptr LookupTable -> CInt -> Ptr () -> IO () Source #

Type for the callback on the (unwrapped) C side.

type PanelServiceUpdateLookupTableCallback Source #

Arguments

 = LookupTable

lookupTable: A lookup table to be updated.

-> Bool

visible: Whether the update is visible.

-> IO () 

Emitted when the client application get the updateLookupTable. Implement the member function IBusPanelServiceClass[update_lookup_table](#g:signal:update_lookup_table) in extended class to receive this signal.

<note><para>Argument userData is ignored in this function.</para> </note>

afterPanelServiceUpdateLookupTable :: (IsPanelService a, MonadIO m) => a -> PanelServiceUpdateLookupTableCallback -> m SignalHandlerId Source #

Connect a signal handler for the updateLookupTable signal, to be run after the default handler. When overloading is enabled, this is equivalent to

after panelService #updateLookupTable callback

onPanelServiceUpdateLookupTable :: (IsPanelService a, MonadIO m) => a -> PanelServiceUpdateLookupTableCallback -> m SignalHandlerId Source #

Connect a signal handler for the updateLookupTable signal, to be run before the default handler. When overloading is enabled, this is equivalent to

on panelService #updateLookupTable callback

updatePreeditText

type C_PanelServiceUpdatePreeditTextCallback = Ptr () -> Ptr Text -> Word32 -> CInt -> Ptr () -> IO () Source #

Type for the callback on the (unwrapped) C side.

type PanelServiceUpdatePreeditTextCallback Source #

Arguments

 = Text

text: A preedit text to be updated.

-> Word32

cursorPos: The cursor position of the text.

-> Bool

visible: Whether the update is visible.

-> IO () 

Emitted when the client application get the updatePreeditText. Implement the member function IBusPanelServiceClass[update_preedit_text](#g:signal:update_preedit_text) in extended class to receive this signal.

<note><para>Argument userData is ignored in this function.</para> </note>

afterPanelServiceUpdatePreeditText :: (IsPanelService a, MonadIO m) => a -> PanelServiceUpdatePreeditTextCallback -> m SignalHandlerId Source #

Connect a signal handler for the updatePreeditText signal, to be run after the default handler. When overloading is enabled, this is equivalent to

after panelService #updatePreeditText callback

onPanelServiceUpdatePreeditText :: (IsPanelService a, MonadIO m) => a -> PanelServiceUpdatePreeditTextCallback -> m SignalHandlerId Source #

Connect a signal handler for the updatePreeditText signal, to be run before the default handler. When overloading is enabled, this is equivalent to

on panelService #updatePreeditText callback

updateProperty

type C_PanelServiceUpdatePropertyCallback = Ptr () -> Ptr Property -> Ptr () -> IO () Source #

Type for the callback on the (unwrapped) C side.

type PanelServiceUpdatePropertyCallback Source #

Arguments

 = Property

prop: The IBusProperty to be updated.

-> IO () 

Emitted when the client application get the updateProperty. Implement the member function IBusPanelServiceClass[update_property](#g:signal:update_property) in extended class to receive this signal.

<note><para>Argument userData is ignored in this function.</para> </note>

afterPanelServiceUpdateProperty :: (IsPanelService a, MonadIO m) => a -> PanelServiceUpdatePropertyCallback -> m SignalHandlerId Source #

Connect a signal handler for the updateProperty signal, to be run after the default handler. When overloading is enabled, this is equivalent to

after panelService #updateProperty callback

onPanelServiceUpdateProperty :: (IsPanelService a, MonadIO m) => a -> PanelServiceUpdatePropertyCallback -> m SignalHandlerId Source #

Connect a signal handler for the updateProperty signal, to be run before the default handler. When overloading is enabled, this is equivalent to

on panelService #updateProperty callback