Lines Matching refs:cw

499 	struct connection_widgets *cw = data;  in hostname_cb()  local
509 ctext = gtk_combo_box_text_get_active_text(GTK_COMBO_BOX_TEXT(cw->combo)); in hostname_cb()
515 text = gtk_entry_get_text(GTK_ENTRY(cw->hentry)); in hostname_cb()
523 gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(cw->button), 1); in hostname_cb()
524 gtk_widget_set_sensitive(cw->button, 1); in hostname_cb()
526 gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(cw->button), 0); in hostname_cb()
527 gtk_widget_set_sensitive(cw->button, 0); in hostname_cb()
534 struct connection_widgets cw; in get_connection_details() local
556 cw.hentry = gtk_entry_new(); in get_connection_details()
557 gtk_entry_set_text(GTK_ENTRY(cw.hentry), "localhost"); in get_connection_details()
558 gtk_box_pack_start(GTK_BOX(hbox), cw.hentry, TRUE, TRUE, 0); in get_connection_details()
577 cw.combo = gtk_combo_box_text_new(); in get_connection_details()
578 gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(cw.combo), "IPv4"); in get_connection_details()
579 gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(cw.combo), "IPv6"); in get_connection_details()
580 gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(cw.combo), "local socket"); in get_connection_details()
581 gtk_combo_box_set_active(GTK_COMBO_BOX(cw.combo), 0); in get_connection_details()
583 gtk_container_add(GTK_CONTAINER(hbox), cw.combo); in get_connection_details()
593 cw.button = gtk_check_button_new_with_label("Auto-spawn fio backend"); in get_connection_details()
594 gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(cw.button), 1); in get_connection_details()
595 …gtk_widget_set_tooltip_text(cw.button, "When running fio locally, it is necessary to have the back… in get_connection_details()
596 gtk_box_pack_start(GTK_BOX(hbox), cw.button, FALSE, FALSE, 6); in get_connection_details()
601 g_signal_connect(G_OBJECT(cw.hentry), "changed", G_CALLBACK(hostname_cb), &cw); in get_connection_details()
602 g_signal_connect(G_OBJECT(cw.combo), "changed", G_CALLBACK(hostname_cb), &cw); in get_connection_details()
611 ge->host = strdup(gtk_entry_get_text(GTK_ENTRY(cw.hentry))); in get_connection_details()
614 typeentry = gtk_combo_box_text_get_active_text(GTK_COMBO_BOX_TEXT(cw.combo)); in get_connection_details()
623 ge->server_start = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(cw.button)); in get_connection_details()