int main(int argc, char *argv[])
{
	wm = init_gui(argc, argv);

	update_port_names(wm->com_port);

	set_comm_trace(true);
	gtk_main();

	return 0;
}
示例#2
0
文件: Track.C 项目: shanipribadi/non
void
Track::name ( const char *name )
{
    if ( _name )
        free( _name );
    
    _name = timeline->get_unique_track_name(name);

    if ( name_field )
        name_field->value( _name );
    
    update_port_names();
}
void on_refresh_ports_clicked(GtkObject *object, gpointer user_data)
{
	update_port_names(wm->com_port);
}