FAQ#32

How to match a GLFW window

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

Category: - Difficulty: Difficulty5
Assignee:- Due date:
Related issue:- Related Message:-
Related version:- Views:2038
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