70 likes | 205 Views
Adding The Variable Function. Sung-Ju Kang Department of Physics Kangwon National University. We will add the function of Zoom In, the function handle in the source code. In drawingarea, we will realize the Tick. and we will obtain the better package.
E N D
Adding The Variable Function. Sung-Ju Kang Department of Physics Kangwon National University We will add the function of Zoom In, the function handle in the source code. In drawingarea, we will realize the Tick. and we will obtain the better package.
. . . . . . We can change the real coordinate, . 1. Changed The Computer Coordinate Generic computer coordinate Proportional expression of real coordinate and computer coordinate.
: major tick : miner tick 2. Realization of Tick Variable dtx : distance between major ticks on X axis. dty : distance between major ticks on Y axis. num : number of miner tick between major ticks.
3. Redrawing on The Screen When the window reappear the screen, drawn the bifurcation diagram is gone. Then we use this signal, redrawing the bifurcation diagram on the screen. expose_event gboolean on_drawingarea1_expose_event (GtkWidget *widget, GdkEventExpose *event, gpointer user_data) { return FALSE; }
4. Button Widget Sight Widget can handle sight or don’t sight. We can mark ‘Yes’ or ‘No’ the Visible, element of property in GLADE. In GLADE Changed source code Eliminated under the command line gtk_widget_show (butten1);
Clicked Zoom In button Extended selecting area