Package ch.bailu.gtk.gdk
Class PaintableInterface
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.type.Record
ch.bailu.gtk.gdk.PaintableInterface
- All Implemented Interfaces:
PointerInterface
The list of functions that can be implemented for the `GdkPaintable`
interface.
Note that apart from the [vfunc@Gdk.Paintable.snapshot] function,
no virtual function of this interface is mandatory to implement, though it
is a good idea to implement [vfunc@Gdk.Paintable.get_current_image]
for non-static paintables and [vfunc@Gdk.Paintable.get_flags] if the
image is not dynamic as the default implementation returns no flags and
that will make the implementation likely quite slow.
interface.
Note that apart from the [vfunc@Gdk.Paintable.snapshot] function,
no virtual function of this interface is mandatory to implement, though it
is a good idea to implement [vfunc@Gdk.Paintable.get_current_image]
for non-static paintables and [vfunc@Gdk.Paintable.get_flags] if the
image is not dynamic as the default implementation returns no flags and
that will make the implementation likely quite slow.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interfacestatic interfacestatic interfacestatic interfacestatic interface -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ClassHandlerch.bailu.gtk.gdk.JnaPaintableInterface.OnGetCurrentImagech.bailu.gtk.gdk.JnaPaintableInterface.OnGetFlagsch.bailu.gtk.gdk.JnaPaintableInterface.OnGetIntrinsicAspectRatioch.bailu.gtk.gdk.JnaPaintableInterface.OnGetIntrinsicHeightch.bailu.gtk.gdk.JnaPaintableInterface.OnGetIntrinsicWidthch.bailu.gtk.gdk.JnaPaintableInterface.OnSnapshotstatic intstatic TypeSystem.TypeSizestatic TypeSystem.TypeSizevoidsetFieldGetCurrentImage(PaintableInterface.OnGetCurrentImage get_current_image) voidsetFieldGetFlags(PaintableInterface.OnGetFlags get_flags) voidsetFieldGetIntrinsicAspectRatio(PaintableInterface.OnGetIntrinsicAspectRatio get_intrinsic_aspect_ratio) voidsetFieldGetIntrinsicHeight(PaintableInterface.OnGetIntrinsicHeight get_intrinsic_height) voidsetFieldGetIntrinsicWidth(PaintableInterface.OnGetIntrinsicWidth get_intrinsic_width) voidMethods inherited from class ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacksMethods inherited from class ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNullMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Field Details
-
G_IFACE
Private field: direct-type- See Also:
-
SNAPSHOT
- See Also:
-
GET_CURRENT_IMAGE
- See Also:
-
GET_FLAGS
- See Also:
-
GET_INTRINSIC_WIDTH
- See Also:
-
GET_INTRINSIC_HEIGHT
- See Also:
-
GET_INTRINSIC_ASPECT_RATIO
- See Also:
-
-
Constructor Details
-
PaintableInterface
-
PaintableInterface
public PaintableInterface()
-
-
Method Details
-
getClassHandler
-
setFieldSnapshot
-
getFieldSnapshot
public ch.bailu.gtk.gdk.JnaPaintableInterface.OnSnapshot getFieldSnapshot() -
setFieldGetCurrentImage
-
getFieldGetCurrentImage
public ch.bailu.gtk.gdk.JnaPaintableInterface.OnGetCurrentImage getFieldGetCurrentImage() -
setFieldGetFlags
-
getFieldGetFlags
public ch.bailu.gtk.gdk.JnaPaintableInterface.OnGetFlags getFieldGetFlags() -
setFieldGetIntrinsicWidth
-
getFieldGetIntrinsicWidth
public ch.bailu.gtk.gdk.JnaPaintableInterface.OnGetIntrinsicWidth getFieldGetIntrinsicWidth() -
setFieldGetIntrinsicHeight
public void setFieldGetIntrinsicHeight(PaintableInterface.OnGetIntrinsicHeight get_intrinsic_height) -
getFieldGetIntrinsicHeight
public ch.bailu.gtk.gdk.JnaPaintableInterface.OnGetIntrinsicHeight getFieldGetIntrinsicHeight() -
setFieldGetIntrinsicAspectRatio
public void setFieldGetIntrinsicAspectRatio(PaintableInterface.OnGetIntrinsicAspectRatio get_intrinsic_aspect_ratio) -
getFieldGetIntrinsicAspectRatio
public ch.bailu.gtk.gdk.JnaPaintableInterface.OnGetIntrinsicAspectRatio getFieldGetIntrinsicAspectRatio() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-