## Documentation

Table of Contents
Class Inheritance Tree
Widget Screenshots
Package groups

## Index

Package: Window_Attr

- Goto spec source

# Description

    package Gdk.Window_Attr is

# Types

### Gdk_Window_Attr

- Goto declaration in source

    subtype Gdk_Window_Attr is Gdk.Gdk_Window_Attr;

# Constants & Global variables

### Null_Window_Attr

- Goto declaration in source

(Gdk_Window_Attr)

    Null_Window_Attr : constant Gdk_Window_Attr;

This record describes the initial attributes for a window. Most of them can be changed later on, but it is more efficient to set them right from the start. You usually need to do the following when initializing such a structure: Window_Attr.Visual := Get_Visual (Window); Window_Attr.Colormap := Get_Colormap (Window); Window_Attr.Event_Mask := Get_Events (Window) or Exposure_Mask;

# Subprograms & Entries

### Gdk_New

- Goto spec in source

    procedure Gdk_New (Window_Attr: out Gdk_Window_Attr;Title: Glib.UTF8_String := "";Event_Mask: Gdk.Event.Gdk_Event_Mask := 0;X, Y: Glib.Gint := 0;Width: Glib.Gint := 0;Height: Glib.Gint := 0;Wclass: Gdk.Window.Gdk_Window_Class := Gdk.Window.Input_Output;Visual: Gdk.Visual.Gdk_Visual := null;Colormap: Gdk.Color.Gdk_Colormap := null;Window_Type: Gdk.Window.Gdk_Window_Type := Gdk.Window.Window_Root;Cursor: Gdk.Cursor.Gdk_Cursor := null;Wmclass_Name: String := "";Wmclass_Class: String := "";Override_Redirect: Boolean := True);

Creates a new Gdk_Window_Attr structure. It is your responsability to free the visual, colormap, cursor,... field when they are no longer needed.

### Destroy

- Goto spec in source

    procedure Destroy (Window_Attr: in out Gdk_Window_Attr);

### Set_Title

- Goto spec in source

    procedure Set_Title (Window_Attr: Gdk_Window_Attr;Title: Glib.UTF8_String);

### Get_Title

- Goto spec in source

    function Get_Title (Window_Attr: Gdk_Window_Attr) return Glib.UTF8_String;

### Set_Event_Mask

- Goto spec in source
- Goto body in source

    procedure Set_Event_Mask (Window_Attr: Gdk_Window_Attr;Event_Mask: Gdk.Event.Gdk_Event_Mask);

### Get_Event_Mask

- Goto spec in source
- Goto body in source

    function Get_Event_Mask (Window_Attr: Gdk_Window_Attr) return Gdk.Event.Gdk_Event_Mask;

### Set_X

- Goto spec in source
- Goto body in source

    procedure Set_X (Window_Attr: Gdk_Window_Attr;X: Glib.Gint);

### Get_X

- Goto spec in source
- Goto body in source

    function Get_X (Window_Attr: Gdk_Window_Attr) return Glib.Gint;

### Set_Y

- Goto spec in source
- Goto body in source

    procedure Set_Y (Window_Attr: Gdk_Window_Attr;Y: Glib.Gint);

### Get_Y

- Goto spec in source
- Goto body in source

    function Get_Y (Window_Attr: Gdk_Window_Attr) return Glib.Gint;

### Set_Width

- Goto spec in source
- Goto body in source

    procedure Set_Width (Window_Attr: Gdk_Window_Attr;Width: Glib.Gint);

### Get_Width

- Goto spec in source
- Goto body in source

    function Get_Width (Window_Attr: Gdk_Window_Attr) return Glib.Gint;

### Set_Height

- Goto spec in source
- Goto body in source

    procedure Set_Height (Window_Attr: Gdk_Window_Attr;Height: Glib.Gint);

### Get_Height

- Goto spec in source
- Goto body in source

    function Get_Height (Window_Attr: Gdk_Window_Attr) return Glib.Gint;

### Set_Window_Class

- Goto spec in source
- Goto body in source

    procedure Set_Window_Class (Window_Attr: Gdk_Window_Attr;Wclass: Gdk.Window.Gdk_Window_Class);

### Get_Window_Class

- Goto spec in source
- Goto body in source

    function Get_Window_Class (Window_Attr: Gdk_Window_Attr) return Gdk.Window.Gdk_Window_Class;

### Set_Visual

- Goto spec in source
- Goto body in source

    procedure Set_Visual (Window_Attr: Gdk_Window_Attr;Visual: Gdk.Visual.Gdk_Visual);

### Get_Visual

- Goto spec in source
- Goto body in source

    function Get_Visual (Window_Attr: Gdk_Window_Attr) return Gdk.Visual.Gdk_Visual;

### Set_Colormap

- Goto spec in source
- Goto body in source

    procedure Set_Colormap (Window_Attr: Gdk_Window_Attr;Colormap: Gdk.Color.Gdk_Colormap);

### Get_Colormap

- Goto spec in source
- Goto body in source

    function Get_Colormap (Window_Attr: Gdk_Window_Attr) return Gdk.Color.Gdk_Colormap;

### Set_Window_Type

- Goto spec in source
- Goto body in source

    procedure Set_Window_Type (Window_Attr: Gdk_Window_Attr;Window_Type: Gdk.Window.Gdk_Window_Type);

### Get_Window_Type

- Goto spec in source
- Goto body in source

    function Get_Window_Type (Window_Attr: Gdk_Window_Attr) return Gdk.Window.Gdk_Window_Type;

### Set_Cursor

- Goto spec in source
- Goto body in source

    procedure Set_Cursor (Window_Attr: Gdk_Window_Attr;Cursor: Gdk.Cursor.Gdk_Cursor);

### Get_Cursor

- Goto spec in source
- Goto body in source

    function Get_Cursor (Window_Attr: Gdk_Window_Attr) return Gdk.Cursor.Gdk_Cursor;

### Set_Wmclass_Name

- Goto spec in source

    procedure Set_Wmclass_Name (Window_Attr: Gdk_Window_Attr;Wmclass_Name: String);

### Get_Wmclass_Name

- Goto spec in source

    function Get_Wmclass_Name (Window_Attr: Gdk_Window_Attr) return String;

### Set_Wmclass_Class

- Goto spec in source

    procedure Set_Wmclass_Class (Window_Attr: Gdk_Window_Attr;Wmclass_Class: String);

### Get_Wmclass_Class

- Goto spec in source

    function Get_Wmclass_Class (Window_Attr: Gdk_Window_Attr) return String;

### Set_Override_Redirect

- Goto spec in source

    procedure Set_Override_Redirect (Window_Attr: Gdk_Window_Attr;Override_Redirect: Boolean);

### Get_Override_Redirect

- Goto spec in source

    function Get_Override_Redirect (Window_Attr: Gdk_Window_Attr) return Boolean;