javascript alert function analog in gtk, probably some kind of modal dialog, but looking for a quickie



For front end web development, javascript provides a very handy alert(
) function.

alert("this is a message") just pops up a message for the user to click "ok" on.

So it's a handy one-liner to stick (temporarily or not) into a piece of code.

So i'm wondering if there's a one-line, one-argument gtk equivalent function.

My simple-minded googling hasn't uncovered one, but i may just be too
dense to choose the right combination of search terms.

Of course if no such function exists, i don't think it would be too
hard to gin one up.

And i suppose that i will, just in case, but if one exists then i
would certainly prefer using it because there's probably a lot of
details to get wrong, or produce surprising behavior.

TIA for any info!

dan


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]