String Hints

PUGL_NUM_STRING_HINTS

3U

The number of PuglStringHint values.

enum PuglStringHint

A string property for configuration.

enumerator PUGL_APPLICATION_NAME

The application name.

This is a stable identifier for the application, usually something like “my_app” which is the same as the name of the executable. It’s used as the applications name for X11 resources.

enumerator PUGL_CLASS_NAME

The application or window class name.

This is a stable identifier for the application window class, a short camel-case name like “MyApp”. This should be the same for every instance of the application, but different from any other application. On X11 and Windows, it’s used to set the class name of windows, which is used for window management and configuration.

enumerator PUGL_WINDOW_TITLE

The title of the window or application.

This is used by the system to display a title for the application or window, for example in title bars or window/application switchers. It’s only used to display a label to the user, not as an identifier, and can change over time to reflect the current state of the application. For example, it’s common for programs to add the name of the current document, like “myfile.txt - Fancy Editor”.