This simple code knows all windows names on a desktop (you need activate
gb.desktop and gb.desktop.x11 components):
Public Sub Button1_Click()
Dim i As Integer
For i = 0 To Desktop.Windows.Count - 1
Print Desktop.Windows[i].VisibleName
Next
End
bye
--------------------------------------------
Gio 24/7/14, Antonio Sánchez <[email protected]> ha scritto:
Oggetto: [Gambas-user] Embedded doesn't work
A: "mailing list for gambas users" <[email protected]>
Data: Giovedì 24 luglio 2014, 16:34
How can I get a list of all windows
names detected for Desktop.FindWindow?
In the example of gambas called Embedder I can't embed
anything, it always
says "Window not found!"
I tryed with simple applications like mate-calculator or
Leafpad.
I can see their tittles with wmctrl -l and with xprop, but
Desktop.FindWindow doesn't detect anything.
Thanks.
------------------------------------------------------------------------------
Want fast and easy access to all the code in your
enterprise? Index and
search up to 200,000 lines of code with a free copy of Black
Duck
Code Sight - the same software that powers the world's
largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user