rem: hbox, FALSE, FALSE, 0 ); gtk_widget_show ( hbox );  frame = gtk_frame_new ( _("Organisation des niveaux de regroupement :") ); gtk_box_pack_start ( GTK_BOX ( hbox ),
context: GtkWidget *page_organisation_donnees ( void ){  GtkWidget *widget_retour;  GtkWidget *label;  GtkWidget *hbox;  GtkWidget *scrolled_window;  GtkWidget *frame;  GtkWidget *vbox;  GtkWidget *fleche;  GtkWidget *vbox_onglet;  GtkWidget *hbox_haut;  GtkWidget *menu;  GtkWidget *menu_item;  gint i;  widget_retour = gtk_scrolled_window_new ( FALSE,					    FALSE );  gtk_scrolled_window_set_policy ( GTK_SCROLLED_WINDOW ( widget_retour ),				   GTK_POLICY_AUTOMATIC,				   GTK_POLICY_AUTOMATIC );  gtk_widget_show ( widget_retour );  vbox_onglet = gtk_vbox_new ( FALSE,				 5 );  gtk_container_set_border_width ( GTK_CONTAINER ( vbox_onglet ),				   10 );  gtk_scrolled_window_add_with_viewport ( GTK_SCROLLED_WINDOW ( widget_retour ),					  vbox_onglet );  gtk_widget_show ( vbox_onglet );  /*   hbox du haut de la fenetre, le type de classement, le choix sur les R */  hbox_haut = gtk_hbox_new ( FALSE,			     5 );  gtk_box_pack_start ( GTK_BOX ( vbox_onglet ),		       hbox_haut,		       FALSE,		       FALSE,		       10 );  gtk_widget_show ( hbox_haut );  /* choix du type de classement */  hbox = gtk_hbox_new ( FALSE,			5 );  gtk_box_pack_start ( GTK_BOX ( hbox_haut ),		       hbox,		       FALSE,		       FALSE,		       0 );  gtk_widget_show ( hbox );  frame = gtk_frame_new ( _("Organisation des niveaux de regroupement :") );  gtk_box_pack_start ( GTK_BOX ( hbox ),		       frame,		       FALSE,		       FALSE,		       0 );  gtk_widget_show ( frame );  hbox = gtk_hbox_new ( FALSE,			5 );  gtk_container_set_border_width ( GTK_CONTAINER ( hbox ),				   5 );  gtk_container_add ( GTK_CONTAINER ( frame ),		      hbox );  gtk_widget_show ( hbox );  scrolled_window = gtk_scrolled_window_new ( FALSE,					      FALSE );  gtk_scrolled_window_set_policy ( GTK_SCROLLED_WINDOW ( scrolled_window ),				   GTK_POLICY_AUTOMATIC,				   GTK_POLICY_AUTOMATIC );  gtk_widget_set_usize ( scrolled_window,			 200,			 100 );  gtk_box_pack_start ( GTK_BOX ( hbox ),		       scrolled_window,		       FALSE,		       FALSE,		       0 );  gtk_widget_show ( scrolled_window );  liste_type_classement_etat = gtk_ctree_new ( 1,					       0 );  gtk_clist_set_column_auto_resize ( GTK_CLIST ( liste_type_classement_etat ),				     0,				     TRUE );  gtk_ctree_set_line_style ( GTK_CTREE ( liste_type_classement_etat ),			     GTK_CTREE_LINES_NONE );  gtk_ctree_set_expander_style ( GTK_CTREE ( liste_type_classement_etat ),				 GTK_CTREE_EXPANDER_NONE );  gtk_signal_connect ( GTK_OBJECT ( liste_type_classement_etat ),		       "button_press_event",		       GTK_SIGNAL_FUNC ( click_liste_etat ),		       GINT_TO_POINTER (1) );  gtk_container_add ( GTK_CONTAINER ( scrolled_window ),		      liste_type_classement_etat );  gtk_widget_show ( liste_type_classement_etat );  /* on place ici les flches sur le ct de la liste */  vbox = gtk_vbutton_box_new ();  gtk_box_pack_start ( GTK_BOX ( hbox ),		       vbox,		       FALSE,		       FALSE,		       0);  fleche = gnome_stock_button ( GNOME_STOCK_BUTTON_UP );  gtk_button_set_relief ( GTK_BUTTON ( fleche ),			  GTK_RELIEF_NONE );  gtk_signal_connect ( GTK_OBJECT ( fleche ),		       "clicked",		       GTK_SIGNAL_FUNC ( click_haut_classement_etat ),		       NULL );  gtk_container_add ( GTK_CONTAINER ( vbox ),		      fleche  );  fleche = gnome_stock_button ( GNOME_STOCK_BUTTON_DOWN );  gtk_button_set_relief ( GTK_BUTTON ( fleche ),			  GTK_RELIEF_NONE );  gtk_signal_connect ( GTK_OBJECT ( fleche ),		       "clicked",		       GTK_SIGNAL_FUNC ( click_bas_classement_etat ),		       NULL);  gtk_container_add ( GTK_CONTAINER ( vbox ),		      fleche  );  gtk_widget_show_all ( vbox );    hbox = gtk_hbox_new ( FALSE,			5 );  gtk_box_pack_start ( GTK_BOX ( vbox_onglet ),		       hbox,		       FALSE,		       FALSE,		       0 );  gtk_widget_show ( hbox );  bouton_separer_revenus_depenses = gtk_check_button_new_with_label ( _("Sparer les revenus et les dpenses") );  gtk_box_pack_start ( GTK_BOX ( hbox ),		       bouton_separer_revenus_depenses,		       FALSE,		       FALSE,		       0 );  gtk_widget_show ( bouton_separer_revenus_depenses );  /* on permet la sparation par exercice */  hbox = gtk_hbox_new ( FALSE,			5 );  gtk_box_pack_start ( GTK_BOX ( vbox_onglet ),		       hbox,		       FALSE,		       FALSE,		       0 );  gtk_widget_show ( hbox );  bouton_separe_exo_etat = gtk_check_button_new_with_label ( _("Sparer les rsultats par exercice") );  gtk_box_pack_start ( GTK_BOX ( hbox ),		       bouton_separe_exo_etat,		       FALSE,		       FALSE,		       0 );  gtk_widget_show ( bouton_separe_exo_etat );  /* ce bouton est gris ou non en fonction de l'utilisation ou non de l'exercice */  gtk_signal_connect ( GTK_OBJECT ( radio_button_utilise_exo ),		       "toggled",		       GTK_SIGNAL_FUNC ( sens_desensitive_pointeur ),		       bouton_separe_exo_etat );  /* on permet de regrouper les oprations par compte */  hbox = gtk_hbox_new ( FALSE,			5 );  gtk_box_pack_start ( GTK_BOX ( vbox_onglet ),		       hbox,		       FALSE,		       FALSE,		       0 );  gtk_widget_show ( hbox );  bouton_regroupe_ope_compte_etat = gtk_check_button_new_with_label ( _("Regrouper les oprations par compte") );  gtk_box_pack_start ( GTK_BOX ( hbox ),		       bouton_regroupe_ope_compte_etat,		       FALSE,		       FALSE,		       0 );  gtk_widget_show ( bouton_regroupe_ope_compte_etat );  /* on permet ensuite la sparation des rsultats par priode */  hbox = gtk_hbox_new ( FALSE,			5 );  gtk_box_pack_start ( GTK_BOX ( vbox_onglet ),		       hbox,		       FALSE,		       FALSE,		       0 );  gtk_widget_show ( hbox );  bouton_separe_plages_etat = gtk_check_button_new_with_label ( _("Sparer les rsultats par priode") );  gtk_signal_connect ( GTK_OBJECT ( bouton_separe_plages_etat ),		       "toggled",		       GTK_SIGNAL_FUNC ( change_separation_result_periode ),		       NULL );  gtk_box_pack_start ( GTK_BOX ( hbox ),		       bouton_separe_plages_etat,		       FALSE,		       FALSE,		       0 );  gtk_widget_show ( bouton_separe_plages_etat );  hbox = gtk_hbox_new ( FALSE,			5 );  gtk_box_pack_start ( GTK_BOX ( vbox_onglet ),		       hbox,		       FALSE,		       FALSE,		       0 );  gtk_widget_show ( hbox );  label = gtk_label_new ( "        " );  gtk_box_pack_start ( GTK_BOX ( hbox ),		       label,		       FALSE,		       FALSE,		       0 );  gtk_widget_show ( label );  frame = gtk_frame_new ( NULL );  gtk_box_pack_start ( GTK_BOX ( hbox ),		       frame,		       FALSE,		       FALSE,		       0 );  gtk_widget_show ( frame );  vbox = gtk_vbox_new ( FALSE,			5 );  gtk_container_set_border_width ( GTK_CONTAINER ( vbox ),				   10 );  gtk_container_add ( GTK_CONTAINER ( frame ),		      vbox );  gtk_widget_show ( vbox );  /* mise en place de la ligne type - choix perso */  hbox = gtk_hbox_new ( FALSE,			5 );  gtk_box_pack_start ( GTK_BOX ( vbox ),		       hbox,		       FALSE,		       FALSE,		       0 );  gtk_widget_show ( hbox );  bouton_type_separe_plages_etat = gtk_option_menu_new ();  menu = gtk_menu_new ();  menu_item = gtk_menu_item_new_with_label ( _("Semaine") );  gtk_object_set_data ( GTK_OBJECT ( menu_item ),			"type",			NULL );  gtk_signal_connect_object ( GTK_OBJECT ( menu_item ),			      "activate",			      GTK_SIGNAL_FUNC ( modif_type_separation_dates ),			      NULL );  gtk_menu_append ( GTK_MENU ( menu ),		    menu_item );  gtk_widget_show ( menu_item );  menu_item = gtk_menu_item_new_with_label ( _("Mois") );  gtk_object_set_data ( GTK_OBJECT ( menu_item ),			"type",			GINT_TO_POINTER (1) );  gtk_signal_connect_object ( GTK_OBJECT ( menu_item ),			      "activate",			      GTK_SIGNAL_FUNC ( modif_type_separation_dates ),			      GINT_TO_POINTER (1) );  gtk_menu_append ( GTK_MENU ( menu ),		    menu_item );  gtk_widget_show ( menu_item );  menu_item = gtk_menu_item_new_with_label ( _("Anne") );  gtk_object_set_data ( GTK_OBJECT ( menu_item ),			"type",			GINT_TO_POINTER (2));  gtk_signal_connect_object ( GTK_OBJECT ( menu_item ),			      "activate",			      GTK_SIGNAL_FUNC ( modif_type_separation_dates ),			      GINT_TO_POINTER (2));  gtk_menu_append ( GTK_MENU ( menu ),		    menu_item );  gtk_widget_show ( menu_item );  gtk_option_menu_set_menu ( GTK_OPTION_MENU ( bouton_type_separe_plages_etat ),			     menu );  gtk_widget_show ( menu );  gtk_box_pack_start ( GTK_BOX ( hbox ),		       bouton_type_separe_plages_etat,		       FALSE, 		       FALSE,		       0 );  gtk_widget_show ( bouton_type_separe_plages_etat );  /* mise en place de la ligne de dbut de semaine */  hbox = gtk_hbox_new ( FALSE,			5 );  gtk_box_pack_start ( GTK_BOX ( vbox ),		       hbox,		       FALSE,		       FALSE,		       0 );  gtk_widget_show ( hbox );  label = gtk_label_new ( _("La semaine commence le ") );  gtk_box_pack_start ( GTK_BOX ( hbox ),		       label,		       FALSE, 		       FALSE,		       0 );  gtk_widget_show ( label );  bouton_debut_semaine = gtk_option_menu_new ();  menu = gtk_menu_new ();  i = 0;  while ( jours_semaine[i] )    {      menu_item = gtk_menu_item_new_with_label ( jours_semaine[i] );      gtk_object_set_data ( GTK_OBJECT ( menu_item ),			    _("jour"),			    GINT_TO_POINTER (i));      gtk_menu_append ( GTK_MENU ( menu ),			menu_item );      gtk_widget_show ( menu_item );      i++;    }  gtk_option_menu_set_menu ( GTK_OPTION_MENU ( bouton_debut_semaine ),			     menu );  gtk_widget_show ( menu );  gtk_box_pack_start ( GTK_BOX ( hbox ),		       bouton_debut_semaine,		       FALSE, 		       FALSE,		       0 );  gtk_widget_show ( bouton_debut_semaine );  return ( widget_retour );}