- Timestamp:
- May 8, 2004, 12:38:26 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/gui/console/orxonox_console_log.cc
r1877 r1878 29 29 GtkWidget* OrxonoxConsoleLog::createLog() 30 30 { 31 frame = gtk_frame_new ("Console Log:"); 31 //frame = gtk_frame_new ("Console Log:"); 32 frame = gtk_scrolled_window_new (NULL, NULL); 33 34 gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (frame), 35 GTK_POLICY_AUTOMATIC, 36 GTK_POLICY_AUTOMATIC); 37 38 gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (frame), 39 GTK_SHADOW_IN); 32 40 gtk_container_set_border_width (GTK_CONTAINER(frame), 5); 33 { 34 logbox = gtk_hbox_new (FALSE, 5); 35 { 36 log = gtk_text_view_new(); 37 gtk_box_pack_start(GTK_BOX(logbox), log, TRUE, TRUE, 5); 38 gtk_text_view_set_editable(GTK_TEXT_VIEW(log), FALSE); 39 40 } 41 gtk_container_add(GTK_CONTAINER(frame), logbox); 42 } 41 42 log = gtk_text_view_new(); 43 gtk_text_view_set_editable(GTK_TEXT_VIEW(log), FALSE); 44 gtk_container_add(GTK_CONTAINER(frame), log); 45 43 46 return (frame); 44 47 }
Note: See TracChangeset
for help on using the changeset viewer.