Next: Drawing Area
Up: Editor
Previous: Editor
  Contents
The Editor is a module which allows to develop logical design
graphically. The main workspace of the Editor is a Drawing Area, where
the user can create, modify or delete graphical objects which
represent a logical structure.
The Editor window is named editor_window and consists of four
following objects:
- The Menu bar, named menubar3. It contains of all the
functions not involved in creating or deleting of graphical objects.
These are the functions to show the user's manual and to close the
Editor window. In Table 5.2 there are gathered the
visible names of the menu-items (titles), the internal names and the
appropriate call-back functions. As one can see the call-back
function to editor_close menu-item is a GTK function. Such
a call causes that when editor_close is activated given as
a parameter to gtk_widget_hide widget is hidden.
- The Tool bar is named toolbar3 and it is divided in two
groups described below. Appropriate titles of buttons, names and
call-back functions are given in Table 5.3.
The buttons control pointer behavior. There are four radio-buttons
which allows switching between modes: select, properties, create and
delete. As they all are radio-buttons only one button is allowed to
be pressed at a time. There are no call-back functions for these
buttons. It is because theirs states are important to the Osiris and
they are red by the Drawing Area call-back functions.
- The Drawing area is named drawingarea and it is detailed
described in Section 5.12.2.
- Statusbar that shows messages to inform the user about Editor's
actions. It is named editor_status_bar.
Table 5.2:
Editor menu, names and call-back functions.
title |
name |
signal |
call-back function |
Edit |
editor_edit |
|
|
Close |
editor_close |
activate |
gtk_widget_hide |
Help |
editor_help |
|
|
Manual |
editor_manual |
activate |
on_editor_manual_activate |
|
Table 5.3:
Editor toolbar, names and call-back functions.
title |
name |
signal |
call-back function |
select |
select_radiobutton |
|
|
properties |
properties_radiobutton |
|
|
create |
create_radiobutton |
|
|
delete |
delete_radiobutton |
|
|
|
As a representation of structured logic, the tree-table representation,
described in Chapter 2, is chosen.
Next: Drawing Area
Up: Editor
Previous: Editor
  Contents
Igor Wojnicki
2001-02-21