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.
- Command
Run - Hook for a weechat command, the hook is removed when the object is dropped.
- Command
Settings - Description for a new Weechat command that should be created.
- Completion
- A handle to a completion item.
- Completion
Hook - 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.
- Modifier
Hook - Hook for a modifier, the hook is removed when the object is dropped.
- Signal
Hook - Hook for a signal, the hook is removed when the object is dropped.
- Timer
Hook - A hook for a timer, the hook will be removed when the object is dropped.
Enums§
- Completion
Position - The positions an entry can be added to a completion list.
- FdHook
Mode - Setting for the FdHook.
- Modifier
Data - Enum over the different data types a modifier may send.
- Remaining
Calls - Enum representing how many calls a timer still has.
- Signal
Data - Enum over the different data types a signal may send.
Traits§
- BarItem
Callback - Trait for the bar item callback
- Command
Callback - Trait for the command callback
- Command
RunCallback - Trait for the command-run callback
- Completion
Callback - Trait for the completion callback.
- FdHook
Callback - Callback trait for file descriptor based hooks.
- Modifier
Callback - Trait for the modifier callback.
- Signal
Callback - Trait for the signal callback.
- Timer
Callback - Trait for the timer callback