Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals  

mlview-attribute-picker.h

Go to the documentation of this file.
00001 /*This file is part of MlView
00002  *
00003  *MlView is free software; you can redistribute it and/or modify it under the terms of 
00004  *the GNU General Public License as published by the Free Software Foundation; either version 2, 
00005  *or (at your option) any later version.
00006  *
00007  *MlView is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; 
00008  *without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
00009  *See the GNU General Public License for more details.
00010  *
00011  *You should have received a copy of the GNU General Public License along with MlView; 
00012  *see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
00013  *
00014  *
00015  *Copyright 2001-2002 Dodji Seketeli.
00016  */
00017 
00018 #ifndef __MLVIEW_ATTRIBUTE_PICKER_H__
00019 #define __MLVIEW_ATTRIBUTE_PICKER_H__
00020 
00021 #include <gnome.h>
00022 #include "mlview-app-context.h"
00023 
00024 #ifdef __cplusplus
00025 extern "C" {
00026 #endif
00027 
00028 
00034 #define MLVIEW_TYPE_ATTRIBUTE_PICKER (mlview_attribute_picker_get_type ())
00035 #define MLVIEW_ATTRIBUTE_PICKER(object) (GTK_CHECK_CAST ((object), MLVIEW_TYPE_ATTRIBUTE_PICKER, MlViewAttributePicker))
00036 #define MLVIEW_ATTRIBUTE_PICKER_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), MLVIEW_TYPE_ATTRIBUTE_PICKER, MlViewAttributePickerClass))
00037 #define MLVIEW_IS_ATTRIBUTE_PICKER(object) (GTK_CHECK_TYPE ((object), MLVIEW_TYPE_ATTRIBUTE_PICKER))
00038 #define MLVIEW_IS_ATTRIBUTE_PICKER_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), MLVIEW_TYPE_ATTRIBUTE_PICKER))
00039 
00040         typedef struct _MlViewAttributePicker MlViewAttributePicker ;
00041         typedef struct _MlViewAttributePickerClass MlViewAttributePickerClass ;
00042         typedef struct _MlViewAttributePickerPrivate MlViewAttributePickerPrivate ;
00043 
00051         struct _MlViewAttributePicker {
00053                 GnomeDialog dialog ;
00055                 MlViewAttributePickerPrivate * private ;
00056         };
00057 
00058         gint mlview_attribute_picker_get_type (void) ;
00059         GtkWidget * mlview_attribute_picker_new (gchar * a_title, MlViewAppContext * a_app_context) ;
00060         
00061         
00062         void
00063         mlview_attribute_picker_set_attribute_completion (gboolean a_completion_on) ;
00064 
00065         void 
00066         mlview_attribute_picker_grab_focus_to_name_entry (MlViewAttributePicker * a_picker) ;
00067 
00068         void 
00069         mlview_attribute_picker_grab_focus_to_value_entry (MlViewAttributePicker * a_picker) ;
00070 
00071         void 
00072         mlview_attribute_picker_select_attribute_value (MlViewAttributePicker *a_picker) ;
00073 
00074         void 
00075         mlview_attribute_picker_select_attribute_name (MlViewAttributePicker *a_picker) ;
00076 
00077         gchar * 
00078         mlview_attribute_picker_get_attribute_name (MlViewAttributePicker * a_picker) ;
00079 
00080         gchar * 
00081         mlview_attribute_picker_get_attribute_value (MlViewAttributePicker *a_picker) ;
00082 
00083         xmlAttributeType 
00084         mlview_attribute_picker_get_attribute_type (MlViewAttributePicker *a_picker) ;
00085 
00086         void  
00087         mlview_attribute_picker_build_attribute_name_choice_list (MlViewAttributePicker * a_picker, 
00088                                                                   xmlNode * a_xml_node) ;
00089 
00090         void 
00091         mlview_attribute_picker_set_current_xml_node (MlViewAttributePicker * a_picker,
00092                                                        xmlNode * a_xml_node) ;
00093 
00094         void 
00095         mlview_attribute_picker_set_app_context (MlViewAttributePicker * a_picker,
00096                                                  MlViewAppContext * a_app_context) ;
00097 
00098         struct _MlViewAttributePickerClass {
00099                 GnomeDialogClass parent_class ;
00100         };
00101 #ifdef __cplusplus
00102 }
00103 #endif /*__cplusplus*/
00104 #endif /*__MLVIEW_ATTRIBUTE_PICKER_H__*/

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