Class SpaceConsole


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

    Class Documentation

    Blender Source Code

    Console View

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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:

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

        Metadata

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

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

        Metadata

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

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

        Field Documentation

        Blender Source Code

        Storage of regions for inactive spaces.

        Pointer Arithmetics

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

         SpaceConsole spaceconsole = ...;
         CPointer<Object> p = spaceconsole.__dna__addressof(SpaceConsole.__DNA__FIELD__regionbase);
         CPointer<ListBase> p_regionbase = p.cast(new Class[]{ListBase.class});
         

        Metadata

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

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

        Pointer Arithmetics

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

         SpaceConsole spaceconsole = ...;
         CPointer<Object> p = spaceconsole.__dna__addressof(SpaceConsole.__DNA__FIELD__spacetype);
         CPointer<Byte> p_spacetype = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'spacetype'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__link_flag

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

        Pointer Arithmetics

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

         SpaceConsole spaceconsole = ...;
         CPointer<Object> p = spaceconsole.__dna__addressof(SpaceConsole.__DNA__FIELD__link_flag);
         CPointer<Byte> p_link_flag = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'link_flag'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD___pad0

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

        Pointer Arithmetics

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

         SpaceConsole spaceconsole = ...;
         CPointer<Object> p = spaceconsole.__dna__addressof(SpaceConsole.__DNA__FIELD___pad0);
         CPointer<CArrayFacade<Byte>> p__pad0 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

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

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

        Field Documentation

        Blender Source Code

        End 'SpaceLink ' header. space vars

        Pointer Arithmetics

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

         SpaceConsole spaceconsole = ...;
         CPointer<Object> p = spaceconsole.__dna__addressof(SpaceConsole.__DNA__FIELD__lheight);
         CPointer<Integer> p_lheight = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'lheight'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __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:

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

        Metadata

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

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

        Field Documentation

        Blender Python API

        (read-only) Command output

        Blender Source Code

        ConsoleLine ; output.

        Pointer Arithmetics

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

         SpaceConsole spaceconsole = ...;
         CPointer<Object> p = spaceconsole.__dna__addressof(SpaceConsole.__DNA__FIELD__scrollback);
         CPointer<ListBase> p_scrollback = p.cast(new Class[]{ListBase.class});
         

        Metadata

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

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

        Field Documentation

        Blender Python API

        (read-only) Command history

        Blender Source Code

        ConsoleLine ; command history, current edited line is the first.

        Pointer Arithmetics

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

         SpaceConsole spaceconsole = ...;
         CPointer<Object> p = spaceconsole.__dna__addressof(SpaceConsole.__DNA__FIELD__history);
         CPointer<ListBase> p_history = p.cast(new Class[]{ListBase.class});
         

        Metadata

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

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

        Field Documentation

        Blender Python API

        Command line prompt

        Pointer Arithmetics

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

         SpaceConsole spaceconsole = ...;
         CPointer<Object> p = spaceconsole.__dna__addressof(SpaceConsole.__DNA__FIELD__prompt);
         CPointer<CArrayFacade<Byte>> p_prompt = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: 'prompt'
        • Signature: 'char[256]'
        • Actual Size (32bit/64bit): 256/256
      • __DNA__FIELD__language

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

        Field Documentation

        Blender Python API

        Command line prompt language

        Blender Source Code

        Multiple consoles are possible, not just python.

        Pointer Arithmetics

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

         SpaceConsole spaceconsole = ...;
         CPointer<Object> p = spaceconsole.__dna__addressof(SpaceConsole.__DNA__FIELD__language);
         CPointer<CArrayFacade<Byte>> p_language = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

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

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

        Field Documentation

        Blender Source Code

        Selection offset in bytes.

        Pointer Arithmetics

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

         SpaceConsole spaceconsole = ...;
         CPointer<Object> p = spaceconsole.__dna__addressof(SpaceConsole.__DNA__FIELD__sel_start);
         CPointer<Integer> p_sel_start = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'sel_start'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__sel_end

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

        Pointer Arithmetics

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

         SpaceConsole spaceconsole = ...;
         CPointer<Object> p = spaceconsole.__dna__addressof(SpaceConsole.__DNA__FIELD__sel_end);
         CPointer<Integer> p_sel_end = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'sel_end'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
    • Constructor Detail

      • SpaceConsole

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

        protected SpaceConsole​(SpaceConsole that)
    • Method Detail

      • setNext

        public void setNext​(CPointer<SpaceLink> 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<SpaceLink> prev)
                     throws java.io.IOException
        Set method for struct member 'prev'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__prev
      • getRegionbase

        public ListBase getRegionbase()
                               throws java.io.IOException
        Get method for struct member 'regionbase'.

        Field Documentation

        Blender Source Code

        Storage of regions for inactive spaces.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__regionbase
      • setRegionbase

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

        Field Documentation

        Blender Source Code

        Storage of regions for inactive spaces.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__regionbase
      • getSpacetype

        public byte getSpacetype()
                          throws java.io.IOException
        Get method for struct member 'spacetype'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__spacetype
      • setSpacetype

        public void setSpacetype​(byte spacetype)
                          throws java.io.IOException
        Set method for struct member 'spacetype'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__spacetype
      • getLink_flag

        public byte getLink_flag()
                          throws java.io.IOException
        Get method for struct member 'link_flag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__link_flag
      • setLink_flag

        public void setLink_flag​(byte link_flag)
                          throws java.io.IOException
        Set method for struct member 'link_flag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__link_flag
      • get_pad0

        public CArrayFacade<java.lang.Byte> get_pad0()
                                              throws java.io.IOException
        Get method for struct member '_pad0'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad0
      • set_pad0

        public void set_pad0​(CArrayFacade<java.lang.Byte> _pad0)
                      throws java.io.IOException
        Set method for struct member '_pad0'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad0
      • getLheight

        public int getLheight()
                       throws java.io.IOException
        Get method for struct member 'lheight'.

        Field Documentation

        Blender Source Code

        End 'SpaceLink ' header. space vars

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__lheight
      • setLheight

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

        Field Documentation

        Blender Source Code

        End 'SpaceLink ' header. space vars

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__lheight
      • 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
      • getScrollback

        public ListBase getScrollback()
                               throws java.io.IOException
        Get method for struct member 'scrollback'.

        Field Documentation

        Blender Python API

        (read-only) Command output

        Blender Source Code

        ConsoleLine ; output.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__scrollback
      • setScrollback

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

        Field Documentation

        Blender Python API

        (read-only) Command output

        Blender Source Code

        ConsoleLine ; output.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__scrollback
      • getHistory

        public ListBase getHistory()
                            throws java.io.IOException
        Get method for struct member 'history'.

        Field Documentation

        Blender Python API

        (read-only) Command history

        Blender Source Code

        ConsoleLine ; command history, current edited line is the first.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__history
      • setHistory

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

        Field Documentation

        Blender Python API

        (read-only) Command history

        Blender Source Code

        ConsoleLine ; command history, current edited line is the first.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__history
      • getPrompt

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

        Field Documentation

        Blender Python API

        Command line prompt
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__prompt
      • setPrompt

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

        Field Documentation

        Blender Python API

        Command line prompt
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__prompt
      • getLanguage

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

        Field Documentation

        Blender Python API

        Command line prompt language

        Blender Source Code

        Multiple consoles are possible, not just python.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__language
      • setLanguage

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

        Field Documentation

        Blender Python API

        Command line prompt language

        Blender Source Code

        Multiple consoles are possible, not just python.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__language
      • getSel_start

        public int getSel_start()
                         throws java.io.IOException
        Get method for struct member 'sel_start'.

        Field Documentation

        Blender Source Code

        Selection offset in bytes.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__sel_start
      • setSel_start

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

        Field Documentation

        Blender Source Code

        Selection offset in bytes.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__sel_start
      • getSel_end

        public int getSel_end()
                       throws java.io.IOException
        Get method for struct member 'sel_end'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__sel_end
      • setSel_end

        public void setSel_end​(int sel_end)
                        throws java.io.IOException
        Set method for struct member 'sel_end'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__sel_end
      • __io__addressof

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