GNOME/GTK+ Introduction

Slides:



Advertisements
Similar presentations
Chapter 16 Graphical User Interfaces
Advertisements

What Was I Thinking??. Key Terms 1. Control 1. Control 2. Design Mode 2. Design Mode 3. Event 3. Event 4. Form 4. Form 5. Interface 5. Interface 6. Properties.
Microsoft® Small Basic
Chapter 16 Graphical User Interfaces John Keyser’s Modifications of Slides by Bjarne Stroustrup
RTL Design Introduction Decoder Encoder Multiplexer Tri-state Buffer
Operating Systems First Program to load. Controls Hardware And software. Enable User to operate PC( Personal Computer) –Examples: DOS: Disk Operating.
1 Chapter 7 Graphics and Event Handling. 2 Overview The java.awt and javax.swing packages and their subpackages support graphics and event handling. Many.
What is an object? Your dog, your desk, your television set, your bicycle. Real-world objects share two characteristics: They all have state and behavior;
Chapter 1- Visual Basic Schneider 1 Chapter 1 An Introduction to Computers and Visual Basic.
1 An Introduction to Visual Basic Objectives Explain the history of programming languages Define the terminology used in object-oriented programming.
Client-side Applications with PHP Andrei Zmievski & Frank M. Kromann Track: PHP Conference Date: Friday, July 27 Time: 3:45pm – 4:30pm Location: Fairbanks.
Mr C Johnston ICT Teacher BTEC IT Unit 06 - Lesson 02 Types of Programming Language.
Overview-An Overview of Visual Basic.NET1 An Overview of Visual Basic.NET.
Microsoft Visual Basic 2005: Reloaded Second Edition
Department of Mechanical Engineering, LSUSession VII MATLAB Tutorials Session VIII Graphical User Interface using MATLAB Rajeev Madazhy
Prepared by Fareeha Lecturer DCS IIUI 1 Windows API.
Chapter 34 Java Technology for Active Web Documents methods used to provide continuous Web updates to browser – Server push – Active documents.
Linux+ Guide to Linux Certification Chapter Ten The X Window System.
Intro to Excel - Session 7.31 Tutorial 7 - Session 7.3 Developing an Excel Application.
Tutorial 11 Five windows included in the Visual Basic Startup Screen Main Form Toolbox Project Explorer (Project) Properties.
ROOT Team Meeting October 1 st 2010 GUI thinking and testing ideas OpenGL GUI Root Team meeting 01/10/2010.
CHAPTER TWO INTRODUCTION TO VISUAL BASIC © Prepared By: Razif Razali 1.
Object-Oriented Database Processing
Introduction to Computer in Technology. Internet Discovery Were going to define several terms that are common in Computers and Technology One way to find.
CSCE 121: Introduction to Program Design and Concepts, Honors Dr. J. Michael Moore Spring 2015 Set 15: GUIs 1.
Visual Basic.NET BASICS Lesson 1 A First Look at Microsoft Visual Basic.NET.
Microsoft Visual Basic 2005 BASICS Lesson 1 A First Look at Microsoft Visual Basic.
GUI With GTK+ Under Linux Fanfan Xiong. Introduction GTK+ (GIMP toolkit) : A library for creating graphical user interfaces(GUI) Two examples developed.
Build-A-Button Glenn G. Chappell U. of Alaska Fairbanks CS 381 Lecture Notes Wednesday, October 8, 2003.
School of Computer Science & Information Technology G6DICP - Lecture 11 Classes & Objects.
Computer Graphics: Programming, Problem Solving, and Visual Communication Steve Cunningham California State University Stanislaus and Grinnell College.
Visual Basic for Application - Microsoft Access 2003 Programming applications using Objects.
Overview GUI Programming with GTK+ and GLADE 장정철.
GUIs Basic Concepts. GUI GUI : Graphical User Interface Window/Frame : a window on the screen Controls/Widgets : GUI components.
Overview.ppt Overview-An Overview of Visual Basic.NET An Overview of Visual Basic.NET.
Automated Mechanisms Help. Potentiometers Potentiometer Check –Analog Port 2 How they work –Analog sensor –Measures rotation of a shaft between 0 and.
Lecture Set 1 Part B: Understanding Visual Studio and.NET – Structure and Terminology 1/16/ :04 PM.
NxWM Threading Model Main Thread NX Server Thread CCallback Touchscreen Listener Thread NX Event Callback Messages Mouse Events Hardware Touchscreen Events.
July FLTK The Fast Light Toolkit • A C++ graphical user interface toolkit • Can be used under X, Windows, MacOS • Supports OpenGL • Provides: – Interactive.
Kapi’olani Community College Art 258 Interface Programming II In-class Presentation Week 1A.
Input Devices.
Building GUI applications with Python, GTK and Glade
Exception and Event Handling
Visual Basic Code & No.: CS 218
An Introduction to Computers and Visual Basic
Linux Operating System Architecture
FLTK The Fast Light Toolkit
1. Introduction to Visual Basic
R
Chapter 1: An Introduction to Visual Basic 2015
Introduction to OpenSCAD.
CT1514 Flash-2.
An Introduction to Computers and Visual Basic
CIS 155 INTRODUCTION TO ACCESS 2002
Understand Windows Forms Applications and Console-based Applications
Event Driven Programming
EE 422C Java FX.
User Interface Software Look under the hood
Event Driven Programming and Graphical User Interface
The mouse controls the movement of the pointer on your screen.
CIS16 Application Development Programming with Visual Basic
GTK + Programming.
Lecture 9 The most important GUI elements
CS285 Introduction - Visual Basic
The Basic Usage and The Event Handling in Glade.
Windows.
An Introduction to Computers and Visual Basic
Interfaces, Classes & Objects
Constructors, GUI’s(Using Swing) and ActionListner
Exception and Event Handling
Presentation transcript:

GNOME/GTK+ Introduction

Application Gnome GTK+ GDK X C glib X C X11 Graphics Library : low-level functions to control the display glib : library of C functions, macros and structs used by GDK, GTK+ and GNOME C Standard Libraries Linux System Calls Figure 1.1: The levels of software for a GNOME application in Linux

Application Gnome GTK+ GDK X C Gnome application program : you will write this Application Gnome GTK+ GDK glib X C GNOME : extension of GTK+, specialized widgets GIMP Toolkit: organizes the GDK functions into objects providing the functionality of widgets GIMP Drawing Kit : simplifies access to X functions Figure 1.1: The levels of software for a GNOME application in Linux

Terminology Encapsulation - object encapsulates its data. Data can only be accessed through function calls designed for that purpose. Inheritance - properties that are available through a base class upon which a new class is based. Methods - the above mentioned functions also used to create a new object from a class. Class - definition code used to construct an object Object - a particular instance of a class

Terminology Event - sent to your program when a hardware action such as a keystroke, movement of the mouse, pressing of a mouse button, takes place or when X window changes occur in the display (window appears, window is uncovered, etc) Signal - Events are translated into signals. They are sent to your program when one or several hardware actions take place or when certain things occur within a widget (scroll bar moves, button is pressed) Callback function - a function which is called by your program upon receipt of a particular signal.