use hpaned for control flow viewer
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Sat, 10 Jan 2004 21:09:41 +0000 (21:09 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Sat, 10 Jan 2004 21:09:41 +0000 (21:09 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@371 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/lttv/modules/guiControlFlow/CFV-private.h
ltt/branches/poly/lttv/modules/guiControlFlow/CFV.c

index 04fe2f56d114309d1ce1ea4fe02a334a1a03bd29..1a745026f452b4662029bd9e0d74881ce60d2f5a 100644 (file)
@@ -12,8 +12,9 @@ struct _ControlFlowData {
        Drawing_t *Drawing;
 
        //GtkWidget *HBox_V;
-       GtkWidget *Inside_HBox_V;
-
+       //GtkWidget *Inside_HBox_V;
+       GtkWidget *HPaned;
+               
        GtkAdjustment *VAdjust_C ;
        
        /* Trace information */
index 6ac2b729cee4f9300ab37a265dd7151370657524..2996a35764e5273abb074e168f861dad158a7a60 100644 (file)
@@ -55,15 +55,17 @@ guicontrolflow(void)
        Process_List_Widget = 
                processlist_get_widget(Control_Flow_Data->Process_List);
        
-       Control_Flow_Data->Inside_HBox_V = gtk_hbox_new(0, 0);
-
-       gtk_box_pack_start(
-               GTK_BOX(Control_Flow_Data->Inside_HBox_V),
-               Process_List_Widget, FALSE, TRUE, 0); // FALSE TRUE
-       gtk_box_pack_start(
-               GTK_BOX(Control_Flow_Data->Inside_HBox_V),
-               Drawing_Widget, TRUE, TRUE, 0);
-
+       //Control_Flow_Data->Inside_HBox_V = gtk_hbox_new(0, 0);
+       Control_Flow_Data->HPaned = gtk_hpaned_new();
+               
+       //gtk_box_pack_start(
+       //      GTK_BOX(Control_Flow_Data->Inside_HBox_V),
+       //      Process_List_Widget, FALSE, TRUE, 0); // FALSE TRUE
+       //gtk_box_pack_start(
+       //      GTK_BOX(Control_Flow_Data->Inside_HBox_V),
+       //      Drawing_Widget, TRUE, TRUE, 0);
+       gtk_paned_pack1(GTK_PANED(Control_Flow_Data->HPaned), Process_List_Widget, FALSE, TRUE);
+       gtk_paned_pack2(GTK_PANED(Control_Flow_Data->HPaned), Drawing_Widget, TRUE, TRUE);
 
        Control_Flow_Data->VAdjust_C = 
                GTK_ADJUSTMENT(gtk_adjustment_new(      0.0,    /* Value */
@@ -84,8 +86,8 @@ guicontrolflow(void)
 
        gtk_scrolled_window_add_with_viewport(
                GTK_SCROLLED_WINDOW(Control_Flow_Data->Scrolled_Window_VC),
-               Control_Flow_Data->Inside_HBox_V);
-       
+               //Control_Flow_Data->Inside_HBox_V);
+               Control_Flow_Data->HPaned);
        
        //g_signal_connect (G_OBJECT (Control_Flow_Data->Drawing_Area_V),
        //              "expose_event",
@@ -109,7 +111,8 @@ guicontrolflow(void)
 
        gtk_widget_show(Drawing_Widget);
        gtk_widget_show(Process_List_Widget);
-       gtk_widget_show(Control_Flow_Data->Inside_HBox_V);
+       //gtk_widget_show(Control_Flow_Data->Inside_HBox_V);
+       gtk_widget_show(Control_Flow_Data->HPaned);
        gtk_widget_show(Control_Flow_Data->Scrolled_Window_VC);
        
        g_object_set_data_full(
This page took 0.026124 seconds and 4 git commands to generate.