CtkInvisible: CTK+ 3 Reference Manual

## CtkInvisible CtkInvisible — A widget which is not displayed |

## Functions

CtkWidget * | ctk_invisible_new ()
CtkWidget * | ctk_invisible_new_for_screen ()
void | ctk_invisible_set_screen ()
CdkScreen * | ctk_invisible_get_screen ()

## Properties

CdkScreen * | screen | Read / Write

## Types and Values

struct | CtkInvisible

## Object Hierarchy

        GObject
        ╰── GInitiallyUnowned
            ╰── CtkWidget
                ╰── CtkInvisible

## Implemented Interfaces

CtkInvisible implements AtkImplementorIface and CtkBuildable.

## Includes

    #include <ctk/ctk.h>

## Description

The CtkInvisible widget is used internally in CTK+, and is probably not very useful for application developers.

It is used for reliable pointer grabs and selection handling in the code for drag-and-drop.

## Functions

### ctk_invisible_new ()

    CtkWidget *
    ctk_invisible_new (void);

Creates a new CtkInvisible.

#### Returns

a new CtkInvisible.

### ctk_invisible_new_for_screen ()

    CtkWidget *
    ctk_invisible_new_for_screen (CdkScreen *screen);

Creates a new CtkInvisible object for a specified screen

#### Parameters

screen | a CdkScreen which identifies on which the new CtkInvisible will be created. |

#### Returns

a newly created CtkInvisible object

Since: 2.2

### ctk_invisible_set_screen ()

    void
    ctk_invisible_set_screen (CtkInvisible *invisible,
                              CdkScreen *screen);

Sets the CdkScreen where the CtkInvisible object will be displayed.

#### Parameters

invisible | a CtkInvisible. |
screen | a CdkScreen. |

Since: 2.2

### ctk_invisible_get_screen ()

    CdkScreen *
    ctk_invisible_get_screen (CtkInvisible *invisible);

Returns the CdkScreen object associated with `invisible`

#### Parameters

invisible | a CtkInvisible. |

#### Returns

the associated CdkScreen.

[transfer none]

Since: 2.2

## Types and Values

### struct CtkInvisible

    struct CtkInvisible;

## Property Details

### The `“screen”` property

      “screen”                   CdkScreen *

The screen where this window will be displayed.

Owner: CtkInvisible

Flags: Read / Write