 |
GTK+ Forums Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
|
|
|
| Author |
Message |
|
|
greencactusy
Joined: 25 Dec 2007 Posts: 1
|
Posted: Tue Dec 25, 2007 8:31 am Post subject: mouse event between desktop and widget |
|
|
If i press the mouse button on the Desktop and then move the cursor on the widget, the widget cannot know the mouse-button is pressed.
How could the widget know that the mouse button is already pressed and trigger the related event function?
Thanks |
|
| Back to top |
|
 |
caracal GTK+ Geek
Joined: 21 Jun 2007 Posts: 75 Location: Wilkes Barre Pa
|
Posted: Mon Jan 07, 2008 6:57 am Post subject: |
|
|
GDK
The GIMP Drawing Kit (GDK) is a computer graphics library originally designed for the
X Window System that wraps around low-level drawing and window functions. GDK acts as
the intermediary between Xlib and GTK+.
It renders drawings, raster graphics, cursors, and fonts in all GTK+ applications. Also,
since it is implemented in every GTK+ program, GDK provides drag-and-drop support and
window events.
GDK provides GTK+ widgets the ability to be drawn to the screen. To do this, every widget
has an associated GdkWindow object, except for a few widgets that will be discussed in a later
chapter. A GdkWindow is essentially a rectangular area located on the screen in which the widget
is drawn. GdkWindow objects also allow widgets to detect X Window System events.
| Quote: | | GdkWindow objects also allow widgets to detect X Window System events. |
Get Foundations of GTK+ Development :) |
|
| Back to top |
|
 |
|
Powered by phpBB © 2001, 2005 phpBB Group CodeBB 1.0 Beta 2
|