gnome笔记
2019-09-19使用
2019-09-19
调试
使用log
- 在终端接收
log:
journalctl /usr/bin/gnome-shell -f |
- 在
js中使用log(message)打印log
卡死(没用,TODO)
ctrl+alt+f3切换终端DISPLAY=:0 gnome-shell
函数
TODO
set_position(int, int):TODO(数据类型)set_chlild(?)connect(String e, function f):监听事件e,之后执行finsert_child_at_index(?, int):TODOremove_child()
const St = imports.gi.St
St.Bin({}):按钮style_classreactivecan_focusx_filly_filltrack_hover
St.Icon({}):图标icon_namestyle_class
St.Label({}):TODOstyle_classtext
const Main = imports.ui.main
Main.uiGroup.add_actor():TODOMain.uiGroup.remove_actor():TODOMain.layoutManager.primaryMonitor:TODO
Tweener = imports.ui.tweener
Tweener.addTween(?, {}):TODOopacitytimetransitiononComplete:回调函数
元素
pannel:状态栏_rightBox_leftBox