Package org.gnome.gtk
Class LayoutManager.LayoutManagerClass
java.lang.Object
io.github.jwharm.javagi.base.ProxyInstance
org.gnome.gobject.TypeClass
org.gnome.gobject.GObject.ObjectClass
org.gnome.gtk.LayoutManager.LayoutManagerClass
- All Implemented Interfaces:
Proxy
- Direct Known Subclasses:
BinLayout.BinLayoutClass
,BoxLayout.BoxLayoutClass
,CenterLayout.CenterLayoutClass
,ClampLayout.ClampLayoutClass
,ConstraintLayout.ConstraintLayoutClass
,FixedLayout.FixedLayoutClass
,GridLayout.GridLayoutClass
,OverlayLayout.OverlayLayoutClass
- Enclosing class:
LayoutManager
The
GtkLayoutManagerClass
structure contains only private data, and
should only be accessed through the provided API, or when subclassing
GtkLayoutManager
.-
Constructor Summary
ConstructorDescriptionAllocate a new LayoutManagerClass.LayoutManagerClass
(Arena arena) Allocate a new LayoutManagerClass.LayoutManagerClass
(MemorySegment address) Create a LayoutManagerClass proxy instance for the provided memory address. -
Method Summary
Modifier and TypeMethodDescriptionstatic MemoryLayout
The memory layout of the native struct.void
overrideAllocate
(Arena arena, Method method) Override virtual methodallocate
.void
overrideCreateLayoutChild
(Arena arena, Method method) Override virtual methodcreate_layout_child
.void
overrideGetRequestMode
(Arena arena, Method method) Override virtual methodget_request_mode
.void
overrideMeasure
(Arena arena, Method method) Override virtual methodmeasure
.void
overrideRoot
(Arena arena, Method method) Override virtual methodroot
.void
overrideUnroot
(Arena arena, Method method) Override virtual methodunroot
.Read the value of the fieldlayout_child_type
.Read the value of the field_padding
.void
writeLayoutChildType
(Type layoutChildType) Write a value in the fieldlayout_child_type
.void
writePadding
(MemorySegment[] Padding, Arena _arena) Write a value in the field_padding
.Methods inherited from class org.gnome.gobject.GObject.ObjectClass
findProperty, installProperties, installProperty, listProperties, overrideConstructed, overrideConstructor, overrideDispatchPropertiesChanged, overrideDispose, overrideFinalize, overrideGetProperty, overrideNotify, overrideProperty, overrideSetProperty, readFlags, readNConstructProperties, readNPspecs, readPdummy, readPspecs, writeFlags, writeNConstructProperties, writeNPspecs, writePdummy, writePspecs
Methods inherited from class org.gnome.gobject.TypeClass
addPrivate, adjustPrivateOffset, getInstancePrivateOffset, getPrivate, peek, peekParent, peekStatic, readGType, ref, unref, unrefUncached, writeGType
Methods inherited from class io.github.jwharm.javagi.base.ProxyInstance
equals, handle, hashCode
-
Constructor Details
-
LayoutManagerClass
Create a LayoutManagerClass proxy instance for the provided memory address.- Parameters:
address
- the memory address of the native object
-
LayoutManagerClass
Allocate a new LayoutManagerClass.- Parameters:
arena
- to control the memory allocation scope
-
LayoutManagerClass
public LayoutManagerClass()Allocate a new LayoutManagerClass. The memory is allocated withArena.ofAuto()
.
-
-
Method Details
-
getMemoryLayout
The memory layout of the native struct.- Returns:
- the memory layout
-
overrideGetRequestMode
-
overrideMeasure
-
overrideAllocate
-
readLayoutChildType
Read the value of the fieldlayout_child_type
.- Returns:
- The value of the field
layout_child_type
-
writeLayoutChildType
Write a value in the fieldlayout_child_type
.- Parameters:
layoutChildType
- The new value for the fieldlayout_child_type
-
overrideCreateLayoutChild
-
overrideRoot
-
overrideUnroot
-
readPadding
Read the value of the field_padding
.- Returns:
- The value of the field
_padding
-
writePadding
Write a value in the field_padding
.- Parameters:
Padding
- The new value for the field_padding
_arena
- to control the memory allocation scope
-