Adding Additional Functionality to the Wireshark GUI with GTK+

Slides:



Advertisements
Similar presentations
XP New Perspectives on Microsoft Office Word 2003 Tutorial 6 1 Microsoft Office Word 2003 Tutorial 6 – Creating Form Letters and Mailing Labels.
Advertisements

LOGGING ON AND SHUTTING DOWN How to do both successfully at school.
Instructors: Connie Hutchison & Christopher McCoy
Packaging a Presentation on a CD, using PowerPoint 2003 Multimedia Services at The Citadel Updated
The GIMP Simple features tutorial By Mary A White.
Further Adventures in Excel Adding those “Final Touches”…
Welcome to E-Prime E-Prime refers to the Experimenter’s Prime (best) development studio for the creation of computerized behavioral research. E-Prime is.
XP Browser and Basics1. XP Browser and Basics2 Learn about Web browser software and Web pages The Web is a collection of files that reside.
SHORTCUTS. Overview Shortcuts are quick ways to get to the items you use often. You can put a shortcut to any program, document, or printer on your desktop.
Browser and Basics Tutorial 1. Learn about Web browser software and Web pages The Web is a collection of files that reside on computers, called.
Chapter 2: Exploring the Desktop The Complete Guide to Linux System Administration.
Android 4: Creating Contents Kirk Scott 1. Outline 4.1 Planning Contents 4.2 GIMP and Free Sound Recorder 4.3 Using FlashCardMaker to Create an XML File.
Creating a Web Page HTML, FrontPage, Word, Composer.
Create Mailing Labels (Word 2007) Word 2007 using the Mail Merge function and an Excel spreadsheet Create mailing labels from Member Rosters in.
®® Microsoft Windows 7 for Power Users Tutorial 5 Comparing Windows 7 File Systems.
The SAU Website Workshop. Using the site Website Management The Campus Directory Form Manager Other available resources.
Catlyn Colson. Recap of Previously Completed Work Previously I had done the following: Built the Database, started basic layout of the webpage, connected.
Introducing Dreamweaver MX 2004
Getting Started with Application Software
Introduction to VBA MGMI Aug What is VBA? VBA = Visual Basic for Application Excel’s powerful built-in programming language An event-driven.
C-Map Tutorial How to create and save a concept map using C-Map, export a C-Map as an image, and export a C-Map as a webpage.
Making Mass Mailings Easier Using the Mail Merge Feature in Microsoft Word.
Engineering Computing I Chapter 1 – Part A A Tutorial Introduction.
Fourth R Inc. 1 WELCOME TO MICROSOFT OFFICE OUTLOOK 2003 INTERMEDIATE COURSE.
Fourth R Inc. 1 WELCOME TO MICROSOFT OFFICE PROJECT 2003 INTRODUCTORY COURSE.
® Microsoft Access 2010 Tutorial 10 Automating Tasks with Macros.
6 th Annual Focus Users’ Conference 6 th Annual Focus Users’ Conference Import Testing Data Presented by: Adrian Ruiz Presented by: Adrian Ruiz.
1 of 3 Microsoft ® Office Communicator 2007 can help you perform a wide range of tasks including secure Instant Messaging (IM). With its rich collaboration.
FIRST COURSE Word Tutorial 6 Using Mail Merge. Objectives Learn about the mail merge process Use the Mail Merge task pane Select a main document Create.
 Start Microsoft Word from the icon or shortcut for the application. This is usually accessible from the Start Button. Then go to Programs, then Microsoft.
