ToutDoux : Reference manual
<<< Previous PageHomeUpNext Page >>>

TdModCanvas

Name

TdModCanvas -- Canvas module

Synopsis

strucTdModCanvas
GtkObject*td_mod_canvas_new
(void);
voidtd_mod_canvas_scrollbar_changed
(GtkAdjustment *adj,
TdModCanvas *mod_canvas);
voidtd_mod_canvas_destroy
(TdModCanvas *mod_canvas);
voidtd_mod_canvas_draw_link
(GtkObject *mod_canvas,
GnomeCanvasItem *link,
GnomeCanvasItem *node_parent,
GnomeCanvasItem *node);
voidtd_mod_canvas_update
(TdModCanvas *mod_canvas);
voidtd_mod_canvas_create
(TdModCanvas *mod_canvas,
GtkObject *mod);
static voidtd_mod_canvas_add_selected_child
(gpointer key,
gpointer link,
TdModCanvas *mod_canvas);
voidtd_mod_canvas_hide
(TdModCanvas *mod_canvas);
voidtd_mod_canvas_zoom_changed
(GtkAdjustment *adj,
TdModCanvas *mod_canvas);
static voidtd_mod_canvas_add_selected_parent
(gpointer key,
gpointer link,
TdModCanvas *mod_canvas);
voidtd_mod_canvas_button_press
(GtkWidget *widget,
GdkEventButton *event,
TdModCanvas *mod_canvas);
voidtd_mod_canvas_add_symbol
(TdModCanvas *mod_canvas,
GtkObject *symbol);
voidtd_mod_canvas_show
(TdModCanvas *mod_canvas);

Description

Details

struct TdModCanvas

struct TdModCanvas
{
gchar *name;
gchar *name_intl;
GtkObject *parent;
GtkWidget *label;
gboolean customize;
gboolean reorderable;
GList *field;
GList *symbol;
gchar *symbol_file;
gint column_oid;
gchar *table;
gchar *table_net;
gchar *table_tree;
GtkWidget *widget;
GtkWidget *widget_data;
GtkWidget *vruler;
GtkWidget *hruler;
GtkWidget *menu_widget;
GtkWidget *menu_link_widget;
GnomeCanvasGroup *selected;
GnomeCanvasItem *item;
GHashTable *items;
GnomeCanvasItem *link;
GHashTable *links;
GList *selected_parent;
GList *selected_child;
GList *selected_link_parent;
GList *selected_link_child;
gint dragging;
gdouble dragging_x;
gdouble dragging_y;
gdouble init_x;
gdouble init_y;
GtkObject *panwindow;
GtkWidget *zoom_label;
};

fr: Objet module cavenas

en: Canvas module object

gchar *nameNom - Name
gchar *name_intlNom international - International name
GtkObject *parentParent
GtkWidget *labelEtiquette - Label
gboolean customizePersonnalisable - Customizable
gboolean reorderableRéarrangeable - Reorderable
GList *fieldChamps - Fields
GList *symbolSymboles - Symbols
gchar *symbol_fileLocalisation du fichier des symboles - File location of symbols
gint column_oidLocalisation du champs des idendificateurs - Location of identifiers field
gchar *tableNom de la table - Table name
gchar *table_netNom de la table du reseau - Network table name
gchar *table_treeNom de la table de l'arboresence - Tree table name
GtkWidget *widgetWidget
GtkWidget *widget_dataWidget de données - Widget with data
GtkWidget *vrulerRègle verticale - Vertical ruler
GtkWidget *hrulerRègle horizontale - Horizontal ruler
GtkWidget *menu_widgetMenu
GtkWidget *menu_link_widgetMenu des liens - Links menu
GnomeCanvasGroup *selectedItem selectionné - Selected item
GnomeCanvasItem *itemItem tampon - Buffer item
GHashTable *itemsItems
GnomeCanvasItem *linkLien tampon - Buffer link
GHashTable *linksLiens - Links
GList *selected_parentItems enfant selectionnés - Selected child items
GList *selected_childItems enfant selectionnés- Selected child items
GList *selected_link_parentLiens entrants selectionnés - Selected input links
GList *selected_link_childLiens sortants selectionnés - Selected output links
gint draggingDrapeau du tirer - Dragging flag
gdouble dragging_xCoordonnée x du tirer - x coordinate of dragging
gdouble dragging_yCoordonnée y du tirer - y coordinate of dragging
gdouble init_xCoordonnée x initiale du tirer - Initial x coordinate of dragging
gdouble init_yCoordonnée y initiale du tirer - Initial y coordinate of dragging
GtkObject *panwindowFenêtre pan - Pan window
GtkWidget *zoom_labelEtiquette du zoom - Zoom label

