Document Actions
链接 2007-01-09
本文讨论了 GNOME2 桌面系统中基于 MIME 类型的应用程序集成的两种方法。在 GNOME2.8 前,GNOME2 使用自己的 MIME 定义方法来集成应用程序;从 2.8 开始,GNOME2 采用了 XDG(X Desktop Group) 提出的 MIME 数据库规范来集成应用程序。在介绍这两种方法的同时,本文也针对这两种方法,介绍了开发实践中的经验与技巧。本文适用于 LINUX 应用程序的开发人员。
object-oriented programming with ansi-c
No programming technique solves all problems.
No programming language produces only correct results.
No programmer should start each project from scratch.
Object Oriented Programming in C
This paper presents some programming techniques that allow large projects based on ISO C89 to get the benefits of object oriented design. It doesn't intend to be a course on OOP techniques and assumes the reader to have a good knowledge of the C language.
与许多人的凭空猜测不同,GTK+ 应用程序框架是一套面向对象的系统。这不仅意味着控件被封装在各自独立的类型中,仅通过接口与外界沟通,而且意味着你可以从继承现有的 GTK+ 类型入手,覆盖原有的方法,定制自己的新控件。
支撑 GTK+ 的对象系统已经从这个图形工具箱中剥离开来,称为 GObject,它与更底层的类型系统 GType 都位于一个与操作系统系统无关的库 glib 中。通过它不仅可以构建应用程序,甚至可以生产一整个对象库。
这篇文章由 Mathieu Lacage 所写,由于版权的原因,我们不能转贴在这里,甚至不能随意地翻译。

