1 /* $Id$Revision: */ 2 /* vim:set shiftwidth=4 ts=8: */ 3 4 /************************************************************************* 5 * Copyright (c) 2011 AT&T Intellectual Property 6 * All rights reserved. This program and the accompanying materials 7 * are made available under the terms of the Eclipse Public License v1.0 8 * which accompanies this distribution, and is available at 9 * http://www.eclipse.org/legal/epl-v10.html 10 * 11 * Contributors: See CVS logs. Details at http://www.graphviz.org/ 12 *************************************************************************/ 13 14 #ifndef FRMOBJECTUI_H 15 #define FRMOBJECTUI_H 16 17 #include "smyrnadefs.h" 18 19 20 /* 21 creates a new attr_list 22 attr_list is a basic stack implementation 23 with alphanumeric sorting functions 24 that uses quicksort 25 26 */ 27 28 #define ATTR_NOTEBOOK_IDX 6 29 30 extern attr_list* attr_list_new(Agraph_t * g,int with_widgets ); 31 extern void attr_list_add(attr_list* l,attr_t* a); 32 extern void free_attr_list(attr_list* l); 33 extern void filter_attributes(char* prefix,topview* t); 34 35 _BB void on_txtAttr_changed(GtkWidget * widget, gpointer user_data); 36 _BB void attr_label_motion(GtkWidget * widget,GdkEventMotion * event, gpointer data); 37 _BB void on_attrApplyBtn_clicked (GtkWidget * widget, gpointer user_data); 38 _BB void on_attrAddBtn_clicked (GtkWidget * widget, gpointer user_data); 39 _BB void on_attrSearchBtn_clicked (GtkWidget * widget, gpointer user_data); 40 41 extern attr_list* load_attr_list(Agraph_t* g); 42 extern void showAttrsWidget(topview* t); 43 44 #endif 45