⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 frame.cc

📁 gfc编程示例 gfc sample of Linux GFC
💻 CC
字号:
#include "frame.hh"#include <gfc/gtk/box.hh>#include <gfc/gtk/frame.hh>FrameWindow::FrameWindow(){	set_title("Frame Example");	set_size_request(300, 300);	// Sets the border width of the window.	set_border_width(10);	// Create a Frame	Gtk::Frame *frame = new Gtk::Frame;	add(*frame);	// Set the frame's label	frame->set_label(" GFC Frame Widget ");	// Align the label at the right of the frame	frame->set_label_align(1.0, 0.0);	// Set the style of the frame	frame->set_shadow_type(Gtk::SHADOW_ETCHED_OUT);	frame->show();}FrameWindow::~FrameWindow(){}GFC_MAIN(FrameWindow)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -