Lines Matching refs:radio
826 GtkWidget* radio;
828 radio = gtk_radio_button_new_with_label (NULL, _("Color"));
829 gtk_widget_set_tooltip_text (radio, _("Pick the visible color and opacity"));
830 clonetiler_table_attach (table, radio, 0.0, 1, 1);
831 g_signal_connect (G_OBJECT (radio), "toggled",
833 gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (radio), prefs->getInt(prefs_path + "pick", 0) == PICK_COLOR);
836 radio = gtk_radio_button_new_with_label (gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio)), _("Opacity"));
837 gtk_widget_set_tooltip_text (radio, _("Pick the total accumulated opacity"));
838 clonetiler_table_attach (table, radio, 0.0, 2, 1);
839 g_signal_connect (G_OBJECT (radio), "toggled",
841 gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (radio), prefs->getInt(prefs_path + "pick", 0) == PICK_OPACITY);
844 radio = gtk_radio_button_new_with_label (gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio)), _("R"));
845 gtk_widget_set_tooltip_text (radio, _("Pick the Red component of the color"));
846 clonetiler_table_attach (table, radio, 0.0, 1, 2);
847 g_signal_connect (G_OBJECT (radio), "toggled",
849 gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (radio), prefs->getInt(prefs_path + "pick", 0) == PICK_R);
852 radio = gtk_radio_button_new_with_label (gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio)), _("G"));
853 gtk_widget_set_tooltip_text (radio, _("Pick the Green component of the color"));
854 clonetiler_table_attach (table, radio, 0.0, 2, 2);
855 g_signal_connect (G_OBJECT (radio), "toggled",
857 gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (radio), prefs->getInt(prefs_path + "pick", 0) == PICK_G);
860 radio = gtk_radio_button_new_with_label (gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio)), _("B"));
861 gtk_widget_set_tooltip_text (radio, _("Pick the Blue component of the color"));
862 clonetiler_table_attach (table, radio, 0.0, 3, 2);
863 g_signal_connect (G_OBJECT (radio), "toggled",
865 gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (radio), prefs->getInt(prefs_path + "pick", 0) == PICK_B);
868 radio = gtk_radio_button_new_with_label (gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio)), C_("Clonetiler color hue", "H"));
869 gtk_widget_set_tooltip_text (radio, _("Pick the hue of the color"));
870 clonetiler_table_attach (table, radio, 0.0, 1, 3);
871 g_signal_connect (G_OBJECT (radio), "toggled",
873 gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (radio), prefs->getInt(prefs_path + "pick", 0) == PICK_H);
876 radio = gtk_radio_button_new_with_label (gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio)), C_("Clonetiler color saturation", "S"));
877 gtk_widget_set_tooltip_text (radio, _("Pick the saturation of the color"));
878 clonetiler_table_attach (table, radio, 0.0, 2, 3);
879 g_signal_connect (G_OBJECT (radio), "toggled",
881 gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (radio), prefs->getInt(prefs_path + "pick", 0) == PICK_S);
884 radio = gtk_radio_button_new_with_label (gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio)), C_("Clonetiler color lightness", "L"));
885 gtk_widget_set_tooltip_text (radio, _("Pick the lightness of the color"));
886 clonetiler_table_attach (table, radio, 0.0, 3, 3);
887 g_signal_connect (G_OBJECT (radio), "toggled",
889 gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (radio), prefs->getInt(prefs_path + "pick", 0) == PICK_L);
1183 GtkWidget* radio;
1185 radio = gtk_radio_button_new_with_label (NULL, _("Rows, columns: "));
1186 gtk_widget_set_tooltip_text (radio, _("Create the specified number of rows and columns"));
1187 clonetiler_table_attach (table, radio, 0.0, 1, 1);
1188 g_signal_connect (G_OBJECT (radio), "toggled", G_CALLBACK (clonetiler_switch_to_create), (gpointer) dlg);
1191 gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (radio), TRUE);
1192 gtk_toggle_button_toggled (GTK_TOGGLE_BUTTON (radio));
1195 radio = gtk_radio_button_new_with_label (gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio)), _("Width, height: "));
1196 gtk_widget_set_tooltip_text (radio, _("Fill the specified width and height with the tiling"));
1197 clonetiler_table_attach (table, radio, 0.0, 2, 1);
1198 g_signal_connect (G_OBJECT (radio), "toggled", G_CALLBACK (clonetiler_switch_to_fill), (gpointer) dlg);
1201 gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (radio), TRUE);
1202 gtk_toggle_button_toggled (GTK_TOGGLE_BUTTON (radio));