FAQ#31

How to match a GLFW window

Added by François-Xavier LdM over 4 years ago.

Category: Tagging Difficulty: Difficulty2
Assignee: - Due date:
Related issue: - Related Message: -
Related version: - Views: 1956
Valid: Valid

Answer

GLFW set the name of the window after the window get created, so you can't match a particular window by his name.

to match any GLFW window :

tag "glfw" do
    match name: "GLFW.*" 
    # your code
end

Also available in: PDF