gtk_example/main.cpp

16 lines
327 B
C++
Raw Normal View History

2023-03-05 16:37:31 +00:00
#include <gtkmm.h>
class GTKExample : public Gtk::Window {
public:
GTKExample();
};
GTKExample::GTKExample(){
set_title("GTK Example");
set_default_size(800, 450);
}
int main(int argc, char ** argv){
auto app = Gtk::Application::create("com.example.gtk");
return app->make_window_and_run<GTKExample>(argc, argv);
}