AMITK Reference Manual | ||||
---|---|---|---|---|
Top | Description |
enum AmitkThresholdScale; enum AmitkThresholdArrow; enum AmitkThresholdEntry; enum AmitkThresholdLine; enum AmitkThresholdLayout; AmitkThreshold; GtkWidget* amitk_threshold_new (AmitkDataSet *data_set, AmitkThresholdLayout layout, GtkWindow *parent, gboolean minimal); void amitk_threshold_new_data_set (AmitkThreshold *threshold, AmitkDataSet *new_data_set); void amitk_threshold_style_widgets (GtkWidget **radio_buttons, GtkWidget *hbox); #define AMITK_TYPE_THRESHOLD_DIALOG #define AMITK_THRESHOLD_DIALOG (obj) #define AMITK_THRESHOLD_DIALOG_CLASS (klass) #define AMITK_IS_THRESHOLD_DIALOG (obj) #define AMITK_IS_THRESHOLD_DIALOG_CLASS (klass) AmitkThresholdDialog; GType amitk_threshold_dialog_get_type (void); GtkWidget* amitk_threshold_dialog_new (AmitkDataSet *data_set, GtkWindow *parent); void amitk_threshold_dialog_new_data_set (AmitkThresholdDialog *threshold_dialog, AmitkDataSet *new_data_set); AmitkDataSet * amitk_threshold_dialog_data_set (AmitkThresholdDialog *threshold_dialog); #define AMITK_TYPE_THRESHOLDS_DIALOG #define AMITK_THRESHOLDS_DIALOG (obj) #define AMITK_THRESHOLDS_DIALOG_CLASS (klass) #define AMITK_IS_THRESHOLDS_DIALOG (obj) #define AMITK_IS_THRESHOLDS_DIALOG_CLASS (klass) AmitkThresholdsDialog; GType amitk_thresholds_dialog_get_type (void); GtkWidget* amitk_thresholds_dialog_new (GList *objects, GtkWindow *parent);
typedef enum { AMITK_THRESHOLD_SCALE_FULL, AMITK_THRESHOLD_SCALE_SCALED, AMITK_THRESHOLD_SCALE_NUM_SCALES } AmitkThresholdScale;
typedef enum { AMITK_THRESHOLD_ARROW_FULL_MIN, AMITK_THRESHOLD_ARROW_FULL_CENTER, AMITK_THRESHOLD_ARROW_FULL_MAX, AMITK_THRESHOLD_ARROW_SCALED_MIN, AMITK_THRESHOLD_ARROW_SCALED_CENTER, AMITK_THRESHOLD_ARROW_SCALED_MAX, AMITK_THRESHOLD_ARROW_NUM_ARROWS } AmitkThresholdArrow;
typedef enum { AMITK_THRESHOLD_ENTRY_MAX_ABSOLUTE, AMITK_THRESHOLD_ENTRY_MAX_PERCENT, AMITK_THRESHOLD_ENTRY_MIN_ABSOLUTE, AMITK_THRESHOLD_ENTRY_MIN_PERCENT, AMITK_THRESHOLD_ENTRY_NUM_ENTRIES } AmitkThresholdEntry;
typedef enum { AMITK_THRESHOLD_LINE_MAX, AMITK_THRESHOLD_LINE_CENTER, AMITK_THRESHOLD_LINE_MIN, AMITK_THRESHOLD_LINE_NUM_LINES } AmitkThresholdLine;
typedef enum { AMITK_THRESHOLD_BOX_LAYOUT, AMITK_THRESHOLD_LINEAR_LAYOUT } AmitkThresholdLayout;
typedef struct { GtkVBox vbox; gboolean minimal; /* true if we just want the color table menu and the color scale */ AmitkViewMode view_mode; GtkWidget * color_scales[2]; GtkWidget * histogram; GtkWidget * histogram_label; GnomeCanvasItem * color_scale_image[2][AMITK_THRESHOLD_SCALE_NUM_SCALES]; GnomeCanvasItem * histogram_image; GnomeCanvasItem * arrow[2][AMITK_THRESHOLD_ARROW_NUM_ARROWS]; GnomeCanvasItem * connector_line[2][AMITK_THRESHOLD_LINE_NUM_LINES]; GtkWidget * spin_button[2][AMITK_THRESHOLD_ENTRY_NUM_ENTRIES]; GtkWidget * color_table_label[AMITK_VIEW_MODE_NUM]; GtkWidget * color_table_hbox[AMITK_VIEW_MODE_NUM]; GtkWidget * color_table_menu[AMITK_VIEW_MODE_NUM]; GtkWidget * color_table_independent[AMITK_VIEW_MODE_NUM]; GtkWidget * threshold_ref_frame_menu[2]; GtkWidget * percent_label[2]; GtkWidget * absolute_label[2]; GtkWidget * ref_frame_label[2]; GtkWidget * full_label[2]; GtkWidget * scaled_label[2]; GtkWidget * type_button[AMITK_THRESHOLDING_NUM]; GtkWidget * window_label; GtkWidget * window_vbox; GtkWidget * style_button[AMITK_THRESHOLD_STYLE_NUM]; GtkWidget * min_max_label[AMITK_LIMIT_NUM]; gdouble initial_y[2]; amide_data_t initial_min[2]; amide_data_t initial_max[2]; amide_data_t threshold_max[2]; amide_data_t threshold_min[2]; GtkWidget * progress_dialog; AmitkDataSet * data_set; /* what data set this threshold corresponds to */ } AmitkThreshold;
GtkWidget* amitk_threshold_new (AmitkDataSet *data_set, AmitkThresholdLayout layout, GtkWindow *parent, gboolean minimal);
|
|
|
|
|
|
|
|
Returns : |
void amitk_threshold_new_data_set (AmitkThreshold *threshold, AmitkDataSet *new_data_set);
|
|
|
void amitk_threshold_style_widgets (GtkWidget **radio_buttons, GtkWidget *hbox);
|
|
|
#define AMITK_TYPE_THRESHOLD_DIALOG (amitk_threshold_dialog_get_type ())
#define AMITK_THRESHOLD_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), AMITK_TYPE_THRESHOLD_DIALOG, AmitkThresholdDialog))
|
#define AMITK_THRESHOLD_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), AMITK_TYPE_THESHOLD_DIALOG, AmitkThresholdDialogClass))
|
#define AMITK_IS_THRESHOLD_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AMITK_TYPE_THRESHOLD_DIALOG))
|
#define AMITK_IS_THRESHOLD_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), AMITK_TYPE_THRESHOLD_DIALOG))
|
typedef struct { GtkDialog dialog; GtkWidget *data_set_label; GtkWidget *vbox; GtkWidget *threshold; } AmitkThresholdDialog;
GtkWidget* amitk_threshold_dialog_new (AmitkDataSet *data_set, GtkWindow *parent);
|
|
|
|
Returns : |
void amitk_threshold_dialog_new_data_set (AmitkThresholdDialog *threshold_dialog, AmitkDataSet *new_data_set);
|
|
|
AmitkDataSet * amitk_threshold_dialog_data_set (AmitkThresholdDialog *threshold_dialog);
|
|
Returns : |
#define AMITK_TYPE_THRESHOLDS_DIALOG (amitk_thresholds_dialog_get_type ())
#define AMITK_THRESHOLDS_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), AMITK_TYPE_THRESHOLDS_DIALOG, AmitkThresholdsDialog))
|
#define AMITK_THRESHOLDS_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), AMITK_TYPE_THESHOLDS_DIALOG, AmitkThresholdsDialogClass))
|
#define AMITK_IS_THRESHOLDS_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AMITK_TYPE_THRESHOLDS_DIALOG))
|
#define AMITK_IS_THRESHOLDS_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), AMITK_TYPE_THRESHOLDS_DIALOG))
|
typedef struct { GtkDialog dialog; GtkWidget *notebook; GList * thresholds; } AmitkThresholdsDialog;