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
Modifier and TypeClassDescriptionstatic interface
static interface
static interface
static interface
static interface
static interface
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ClassHandler
ch.bailu.gtk.gdk.JnaPaintableInterface.OnGetCurrentImage
ch.bailu.gtk.gdk.JnaPaintableInterface.OnGetFlags
ch.bailu.gtk.gdk.JnaPaintableInterface.OnGetIntrinsicAspectRatio
ch.bailu.gtk.gdk.JnaPaintableInterface.OnGetIntrinsicHeight
ch.bailu.gtk.gdk.JnaPaintableInterface.OnGetIntrinsicWidth
ch.bailu.gtk.gdk.JnaPaintableInterface.OnSnapshot
static int
static TypeSystem.TypeSize
static TypeSystem.TypeSize
void
setFieldGetCurrentImage
(PaintableInterface.OnGetCurrentImage get_current_image) void
setFieldGetFlags
(PaintableInterface.OnGetFlags get_flags) void
setFieldGetIntrinsicAspectRatio
(PaintableInterface.OnGetIntrinsicAspectRatio get_intrinsic_aspect_ratio) void
setFieldGetIntrinsicHeight
(PaintableInterface.OnGetIntrinsicHeight get_intrinsic_height) void
setFieldGetIntrinsicWidth
(PaintableInterface.OnGetIntrinsicWidth get_intrinsic_width) void
Methods inherited from class ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacks
Methods inherited from class ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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()
-