FAQ#30

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: 1837
Valid: Valid

Answer

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

to match any GLFW window :

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

Also available in: PDF