Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals  

mlview-app.h File Reference

#include <gnome.h>
#include "mlview-editor.h"

Go to the source code of this file.

Defines

#define MLVIEW_ROOTWINDOW_WIDTH   400
#define MLVIEW_ROOTWINDOW_HEIGHT   300
#define MLVIEW_MAINPANED_POSITION   400

Functions

GnomeApp * mlview_app_new (gchar *a_appname)
 Builds the mlview application.

MlViewEditormlview_app_get_editor (GnomeApp *a_app_name)
 Getter of the instance of MlViewEditor associated to the current instance of GnomeApp.

void mlview_app_set_icon (GnomeApp *a_app_context)
 Sets the icon of the current instance of GnomeApp to the MlView's icon.


Define Documentation

#define MLVIEW_MAINPANED_POSITION   400
 

Definition at line 25 of file mlview-app.h.

#define MLVIEW_ROOTWINDOW_HEIGHT   300
 

Definition at line 24 of file mlview-app.h.

#define MLVIEW_ROOTWINDOW_WIDTH   400
 

Definition at line 23 of file mlview-app.h.


Function Documentation

MlViewEditor* mlview_app_get_editor GnomeApp *    a_app
 

Getter of the instance of MlViewEditor associated to the current instance of GnomeApp.

Parameters:
a_app  the instance of GnomeApp to consider.
Returns:
the instance of MlViewEditor associated to a_app or NULL if nothing is associated.

Definition at line 684 of file mlview-app.c.

References mlview_app_context_get_element().

Referenced by main().

GnomeApp* mlview_app_new gchar *    a_appname
 

Builds the mlview application.

Parameters:
a_appname  the name of the mlview application.
Returns:
the instance of GnomeApp that holds mlview.

Definition at line 620 of file mlview-app.c.

References mlview_app_build_set_global_settings(), MLVIEW_APP_CONTEXT, mlview_app_context_get_instance(), mlview_app_context_sbar_set_default_message(), mlview_app_context_set_element(), MLVIEW_EDITOR, mlview_editor_new(), and mlview_editor_set_app_context().

Referenced by main().

void mlview_app_set_icon GnomeApp *    a_app
 

Sets the icon of the current instance of GnomeApp to the MlView's icon.

Parameters:
a_app  instance of GnomeApp to consider.

Definition at line 596 of file mlview-app.c.

References mlview_app_context_set_window_icon(), and MLVIEW_IS_APP_CONTEXT.

Referenced by main().


Generated on Sat Jul 6 09:57:38 2002 for Gnome-MlView by doxygen1.2.16