GObject.Object
Gdk.Visual
GdkX11.X11Visual
Import line: | GdkX11 = imports.gi.GdkX11; |
GIR File: | GdkX11-3.0.gir |
C documentation: | GdkX11X11Visual |
Class : | X11Visual |
Extends: | Gdk.Visual |
None |
Method / Constructor | Defined By | |
---|---|---|
new GdkX11.X11Visual
()
Create a new GdkX11.X11Visual
Create a new GdkX11.X11Visual
|
||
get_bits_per_rgb
()
:
gint32
Returns the number of significant bits per red, green and blue value.
Returns the number of significant bits per red, green and blue value.
|
Gdk.Visual | |
get_blue_pixel_details
()
:
Object
Obtains values that are needed to calculate blue pixel values in TrueColor
and DirectColor.
Obtains values that are needed to calculate blue pixel values in TrueColor
and DirectColor. The "mask" is the significant bits within the pixel. The "shift" is the number of bits left we must shift a primary for it to be in position (according to the "mask"). Finally, "precision" refers to how much precision the pixel value contains for a particular primary. |
Gdk.Visual | |
get_byte_order
()
:
Gdk.ByteOrder
Returns the byte order of this visual.
Returns the byte order of this visual.
|
Gdk.Visual | |
get_colormap_size
()
:
gint32
Returns the size of a colormap for this visual.
Returns the size of a colormap for this visual.
|
Gdk.Visual | |
get_depth
()
:
gint32
Returns the bit depth of this visual.
Returns the bit depth of this visual.
|
Gdk.Visual | |
get_green_pixel_details
()
:
Object
Obtains values that are needed to calculate green pixel values in TrueColor
and DirectColor.
Obtains values that are needed to calculate green pixel values in TrueColor
and DirectColor. The "mask" is the significant bits within the pixel. The "shift" is the number of bits left we must shift a primary for it to be in position (according to the "mask"). Finally, "precision" refers to how much precision the pixel value contains for a particular primary. |
Gdk.Visual | |
get_red_pixel_details
()
:
Object
Obtains values that are needed to calculate red pixel values in TrueColor
and DirectColor.
Obtains values that are needed to calculate red pixel values in TrueColor
and DirectColor. The "mask" is the significant bits within the pixel. The "shift" is the number of bits left we must shift a primary for it to be in position (according to the "mask"). Finally, "precision" refers to how much precision the pixel value contains for a particular primary. |
Gdk.Visual | |
get_screen
()
:
Gdk.Screen
Gets the screen to which this visual belongs
Gets the screen to which this visual belongs
|
Gdk.Visual | |
get_visual_type
()
:
Gdk.VisualType
Returns the type of visual this is (PseudoColor, TrueColor, etc).
Returns the type of visual this is (PseudoColor, TrueColor, etc).
|
Gdk.Visual |
None |