
Linux/Gnu/Gnome
文章平均质量分 68
findsun
这个作者很懒,什么都没留下…
展开
-
Konqueror-Embedded之结构分析
Konqueror-Embedded之结构分析 KIO KIO 是一个网络使能的文件管理类库。这个库包含了几乎所有的你可能要用到的文件管理的方法。事实上,KDE中的文件管理器、Konqueror浏览器都使用KIO来提供它们网络使能的文件管理。。 把网络透明性移入到一个库文件中解决了在KDE1.x中曾经遇到的一个主要问题:应用程序通常依赖一个正在运行的kfm去为它们处理下载任务。显然,使原创 2004-07-31 09:17:00 · 4920 阅读 · 4 评论 -
X RECORD extension example
/* * To enable record extension in Xorg/XFree86, add the following line in * Section "Module" * Load "record" */#include #include #include #include #include #include #include #include #原创 2004-11-19 18:33:00 · 4982 阅读 · 1 评论 -
[zt] Codepage简介
1. Codepage的定义和历史字符内码(charcter code)指的是用来代表字符的内码.读者在输入和存储文档时都要使用内码,内码分为 单字节内码 -- Single-Byte character sets (SBCS),可以支持256个字符编码.双字节内码 -- Double-Byte character sets)(DBCS),可以支持65000个字符编码.主要用转载 2004-09-01 22:52:00 · 3557 阅读 · 0 评论 -
Gnome-vfs MIME type example
#include /* for strlen() */#include /* for ctime() */#include #include #include #ifdef LINUX# include /* for MAJOR() und MINOR() */#endif /* LINUX */int main (int argc, char **argv) { if (!gnom原创 2004-09-06 23:24:00 · 2642 阅读 · 0 评论 -
Use nocase string as g_hash_table's key
/* ghashtabledemo.c -- GHashTable demo */#include #include void print_entry(gpointer key, gpointer data, gpointer user_data){ /* user_data not used */ g_print("key: %-10s value: %-10s/n", (g原创 2004-08-24 22:14:00 · 2604 阅读 · 0 评论 -
How to debug shared librarys with gdb?
The simplest method (maybe the only method) is:1. set a break point in main()2. list the source code or symbol name of the shared library, and set the break point. You could use add-symbol-fil原创 2004-08-05 07:21:00 · 2748 阅读 · 0 评论 -
GtkHTML programming guide
http://primates.ximian.com/~rodo/programing_with_gtkhtml_tutorial/guadec.htmlSome useful functions of gtkhtml:1. gtk_html_begin_content(), then gtk_html_write(), at last gtk_html_end().2. gtk_ht原创 2004-08-05 01:51:00 · 2932 阅读 · 0 评论 -
Pango programming guide
If youre using any kind of non-default fonts, youll want to convert your code to use the new PangoFontDescription rather than GdkFont. PangoFontDescription is much, much easier to use; to load a Gdk原创 2004-08-04 07:16:00 · 5899 阅读 · 1 评论 -
[zt] Xft编程文档
http://www.linuxfans.org/nuke/modules.php?name=News&file=article&op=view&sid=1981 cjacker写著 Xft 编程技术一、首先有几点要说明的:1,字体技术已经越发的用户透明。两大UI及其衍生套间都已经还好的彻底封装了字体技术比如,GTK2 采用了pango字体引擎,Qt也很好的封装了Xft及X核心字体实现,所以转载 2004-08-04 06:52:00 · 3582 阅读 · 0 评论 -
[zt] Creating your own GTK+ widget & adding it to Glade Palette
http://wingtk.sourceforge.net/ishan/widget.html Creating your own GTK+ widget & adding it to Glade PaletteTutorial By: Ishan ChattopadhyayaIntroductionIn this tutorial we would be creating a转载 2004-08-04 06:49:00 · 3222 阅读 · 0 评论 -
[zt] The GTK+ Theme Architecture, version 2
http://www.gtk.org/~otaylor/gtk/2.0/theme-engines.htmlThe GTK+ Theme Architecture, version 2Theming, the ability for the user to choose different appearances for their applications, was added to G转载 2004-08-04 06:38:00 · 3810 阅读 · 0 评论 -
How to add a menuitem in Nautilus context menu.
1. In src/file-manager/ directory, add command section and menuitem section in nautilus-directory-view-ui.xml. ... _label=”Name _Convert” _tip=”Convert the file name”/> ...原创 2004-11-26 19:23:00 · 2645 阅读 · 0 评论