> I can control the size of my pyqtgraph window below
> with 'resize'.
>
> But how can I control the position on the screen ?
> 
> import pyqtgraph as pg
> 
> w = pg.GraphicsWindow()
> w.resize(250,400)
> 
> for i in range(4):
>     w.addPlot(0, i)
> 
> def onClick(event):
>     but=event.button()
>     print("but: ",but)
> 
> w.scene().sigMouseClicked.connect(onClick)

  try .... 

  pos_x = 300
  pos_y = 400

  w.move( pos_x , pos_y )


-- 
Stanley C. Kitching
Human Being
Phoenix, Arizona
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to