rem: gtk_widget_set_usize ( GTK_WIDGET ( widget_formulaire_operations[TRANSACTION_FORM_EXERCICE] ), col0+col1, FALSE ); gtk_widget_set_usize ( GTK_WIDGET ( widget_formulaire_operations[TRANSACTION_FORM_BUDGET] ), col2, FALSE ); gtk_widget_set_usize ( GTK_WIDGET ( widget_formulaire_operations[TRANSACTION_FORM_VOUCHER] ), col5, FALSE  );
context: void changement_taille_liste_ope ( GtkWidget *clist,				   GtkAllocation *allocation,				   gint *compte ){  gint i;  gint largeur;  gint col0, col1, col2, col3, col4, col5, col6;  /* si la largeur de grisbi est < 700, on fait rien */  if ( window -> allocation.width < 700 )    return;  if ( allocation )    largeur = allocation -> width;  else    largeur = clist -> allocation.width;  /* si la largeur est automatique, on change la largeur des colonnes */  /* sinon, on y met les valeurs fixes */  if ( etat.largeur_auto_colonnes )    for ( i = 0 ; i < TRANSACTION_LIST_COL_NB ; i++ )      gtk_clist_set_column_width ( GTK_CLIST ( clist ),				   i,				   rapport_largeur_colonnes[i] * largeur / 100 );  else    for ( i = 0 ; i < TRANSACTION_LIST_COL_NB ; i++ )      gtk_clist_set_column_width ( GTK_CLIST ( clist ),				   i,				   taille_largeur_colonnes[i] );/* met les entres du formulaire selon une taille proportionnelle */  col0 = largeur * 5 / 100;  col1 = largeur * 12 / 100;  col2 = largeur * 30 / 100;  col3 = largeur * 12 / 100;  col4 = largeur * 12 / 100;  col5 = largeur * 12 / 100;  col6 = largeur * 12 / 100;   /* 1re ligne */  gtk_widget_set_usize ( GTK_WIDGET ( widget_formulaire_operations[TRANSACTION_FORM_OP_NB] ),			 col0,			 FALSE );  gtk_widget_set_usize ( GTK_WIDGET ( widget_formulaire_operations[TRANSACTION_FORM_DATE] ),			 col1,			 FALSE );  gtk_widget_set_usize ( GTK_WIDGET ( widget_formulaire_operations[TRANSACTION_FORM_PARTY] ),			 col2,			 FALSE  );  gtk_widget_set_usize ( GTK_WIDGET ( widget_formulaire_operations[TRANSACTION_FORM_DEBIT] ),			 col3,			 FALSE  );  gtk_widget_set_usize ( GTK_WIDGET ( widget_formulaire_operations[TRANSACTION_FORM_CREDIT] ),			 col4,			 FALSE  );  gtk_widget_set_usize ( GTK_WIDGET ( widget_formulaire_operations[TRANSACTION_FORM_DEVISE] ),			 col5,			 FALSE  );  gtk_widget_set_usize ( GTK_WIDGET ( widget_formulaire_operations[TRANSACTION_FORM_CHANGE] ),			 col6,			 FALSE  );  /* 2me ligne */  gtk_widget_set_usize ( GTK_WIDGET ( widget_formulaire_operations[TRANSACTION_FORM_VALUE_DATE] ),			 col0+col1,			 FALSE );  gtk_widget_set_usize ( GTK_WIDGET ( widget_formulaire_operations[TRANSACTION_FORM_CATEGORY] ),			 col2,			 FALSE );  gtk_widget_set_usize ( GTK_WIDGET ( widget_formulaire_operations[TRANSACTION_FORM_TYPE] ),			 col3+col4,			 FALSE  );  gtk_widget_set_usize ( GTK_WIDGET ( widget_formulaire_operations[TRANSACTION_FORM_CHEQUE] ),			 col5,			 FALSE  );  /* 3me ligne */  gtk_widget_set_usize ( GTK_WIDGET ( widget_formulaire_operations[TRANSACTION_FORM_EXERCICE] ),			 col0+col1,			 FALSE );  gtk_widget_set_usize ( GTK_WIDGET ( widget_formulaire_operations[TRANSACTION_FORM_BUDGET] ),			 col2,			 FALSE );  gtk_widget_set_usize ( GTK_WIDGET ( widget_formulaire_operations[TRANSACTION_FORM_VOUCHER] ),			 col5,			 FALSE  );  /* 4me ligne */  gtk_widget_set_usize ( GTK_WIDGET ( widget_formulaire_operations[TRANSACTION_FORM_BREAKDOWN] ),			 col0+col1,			 FALSE );  gtk_widget_set_usize ( GTK_WIDGET ( widget_formulaire_operations[TRANSACTION_FORM_NOTES] ),			 col2,			 FALSE );  gtk_widget_set_usize ( GTK_WIDGET ( widget_formulaire_operations[TRANSACTION_FORM_BANK] ),			 col3+col4+col5,			 FALSE  );  gtk_widget_set_usize ( GTK_WIDGET ( widget_formulaire_operations[TRANSACTION_FORM_MODE] ),			 col6,			 FALSE  );}