📄 example-1.cc
字号:
// This program monitors the /apps/metacity/general/reduced_resources// gconf key, and allows the user to change it as well.#include "ExampleWindow.h"using namespace std;intmain (int argc, char *argv[]){ Gnome::Conf::init(); Gtk::Main kit(argc, argv); Glib::RefPtr<Gnome::Glade::Xml> all_da_widgets; // load the interface all_da_widgets = Gnome::Glade::Xml::create("example-1.glade"); // Get the main window ExampleWindow* window; all_da_widgets->get_widget_derived("MainWindow", window); // start the event loop Gtk::Main::run( *window ); return 0;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -