gtkmm学习笔记
xxw168
这个作者很懒,什么都没留下…
展开
-
windows eclipse gtkmm 开发环境配置(二)
windows eclipse gtkmm 开发环境配置(二)三、在Eclipse中直接设置开发gtkmm的方法利用pkg-config工具确实方便快捷,但也有个缺陷:Eclipse的智能感知功能发挥不了作用了。如:在本文(一)中,你会发现,编辑器提示不能确定头文件(Unresolved inclusion: )。这对于像我这样的业余编程爱好者可是太不方便了。在网上看到一篇博客http://blogold.chinaunix.net/u2/80326/showart_1332416.html,照这个思路设置原创 2011-05-11 00:20:00 · 2772 阅读 · 0 评论 -
gtkmm的中文文档
<br />本人英语太烂,比较关注中文文档。<br />收集了几个:<br />“官网”在进行中文化的工作,目前还不全:<br />1、GTK+ 和 GNOME 的 C++ 接口<br />2、Programming with gtkmm 3:前五章是中文的;我的学习笔记记录的是第七章;<br />其他网友也翻译了一些:gtkmm 的翻译计划 - LinuxSir.Org<br />它比较旧,好像缺我笔记中的那部分。有了这些,像我这样的英语烂的,也可以起步学习了。<br />菜鸟们,一起开始gtkmm之旅。原创 2011-05-03 09:16:00 · 2213 阅读 · 0 评论 -
7.2.8. Assistant
<br />学习gtkmm有几周了,英语太烂了,硬着头皮边看边记,还没把握,发上来,大家斧正<br />7.2.8. Assistant<br />AnAssistantsplits a complex operation into steps. Each step is a page, containing a header, a child widget and an action area. The Assistant's action area has navigation buttons whic翻译 2011-05-02 06:55:00 · 1764 阅读 · 0 评论 -
7.2.7. Notebook
<br />学习gtkmm有几周了,英语太烂了,硬着头皮边看边记,还没把握,发上来,大家斧正<br />7.2.7. Notebook<br />ANotebookhas a set of stackedpages, each of which contains widgets. Labelledtabsallow the user to select the pages.Notebooks allow several sets of widgets to be placed in a small spac翻译 2011-05-01 08:52:00 · 1694 阅读 · 0 评论 -
7.2.5. Grid
<br />学习gtkmm有几周了,英语太烂了,硬着头皮边看边记,还没把握,发上来,大家斧正<br />7.2.5. Grid(gtkmm 3, not gtkmm 2)<br />AGriddynamically lays out child widgets in rows and columns. The dimensions of the grid do not need to be specified in the constructor.<br />Grid容器以行和列的方式摆放子控件。不需要在构翻译 2011-04-29 06:59:00 · 1763 阅读 · 0 评论 -
7.2.6. Table
<br />学习gtkmm有几周了,英语太烂了,硬着头皮边看边记,还没把握,发上来,大家斧正<br />7.2.6. Table<br />Tables allows us to place widgets in a grid, similar toGtk::Grid.<br />Tables允许我们可以将控件放置在grid中,与Gtk::Grid类似。<br />§ 7.2.6.1. Constructor /构造<br />§ 7.2.6.2. Adding widgets /添加控件<br />§翻译 2011-04-30 07:19:00 · 1622 阅读 · 0 评论 -
7.2.4. ButtonBoxes
<br />学习gtkmm有几周了,英语太烂了,硬着头皮边看边记,还没把握,发上来,大家斧正<br />7.2.4. ButtonBoxes<br />Button boxes are a convenient way to quickly arrange a group of buttons. They come in both horizontal (Gtk::HButtonBox) and vertical (Gtk::VButtonBox) flavours. They are exactly al翻译 2011-04-28 08:57:00 · 1613 阅读 · 0 评论 -
7.2.3. Boxes
<br />学习gtkmm有几周了,英语太烂了,硬着头皮边看边记,还没把握,发上来,大家斧正<br />7.2.3. Boxes<br />Most packing uses boxes as in the above example. These are invisible containers into which we can pack our widgets. When packing widgets into a horizontal box, the objects are inserted h翻译 2011-04-26 08:57:00 · 1881 阅读 · 0 评论 -
7.1.5. Alignment
<br />学习gtkmm有几周了,英语太烂了,硬着头皮边看边记,还没把握,发上来,大家斧正<br />7.1.5. Alignment<br />The Alignment widget allows you to place a widget at a position and size relative to the size of the Alignment widget itself. For instance, it might be used to center a widget. <br /翻译 2011-04-24 09:38:00 · 1473 阅读 · 0 评论 -
7.1.4. AspectFrame
<br />学习gtkmm有几周了,英语太烂了,硬着头皮边看边记,还没把握,发上来,大家斧正<br /><br />7.1.4. AspectFrame<br />The AspectFrame widget looks like a Frame widget, but it also enforces the aspect ratio (the ratio of the width to the height) of the child widget, adding extra space if nece翻译 2011-04-23 09:04:00 · 1577 阅读 · 0 评论 -
Multiple-item widgets
学习gtkmm有几周了,英语太烂了,硬着头皮边看边记,还没把握,发上来,大家斧正Multiple-item widgets 多项容器控件Multiple-item widgets inherit from Gtk::Container; just as with Gtk::Bin, you use the add() and remove() methods to add and remove contained widgets. Unlike Gtk::Bin::remove(), however, th翻译 2011-04-25 13:21:00 · 1812 阅读 · 0 评论 -
Paned
<br />学习gtkmm有几周了,英语太烂了,硬着头皮边看边记,还没把握,发上来,大家斧正<br />7.1.2. Paned<br />Panesdivide a widget intotwo halves, separated by a moveable divider. There are two such widgets: Gtk::HPaned adds a horizontal divider, and Gtk::VPaned adds a vertical one. Other than t翻译 2011-04-21 08:49:00 · 1602 阅读 · 0 评论 -
Single-item Containers,Frame
<br />学习gtkmm有几周了,英语太烂了,硬着头皮边看边记,还没把握,发上来,大家斧正<br />Single-item Containers<br />单项容器<br />The single-item container widgets derive from Gtk::Bin, which provides the add() and remove() methods for the child widget. Note that Gtk::Button and Gtk::Window are翻译 2011-04-20 22:59:00 · 1884 阅读 · 0 评论 -
ScrolledWindow
<br />学习gtkmm有几周了,英语太烂了,硬着头皮边看边记,还没把握,发上来,大家斧正<br /><br />7.1.3. ScrolledWindow<br />ScrolledWindow widgets create a scrollable area. You can insert any type of widget into a ScrolledWindow window, and it will be accessible regardless of its size by using翻译 2011-04-22 10:03:00 · 1961 阅读 · 0 评论 -
windows eclipse gtkmm 开发环境配置(一)
windows eclipse gtkmm 开发环境配置(一)一、安装gtkmm在windows下安装好MinGW和MSYS、Eclipse _CDT,并设置好环境变量,Eclipse下能正常编译C++程序。Gtkmm为Windows 准备了安装程序,安装很方便,下载地址是:http://ftp.gnome.org/pub/GNOME/binaries/win32/gtkmm/我下的是gtkmm-win32-devel-2.22.0-2.exe。安装完成后安装程序还做了如下设置:1. 设置了原创 2011-05-09 23:31:00 · 2827 阅读 · 3 评论 -
在 Microsoft Visual Studio 2010 中使用 gtkmm
在 Microsoft Visual Studio 2010 中使用 gtkmm 安装 gtkmm创建带 gtkmm 支持的项目1. 入门2. 改正 main() 函数3. 改正 stdafx.h4. 添加代码创建一个简单的 gtkmm 窗口5. 为 gtkmm 添加 MSVC 属性(Property)文件6. 修改几个项目配置7. 关于 Windows 控制台安装 gtkmm安装Visual Studio,并且已配置好开发本机 Win32 应用程序的环境,您还必须原创 2011-05-05 23:40:00 · 3273 阅读 · 0 评论