manpagez: man pages & more
html files: gtk2
Home | html | info | man

GtkInvisible

GtkInvisible — A widget which is not displayed

Properties

GdkScreen * screen Read / Write

Types and Values

struct GtkInvisible

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkObject
            ╰── GtkWidget
                ╰── GtkInvisible

Implemented Interfaces

GtkInvisible implements AtkImplementorIface and GtkBuildable.

Includes

#include <gtk/gtk.h>

Description

The GtkInvisible widget is used internally in GTK+, 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

gtk_invisible_new ()

GtkWidget *
gtk_invisible_new (void);

Creates a new GtkInvisible.

Returns

a new GtkInvisible.


gtk_invisible_new_for_screen ()

GtkWidget *
gtk_invisible_new_for_screen (GdkScreen *screen);

Creates a new GtkInvisible object for a specified screen

Parameters

screen

a GdkScreen which identifies on which the new GtkInvisible will be created.

 

Returns

a newly created GtkInvisible object

Since: 2.2


gtk_invisible_set_screen ()

void
gtk_invisible_set_screen (GtkInvisible *invisible,
                          GdkScreen *screen);

Sets the GdkScreen where the GtkInvisible object will be displayed.

Parameters

invisible

a GtkInvisible.

 

screen

a GdkScreen.

 

Since: 2.2


gtk_invisible_get_screen ()

GdkScreen *
gtk_invisible_get_screen (GtkInvisible *invisible);

Returns the GdkScreen object associated with invisible

Parameters

invisible

a GtkInvisible.

 

Returns

the associated GdkScreen.

[transfer none]

Since: 2.2

Types and Values

struct GtkInvisible

struct GtkInvisible;

The GtkInvisible struct contains no public fields.

Property Details

The “screen” property

  “screen”                   GdkScreen *

The screen where this window will be displayed.

Flags: Read / Write

© manpagez.com 2000-2024
Individual documents may contain additional copyright information.