
glib
石头
一个有理想的程序员。。。
展开
-
gtkmm create new gtype
http://comments.gmane.org/gmane.comp.gnome.gtkmm/13677That is a very GTK+ kind of thing, used to implement GTypes. For aGtk::Button it would be an intance of Gtk::Button_Class. That's declaredin转载 2013-08-20 17:14:18 · 1021 阅读 · 0 评论 -
GObject-based library
GOIO is an GObject-based, extensible I/O library. It is intended to supersede the GIOChannel of GLib.libgee is a collection library providing GObject-based interfaces and classes for commonly used原创 2013-08-08 14:57:56 · 905 阅读 · 0 评论 -
Valabind
ValabindValabind is a tool to parse vala[1] or vapi files to transformthem into swig[2] interface files, C++, NodeJS-ffi or GIR.With swig, you can create language bindings for any APIwritten in va转载 2013-08-08 09:15:05 · 826 阅读 · 0 评论 -
glib 中 IO Channels
G_IO_IN There is data to read.G_IO_OUT Data can be written (without blocking).G_IO_PRI There is urgent data to read.G_IO_ERR Error condition.G_IO_HUP Hung up (the connection has been broken, u转载 2012-10-30 14:24:25 · 893 阅读 · 0 评论 -
GObject Builder 介绍
GObject Builder 介绍GOB (GOB2 anyway) is a preprocessor for making GObjects with inline C code sothat generated files are not edited. Syntax is inspired by Java and Yacc orLex. The implementation is翻译 2012-04-01 19:39:34 · 739 阅读 · 0 评论 -
GObject Introspection bindings generator for Qt Projects
Smoke-GObject generates a heirachy of QMetaObjects from GObject Introspection typelib files. This allows the functions in GObject based libraries to be invoked as slots, and for GObject signals to be翻译 2012-03-19 11:00:14 · 839 阅读 · 0 评论 -
Pidl is an Interface Description Language for gobject c-code with automatic language bindings.
Pidl is an Interface Description Language for gobject c-code with automatic language bindings.The programmer mainly writes a .pidl file and writes .c files containing method implementations. Muc翻译 2012-03-12 17:29:09 · 618 阅读 · 0 评论 -
GTK+中的插件
GTK+中的插件简介: 很多朋友都知道,在Linux操作系统中可以用C语言来编写代码,经过简单的编译,就可以轻松的开发出静态链接库或动态链接库。一般情况下我们使用动态链接库,必需在编译过程中加入相应的标识,使编译出来的应用程序在运行时自动加载动态链接库;而插件(plug-in)实际上就是对动态链接库的一种灵活运用,应用程序绕开了编译过程中的链接这一操作环节,通过编码直接调用动态库中的函数和资源转载 2012-03-01 15:02:49 · 644 阅读 · 0 评论 -
glib中utf16的字节序
在glib中有许多操作unicode的函数,如g_utf8_to_utf16等,我们知道,utf16有大端(BE)和小端(LE)的区别,那么在glib中的utf16到底是大端还是小端呢,我们可以通过分析g_utf8_to_utf16函数的原码得出答案。在g_utf8_to_u原创 2011-08-26 13:27:27 · 1163 阅读 · 0 评论 -
glib 字符编码转换
g_locale_to_utf8从系统默认编码转换到utf8g_locale_from_utf8从utf8转本地编码原创 2011-08-26 11:41:18 · 1195 阅读 · 0 评论