Public Member Functions

nsGTKToolkit Class Reference

Wrapper around the thread running the message pump. More...

#include <nsGTKToolkit.h>

Inheritance diagram for nsGTKToolkit:
Collaboration diagram for nsGTKToolkit:

List of all members.

Public Member Functions

 nsGTKToolkit ()
virtual ~nsGTKToolkit ()
virtual NS_DECL_ISUPPORTS nsresult Init (PRThread *aThread)
void CreateSharedGC (void)
GdkGC * GetSharedGC (void)
void SetDesktopStartupID (const nsACString &aID)
 Get/set our value of DESKTOP_STARTUP_ID.
void GetDesktopStartupID (nsACString *aID)
void SetFocusTimestamp (PRUint32 aTimestamp)
 Get/set the timestamp value to be used, if non-zero, to focus the next top-level window to be shown or focused (upon which it is cleared).
PRUint32 GetFocusTimestamp ()

Detailed Description

Wrapper around the thread running the message pump.

The toolkit abstraction is necessary because the message pump must execute within the same thread that created the widget under Win32.


Constructor & Destructor Documentation

nsGTKToolkit::nsGTKToolkit (  ) 
virtual nsGTKToolkit::~nsGTKToolkit (  )  [virtual]

Member Function Documentation

void nsGTKToolkit::CreateSharedGC ( void   ) 
void nsGTKToolkit::GetDesktopStartupID ( nsACString aID  )  [inline]
PRUint32 nsGTKToolkit::GetFocusTimestamp (  )  [inline]
GdkGC* nsGTKToolkit::GetSharedGC ( void   ) 
virtual NS_DECL_ISUPPORTS nsresult nsGTKToolkit::Init ( PRThread aThread  )  [virtual]
void nsGTKToolkit::SetDesktopStartupID ( const nsACString aID  )  [inline]

Get/set our value of DESKTOP_STARTUP_ID.

When non-empty, this is applied to the next toplevel window to be shown or focused (and then immediately cleared).

void nsGTKToolkit::SetFocusTimestamp ( PRUint32  aTimestamp  )  [inline]

Get/set the timestamp value to be used, if non-zero, to focus the next top-level window to be shown or focused (upon which it is cleared).


The documentation for this class was generated from the following file: