Package: gtk

Interface gtk:native

Superclasses

gobject:object, common-lisp:standard-object, common-lisp:t

Documented Subclasses

Direct Slots

None

Details

The gtk:native interface is the interface implemented by all widgets that can provide a gdk:surface object for widgets to render on. The obvious example of a gtk:native widget is the gtk:window widget.

Every widget that is not itself a gtk:native widget is contained in one, and you can get it with the gtk:widget-native function. To get the surface of a gtk:native widget, use the gtk:native-surface function. It is also possible to find the gtk:native widget to which a surface belongs, with the gtk:native-for-surface function.

In addition to a gdk:surface object, a gtk:native widget also provides a gsk:renderer object for rendering on that surface. To get the renderer, use the gtk:native-renderer function.
 

Inherited Slot Access Functions

See also

2024-9-29