Friday, October 24, 2008

GTK 如何傳遞signal ?


GTK 如何傳遞signal  ?

GTK透過GDK來處理事件,GDK會將每個接受到的XEvent轉換為GdkEvent,然後傳播給GtkWidget,引發一個與事件相對應的事件Signal,再透過Callback函式處理事件。

from 良葛格GTK學習筆記 GDK 事件結構



In the X Window System core protocol, only four kinds of packets are sent, asynchronously, over the network: requests, replies, events, and errors.

from wiki : X Window System core protocol

Xlib is an X Window System protocol client library in the C programming language. It contains functions for interacting with an X server. These functions allow programmers to write programs without knowing the details of the protocol.

from wiki : Xlib




還不太能講清楚說明白的東西 @@
先暫存一下 持續補筆記

No comments:

Post a Comment

發表一下意見,互動一下唄!

LinkWithin

Related Posts Plugin for WordPress, Blogger...

Adventure Book 2.0 Headline Animator

GoogleAd

funP Android 相關文章