Class GTKWindow

Inherits from:
GTKBin
Declared in:
GToolKit/GTKWindow.h

Class Hierarchy

    NSObject
      |
      +---GTK
	    |
	    +---GTKObject
		  |
		  +---GTKWidget
			|
			+---GTKContainer
			      |
			      +---GTKBin
				    |
				    +---GTKWindow

Direct subclasses:
GTKColorSelectionDialog, GTKDialog, GTKFileSelection, GTKFontSelectionDialog, GTKInputDialog, GTKPlug
Last modified:
21-Feb-2002 (GToolKit/GTKWindow.h)

Instance Variables

protected id delegate
delegate of this window object
private guint handler_id
delete_event signal handler id

Method Index

+ (GtkType) getType
+ (id) windowWithType:(GtkWindowType) type
- (gint) activateDefault
- (gint) activateFocus
- (void) addAccelGroup:(GTKAccelGroup *) accel_group
- (GTKWidget *) defaultWidget
- (id) delegate
- (GTKWidget *) focusWidget
- (id) initWithType:(GtkWindowType) type
- (void) performClose:(id) sender
- (void) removeAccelGroup:(GTKAccelGroup *) accel_group
- (void) setDefaultSize:(gint) width height:(gint) height
- (void) setDelegate:(id) object
- (void) setGeometryHints:(GTKWidget *) geometry_widget geometry:(GdkGeometry *) geometry geomMask:(GdkWindowHints) geom_mask
- (void) setModal:(gboolean) modal
- (void) setPolicy:(gint) allow_shrink allowGrow:(gint) allow_grow autoShrink:(gint) auto_shrink
- (void) setPosition:(GtkWindowPosition) position
- (void) setTitle:(NSString *) title
- (void) setTransientFor:(GTKWindow *) parent
- (void) setWmclass:(NSString *) wmclass_name wmclassClass:(NSString *) wmclass_class
- (NSString *) title

Methods

+ (GtkType) getType

Overrides:
+getType in class GTKBin

+ (id) windowWithType:(GtkWindowType) type

- (gint) activateDefault

- (gint) activateFocus

- (void) addAccelGroup:(GTKAccelGroup *) accel_group

- (GTKWidget *) defaultWidget

- (id) delegate

Return this window's delegate object.

- (GTKWidget *) focusWidget

- (id) initWithType:(GtkWindowType) type

- (void) performClose:(id) sender

Send a delete_event signal to this window, i.e. act as if the user had closed the receiver via the window manager. The sender parameter is ignored.

If the delegate implements the method:

- (BOOL) windowShouldClose:(GTKWindow *) sender

this message is sent to the delegate to determine whether the window should actually be closed. If it returns YES, this method will post the GTKWindowWillCloseNotification to the default notification center and close the window.

See also:
-destroy

- (void) removeAccelGroup:(GTKAccelGroup *) accel_group

- (void) setDefaultSize:(gint) width height:(gint) height

- (void) setDelegate:(id) object

Set the delegate object of this window or unset it (if delegate is nil). If the delegate implements any of the methods described in the protocol protocol GTKWindowDelegate, it will be notified by the window on the corresponding events.

- (void) setGeometryHints:(GTKWidget *) geometry_widget geometry:(GdkGeometry *) geometry geomMask:(GdkWindowHints) geom_mask

- (void) setModal:(gboolean) modal

- (void) setPolicy:(gint) allow_shrink allowGrow:(gint) allow_grow autoShrink:(gint) auto_shrink

- (void) setPosition:(GtkWindowPosition) position

- (void) setTitle:(NSString *) title

- (void) setTransientFor:(GTKWindow *) parent

- (void) setWmclass:(NSString *) wmclass_name wmclassClass:(NSString *) wmclass_class

- (NSString *) title


generated on 06-Mar-2002 by ObjcDoc 3.0.1