00001
00012 #define GITK_RENDERER_C
00013 #define GITKR_WIDGET_LABEL_C
00014
00015 #include "gitkrincludes.h"
00016
00018 void gitkr_widget_label_new(GitkrGtkWidgetPtr widget,gchar *id,GitkDialogPtr dialog,gchar *label,GtkContainer *container,gboolean box_vert,xmlNodePtr node) {
00019 gchar *value=gitk_widget_get_value(dialog,id,"value");
00020
00021 gitk_log_intro();
00022
00023 gitkr_widget_new(widget,id,dialog);
00024
00025 widget->impl=gtk_label_new(value?value:" ");
00026
00027 gtk_container_add(GTK_CONTAINER(container),widget->impl);
00028 }