![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
dbus
文章平均质量分 72
neuharth
这个作者很懒,什么都没留下…
展开
-
用python处理dbus信号的例子,拿来就能用
# myservice.py # simple python-dbus service that exposes 1 method called hello() import gtk import dbus import dbus.service import dbus.glib class MyDBUSService(dbus.service.Object): def __init__(原创 2012-02-21 13:48:25 · 381 阅读 · 0 评论 -
dbus发送与接收数据入门例子
<!-- @page {margin:2cm} p {margin-bottom:0.21cm} a:link {} --> 1.dbus通信发送数据的代码例子: (1)//dbus-send-hello.c /* cc $(pkg-config --cflags --libs dbus-glib-1) -o dbus-send-hello d原创 2012-02-21 13:18:43 · 280 阅读 · 0 评论 -
dbus-python使用方法例子
#!/usr/bin/python import gtk import dbus bus = dbus.Bus(dbus.Bus.TYPE_SYSTEM) def goforit(interface, signal_name, service, path, message): print “Received signal %s from %s” % (signal_name, inter原创 2012-02-21 13:46:52 · 318 阅读 · 1 评论 -
c/gtk/libxml2/dbus参考资料
GObject对象系统 http://www.ibm.com/developerworks/cn/linux/l-gobject/index.html Linux C 函数 使用手册 http://man.ddvip.com/os/linuxcfunref/index.html 如何使用libxml2库? http://hi.baidu.com/zhftokyo/bl原创 2012-02-21 14:39:53 · 105 阅读 · 0 评论