docs: Move GdkEvent docs inline
This is not really worth a chapter of its own.
This commit is contained in:
committed by
Emmanuele Bassi
parent
ca3120919f
commit
3d04c0f4be
@@ -1,10 +0,0 @@
|
||||
Title: Events
|
||||
|
||||
## Handling events from the window system
|
||||
|
||||
In GTK applications the events are handled automatically by toplevel
|
||||
widgets and passed on to the event controllers of appropriate widgets,
|
||||
so using [class@Gdk.Event] and its related API is rarely needed.
|
||||
|
||||
[class@Gdk.Event] and its derived types are immutable data structures,
|
||||
created by GTK itself to represent windowing system events.
|
||||
@@ -34,7 +34,6 @@ base_url = "https://gitlab.gnome.org/GNOME/gtk/-/blob/master/"
|
||||
|
||||
[extra]
|
||||
content_files = [
|
||||
"events.md",
|
||||
"keys.md",
|
||||
"cairo.md",
|
||||
"pango.md",
|
||||
|
||||
@@ -41,8 +41,12 @@
|
||||
/**
|
||||
* GdkEvent: (ref-func gdk_event_ref) (unref-func gdk_event_unref)
|
||||
*
|
||||
* The GdkEvent struct contains only private fields and
|
||||
* should not be accessed directly.
|
||||
* `GdkEvent` and its derived types are immutable data structures,
|
||||
* created by GTK itself to represent windowing system events.
|
||||
*
|
||||
* In GTK applications the events are handled automatically by toplevel
|
||||
* widgets and passed on to the event controllers of appropriate widgets,
|
||||
* so using `GdkEvent` and its related API is rarely needed.
|
||||
*/
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user