Giter Site home page Giter Site logo

Add random about lemonui HOT 7 CLOSED

lemonuibylemon avatar lemonuibylemon commented on July 29, 2024
Add random

from lemonui.

Comments (7)

justalemon avatar justalemon commented on July 29, 2024 1

You mean something like NativeMenu.AddItem(NativeItem, int);? (NativeItem is the item to add, int is the position)

from lemonui.

justalemon avatar justalemon commented on July 29, 2024 1

You can freely add and remove items while the menu is visible. Actually, this was one of the main design decisions when creating LemonUI, because NativeUI didn't supported it and it was pissing me off.

from lemonui.

justalemon avatar justalemon commented on July 29, 2024 1

NativeMenu.Add(int, NativeItem);

image
image

from lemonui.

Quadster avatar Quadster commented on July 29, 2024

Yes exactly, also does a random add also work for the main menu structure or only within submenus?

from lemonui.

justalemon avatar justalemon commented on July 29, 2024

You mean the call to NativeMenu.AddSubMenu?

from lemonui.

Quadster avatar Quadster commented on July 29, 2024

No, I meant can you add new options to the main menu during runtime or can you only add to submenus during runtime.

from lemonui.

Quadster avatar Quadster commented on July 29, 2024

Is there a way to check if an item is Activated after adding it? Even though its params are random every time?

I.e. id like to input the player each in a new NativeItem, but can't add _Activated as the params are different each time.

from lemonui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.