gitkrwlabel.c

Go to the documentation of this file.
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   //gtk_box_pack_start_defaults(GTK_BOX(container),widget->impl);
00027   gtk_container_add(GTK_CONTAINER(container),widget->impl);
00028 }

Generated on Thu Oct 28 10:59:13 2004 for gitk by doxygen 1.3.6