## Documentation

Table of Contents
Class Inheritance Tree
Widget Screenshots
Package groups

## Index

Package: Visual

- Goto spec source

# Description

    package Gdk.Visual is

Binding from C File version 1.3.6

# Packages

### Gdk_Visual_List (new Glib.Glist.Generic_List)

    package Gdk_Visual_List is new Glib.Glist.Generic_List (Gdk_Visual);

# Types

### Gdk_Visual

- Goto declaration in source

    subtype Gdk_Visual is Gdk.Gdk_Visual;

### Gdk_Visual_Type

- Goto declaration in source

    type Gdk_Visual_Type is
         (Visual_Static_Gray,
          Visual_Grayscale,
          Visual_Static_Color,
          Visual_Pseudo_Color,
          Visual_True_Color,
          Visual_Direct_Color);

### Gdk_Visual_Type_Array

- Goto declaration in source

    type Gdk_Visual_Type_Array is array (Natural range <>) of Gdk_Visual_Type;

# Constants & Global variables

### Null_Visual

- Goto declaration in source

(Gdk_Visual)

    Null_Visual : constant Gdk_Visual;

This type is not private because we need the full declaration to instanciate Glib.Glist.Generic_List with it.

# Subprograms & Entries

### Get_Type

- Goto spec in source
- Goto body in source

    function Get_Type return Glib.GType;

Return the internal value associated with Gdk_Visual.

### Get_Best_Depth

- Goto spec in source
- Goto body in source

    function Get_Best_Depth return Gint;

### Get_Best_Type

- Goto spec in source
- Goto body in source

    function Get_Best_Type return Gdk_Visual_Type;

### Get_System

- Goto spec in source
- Goto body in source

    function Get_System return Gdk_Visual;

### Get_Best

- Goto spec in source

    function Get_Best return Gdk_Visual;

### Get_Best

- Goto spec in source

    procedure Get_Best (Visual: out Gdk_Visual);

### Get_Best

- Goto spec in source

    function Get_Best (Depth: Gint) return Gdk_Visual;

### Get_Best

- Goto spec in source

    function Get_Best (Visual_Type: Gdk_Visual_Type) return Gdk_Visual;

### Get_Best

- Goto spec in source

    function Get_Best (Depth: Gint;Visual_Type: Gdk_Visual_Type) return Gdk_Visual;

### Query_Depths

- Goto spec in source

    function Query_Depths return Gint_Array;

### Query_Visual_Types

- Goto spec in source

    function Query_Visual_Types return Gdk_Visual_Type_Array;

### Convert

- Goto spec in source

    function Convert is new Unchecked_Conversion (Gdk_Visual, System.Address);

### Convert

- Goto spec in source

    function Convert is new Unchecked_Conversion (System.Address, Gdk_Visual);

### List_Visuals

- Goto spec in source

    function List_Visuals return Gdk_Visual_List.Glist;