twittersteam github

Débug extension gnome

  |   4  |  Scripts
Code BASH :
journalctl /usr/bin/gnome-shell -f -o cat


Code JAVASCRIPT :
global.log(myObject);



Code JAVASCRIPT :
const Main = imports.ui.main;
global.log(Object.getOwnPropertyNames(Main.panel.statusArea['aggregateMenu']));




Code JAVASCRIPT :
/*
  button-press-event: Emitted when the user presses the mouse over the actor.
  button-release-event: Emitted when the user releases the mouse over the actor.
  motion-event: Emitted when the user moves the mouse over the actor.
  enter-event: Emitted when the user moves the mouse in to the actor's area.
  leave-event: Emitted when the user moves the mouse out of the actor's area.
*/
button.connect('button-press-event', _debug);