bubble()

Displays a small “bubble” message (a tooltip-like notification) near the mouse cursor.

This function converts the provided Python arguments into a string and then shows that message.

Syntax

planetcnc.bubble(args)

Parameters

Parameter Type Description
args tuple A tuple of one or more arguments. Their string representations are concatenated into a single message that will be displayed.

Return Value

Examples

#! /usr/bin/env python 
 
import planetcnc
 
# Display a bubble message near the mouse cursor.
planetcnc.bubble("Hello! This is a bubble message.")

See also

msg
msgerr

msg_show

msg_count
msg_is_active

msg_click_ok
msg_click_cancel

bubble