http://www.aros.orgAROS-ExecAROS-Exec ArchivesPower2People

Menu principal

English

Česky

Deutsch

Ελληυικά

Français

Italiano

Nederlands

Polski

Português

Русский

Español

Suomi

Svenska


News

Archive

Introduction

Status
Copies d'écran
Ports
License

Téléchargement


Documentation

Utilisateurs
Installation
Utilisation
Commandes Shell
Applications
FAQ
Développeurs
Contributions
Roadmap
Bug Tracker
Travailler avec Subversion
Compilation
Manuel de développement d'applications
Manuel de développement de Zune
Manuel de developpement du système
Manuel de Debogage
Référence
Spécifications
UI Style Guide
Documentation
Porting
Traduction
Résumés
Liens

Contact

Mailing lists
IRC channels

Crédits

Acknowledgements


Images

Développeurs
Développeurs ensemble

Sponsors

Référencement

Liens

Get AROS Research Operating System at SourceForge.net. Fast, secure and Free Open Source software downloads

AROS Application Development Manual

Index

Avis

This document is not finished! It is highly likely that many parts are out-of-date, contain incorrect information or are simply missing altogether. If you want to help rectify this, please contact us.

Intuition.library

Windows

OpenWindowTagList() Open a window
OpenWindow() Open a window (deprecated)
CloseWindow() Close a window
BeginRefresh() Initializes optimized refreshing
EndRefresh() Finishes refreshing
RefreshWindowFrame() Redraw window borders
ActivateWindow() Make a window active
SizeWindow() Change size of a window
MoveWindow() Move a window
ChangeWindowBox() Change size and position of a window
WindowLimits() Change the width and height limits of a window
WindowToBack() Move a window behind other windows
WindowToFront() Make a window the frontmost one
MoveWindowInFrontOf() Move window in front of a given window
ZipWindow() Change window to alternative size and position
SetWindowTitles() Set title string of a window
SetWindowPointerA() Change pointer state
ShowWindow() Make a hidden window visiable
HideWindow() Make a window invisible
IsWindowVisible() Check if window is visible
ScrollWindowRaster() Scrolls the content of a rectangle within a window

Requesters

Requesters are a special kind of windows. They either confront the user with some information or request some information. Requesters always interrupt the user's normal workflow, so they should only be used either to inform him of some important event or to request an information, without which the application can't continue to work. This kind of requester is called modal requester.

Examples of informational requesters are requesters that report errors (like failing to open a file) or about requesters, which show information about the program, when requested by the user.

Like the name indicates, requesters can also request information from the user, like a file name (using file-requesters), his name or a simple yes/no decision ("Really quit application?").

Requesters should only pop-up, if an application can't go on without knowing that the user learned about a certain fact or without getting a certain kind of information. Therefore, most requesters will block the application. That means that they will not listen to any input, except that in the requester. An exception are requesters that are explicitly requested by the user, like most file-requesters or about-requesters. Normally, these should not block the application.

Easy Requesters

The so-called easy requesters are simple requesters. They can be used to either provide an information or to ask for a choice. The number of choices is limited to 256, but it is generally a bad idea to have more than about five different choices. You also have to take into account that the width of the screen is limited.

FIXME: EasyRequestArgs(), BuildEasyRequest()

Complex Requesters

FIXME

Request() Add a requester to specified window and display it
EndRequest() Remove a requester from the specified window
EasyRequestArgs() Open and handles a requester with one or more choices
BuildEasyRequestArgs() Open a requester with one or more choices
SysReqHandler() Handle EasyRequests
AutoRequest() Build and handle simple requesters
BuildSysRequest() Build and display a system requester
FreeSysRequest() Free a requester.
SetDMRequest() Setup a requester which is shown on double menu button click
ClearDMRequest() Detach the DMRequest from the window
DisplayAlert() Bring up an alert with the given message
TimedDisplayAlert() Display an alert with automatic time-out
DisplayBeep() Flashes background of screen as signal

Screens

