]> git.tdb.fi Git - libs/gui.git/commitdiff
Set window title for ev
authorMikko Rasa <tdb@tdb.fi>
Tue, 1 Oct 2013 11:20:06 +0000 (14:20 +0300)
committerMikko Rasa <tdb@tdb.fi>
Wed, 2 Oct 2013 07:43:02 +0000 (10:43 +0300)
examples/ev.cpp

index 96a2f9eb45c0bcf39c1496c17cff06d466a90f1b..e164879993a9db3190ac63d747d63df89a6a5efb 100644 (file)
@@ -41,6 +41,7 @@ Ev::Ev(int, char **):
        mouse.signal_button_press.connect(sigc::bind_return(sigc::mem_fun(this, &Ev::button_press), false));
        mouse.signal_button_release.connect(sigc::bind_return(sigc::mem_fun(this, &Ev::button_release), false));
        mouse.signal_axis_motion.connect(sigc::bind_return(sigc::mem_fun(this, &Ev::axis_motion), false));
+       window.set_title("Event tester");
        window.show();
 }