Пример #1
0
/* Any custom widgets which are to be used in GtkBuilder ui files
   need to be preregistered, otherwise GtkBuilder refuses to 
   acknowledge their existence. */
void
preregister_widgets (void)
{
  psppire_val_chooser_get_type ();
  psppire_dialog_get_type ();
  psppire_selector_get_type ();
  psppire_vbutton_box_get_type ();
  psppire_hbutton_box_get_type ();
  psppire_keypad_get_type ();
  psppire_acr_get_type ();
  psppire_dict_view_get_type ();
  psppire_var_view_get_type ();
  psppire_value_entry_get_type ();
  psppire_checkbox_treeview_get_type ();

  psppire_dialog_action_1sks_get_type ();
  psppire_dialog_action_binomial_get_type ();
  psppire_dialog_action_chisquare_get_type ();
  psppire_dialog_action_compute_get_type ();
  psppire_dialog_action_correlation_get_type ();
  psppire_dialog_action_count_get_type ();
  psppire_dialog_action_crosstabs_get_type ();
  psppire_dialog_action_descriptives_get_type ();
  psppire_dialog_action_examine_get_type ();
  psppire_dialog_action_factor_get_type ();
  psppire_dialog_action_flip_get_type ();
  psppire_dialog_action_frequencies_get_type ();
  psppire_dialog_action_logistic_get_type ();
  psppire_dialog_action_kmeans_get_type ();
  psppire_dialog_action_k_related_get_type ();
  psppire_dialog_action_means_get_type ();
  psppire_dialog_action_oneway_get_type ();
  psppire_dialog_action_paired_get_type ();
  psppire_dialog_action_indep_samps_get_type ();
  psppire_means_layer_get_type ();
  psppire_dialog_action_var_info_get_type ();
  psppire_dialog_action_rank_get_type ();
  psppire_dialog_action_reliability_get_type ();
  psppire_dialog_action_regression_get_type ();
  psppire_dialog_action_roc_get_type ();
  psppire_dialog_action_runs_get_type ();
  psppire_dialog_action_sort_get_type ();
  psppire_dialog_action_tt1s_get_type ();
  psppire_dialog_action_two_sample_get_type ();
  psppire_dialog_action_univariate_get_type ();

  /* This seems to be necessary on Cygwin.
     It ought not to be necessary.  Having it here can't do any harm. */
  kludge = gtk_source_view_get_type ();
}
Пример #2
0
GtkWidget *
psppire_means_layer_new (void)
{
  return GTK_WIDGET (g_object_new (psppire_means_layer_get_type (), NULL));
}