Introduction Today Overview of office schedule. Term 2 Overview No more computer theory Using MS Office in detail –Word processing –Excel Spreadsheets.
Word 2007® Business and Personal Communication How can Microsoft Word 2007 help you work with others?
INFORMATION SYSTEM – SOFTWARE TOPIC: GRAPHICAL USER INTERFACE.
Plug-in and tutorial development for GIMP- Cathy Irwin, 2004 The Development of Image Completion and Tutorial Plug-ins for GIMP By: Cathy Irwin Supervisors:
Answer all questions listed on Animoto handout Find corresponding pictures that match answers to questions Use Google images or another website to find.
GTK+
HTML-I Basic HTML Elements. HTML (Hyper Text Markup Language) HTML is a document layout and hyperlink- specification language. i.e. a language used to.
XP New Perspectives on Microsoft Windows XP Tutorial 1 1 Microsoft Windows XP Creating a Web Site Tutorial 1.
Copyright 2007, Paradigm Publishing Inc. BACKNEXTEND 8-1 LINKS TO OBJECTIVES Import data from another Access table Import data from another Access table.
Microsoft Word Mail Merge Versions Mail Merge Follow this tutorial exactly to produce a merge using data from a Word table and the business letter.
XP Creating Web Pages with Microsoft Office
HOW TO RECORD YOUR VOICE FOR AN AUDIO PODCAST Audacity Tutorial.
Windows Tutorial 2 Organizing Your Files
V2.2 Boo Virk GIMP Tutorial v2.2 Boo Virk
Chapter 3: I Need a Tour Guide (Introduction to Visual Basic 2012)
Excel Tutorial 8 Developing an Excel Application
4.2 Microsoft Word.
Microsoft Word Objectives
Getting Started with Application Software
Application Setup.
Word Collaboration Feature
WORKSHOP 2 VALVETRAIN MECHANISM
WORKSHOP 2 VALVETRAIN MECHANISM
Computing Fundamentals
Word Tutorial 6 Using Mail Merge
Printing Address Labels
Mail Merge.
Creating and Using a Database
How Can I Help?.
Gimp Guide Mr Hall.
4.2 Microsoft Word.
Objectives Learn about Function procedures (functions), Sub procedures (subroutines), and modules Review and modify an existing subroutine in an event.
Welcome to E-Prime E-Prime refers to the Experimenter’s Prime (best) development studio for the creation of computerized behavioral research. E-Prime is.
ECDC PPS data collection tools
Electronics II Physics 3620 / 6620
Learning the Basics of Microsoft Word 2010 for Microsoft Windows
CSCI The UNIX System Editing files
Basic Concepts of The User Interface
Chapter 4 Enhancing the Graphical User Interface
Tutorial 11 Using and Writing Visual Basic for Applications Code
Presentation transcript:

Adding Additional Functionality to the Wireshark GUI with GTK+ June 18, 2009 Stephen Fisher Wireshark Core Developer Network Engineer SHARKFEST '09 Stanford University June 15-18, 2009

What is GTK+ GTK+ is short for the GIMP Toolkit. It was originally created for use by the GNU Image Manipulation Program(GIMP). GTK+ is available for Unix (X), Microsoft Windows and MacOS X . GTK+ is written in C and comes with a C based API. APIs for other languages are available.

How Wireshark uses GTK+ Almost all GUI presentations in Wireshark are done through GTK+. A notable exception is the native Microsoft Windows File Save dialogs. 3

The Export Objects feature In the GUI, go to: Find Export Objects We will be studying how the the HTTP Export Object’s GUI was created. 4

Main Menu To Export Object gtk/main_menu.c The underline in front of a letter means that letter is the shortcut key in the menu. gtk/export_object_http.c We use _U_ to tell gcc that the parameter is unused in the function. gtk/export_object.c 5

Creating the Window gtk/export_object.c: export_object_window() continued gtk/export_object.h: epan/prefs.h: (pixels) 6

Creating the Window(cont.) gtk/export_object.c: export_object_window() continued 7

Creating the Window(cont.) gtk/export_object.c: export_object_window() continued 8

Creating the Window(cont.) gtk/export_object.c: export_object_window() continued 9

Creating the Window(cont.) gtk/export_object.c: export_object_window() continued (Repeated for each column…) 10

Creating the Window(cont.) gtk/export_object.c: export_object_window() continued 11

Creating the Window(cont.) gtk/export_object.c: export_object_window() continued (repeated for each button …) 12

Creating the Window(cont.) gtk/export_object.c: export_object_window() continued 13

The Finished Window 14

Window Filled With Tap Data 15

Further reading GTK+ Reference Manual: http://library.gnome.org/devel/gtk/stable/ GTK+ Index of All Symbols (functions and such): http://library.gnome.org/devel/gtk/stable/api-index-full.html GTK+ 2.0 Tree View Tutorial: http://scentric.net/tutorial/ Wireshark Developer’s Guide: http://www.wireshark.org/docs/wsdg_html_chunked/ Wireshark Developer README: http://anonsvn.wireshark.org/viewvc/trunk/doc/README.developer?view=co or doc/README.developer in source code tree 16

Questions ? I’m happy to answer any of your questions now, after this session or any time you see me during the conference. Ask other core and non-core developers; a number of which are proficient at GTK programming. Ask them on the wireshark-dev@wireshark.org mailing list (subscription required to get the responses to your question). I am subscribed to this mailing list. Review existing code in the gtk/ directory in the source code tree 17