Class wmKeyMap


  • public class wmKeyMap
    extends CFacade
    Generated facet for DNA struct type 'wmKeyMap'.

    Class Documentation

    Blender Source Code

    stored in WM, the actively used keymaps

    • Field Detail

      • __DNA__SDNA_INDEX

        public static final int __DNA__SDNA_INDEX
        This is the sdna index of the struct wmKeyMap.

        It is required when allocating a new block to store data for wmKeyMap.

        See Also:
        StructDNA, BlockTable, Constant Field Values
      • __DNA__FIELD__next

        public static final long[] __DNA__FIELD__next
        Field descriptor (offset) for struct member 'next'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         wmKeyMap wmkeymap = ...;
         CPointer<Object> p = wmkeymap.__dna__addressof(wmKeyMap.__DNA__FIELD__next);
         CPointer<CPointer<wmKeyMap>> p_next = p.cast(new Class[]{CPointer.class, wmKeyMap.class});
         

        Metadata

        • Field: 'next'
        • Signature: 'wmKeyMap*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__prev

        public static final long[] __DNA__FIELD__prev
        Field descriptor (offset) for struct member 'prev'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         wmKeyMap wmkeymap = ...;
         CPointer<Object> p = wmkeymap.__dna__addressof(wmKeyMap.__DNA__FIELD__prev);
         CPointer<CPointer<wmKeyMap>> p_prev = p.cast(new Class[]{CPointer.class, wmKeyMap.class});
         

        Metadata

        • Field: 'prev'
        • Signature: 'wmKeyMap*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__items

        public static final long[] __DNA__FIELD__items
        Field descriptor (offset) for struct member 'items'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         wmKeyMap wmkeymap = ...;
         CPointer<Object> p = wmkeymap.__dna__addressof(wmKeyMap.__DNA__FIELD__items);
         CPointer<ListBase> p_items = p.cast(new Class[]{ListBase.class});
         

        Metadata

        • Field: 'items'
        • Signature: 'ListBase'
        • Actual Size (32bit/64bit): 8/16
      • __DNA__FIELD__diff_items

        public static final long[] __DNA__FIELD__diff_items
        Field descriptor (offset) for struct member 'diff_items'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         wmKeyMap wmkeymap = ...;
         CPointer<Object> p = wmkeymap.__dna__addressof(wmKeyMap.__DNA__FIELD__diff_items);
         CPointer<ListBase> p_diff_items = p.cast(new Class[]{ListBase.class});
         

        Metadata

        • Field: 'diff_items'
        • Signature: 'ListBase'
        • Actual Size (32bit/64bit): 8/16
      • __DNA__FIELD__idname

        public static final long[] __DNA__FIELD__idname
        Field descriptor (offset) for struct member 'idname'.

        Field Documentation

        Blender Source Code

        Global editor keymaps, or for more per space/region.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         wmKeyMap wmkeymap = ...;
         CPointer<Object> p = wmkeymap.__dna__addressof(wmKeyMap.__DNA__FIELD__idname);
         CPointer<CArrayFacade<Byte>> p_idname = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: 'idname'
        • Signature: 'char[64]'
        • Actual Size (32bit/64bit): 64/64
      • __DNA__FIELD__spaceid

        public static final long[] __DNA__FIELD__spaceid
        Field descriptor (offset) for struct member 'spaceid'.

        Field Documentation

        Blender Source Code

        Same IDs as in DNA_space_types.h .

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         wmKeyMap wmkeymap = ...;
         CPointer<Object> p = wmkeymap.__dna__addressof(wmKeyMap.__DNA__FIELD__spaceid);
         CPointer<Short> p_spaceid = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'spaceid'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__regionid

        public static final long[] __DNA__FIELD__regionid
        Field descriptor (offset) for struct member 'regionid'.

        Field Documentation

        Blender Source Code

        See above.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         wmKeyMap wmkeymap = ...;
         CPointer<Object> p = wmkeymap.__dna__addressof(wmKeyMap.__DNA__FIELD__regionid);
         CPointer<Short> p_regionid = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'regionid'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__owner_id

        public static final long[] __DNA__FIELD__owner_id
        Field descriptor (offset) for struct member 'owner_id'.

        Field Documentation

        Blender Source Code

        Optional, see: wmOwnerID .

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         wmKeyMap wmkeymap = ...;
         CPointer<Object> p = wmkeymap.__dna__addressof(wmKeyMap.__DNA__FIELD__owner_id);
         CPointer<CArrayFacade<Byte>> p_owner_id = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: 'owner_id'
        • Signature: 'char[64]'
        • Actual Size (32bit/64bit): 64/64
      • __DNA__FIELD__flag

        public static final long[] __DNA__FIELD__flag
        Field descriptor (offset) for struct member 'flag'.

        Field Documentation

        Blender Source Code

        General flags.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         wmKeyMap wmkeymap = ...;
         CPointer<Object> p = wmkeymap.__dna__addressof(wmKeyMap.__DNA__FIELD__flag);
         CPointer<Short> p_flag = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'flag'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__kmi_id

        public static final long[] __DNA__FIELD__kmi_id
        Field descriptor (offset) for struct member 'kmi_id'.

        Field Documentation

        Blender Source Code

        Last kmi id.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         wmKeyMap wmkeymap = ...;
         CPointer<Object> p = wmkeymap.__dna__addressof(wmKeyMap.__DNA__FIELD__kmi_id);
         CPointer<Short> p_kmi_id = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'kmi_id'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__modal_items

        public static final long[] __DNA__FIELD__modal_items
        Field descriptor (offset) for struct member 'modal_items'.

        Field Documentation

        Blender Source Code

        For modal, #EnumPropertyItem for now.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         wmKeyMap wmkeymap = ...;
         CPointer<Object> p = wmkeymap.__dna__addressof(wmKeyMap.__DNA__FIELD__modal_items);
         CPointer<CPointer<Object>> p_modal_items = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

        • Field: 'modal_items'
        • Signature: 'void*'
        • Actual Size (32bit/64bit): 4/8
    • Constructor Detail

      • wmKeyMap

        public wmKeyMap​(long __address,
                        Block __block,
                        BlockTable __blockTable)
      • wmKeyMap

        protected wmKeyMap​(wmKeyMap that)
    • Method Detail

      • setNext

        public void setNext​(CPointer<wmKeyMap> next)
                     throws java.io.IOException
        Set method for struct member 'next'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__next
      • setPrev

        public void setPrev​(CPointer<wmKeyMap> prev)
                     throws java.io.IOException
        Set method for struct member 'prev'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__prev
      • getItems

        public ListBase getItems()
                          throws java.io.IOException
        Get method for struct member 'items'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__items
      • setItems

        public void setItems​(ListBase items)
                      throws java.io.IOException
        Set method for struct member 'items'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__items
      • getDiff_items

        public ListBase getDiff_items()
                               throws java.io.IOException
        Get method for struct member 'diff_items'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__diff_items
      • setDiff_items

        public void setDiff_items​(ListBase diff_items)
                           throws java.io.IOException
        Set method for struct member 'diff_items'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__diff_items
      • getIdname

        public CArrayFacade<java.lang.Byte> getIdname()
                                               throws java.io.IOException
        Get method for struct member 'idname'.

        Field Documentation

        Blender Source Code

        Global editor keymaps, or for more per space/region.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__idname
      • setIdname

        public void setIdname​(CArrayFacade<java.lang.Byte> idname)
                       throws java.io.IOException
        Set method for struct member 'idname'.

        Field Documentation

        Blender Source Code

        Global editor keymaps, or for more per space/region.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__idname
      • getSpaceid

        public short getSpaceid()
                         throws java.io.IOException
        Get method for struct member 'spaceid'.

        Field Documentation

        Blender Source Code

        Same IDs as in DNA_space_types.h .

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__spaceid
      • setSpaceid

        public void setSpaceid​(short spaceid)
                        throws java.io.IOException
        Set method for struct member 'spaceid'.

        Field Documentation

        Blender Source Code

        Same IDs as in DNA_space_types.h .

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__spaceid
      • getRegionid

        public short getRegionid()
                          throws java.io.IOException
        Get method for struct member 'regionid'.

        Field Documentation

        Blender Source Code

        See above.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__regionid
      • setRegionid

        public void setRegionid​(short regionid)
                         throws java.io.IOException
        Set method for struct member 'regionid'.

        Field Documentation

        Blender Source Code

        See above.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__regionid
      • getOwner_id

        public CArrayFacade<java.lang.Byte> getOwner_id()
                                                 throws java.io.IOException
        Get method for struct member 'owner_id'.

        Field Documentation

        Blender Source Code

        Optional, see: wmOwnerID .

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__owner_id
      • setOwner_id

        public void setOwner_id​(CArrayFacade<java.lang.Byte> owner_id)
                         throws java.io.IOException
        Set method for struct member 'owner_id'.

        Field Documentation

        Blender Source Code

        Optional, see: wmOwnerID .

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__owner_id
      • getFlag

        public short getFlag()
                      throws java.io.IOException
        Get method for struct member 'flag'.

        Field Documentation

        Blender Source Code

        General flags.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • setFlag

        public void setFlag​(short flag)
                     throws java.io.IOException
        Set method for struct member 'flag'.

        Field Documentation

        Blender Source Code

        General flags.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • getKmi_id

        public short getKmi_id()
                        throws java.io.IOException
        Get method for struct member 'kmi_id'.

        Field Documentation

        Blender Source Code

        Last kmi id.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__kmi_id
      • setKmi_id

        public void setKmi_id​(short kmi_id)
                       throws java.io.IOException
        Set method for struct member 'kmi_id'.

        Field Documentation

        Blender Source Code

        Last kmi id.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__kmi_id
      • getModal_items

        public CPointer<java.lang.Object> getModal_items()
                                                  throws java.io.IOException
        Get method for struct member 'modal_items'.

        Field Documentation

        Blender Source Code

        For modal, #EnumPropertyItem for now.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__modal_items
      • setModal_items

        public void setModal_items​(CPointer<java.lang.Object> modal_items)
                            throws java.io.IOException
        Set method for struct member 'modal_items'.

        Field Documentation

        Blender Source Code

        For modal, #EnumPropertyItem for now.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__modal_items
      • __io__addressof

        public CPointer<wmKeyMap> __io__addressof()
        Instantiates a pointer on this instance.