Class Panel


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

    Class Documentation

    Blender Source Code

    The part from uiBlock that needs saved in file.

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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:

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

        Metadata

        • Field: 'next'
        • Signature: 'Panel*'
        • 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:

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

        Metadata

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

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

        Field Documentation

        Blender Source Code

        Runtime.

        Pointer Arithmetics

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

         Panel panel = ...;
         CPointer<Object> p = panel.__dna__addressof(Panel.__DNA__FIELD__type);
         CPointer<CPointer<Object>> p_type = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

        • Field: 'type'
        • Signature: 'PanelType*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__layout

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

        Field Documentation

        Blender Python API

        (read-only) Defines the structure of the panel in the UI

        Blender Source Code

        Runtime for drawing.

        Pointer Arithmetics

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

         Panel panel = ...;
         CPointer<Object> p = panel.__dna__addressof(Panel.__DNA__FIELD__layout);
         CPointer<CPointer<Object>> p_layout = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

        • Field: 'layout'
        • Signature: 'uiLayout*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__panelname

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

        Field Documentation

        Blender Source Code

        Defined as UI_MAX_NAME_STR.

        Pointer Arithmetics

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

         Panel panel = ...;
         CPointer<Object> p = panel.__dna__addressof(Panel.__DNA__FIELD__panelname);
         CPointer<CArrayFacade<Byte>> p_panelname = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

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

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

        Field Documentation

        Blender Source Code

        Panel name is identifier for restoring location.

        Pointer Arithmetics

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

         Panel panel = ...;
         CPointer<Object> p = panel.__dna__addressof(Panel.__DNA__FIELD__drawname);
         CPointer<CArrayFacade<Byte>> p_drawname = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

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

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

        Field Documentation

        Blender Source Code

        Offset within the region.

        Pointer Arithmetics

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

         Panel panel = ...;
         CPointer<Object> p = panel.__dna__addressof(Panel.__DNA__FIELD__ofsx);
         CPointer<Integer> p_ofsx = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'ofsx'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__ofsy

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

        Pointer Arithmetics

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

         Panel panel = ...;
         CPointer<Object> p = panel.__dna__addressof(Panel.__DNA__FIELD__ofsy);
         CPointer<Integer> p_ofsy = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'ofsy'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__sizex

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

        Field Documentation

        Blender Source Code

        Panel size including children.

        Pointer Arithmetics

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

         Panel panel = ...;
         CPointer<Object> p = panel.__dna__addressof(Panel.__DNA__FIELD__sizex);
         CPointer<Integer> p_sizex = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'sizex'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__sizey

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

        Pointer Arithmetics

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

         Panel panel = ...;
         CPointer<Object> p = panel.__dna__addressof(Panel.__DNA__FIELD__sizey);
         CPointer<Integer> p_sizey = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'sizey'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__blocksizex

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

        Field Documentation

        Blender Source Code

        Panel size excluding children.

        Pointer Arithmetics

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

         Panel panel = ...;
         CPointer<Object> p = panel.__dna__addressof(Panel.__DNA__FIELD__blocksizex);
         CPointer<Integer> p_blocksizex = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'blocksizex'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__blocksizey

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

        Pointer Arithmetics

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

         Panel panel = ...;
         CPointer<Object> p = panel.__dna__addressof(Panel.__DNA__FIELD__blocksizey);
         CPointer<Integer> p_blocksizey = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'blocksizey'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__labelofs

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

        Pointer Arithmetics

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

         Panel panel = ...;
         CPointer<Object> p = panel.__dna__addressof(Panel.__DNA__FIELD__labelofs);
         CPointer<Short> p_labelofs = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'labelofs'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__flag

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

        Pointer Arithmetics

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

         Panel panel = ...;
         CPointer<Object> p = panel.__dna__addressof(Panel.__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__runtime_flag

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

        Pointer Arithmetics

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

         Panel panel = ...;
         CPointer<Object> p = panel.__dna__addressof(Panel.__DNA__FIELD__runtime_flag);
         CPointer<Short> p_runtime_flag = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'runtime_flag'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD___pad

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

        Pointer Arithmetics

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

         Panel panel = ...;
         CPointer<Object> p = panel.__dna__addressof(Panel.__DNA__FIELD___pad);
         CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: '_pad'
        • Signature: 'char[6]'
        • Actual Size (32bit/64bit): 6/6
      • __DNA__FIELD__sortorder

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

        Field Documentation

        Blender Source Code

        s are aligned according to increasing sort-order.

        Pointer Arithmetics

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

         Panel panel = ...;
         CPointer<Object> p = panel.__dna__addressof(Panel.__DNA__FIELD__sortorder);
         CPointer<Integer> p_sortorder = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'sortorder'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__activedata

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

        Field Documentation

        Blender Source Code

        Runtime for panel manipulation.

        Pointer Arithmetics

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

         Panel panel = ...;
         CPointer<Object> p = panel.__dna__addressof(Panel.__DNA__FIELD__activedata);
         CPointer<CPointer<Object>> p_activedata = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

        • Field: 'activedata'
        • Signature: 'void*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__children

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

        Field Documentation

        Blender Source Code

        Sub panels.

        Pointer Arithmetics

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

         Panel panel = ...;
         CPointer<Object> p = panel.__dna__addressof(Panel.__DNA__FIELD__children);
         CPointer<ListBase> p_children = p.cast(new Class[]{ListBase.class});
         

        Metadata

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

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

        Pointer Arithmetics

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

         Panel panel = ...;
         CPointer<Object> p = panel.__dna__addressof(Panel.__DNA__FIELD__runtime);
         CPointer<Panel_Runtime> p_runtime = p.cast(new Class[]{Panel_Runtime.class});
         

        Metadata

        • Field: 'runtime'
        • Signature: 'Panel_Runtime'
        • Actual Size (32bit/64bit): 20/32
    • Constructor Detail

      • Panel

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

        protected Panel​(Panel that)
    • Method Detail

      • getNext

        public CPointer<Panel> getNext()
                                throws java.io.IOException
        Get method for struct member 'next'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__next
      • setNext

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

        public CPointer<Panel> getPrev()
                                throws java.io.IOException
        Get method for struct member 'prev'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__prev
      • setPrev

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

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

        Field Documentation

        Blender Source Code

        Runtime.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__type
      • setType

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

        Field Documentation

        Blender Source Code

        Runtime.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__type
      • getLayout

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

        Field Documentation

        Blender Python API

        (read-only) Defines the structure of the panel in the UI

        Blender Source Code

        Runtime for drawing.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__layout
      • setLayout

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

        Field Documentation

        Blender Python API

        (read-only) Defines the structure of the panel in the UI

        Blender Source Code

        Runtime for drawing.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__layout
      • getPanelname

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

        Field Documentation

        Blender Source Code

        Defined as UI_MAX_NAME_STR.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__panelname
      • setPanelname

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

        Field Documentation

        Blender Source Code

        Defined as UI_MAX_NAME_STR.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__panelname
      • getDrawname

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

        Field Documentation

        Blender Source Code

        Panel name is identifier for restoring location.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__drawname
      • setDrawname

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

        Field Documentation

        Blender Source Code

        Panel name is identifier for restoring location.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__drawname
      • getOfsx

        public int getOfsx()
                    throws java.io.IOException
        Get method for struct member 'ofsx'.

        Field Documentation

        Blender Source Code

        Offset within the region.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__ofsx
      • setOfsx

        public void setOfsx​(int ofsx)
                     throws java.io.IOException
        Set method for struct member 'ofsx'.

        Field Documentation

        Blender Source Code

        Offset within the region.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__ofsx
      • getOfsy

        public int getOfsy()
                    throws java.io.IOException
        Get method for struct member 'ofsy'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__ofsy
      • setOfsy

        public void setOfsy​(int ofsy)
                     throws java.io.IOException
        Set method for struct member 'ofsy'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__ofsy
      • getSizex

        public int getSizex()
                     throws java.io.IOException
        Get method for struct member 'sizex'.

        Field Documentation

        Blender Source Code

        Panel size including children.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__sizex
      • setSizex

        public void setSizex​(int sizex)
                      throws java.io.IOException
        Set method for struct member 'sizex'.

        Field Documentation

        Blender Source Code

        Panel size including children.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__sizex
      • getSizey

        public int getSizey()
                     throws java.io.IOException
        Get method for struct member 'sizey'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__sizey
      • setSizey

        public void setSizey​(int sizey)
                      throws java.io.IOException
        Set method for struct member 'sizey'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__sizey
      • getBlocksizex

        public int getBlocksizex()
                          throws java.io.IOException
        Get method for struct member 'blocksizex'.

        Field Documentation

        Blender Source Code

        Panel size excluding children.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__blocksizex
      • setBlocksizex

        public void setBlocksizex​(int blocksizex)
                           throws java.io.IOException
        Set method for struct member 'blocksizex'.

        Field Documentation

        Blender Source Code

        Panel size excluding children.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__blocksizex
      • getBlocksizey

        public int getBlocksizey()
                          throws java.io.IOException
        Get method for struct member 'blocksizey'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__blocksizey
      • setBlocksizey

        public void setBlocksizey​(int blocksizey)
                           throws java.io.IOException
        Set method for struct member 'blocksizey'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__blocksizey
      • getLabelofs

        public short getLabelofs()
                          throws java.io.IOException
        Get method for struct member 'labelofs'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__labelofs
      • setLabelofs

        public void setLabelofs​(short labelofs)
                         throws java.io.IOException
        Set method for struct member 'labelofs'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__labelofs
      • getFlag

        public short getFlag()
                      throws java.io.IOException
        Get method for struct member 'flag'.
        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'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • getRuntime_flag

        public short getRuntime_flag()
                              throws java.io.IOException
        Get method for struct member 'runtime_flag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__runtime_flag
      • setRuntime_flag

        public void setRuntime_flag​(short runtime_flag)
                             throws java.io.IOException
        Set method for struct member 'runtime_flag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__runtime_flag
      • get_pad

        public CArrayFacade<java.lang.Byte> get_pad()
                                             throws java.io.IOException
        Get method for struct member '_pad'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad
      • set_pad

        public void set_pad​(CArrayFacade<java.lang.Byte> _pad)
                     throws java.io.IOException
        Set method for struct member '_pad'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad
      • getSortorder

        public int getSortorder()
                         throws java.io.IOException
        Get method for struct member 'sortorder'.

        Field Documentation

        Blender Source Code

        s are aligned according to increasing sort-order.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__sortorder
      • setSortorder

        public void setSortorder​(int sortorder)
                          throws java.io.IOException
        Set method for struct member 'sortorder'.

        Field Documentation

        Blender Source Code

        s are aligned according to increasing sort-order.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__sortorder
      • getActivedata

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

        Field Documentation

        Blender Source Code

        Runtime for panel manipulation.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__activedata
      • setActivedata

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

        Field Documentation

        Blender Source Code

        Runtime for panel manipulation.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__activedata
      • getChildren

        public ListBase getChildren()
                             throws java.io.IOException
        Get method for struct member 'children'.

        Field Documentation

        Blender Source Code

        Sub panels.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__children
      • setChildren

        public void setChildren​(ListBase children)
                         throws java.io.IOException
        Set method for struct member 'children'.

        Field Documentation

        Blender Source Code

        Sub panels.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__children
      • getRuntime

        public Panel_Runtime getRuntime()
                                 throws java.io.IOException
        Get method for struct member 'runtime'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__runtime
      • setRuntime

        public void setRuntime​(Panel_Runtime runtime)
                        throws java.io.IOException
        Set method for struct member 'runtime'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__runtime
      • __io__addressof

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