Development The Foundation Window.

Slides:



Advertisements
Similar presentations
Microsoft Expression Web-Illustrated Unit J: Creating Forms.
Advertisements

Using Macros and Visual Basic for Applications (VBA) with Excel
PRIMARY, SECONDARY & QUANTITATIVE RESEARCH TASK HYPERLINK APPLICATION PROCEDURE 1.
Guide to Oracle10G1 Introduction To Forms Builder Chapter 5.
A Guide to Oracle9i1 Introduction To Forms Builder Chapter 5.
Exploring Microsoft Office Microsoft Word 2000 Chapter 1 1 Exploring Microsoft Word 2000 Chapter 1 What will Word Processing Do For Me? By Robert.
Introduction to Visual Basic What it is, and a simple program Mike Thelwall University of Wolverhampton, UK.
Introduction To Form Builder
Introduction To Form Builder
Project Plan Formatting – Fundamentals Lesson 6. Skills Matrix SkillsMatrix Skill Format a Gantt ChartModify the Gantt Chart using the Bar Styles dialog.
Chapter 6 Navigating Presentations Using Hyperlinks and Action Buttons
Microsoft Visual Basic 2005 CHAPTER 8 Using Procedures and Exception Handling.
Visual Basic 2008 Express Edition The IDE. Visual Basic 2008 Express The Start Page Recent Projects Open an existing project Create a New Project.
Microsoft Visual Basic 2012 Using Procedures and Exception Handling CHAPTER SEVEN.
Appendices A - F A-F Exploring Microsoft Visual Basic 6.0 Copyright © 1999 Prentice-Hall, Inc. By Carlotta Eaton.
Microsoft Access Lesson 1 Lexington Technology Center February 11, 2003 Bob Herring On the Web at
CIS165 Desktop Publishing Microsoft Office Publisher 2007 Unit A – Getting Started.
1 The EDIT Program The Edit program is a full screen text editor that allows you to: Create text files Create text files Edit an existing text files Edit.
Creating Charts for the Agency Budget Creating Budget Charts, Slide 1Copyright © 2004, Jim Schwab, University of Texas at Austin.
MS-Word XP Lesson 9. Mail Merge The Mail Merge feature combines a list of data, typically name and address that is contained in one file with a document.
Microsoft Access 2010 Chapter 8 Advanced Form Techniques.
Chapter 2 – Introduction to the Visual Studio .NET IDE
Who Wants to be a Millionaire? LIFELINES 1.50/50 2.Poll the audience 3.Ask Another Student.
Integrated Development Environment Visual Basic IDE Slide 2 of 10 Topic & Structure of the lesson Introduction Integrated Development Environment Tool.
Lesson 14: Exploring Excel Learning Objectives After studying this lesson, you will be able to:  Explain ways Excel can help your productivity.
1.Introduction to SPSS By: MHM. Nafas At HARDY ATI For HNDT Agriculture.
Word 2003 The Word Screen. Word 2003 Screen File Menu –Holds the options for creating a new document, opening a document, saving a document, printing.
Word Processor Version.2. Methods Visual Basic is –Object Oriented –Event Driven Objects –Properties –Methods.
CMPF114 Computer Literacy Chapter 3 The Visual Basic Environment 1.
Home page Web page link 1 Web page link 2Web page link 3Web page link 4.
BBT 10 Visual Basic 03 Enrichment. Tip Before creating any files for your project, first create a new folder Save all of your files in the folder Pieces.
Word Processor Version.01 EME 4411 Week 5. The Scroll Bars.
1 After completing this lesson, you will be able to: Open a file. Navigate through a document. Scroll through a document. Insert text in a document. Select.
1 After completing this lesson, you will be able to: Create a form using AutoForm. Create a form using the Form Wizard. Add controls to a form. Modify.
Chapter 3 I Need a Tour Guide (Introduction to Visual Basic 2010) Clearly Visual Basic: Programming with Visual Basic nd Edition.
Chapter 5 Introduction To Form Builder. Lesson C Objectives  Use sequences to automatically generate primary key values in a form  Create lists of values.
TOOLBOX. The Toolbox Intrinsic Controls - always included in the Toolbox ActiveX Controls - separate files with ocx file extension Insertable Objects.
MATLAB and SimulinkLecture 61 To days Outline Graphical User Interface (GUI) Exercise on this days topics.
Customizing Menus and Toolbars CHAPTER 12 Customizing Menus and Toolbars.
LCG AA Meeting 30 June 2004 Ilka Antcheva Graphics User Interface in ROOT.
XP New Perspectives on Macromedia Dreamweaver MX 2004 Tutorial 5 1 Adding Shared Site Elements.
Integrating Components and Dynamic Text Boxes with the Animated Map– Lesson 101 Integrating Components and Dynamic Text Boxes with the Animated Map Lesson.
Chapter 7 Multiple Forms, Modules, and Menus. Section 7.2 MODULES A module contains code—declarations and procedures—that are used by other files in a.
MetaViewer Interface and Navigation start now. What is MetaViewer? Log On/Off to the system Main Window and Panes Master Index and Folder Pane Account.
Microsoft Expression Web-Illustrated Unit G: Designing Site Navigation.
DB Implementation: MS Access Forms. MS Access Forms: Purpose Data entry, editing, & viewing data in Tables Forms are user-friendlier to end-users than.
Module 3: Creating Windows-based Applications. Overview Creating the Main Menu Creating and Using Common Dialog Boxes Creating and Using Custom Dialog.
Building GUI applications with Python, GTK and Glade
Chapter 3: I Need a Tour Guide (Introduction to Visual Basic 2012)
Introduction to Computer CC111
Jkelany Chat Project.
Chapter Topics 15.1 Graphical User Interfaces
Chapter 2 – Introduction to the Visual Studio .NET IDE
Introduction to Computing
CONTENT MANAGEMENT SYSTEM CSIR-NISCAIR, New Delhi
Introduction to the Visual C# 2005 Express Edition IDE
Using Procedures and Exception Handling
Chapter 7 Advanced Formatting and Merging Publications with Data
MS-Office It is a Software Package It contains some programs like
Chapter 7 Advanced Form Techniques
Microsoft Publisher 2010 Illustrated Introductory
Basic Usage of Glade Use Glade and create the interface
DB Implementation: MS Access Forms
The Basic Usage and The Event Handling in Glade.
Module 8: Creating Windows-based Applications
Control of The Text Area and The Status Bar.
• Every signal is uniquely identified by a name,
Microsoft Windows 7 Basics
Chapter 4 Enhancing the Graphical User Interface
Development the Text Editor
Presentation transcript:

