po polsku


Click here to support our advertisers











SHOPPING




JOB BANK




CLASSIFIEDS




DIRECTORIES




REFERENCE






Online Library




LEARNING CENTER




JOURNAL




NEWS CENTRAL




DOWNLOADS




COMMUNITY




CALENDAR




ABOUT US








Journal:










Get the weekly email highlights from the most popular journal for developers!











developer.com
developerdirect.com
htmlgoodies.com
javagoodies.com

jars.com






























All Categories :
Linux






















Click here to support our advertisers











SHOPPING




JOB BANK




CLASSIFIEDS




DIRECTORIES




REFERENCE






Online Library




LEARNING CENTER




JOURNAL




NEWS CENTRAL




DOWNLOADS




COMMUNITY




CALENDAR




ABOUT US








Journal:










Get the weekly email highlights from the most popular journal for developers!











developer.com
developerdirect.com
htmlgoodies.com
javagoodies.com

jars.com































Linux





























- 34 -



Motif Programming



Writing Motif Applications

Naming Conventions

TIP

Writing Your First Motif Application

NOTE

Listing

34.1. A sample Motif application.

TIP

Compiling This Application

The Widget Hierarchy



Core

XmPrimitive

XmManager



The Label Widget

Listing

34.2. How to use a Label Widget.

Strings in Motif: Compound Strings

TIP

The XmPushButton Widget Class

TIP

TIP

The XmToggleButton Widget Class

Listing

34.3. Using ToggleButton in Motif.

Convenience Functions

Listing

34.4. Sample convenience function for creating a label on

a form.

Listing

34.5. Creating a label.

The List Widget

Listing

34.6. Using List Widgets.

XmScrollBar

Listing

34.7. Using the Scale Widget.

Text Widgets

XmBulletinBoard Widgets

XmRowColumn Widgets

Listing

34.8. Using RowColumn Widgets.

XmForm Widgets

TIP

TIP

Designing Layouts

Listing

34.9. Setting up a simple hierarchy.

Menus



Pop-Up Menus



Listing

34.10. Setting up pop-up menus.



The Menu Bar



Listing

34.11. Creating a menu bar.

Listing

34.12. Creating menu bars with pull-down menu items.



The Options Menu

Accelerators and Mnemonics



TIP

Dialog Boxes

Listing

34.13. Code fragment to confirm quit command.



Modes of a Dialog Box



Events



Expose Events

Pointer Events

Keyboard Events

Window Crossing Events

Event Masks



Listing

34.14. Tracking a pointer.

Managing the Queue

TIP



Work Procedures

Using Timeouts



Listing

34.15. Setting up cyclic timers.



Handling Other Sources



NOTE

The Graphics Context

Drawing Lines, Points, Arcs, and Polygons



Drawing a Line



Listing

34.16. Drawing lines and points.



Drawing a Point

Drawing an Arc



Using Fonts and FontLists

The X Color Model

Listing

34.17. Convenience function for getting colors.

Pixmaps, Bitmaps, and Images

Summary

  • zanotowane.pl
  • doc.pisz.pl
  • pdf.pisz.pl
  • pajaa1981.pev.pl