iceWing
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions
Ggui.h File Reference
#include <gtk/gtk.h>
#include <pthread.h>

Go to the source code of this file.

Functions

void gui_exit (int status)
void gui_schedule_exit (int status)
void gui_check_exit (gboolean immediate_exit)
void gui_apply_icon (GtkWidget *win)

Function Documentation

void gui_exit ( int  status)

  Terminate the program and return 'status' to the system.
  Must be called instead of exit() if the program should exit.

void gui_schedule_exit ( int  status)

  If immediate_exit is TRUE exit immediately. Otherwise schedule an
  exit and return. The exit will be performed when gui_check_exit()
  is called.

void gui_check_exit ( gboolean  immediate_exit)

  Check if an exit is pending (from a click on the Quit-Button or a
  call to gui_schedule_exit()) and exit.
  immediate_exit==TRUE (default): On click on the Quit-button the
      program exits immediately, otherwise it exits only if gui_exit()
      or gui_check_exit() is called.

void gui_apply_icon ( GtkWidget *  win)

  Install the default window icon for the window win.