Module hooks

Source
Expand description

Weechat Hook module.

Weechat hooks are used for many different things, to create commands, to listen to events on a file descriptor, add completions to Weechat, etc.

Structs§

BarItem
A handle to a bar item. The bar item is automatically removed when the object is dropped.
Command
Hook for a weechat command, the command is removed when the object is dropped.
CommandRun
Hook for a weechat command, the hook is removed when the object is dropped.
CommandSettings
Description for a new Weechat command that should be created.
Completion
A handle to a completion item.
CompletionHook
Hook for a completion item, the hook is removed when the object is dropped.
FdHook
Hook for a file descriptor, the hook is removed when the object is dropped.
ModifierHook
Hook for a modifier, the hook is removed when the object is dropped.
SignalHook
Hook for a signal, the hook is removed when the object is dropped.
TimerHook
A hook for a timer, the hook will be removed when the object is dropped.

Enums§

CompletionPosition
The positions an entry can be added to a completion list.
FdHookMode
Setting for the FdHook.
ModifierData
Enum over the different data types a modifier may send.
RemainingCalls
Enum representing how many calls a timer still has.
SignalData
Enum over the different data types a signal may send.

Traits§

BarItemCallback
Trait for the bar item callback
CommandCallback
Trait for the command callback
CommandRunCallback
Trait for the command-run callback
CompletionCallback
Trait for the completion callback.
FdHookCallback
Callback trait for file descriptor based hooks.
ModifierCallback
Trait for the modifier callback.
SignalCallback
Trait for the signal callback.
TimerCallback
Trait for the timer callback