Difference between revisions of "Toolbar Rewrite"
Jump to navigation
Jump to search
(Created page with " A page to explore rewriting the Toolbox widget == Current Situation == Toolbars: * Tools: Now a Flowbox * Snapping: Now a Popover * Main: (File ops, Undo/Redo, Copy/Paste,...") |
(No difference)
|
Revision as of 07:38, 15 October 2021
A page to explore rewriting the Toolbox widget
Current Situation
Toolbars:
- Tools: Now a Flowbox
- Snapping: Now a Popover
- Main: (File ops, Undo/Redo, Copy/Paste, etc.) Two possible positions/orientations.
- Auxiliary : Changes depending on which tool is active.
Widget Structure
Tools
GtkEventBox "ToolboxCommon"
GtkBox "ToolToolbox
GtkFlowbox "tool-toolbox"
GtkFlowboxChild
GtkToggleButton
GktFlowboxChild
...
Snap
GtkEventBox "ToolboxCommon"
GtkBox "SnapToolbox
GtkToolbar "snap-toolbox"
GtkToggleToolButton
GktToolButton
GtkToolItem "tool-item-advanced"
GtkMenuButton "btn-advanced"
GtkToolItem "tool-item-simple"
GtkMenuButton "btn-simple"
Main
GtkEventBox "ToolboxCommon"
GtkToolbar "CommandsToolbar"
GtkToolButton "FileNew"
GtkButton
GtkToolButton "FileOpen"
...
Auxillary
GtkEventBox "ToolboxCommon"
GtkBox "AuxToolBox"
GtkGrid "SelectToolbar"
GtkToolbar "SubToolbar"
GtkToolButton
GtkButton
...
GtkGrid "NodeToolbar"
...