OpenScreenTagList() Open a screen
OpenScreen() Open a screen (obsolete)
CloseScreen() Close a screen
MoveScreen() Move a screen
ScreenPosition() Move a screen
ScreenToBack() Move a screen behind all other screens
ScreenToFront() Move a screen in front of all other screens
ScreenDepth() Move the specified screen to the front or back
ShowTitle() Show screen title in front of backdrop windows
GetScreenDrawInfo() Returns a pointer to struct DrawInfo of the passed screen
FreeScreenDrawInfo() Free data obtained with GetScreenDrawInfo()
GetScreenData() Obsolete method of getting info about a screen
QueryOverscan() Query overscan dimensions
LockPubScreen() Lock a public screen
UnlockPubScreen() Release public screen
NextPubScreen() Get the next public screen in the system
PubScreenStatus() Change the status flags for a given public screen
LockPubScreenList() Arbitrates access to the system public screen list
UnlockPubScreenList() Release lock made by LockPubScreenList()
SetDefaultPubScreen() Specifies the default public screen
SetPubScreenModes() Specify global intuition public screen handling
GetDefaultPubScreen() Returns the name of the current default public screen
StartScreenNotifyTagList() Add Notifications to Intuition
EndScreenNotify() Remove a Screen Notifications from Intuition
OpenWorkBench() Attempt to open the Workbench screen
CloseWorkBench() Attempt to close the Workbench screen
WBenchToBack() Bring the WorkBench behind all other screens
WBenchToFront() Make the WorkBench screen the frontmost
ViewAddress() Return the address of the Intuition View structure
ViewPortAddress() Return the address of the viewport of a given window
MakeScreen() Create viewport of the screen
RethinkDisplay() Redisplay the whole Intuition display
RemakeDisplay() Remake the entire Intuition display
AllocScreenBuffer() Allocate a ScreenBuffer multiple buffering
ChangeScreenBuffer() Change current buffer
FreeScreenBuffer() Frees a ScreenBuffer allocated by AllocScreenBuffer()

Gadgets

AddGadget() Add a single gadget to a window
AddGList() Add some gadgets to a window
RemoveGadget() Remove a gadget from the list of gadgets in a window
RemoveGList() Remove sublist of gadgets from a window
RefreshGList() Refresh (draw anew) the specified number of gadgets
RefreshGadgets() Refresh all gadgets starting at the specified gadget
ModifyProp() Change the values of a proportional gadget
NewModifyProp() Change the values of a proportional gadget
OffGadget() Disable a gadget
OnGadget() Enable a gadget
ActivateGadget() Activate the specified gadget
SetEditHook() Set the string editing hook of string gadgets
GadgetMouse() Determines the current mouse position relative to the upper-left corner of a custom gadget
HelpControl() Turn on or off Gadget-Help for your window

Menus

SetMenuStrip() This function adds a MenuStrip to the Window
ClearMenuStrip() Detach menu stript from a window
ResetMenuStrip() Refresh menu stript after some status changes
ItemAddress() Return the address of the menuitem
OffMenu() Disable a whole menu, an item or a sub-item
OnMenu() Enable a whole menu, an item or a sub-item
LendMenus() Lend the menus of one window to another

Images/Line Drawing

DrawBorder() Draw one or more borders in the specified RastPort
DrawImage() Draw an image
DrawImageState() Render an image in a certain state
EraseImage() Erase an image on the screen
PrintIText() Render an IntuiText in the specified RastPort
IntuiTextLength() Measure the length of the IntuiText passed to the function
GetScreenDrawInfo() Return a pointer to struct DrawInfo of the passed screen
FreeScreenDrawInfo() Release data from GetScreenDrawInfo()
PointInImage() Check whether a point is inside an image

Input/Output

ModifyIDCMP() Modify the state of your window's IDCMP port

Mouse/Keyboard

DoubleClick() Check if two times are within the doubleclick intervall
SetPointer() Change the shape of the mouse pointer for a given window
ClearPointer()  
SetMouseQueue()  
ReportMouse()  

BOOPSI

NewObjectA() Create BOOPSI object
DisposeObject() Delete BOOPSI object created with NewObjectA()
SetAttrsA() Change several attributes of an object
SetGadgetAttrsA() Change several attributes of a gadget
GetAttr() Ask the specified object for the value of an attribute
MakeClass() Create a new public BOOPSI class
FreeClass() Free a class which has been created by MakeClass()
AddClass() Make a class publically available
RemoveClass() Make a public class inaccessible
ObtainGIRPort() Get a rastport for gadget imagery
ReleaseGIRPort() Release a RastPort previously obtained by ObtainGIRPort()
DoGadgetMethodA() Invoke a BOOPSI method on an object
NextObject() Iterate through a list of BOOPSI objects

Misc.

AllocRemember() Allocate some memory and remeber it in the Remember-List
FreeRemember() Free memory allocated by AllocRemember()
LockIBase() Lock Intuition
UnlockIBase() Release a lock obtained with LockIBase()
CurrentTime() Copies the current time into the argument pointers
ChangeDecoration() Setup a new decorator for intuition windows, screens or menus
SetPrefs() Set the current Preferences structure
GetPrefs() Get a copy of the current Preferences structure
GetDefPrefs() Get a copy of the Intuition default Preferences structure

Copyright © 1995-2009, L'équipe de développement AROS. Tous droits réservés.
Amiga®, AmigaOS®, Workbench et Intuition sont des marques de Amiga Inc. Les autres marques appartiennent à leur propritaires respectifs.