Files | Classes
Application Kit

The Application Kit is the starting point for writing native Haiku GUI applications. More...

Files

file  Application.h
 Provides the BApplication class.
 
file  Clipboard.h
 Provides the BClipboard class.
 
file  Cursor.h
 Provides the BCursor class.
 
file  Handler.h
 Provides the BHandler class.
 
file  Invoker.h
 Provides the BInvoker class.
 
file  LaunchRoster.h
 Provides BLaunchRoster class.
 
file  Looper.h
 Provides the BLooper class.
 
file  Message.h
 Provides the BMessage class.
 
file  MessageFilter.h
 Provides BMessageFilter class.
 
file  MessageQueue.h
 Provides the BMessageQueue class.
 
file  MessageRunner.h
 Provides the BMessageRunner class.
 
file  Messenger.h
 Provides the BMessenger class and some BMessenger operator functions.
 
file  PropertyInfo.h
 Provides the BPropertyInfo class and support structures.
 
file  Roster.h
 Provides the app_info struct, the BRoster class and the be_roster global.
 

Classes

struct  app_info
 Provides info for a running app. More...
 
class  BApplication
 A container object for an application. More...
 
class  BClipboard
 Used for short-term data storage between documents and applications via copy and paste operations. More...
 
class  BCursor
 BCursor describes a view-wide or application-wide cursor. More...
 
class  BHandler
 Handles messages that are passed on by a BLooper. More...
 
class  BInvoker
 An object that can be "invoked" to send a message to a BHandler. More...
 
class  BLaunchRoster
 The BLaunchRoster class lets you communicate with the launch_daemon. More...
 
class  BLooper
 Receive and process messages in a separate thread. More...
 
class  BMessage
 A container that can be send and received using the Haiku messaging subsystem. More...
 
class  BMessageFilter
 Describes a message filter for BLooper and BHandler. More...
 
class  BMessageQueue
 A container that maintains a queue of messages. More...
 
class  BMessageRunner
 Provides a mechanism for sending one or more messages to a messenger at a specified interval and receive reply messages. More...
 
class  BMessenger
 A class to send messages to a target BLooper or BHandler. More...
 
class  BPropertyInfo
 Class used to manage scripting. More...
 
class  BRoster
 The BRoster class lets you launch apps and keeps track of apps that are running. More...
 
struct  property_info
 Property info struct containing lists of commands and specifiers. More...
 

Detailed Description

The Application Kit is the starting point for writing native Haiku GUI applications.

The application kit is exactly what its name suggests — it is the basis of Haiku applications. You should first read through this document and the references here before moving on to the other parts of the API.

The Application Kit classes can be divided into two groups: the messaging classes and the system interaction classes. The larger of the two groups is the messaging classes. Since the Haiku API relies on pervasive multithreading messaging is an essential topic for any application. Have a look at the Introduction to Messaging for more information.

The following messaging classes which allow you to easily and securely communicate between threads.

The second group is the system interaction classes. These classes provide hooks for your application to interact with the rest of the system. The most important class in this group is BApplication. Below is a list of all system interaction classes: