Skip to content

Added window_caption usage example#777

Open
Nadiazahan wants to merge 1 commit into
thoth-tech:mainfrom
Nadiazahan:create-window-caption-example
Open

Added window_caption usage example#777
Nadiazahan wants to merge 1 commit into
thoth-tech:mainfrom
Nadiazahan:create-window-caption-example

Conversation

@Nadiazahan
Copy link
Copy Markdown

@Nadiazahan Nadiazahan commented May 20, 2026

Description

SplashKit Function: window_caption

Overview of example functionality:
This example demonstrates how to use the window_caption function to retrieve the caption text of a window. It provides a beginner-friendly example showing how to open a window, store it in a variable, get the caption using window_caption(window), and display the returned text on the screen.

Example Output:

image

Files Included

  • C++ code
  • C# code (Top-Level statements)
  • C# code (Object-Oriented Programming)
  • Python code
  • Relevant title for the example (.txt)
  • Screenshot

Usage Example Checks

  • Code uses SplashKit function above
  • Code does not use non-SplashKit functions
  • Code does not use extra function declarations or extra classes
  • Code does not violate any of the Thoth Tech SplashKit Style Guide rules
  • Simple, clear demonstration of the function
  • Tested in Chrome

@netlify
Copy link
Copy Markdown

netlify Bot commented May 20, 2026

Deploy Preview for splashkit failed.

Name Link
🔨 Latest commit a3ca319
🔍 Latest deploy log https://app.netlify.com/projects/splashkit/deploys/6a0d57d718249300082543f0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant