00001
00012 #ifdef GITKR_WIDGET_OPTIONCHOICE_C
00013
00014 void gitkr_widget_optionchoice_new(GitkrTextWidgetPtr widget,GitkDialogPtr dialog,xmlNodePtr node);
00015 void gitkr_widget_optionchoice_output(GitkrTextWidgetPtr widget,gint line,gboolean active);
00016 gboolean gitkr_widget_optionchoice_handle(GitkrTextWidgetPtr widget,gint line);
00017 gint gitkr_widget_optionchoice_value_output(gint col,gint line,gint value,GList *choices);
00018 GList *gitkr_widget_optionchoice_get_choices(GitkrTextWidgetPtr widget);
00019 void gitkr_widget_optionchoice_free_choices(GList *choices);
00020 gint gitkr_widget_optionchoice_get_position(GList *choices,gint value);
00021 GList *gitkr_widget_optionchoice_get_ids(GitkrTextWidgetPtr widget);
00022 void gitkr_widget_optionchoice_free_ids(GList *ids);
00023 void gitkr_widget_optionchoice_free_list(GList *items);
00024 #else
00025 #ifdef GITK_RENDERER_C
00026 extern void gitkr_widget_optionchoice_new(GitkrTextWidgetPtr widget,GitkDialogPtr dialog,xmlNodePtr node);
00027 extern void gitkr_widget_optionchoice_output(GitkrTextWidgetPtr widget,gint line,gboolean active);
00028 extern gboolean gitkr_widget_optionchoice_handle(GitkrTextWidgetPtr widget,gint line);
00029 extern GList *gitkr_widget_optionchoice_get_choices(GitkrTextWidgetPtr widget);
00030 extern void gitkr_widget_optionchoice_free_choices(GList *choices);
00031 extern GList *gitkr_widget_optionchoice_get_ids(GitkrTextWidgetPtr widget);
00032 extern void gitkr_widget_optionchoice_free_ids(GList *ids);
00033 #endif
00034 #endif