| Muffin Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
GOptionContext * meta_get_option_context (void); void meta_init (void); int meta_run (void); gboolean meta_get_replace_current_wm (void); enum MetaExitCode; void meta_exit (MetaExitCode code); void meta_quit (MetaExitCode code);
Functions which parse the command-line arguments, create the display, kick everything off and then close down Muffin when it's time to go.
Muffin - a boring window manager for the adult in you
Many window managers are like Marshmallow Froot Loops; Muffin is like Cheerios.
The best way to get a handle on how the whole system fits together
is discussed in doc/code-overview.txt; if you're looking for functions
to investigate, read main(), meta_display_open(), and event_callback().
GOptionContext * meta_get_option_context (void);
Returns a GOptionContext initialized with muffin-related options.
Parse the command-line args with this before calling meta_init().
Returns : |
the GOptionContext |
void meta_init (void);
Initialize muffin. Call this after meta_get_option_context() and
meta_plugin_manager_set_plugin_type(), and before meta_run().
int meta_run (void);
Runs muffin. Call this after completing your own initialization.
Returns : |
muffin's exit status |