td_mod_canvas_new ()

GtkObject*td_mod_canvas_new
(void);

fr: Créé un nouveau canevas

en: Creates a new canvas

Return value: canvas


td_mod_canvas_scrollbar_changed ()

voidtd_mod_canvas_scrollbar_changed
(GtkAdjustment *adj,
TdModCanvas *mod_canvas);

fr: Evènement 'value_changed' d'un des ascenseurs du cavenas

en: Event 'value_changed' of scrollbar of canvas

adj : adjustement of scrollbar of canvas
mod_canvas : component

td_mod_canvas_destroy ()

voidtd_mod_canvas_destroy
(TdModCanvas *mod_canvas);

fr: Détruit le canevas

en: Destroys the canvas

mod_canvas : canvas

td_mod_canvas_draw_link ()

voidtd_mod_canvas_draw_link
(GtkObject *mod_canvas,
GnomeCanvasItem *link,
GnomeCanvasItem *node_parent,
GnomeCanvasItem *node);

fr: Redessine le lien

en: Redraws the link

mod_canvas : component
link : link
node_parent : parent
node : node

td_mod_canvas_update ()

voidtd_mod_canvas_update
(TdModCanvas *mod_canvas);

fr: Rafraîchis le canevas

en: Refresh the canvas

mod_canvas : canvas

td_mod_canvas_create ()

voidtd_mod_canvas_create
(TdModCanvas *mod_canvas,
GtkObject *mod);

fr: Créé l'interface du composant du module

en: Creates the interface of component of module

mod_canvas : component
mod : module

td_mod_canvas_add_selected_child ()

static voidtd_mod_canvas_add_selected_child
(gpointer key,
gpointer link,
TdModCanvas *mod_canvas);

fr: Ajoute un enfant selectioné

en: Adds a selected child

key : key
link : link
mod_gantt : gantt

td_mod_canvas_hide ()

voidtd_mod_canvas_hide
(TdModCanvas *mod_canvas);

fr: Cache le canevas

en: Hides the canvas

mod_canvas : canvas

td_mod_canvas_zoom_changed ()

voidtd_mod_canvas_zoom_changed
(GtkAdjustment *adj,
TdModCanvas *mod_canvas);

fr: Evènement 'value_changed' du zoom du canvas

en: Event 'value_changed' of zoom of canvas

adj : adjustement of zoom of canvas
mod_canvas : component

td_mod_canvas_add_selected_parent ()

static voidtd_mod_canvas_add_selected_parent
(gpointer key,
gpointer link,
TdModCanvas *mod_canvas);

fr: Ajoute un parent selectioné

en: Adds a selected parent

key : key
link : link
mod_gantt : gantt

td_mod_canvas_button_press ()

voidtd_mod_canvas_button_press
(GtkWidget *widget,
GdkEventButton *event,
TdModCanvas *mod_canvas);

fr: Evènement 'button_press' du cavenas

en: Event 'button_press' of canvas

widget : canvas widget
event : event button
mod_canvas : component

td_mod_canvas_add_symbol ()

voidtd_mod_canvas_add_symbol
(TdModCanvas *mod_canvas,
GtkObject *symbol);

fr: Ajoute le symbole au cavenas

en: Adds the symbol to canvas

mod_canvas : canvas
symbol : symbol

td_mod_canvas_show ()

voidtd_mod_canvas_show
(TdModCanvas *mod_canvas);

fr: Affiche le canevas

en: Displays the canvas

mod_canvas : canvas

See Also

<<< Previous PageHomeUpNext Page >>>
IndexIndex