Development The Foundation Window. Sung-Ju Kang Department of Physics Kangwon National University  Example Program for The User Interface Program to make the Text Editor.  Elements for The Example Menu: New, Open, Save, Font, Cut, Copy, Paste Toolbar: New, Save Dialog box: File selection, Font selection

Defining Signal Handlers Item Event Work Menu Activate callbacks.c Interface.c Toolbar Click Glade GTK

Exit Button of Menu Signal Handlers Example Exit Button of Menu Signal Handlers We must understand the signal of delete_event. And in Properties window entry GRADE To connect from signal and handler to inner source.

Linking The Handlers You have a directory with several files in it and a scr subdirectory. The following details some of the gtk calls needed to make the handlers work in callbacks.c . Now load up callbacks.c and add in the code. gboolean on_window1_delete_event (GtkWidget *widget, GdkEvent *event, gpointer user_data) { gtk_exit( 0 ); return FALSE; } void on_exit1_activate (GtkMenuItem *menuitem, Adding the Exit Calls

Save the file and compile the code again. Start up your program.

Glade Widgets in More Detail: Gtk+ Basic Glade builds the code to create the windows and boxes and popups you design into interface.c. •Window • Menu Bar • Toolbar • Handle Box • Label • Text Entry • Combo Box • Text Box • Button • Toggle Button • Check Button • Radio Button • List • Tree • Columned List • Columned Tree • Option Menu • Spin Button • Progress Bar • Status Bar • Pixmap • Drawing Area • Dialog Window • Color Selection Dialog • File Selection Dialog • Font Selection Dialog • Horizontal Box • Vertical Box • Table Box •Fixed Positions • Horizontal Pane • Vertical Pane • Notebook • Frame • Scrolled Window •Viewport