GObject.Object
Gdk.Visual
Import line: | Gdk = imports.gi.Gdk; |
GIR File: | Gdk-2.0.gir |
C documentation: | GdkVisual |
Class : | Visual |
Extends: | GObject.Object |
Show / Hide Inherited methods, properties and signals |
Properties | Defined By | |
---|---|---|
bits_per_rgb : Number
read only
|
Gdk.Visual | |
blue_mask : Number
read only
|
Gdk.Visual | |
blue_prec : Number
read only
|
Gdk.Visual | |
blue_shift : Number
read only
|
Gdk.Visual | |
byte_order : Gdk.ByteOrder
read only
|
Gdk.Visual | |
colormap_size : Number
read only
|
Gdk.Visual | |
depth : Number
read only
|
Gdk.Visual | |
green_mask : Number
read only
|
Gdk.Visual | |
green_prec : Number
read only
|
Gdk.Visual | |
green_shift : Number
read only
|
Gdk.Visual | |
parent_instance : GObject.Object
read only
|
Gdk.Visual | |
red_mask : Number
read only
|
Gdk.Visual | |
red_prec : Number
read only
|
Gdk.Visual | |
red_shift : Number
read only
|
Gdk.Visual | |
type : Gdk.VisualType
read only
|
Gdk.Visual |
Method / Constructor | Defined By | |
---|---|---|
new Gdk.Visual
(Object properties)
Create a new Gdk.Visual
Create a new Gdk.Visual
|
||
Gdk.Visual.get_best
()
:
Gdk.Visual
Get the visual with the most available colors for the default GDK screen.
Get the visual with the most available colors for the default GDK screen. The return value should not be freed.
|
Gdk.Visual | |
Gdk.Visual.get_best_depth
()
:
Number
Get the best available depth for the default GDK screen.
Get the best available depth for the default GDK screen. "Best" means "largest," i.e. 32 preferred over 24 preferred over 8 bits per pixel.
|
Gdk.Visual | |
Gdk.Visual.get_best_type
()
:
Gdk.VisualType
Return the best available visual type for the default GDK screen.
Return the best available visual type for the default GDK screen.
|
Gdk.Visual | |
Combines gdk_visual_get_best_with_depth() and gdk_visual_get_best_with_type().
Combines gdk_visual_get_best_with_depth() and gdk_visual_get_best_with_type().
|
Gdk.Visual | |
Get the best visual with depth depth for the default GDK screen.
Get the best visual with depth depth for the default GDK screen. Color visuals and visuals with mutable colormaps are preferred over grayscale or fixed-colormap visuals. The return value should not be freed. NULL may be returned if no visual supports depth.
|
Gdk.Visual | |
Get the best visual of the given visual_type for the default GDK screen.
Get the best visual of the given visual_type for the default GDK screen. Visuals with higher color depths are considered better. The return value should not be freed. NULL may be returned if no visual has type
|
Gdk.Visual | |
Gdk.Visual.get_system
()
:
Gdk.Visual
Get the system's default visual for the default GDK screen.
Get the system's default visual for the default GDK screen. This is the visual for the root window of the display. The return value should not be freed.
|
Gdk.Visual | |
get_screen
()
:
Gdk.Screen
Gets the screen to which this visual belongs
Gets the screen to which this visual belongs
|
Gdk.Visual |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Gdk
Method |
Gdk.rgb_get_visual
()
:
Gdk.Visual
Gets a "preferred visual" chosen by GdkRGB for rendering image data on the default screen.
|
Gdk.Colormap
Method |
Create a new Gdk.Colormap
|
Gdk.Colormap
Method |
get_visual
()
:
Gdk.Visual
Returns the visual for which a given colormap was created.
|
Gdk.Drawable
Method |
get_visual
()
:
Gdk.Visual
Gets the GdkVisual describing the pixel format of drawable.
|
Gdk.Image
Method |
Create a new Gdk.Image
|
Gdk.Screen
Method |
get_system_visual
()
:
Gdk.Visual
Get the system's default visual for screen.
|
Gdk.Screen
Method |
get_rgb_visual
()
:
Gdk.Visual
Gets a "preferred visual" chosen by GdkRGB for rendering image data on screen.
|
Gdk.Screen
Method |
get_rgba_visual
()
:
Gdk.Visual
Gets a visual to use for creating windows or pixmaps with an alpha channel.
|
Gtk.Preview
Method |
Gtk.Preview.get_visual
()
:
Gdk.Visual
|
Gtk.Widget
Method |
Gtk.Widget.get_default_visual
()
:
Gdk.Visual
Obtains the visual of the default colormap.
|
Gtk.Widget
Method |
get_visual
()
:
Gdk.Visual
Gets the visual that will be used to render widget.
|