lab6_final - Purpose S x-window software 0 Gtk ( digital...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Purpose S x-window software 0 Gtk ( digital storage oscilloscope u graphic user interface 0 . 0 ( software ( oscilloscope 0 ( . S m M D system 0 oscilloscope ( . Discussion for the following question should be included in the report. 1) Suppose you are going to implement a graphic user input interface as shown in the right side of Fig 6.2. Survey on various Gtk widgets and select the appropriate widgets. Explain how to implement various input methods such a button, slide bar, text input, etc. 0 ( button u text input 0 ( . } u " . u vbox & S input ( & P ( . u vbox u button u text input ( . ( & O . Button button = gtk_button_new_with_label ( "CH1" ); // CH1 u button . gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE,0); // vbox p button . g_signal_connect(G_OBJECT (button), "clicked" ,GTK_SIGNAL_FUNC(ch1),(gpointer) "CH1" ); // CH1 u click 0 ( ch1 R r " ( . gtk_widget_show (button); // button 0 . Ch1 . . void ch1(GtkWidget *widget){ delete (1); invert_flag_ch1 =0; display(1); } D M r t} data u display } " . Display 0 channel 1 u 2 data draw_brush() ( " U r " u. Delete T data 0 . Display S data S . & S Q data u black u R u O & ( & . . ch2, invert_ch1, invert_ch2 u . u & text input ( . entry = gtk_entry_new(); // entry 0 ....
View Full Document

Page1 / 4

lab6_final - Purpose S x-window software 0 Gtk ( digital...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online