about monkey2 internals

About Monkey 2 Forums Monkey 2 Development about monkey2 internals

This topic contains 4 replies, has 4 voices, and was last updated by  c0d3r9 2 months, 3 weeks ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #15169

    c0d3r9
    Participant

    In wich sourcefile i can find the list of methodes wich automatically called when App.Run starts.(optional if exists in users code)
    I mean OnRender, OnMeasure and so on.

    I would learn more about how monkey2 works.
    Maybe on any place here i can found all that informations but i couldn´t find it and there are so much sourcefiles 😉

    #15170

    AdamStrange
    Participant

    modules/mojo/app/app.monkey2 for the core
    modules/mojo/app/view.monkey2 for the on.. stuff

    #15172

    DruggedBunny
    Participant

    In a hurry, but I recommend using a free program like Agent Ransack (just search for it), where you can search the module or main mx2 directory, input *.monkey2 as file name and whatever you’re looking for (eg. OnRender) under “Containing text”. That’s how I get around!

    #15173

    Ethernaut
    Participant

    I find that the best method currently is to simply use Ted2Go “Docs” tab.

    You just type what you want in the Find field, and the latest Ted2Go version will display all matches available, then you just pick the one you want to inspect more closely.

    The only catch is that not everything is documented, so things like virtual methods for components, for instance, still don’t show in the help, probably because they’re still being developed as we speak.

    #15174

    c0d3r9
    Participant

    Thank you three.

    (to search across all files in an folder i use now notepad++)

    Can i deattach tabs from TED to a second screen? Haven´t try it.If yes i have to drill holes in the wall and build a bracket for my second screen.

    The reason why i ask for the sources was that i would know what methods are called automatic like OnMeasure, OnRender and so on.
    I have a new question.
    I see some classes in examples wich contains OnRender() methodes.
    Are they called automatic to?
    Or is OnRender only called automatic in the main class?

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.