2020-01-13 12:41:05 -08:00
|
|
|
This document describes how Terminology interacts with themes and what needs
|
|
|
|
to be handled by themes.
|
|
|
|
|
|
|
|
See `ChangeLog.theme` on changes related to themes.
|
|
|
|
|
|
|
|
|
|
|
|
Windows contain group `terminology/base`.
|
|
|
|
|
|
|
|
|
|
|
|
# `terminology/base`
|
|
|
|
Contains what is global to a window.
|
|
|
|
|
|
|
|
## Swallowed parts
|
|
|
|
|
|
|
|
### `terminology.content`
|
|
|
|
where `terminology/background`, or a split widget can be swallowed.
|
|
|
|
|
|
|
|
### `terminology.cmdbox`
|
|
|
|
To swallow a command box.
|
|
|
|
It reacts to the following signals:
|
|
|
|
* `cmdbox,show`
|
|
|
|
* `cmdbox,hide`
|
|
|
|
|
|
|
|
### `terminology.about`
|
|
|
|
It reacts to the following signals:
|
|
|
|
* `about,show`
|
|
|
|
* `about,hide`
|
|
|
|
|
|
|
|
### `terminology.optdetails`
|
|
|
|
Detailed settings panel.
|
|
|
|
It reacts to the following signals:
|
|
|
|
* `optdetails,show`
|
|
|
|
* `optdetails,hide`
|
|
|
|
It emits the following signal:
|
|
|
|
* `optdetails,hide,done`
|
|
|
|
|
|
|
|
### `terminology.options`
|
|
|
|
It reacts to the following signals:
|
|
|
|
* `options,show`
|
|
|
|
* `options,hide`
|
|
|
|
|
|
|
|
### `terminology.controls`
|
|
|
|
The controls box shown on right click.
|
|
|
|
It reacts to the following signals:
|
|
|
|
* `controls,show`
|
|
|
|
* `controls,hide`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# `terminology/background`
|
|
|
|
|
|
|
|
## Swallowed parts
|
|
|
|
|
|
|
|
### `terminology.content`
|
|
|
|
Here is swallowed an object of group `terminology.background`.
|
|
|
|
|
2020-02-07 11:09:27 -08:00
|
|
|
### TODO
|
|
|
|
|
2020-02-23 12:50:35 -08:00
|
|
|
## Special parts
|
|
|
|
|
|
|
|
### `tabdrag` and `tabmiddle`
|
|
|
|
Their geometry are used to adjust drag values.
|
|
|
|
|
2020-03-25 14:13:43 -07:00
|
|
|
### `drag_left_outline`, `drag_right_outline`, `drag_top_outline`, `drag_bottom_outline` and `terminology.tabregion`
|
2020-02-25 14:43:16 -08:00
|
|
|
Their geometry are used to know when the cursor enters them when dragging a
|
|
|
|
tab.
|
|
|
|
|
2020-02-07 11:09:27 -08:00
|
|
|
## Signal received
|
|
|
|
### `tabbar,off` and `tabbar,on`
|
|
|
|
Whether to display a tab bar. Default is off.
|
|
|
|
### `tab_btn,off` and `tab_btn,on`
|
|
|
|
Whether to display a tab button to easily navigate through tabs. Default is off.
|
2020-02-25 14:43:16 -08:00
|
|
|
### `drag_left,on`, `drag_right,on`, `drag_top,on`, `drag_bottom,on`
|
|
|
|
When to start an animation when the cursor enters `drag_XXXX_outline` while
|
|
|
|
dragging a tab.
|
|
|
|
### `drag_left,off`, `drag_right,off`, `drag_top,off`, `drag_bottom,off`
|
|
|
|
When to stop an animation started by the related `*,on` signals.
|
2020-03-25 14:13:43 -07:00
|
|
|
### `drag_over_tabs,on` and `drag_over_tabs,off`
|
|
|
|
When the mouse, while dragging a tab, enters or leaves the tab region.
|
2020-04-13 11:27:35 -07:00
|
|
|
### `grouped,on` and `grouped,off`
|
|
|
|
When input is broadcast to multiple terminals.
|
2020-02-07 11:09:27 -08:00
|
|
|
|
|
|
|
### TODO
|
|
|
|
|
|
|
|
## Signal emitted
|
|
|
|
### `tab,hdrag`
|
|
|
|
To notify that the current tab is being dragged.
|
|
|
|
### `tab,drag,stop`
|
|
|
|
To notify that the current tab is no longer being dragged.
|
|
|
|
### `tab,drag,move`
|
|
|
|
To notify that the current tab is being dragged outside of other tabs.
|
|
|
|
|
|
|
|
### TODO
|
2020-01-13 12:41:05 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# `terminology/core`
|
|
|
|
|
|
|
|
## Swallowed parts
|
|
|
|
|
|
|
|
### `terminology.background`
|
|
|
|
|
|
|
|
Actual background.
|
|
|
|
It reacts to the following signals based on the media to play in background:
|
|
|
|
* `media,off`
|
|
|
|
* `media,image`
|
|
|
|
* `media,scale`
|
|
|
|
* `media,edje`
|
|
|
|
* `media,movie`
|
|
|
|
|
|
|
|
### `terminology.tabregion`
|
|
|
|
Here is swalloed a fully transparent rectangle to move down the textgrid.
|
|
|
|
|
|
|
|
### `terminology.content`
|
|
|
|
Where actual text grid goes.
|
|
|
|
|
|
|
|
## Signal received
|
|
|
|
### `tabbar,off` and `tabbar,on`
|
|
|
|
Whether to display a tab bar. Default is off.
|
|
|
|
### `tab_btn,off` and `tab_btn,on`
|
|
|
|
Whether to display a tab button to easily navigate through tabs. Default is off.
|
2020-02-07 11:09:27 -08:00
|
|
|
### `hdrag,on` and `hdrag,off`
|
|
|
|
Whether to restrict (default) horizontal tab drag
|
2020-01-13 12:41:05 -08:00
|
|
|
|
2020-01-19 09:02:18 -08:00
|
|
|
## Signal emitted
|
2020-02-07 11:09:27 -08:00
|
|
|
### `tab,drag` and `tab,drag,stop`
|
2020-01-19 09:02:18 -08:00
|
|
|
To notify that the current tab is being dragged.
|
2020-02-25 12:32:28 -08:00
|
|
|
### `tab,mouse,down`
|
2020-02-07 11:09:27 -08:00
|
|
|
Whenever the left mouse button is pressed on a tab.
|
2020-01-19 09:02:18 -08:00
|
|
|
|
2020-01-13 12:41:05 -08:00
|
|
|
|
|
|
|
|
|
|
|
# `terminology/about`
|
|
|
|
## Text parts
|
|
|
|
### `terminology.text`
|
|
|
|
The text of the __About__ message.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# `terminology.tabbar_back`
|
|
|
|
An inactive tab item
|
|
|
|
## Text parts
|
|
|
|
### `terminology.title`
|
|
|
|
Title of the tab.
|
|
|
|
|
|
|
|
## Signal emitted
|
|
|
|
### `tab,activate`
|
|
|
|
When clicked on it, to notify that the user wants to go to that tab.
|
|
|
|
|
|
|
|
## Signal received
|
|
|
|
### `bell`
|
2020-01-19 07:48:21 -08:00
|
|
|
To mark the tab as having missed a bell.
|
|
|
|
### `bell,off`
|
|
|
|
To unmark the tab as having missed a bell.
|
2020-04-14 13:06:53 -07:00
|
|
|
### `grouped,on` and `grouped,off`
|
|
|
|
When input is broadcast to multiple terminals.
|
2020-01-13 12:41:05 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# `terminology/keybinding`
|
|
|
|
__TODO__
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# `terminology/miniview`
|
|
|
|
__TODO__
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# `terminology/fontpreview`
|
|
|
|
__TODO__
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# `terminology/selection`
|
|
|
|
An object used when selecting text.
|
|
|
|
__TODO__
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# `terminology/cursor`
|
|
|
|
__TODO__
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# `terminology/cursor_bar`
|
|
|
|
__TODO__
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# `terminology/cursor_underline`
|
|
|
|
__TODO__
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# `terminology/sel/base`
|
|
|
|
__TODO__
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# `terminology/sel/item`
|
|
|
|
__TODO__
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# `terminology/link`
|
|
|
|
An object overlayd on text that is a link.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# `terminology/mediabusy`
|
|
|
|
__TODO__
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# `terminology/mediactrl`
|
|
|
|
__TODO__
|
2020-03-22 03:09:45 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# `terminology/tab_drag_thumb`
|
|
|
|
A thumbnail of a tab being dragged.
|
|
|
|
|
|
|
|
## Swallowed parts
|
|
|
|
### `terminology.content`
|
|
|
|
Here is swallowed an object of group `terminology.background`.
|
|
|
|
|
|
|
|
### `terminology.title`
|
|
|
|
Title of the tab.
|
|
|
|
|
|
|
|
## Signal received
|
|
|
|
### `bell`
|
|
|
|
To mark the tab as having missed a bell.
|