Main Page   File List   File Members  

interface.c File Reference

#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <string.h>
#include <gtk/gtk.h>
#include "turtle.h"
#include "interface.h"
#include "callbacks.h"

Functions

GtkWidget * create_main_window (void)
GtkWidget * create_button (gchar *label, gchar *pixmap_file)
GtkWidget * create_menubar ()
GtkWidget * create_handlebox ()
void create_fileselection_boxes (void)

Variables

s_turtle my_turtle

Detailed Description

Author:
Guillaume Bour. 2000/2001
Version:
0.1
Date:
2002/07/21 + rewrite code with comments + add drawing saving menu item
2002/03/09 + fix a bug into the 'create_button' function: style must be initialized with 'gtk_widget_get_style' + fix the 'null colormap' warning by allocation a colormap with 'gdk_colormap_get_system()'
All the interface definitions


Function Documentation

GtkWidget* create_button gchar *    label,
gchar *    pixmap_file
 

Create a handle-box button

Parameters:
label  the button label
pixmap_file  the image file to put into the button
Returns:
the created widget

void create_fileselection_boxes void   
 

Create dialog boxes

Parameters:
<void> 
Returns:
<void>

GtkWidget* create_handlebox void   
 

Create the lafontaine handlebox

Remarks:
+ should later be configurable via config file
Parameters:
<void> 
Returns:
the created handlebox

GtkWidget* create_main_window void   
 

Create lafontaine main window, and return a reference to it

Parameters:
<none> 
Returns:
a reference to the created window

GtkWidget* create_menubar void   
 

Create the lafontaine menu

Parameters:
<void> 
Returns:
the created menubar


Generated on Tue Aug 6 13:21:20 2002 for lafontaine by doxygen1.2.15