|
| const char * | puglStrerror (const PuglStatus status) |
| | Return a string describing a status code.
|
| PuglWorld * | puglNewWorld (PuglWorldType type, PuglWorldFlags flags) |
| void | puglFreeWorld (PuglWorld *const world) |
| | Free a world allocated with puglNewWorld().
|
| void | puglSetWorldHandle (PuglWorld *world, PuglWorldHandle handle) |
| PuglWorldHandle | puglGetWorldHandle (PuglWorld *world) |
| | Get the user data for the world.
|
| PuglStatus | puglSetClassName (PuglWorld *const world, const char *const name) |
| const char * | puglGetClassName (const PuglWorld *world) |
| | Get the class name of the application, or null.
|
| static void | puglSetDefaultHints (PuglHints hints) |
| PuglView * | puglNewView (PuglWorld *const world) |
| void | puglFreeView (PuglView *view) |
| | Free a view created with puglNewView().
|
| PuglWorld * | puglGetWorld (PuglView *view) |
| | Return the world that View is a part of.
|
| void | puglSetHandle (PuglView *view, PuglHandle handle) |
| PuglHandle | puglGetHandle (PuglView *view) |
| | Get the user data for a view.
|
| PuglStatus | puglSetBackend (PuglView *view, const PuglBackend *backend) |
| const PuglBackend * | puglGetBackend (const PuglView *view) |
| | Return the graphics backend used by a view.
|
| PuglStatus | puglSetEventFunc (PuglView *view, PuglEventFunc eventFunc) |
| | Set the function to call when an event occurs.
|
| PuglStatus | puglSetViewHint (PuglView *view, PuglViewHint hint, int value) |
| int | puglGetViewHint (const PuglView *view, PuglViewHint hint) |
| PuglRect | puglGetFrame (const PuglView *view) |
| const char * | puglGetWindowTitle (const PuglView *const view) |
| | Return the title of the window, or null.
|
| PuglStatus | puglSetParentWindow (PuglView *view, PuglNativeView parent) |
| PuglNativeView | puglGetParentWindow (const PuglView *const view) |
| | Return the parent window this view is embedded in, or null.
|
| PuglNativeView | puglGetTransientParent (const PuglView *const view) |
| bool | puglGetVisible (const PuglView *view) |
| | Return true iff the view is currently visible.
|
| void * | puglGetContext (PuglView *view) |