lain on Nostr: > For example, rather than having a CreateButton() function that a user would call ...
> For example, rather than having a CreateButton() function that a user would call once to instantiate a button, an immediate-mode GUI API may have a DoButton() function which should be called whenever the button should be on screen.
????
Published at
2026-07-02 13:39:54 UTCEvent JSON
{
"id": "79977ec6f2c9fb7f6bbfb6f8f229f5e794f98bc2fca4da43f4291026e739a8c7",
"pubkey": "776ed1a547e2693a2c964e4824d6306a11aa364cd9c798f3e1ccd638af3d3725",
"created_at": 1782999594,
"kind": 1,
"tags": [
[
"proxy",
"https://lain.com/objects/68a2c310-2b6c-42ee-8aff-7fb3fe89889c",
"activitypub"
],
[
"client",
"Mostr",
"31990:6be38f8c63df7dbf84db7ec4a6e6fbbd8d19dca3b980efad18585c46f04b26f9:mostr",
"wss://relay.ditto.pub"
]
],
"content": "\u003e For example, rather than having a CreateButton() function that a user would call once to instantiate a button, an immediate-mode GUI API may have a DoButton() function which should be called whenever the button should be on screen.\n\n????",
"sig": "210e8ecd8fc8f7d499a9328556e046414552f9a11cfcce4f027028735ec96a7c4dddcf36f9a09fcf23de0b8d580fa1b058e6971c539303cf567a0cb12beece0b"
}