# Class GTKWindow

### Class-Hierarchy:

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

## Class GTKWindow inherits from GTKBin

Subclasses: GTKColorSelectionDialog GTKDialog GTKFileSelection GTKFontSelectionDialog GTKInputDialog GTKPlug
Last modified: 8.4.99 (./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
+ windowWithType:(GtkWindowType) type
- (gint) activateDefault
- (gint) activateFocus
- (void) addAccelGroup:(GTKAccelGroup *) accel_group
- (GTKWidget *) defaultWidget
- delegate
- (GTKWidget *) focusWidget
- initWithType:(GtkWindowType) type
- (void) removeAccelGroup:(GTKAccelGroup *) accel_group
- (void) setDefaultSize:(gint) width height:(gint) height
- (void) setDelegate:_delegate
- (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:(const NSString *) title
- (void) setTransientFor:(GTKWindow *) parent
- (void) setWmclass:(const NSString *) wmclass_name wmclassClass:(const NSString *) wmclass_class
- (NSString *) title

## Methods

+ (GtkType) getType

  Overrides: + (GtkType) getType in GTKBin

+ windowWithType:(GtkWindowType) type

- initWithType:(GtkWindowType) type

- (void) setTitle:(const NSString *) title

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

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

- (void) addAccelGroup:(GTKAccelGroup *) accel_group

- (void) removeAccelGroup:(GTKAccelGroup *) accel_group

- (void) setPosition:(GtkWindowPosition) position

- (gint) activateFocus

- (gint) activateDefault

- (void) setTransientFor:(GTKWindow *) parent

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

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

- (void) setModal:(gboolean) modal

- (void) setDelegate:_delegate

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

- delegate

  Return this window's delegate object.

- (NSString *) title

- (GTKWidget *) focusWidget

- (GTKWidget *) defaultWidget

generated Thu Apr 8 6:47:18 1999 by Objcdoc