1 [CCode (cprefix
= "Gdk", lower_case_cprefix
= "gdk_", cheader_filename
= "gdk/gdk.h")]
3 [CCode (cprefix
= "GDK_AXIS_")]
14 [CCode (cprefix
= "GDK_")]
15 public enum ByteOrder
{
19 [CCode (cprefix
= "GDK_CAP_")]
20 public enum CapStyle
{
26 [CCode (cprefix
= "GDK_COLORSPACE_")]
27 public enum Colorspace
{
30 [CCode (cprefix
= "GDK_CROSSING_")]
31 public enum CrossingMode
{
36 [CCode (cprefix
= "GDK_")]
37 public enum CursorType
{
118 [CCode (cprefix
= "GDK_ACTION_")]
119 public enum DragAction
{
127 [CCode (cprefix
= "GDK_DRAG_PROTO_")]
128 public enum DragProtocol
{
137 [CCode (cprefix
= "GDK_")]
138 public enum EventMask
{
141 POINTER_MOTION_HINT_MASK
,
154 PROPERTY_CHANGE_MASK
,
155 VISIBILITY_NOTIFY_MASK
,
162 [CCode (cprefix
= "GDK_")]
163 public enum EventType
{
202 [CCode (cprefix
= "GDK_EXTENSION_EVENTS_")]
203 public enum ExtensionMode
{
208 [CCode (cprefix
= "GDK_")]
215 [CCode (cprefix
= "GDK_")]
216 public enum FillRule
{
220 [CCode (cprefix
= "GDK_FILTER_")]
221 public enum FilterReturn
{
226 [CCode (cprefix
= "GDK_FONT_")]
227 public enum FontType
{
231 [CCode (cprefix
= "GDK_")]
232 public enum Function
{
250 [CCode (cprefix
= "GDK_GC_")]
251 public enum GCValuesMask
{
271 [CCode (cprefix
= "GDK_GRAB_")]
272 public enum GrabStatus
{
279 [CCode (cprefix
= "GDK_GRAVITY_")]
280 public enum Gravity
{
292 [CCode (cprefix
= "GDK_IMAGE_")]
293 public enum ImageType
{
298 [CCode (cprefix
= "GDK_INPUT_")]
299 public enum InputCondition
{
304 [CCode (cprefix
= "GDK_MODE_")]
305 public enum InputMode
{
310 [CCode (cprefix
= "GDK_SOURCE_")]
311 public enum InputSource
{
317 [CCode (cprefix
= "GDK_INTERP_")]
318 public enum InterpType
{
324 [CCode (cprefix
= "GDK_JOIN_")]
325 public enum JoinStyle
{
330 [CCode (cprefix
= "GDK_LINE_")]
331 public enum LineStyle
{
336 [CCode (cprefix
= "GDK_")]
337 public enum ModifierType
{
357 [CCode (cprefix
= "GDK_NOTIFY_")]
358 public enum NotifyType
{
366 [CCode (cprefix
= "GDK_OVERLAP_RECTANGLE_")]
367 public enum OverlapType
{
372 [CCode (cprefix
= "GDK_OWNER_CHANGE_")]
373 public enum OwnerChange
{
378 [CCode (cprefix
= "GDK_PIXBUF_ALPHA_")]
379 public enum PixbufAlphaMode
{
383 [CCode (cprefix
= "GDK_PIXBUF_ERROR_")]
384 public enum PixbufError
{
389 UNSUPPORTED_OPERATION
,
392 [CCode (cprefix
= "GDK_PIXBUF_FRAME_")]
393 public enum PixbufFrameAction
{
398 [CCode (cprefix
= "GDK_PIXBUF_ROTATE_")]
399 public enum PixbufRotation
{
405 [CCode (cprefix
= "GDK_PIXDATA_DUMP_")]
406 public enum PixdataDumpType
{
416 [CCode (cprefix
= "GDK_PIXDATA_")]
417 public enum PixdataType
{
427 [CCode (cprefix
= "GDK_PROP_MODE_")]
428 public enum PropMode
{
433 [CCode (cprefix
= "GDK_PROPERTY_")]
434 public enum PropertyState
{
438 [CCode (cprefix
= "GDK_RGB_DITHER_")]
439 public enum RgbDither
{
444 [CCode (cprefix
= "GDK_SCROLL_")]
445 public enum ScrollDirection
{
451 [CCode (cprefix
= "GDK_SETTING_ACTION_")]
452 public enum SettingAction
{
457 [CCode (cprefix
= "GDK_")]
465 [CCode (cprefix
= "GDK_")]
466 public enum SubwindowMode
{
470 [CCode (cprefix
= "GDK_VISIBILITY_")]
471 public enum VisibilityState
{
476 [CCode (cprefix
= "GDK_VISUAL_")]
477 public enum VisualType
{
485 [CCode (cprefix
= "GDK_DECOR_")]
486 public enum WMDecoration
{
495 [CCode (cprefix
= "GDK_FUNC_")]
496 public enum WMFunction
{
504 [CCode (cprefix
= "GDK_WA_")]
505 public enum WindowAttributesType
{
516 [CCode (cprefix
= "GDK_INPUT_")]
517 public enum WindowClass
{
521 [CCode (cprefix
= "GDK_WINDOW_EDGE_")]
522 public enum WindowEdge
{
532 [CCode (cprefix
= "GDK_HINT_")]
533 public enum WindowHints
{
544 [CCode (cprefix
= "GDK_WINDOW_STATE_")]
545 public enum WindowState
{
554 [CCode (cprefix
= "GDK_WINDOW_")]
555 public enum WindowType
{
563 [CCode (cprefix
= "GDK_WINDOW_TYPE_HINT_")]
564 public enum WindowTypeHint
{
580 [CCode (cheader_filename
= "gdk/gdk.h")]
581 public class Colormap
: GLib
.Object
{
583 public Gdk
.Color colors
;
584 public bool alloc_color (ref Gdk
.Color color
, bool writeable
, bool best_match
);
585 public int alloc_colors (ref Gdk
.Color colors
, int ncolors
, bool writeable
, bool best_match
, bool success
);
586 public void free_colors (ref Gdk
.Color colors
, int ncolors
);
587 public weak Gdk
.Screen
get_screen ();
588 public static weak Gdk
.Colormap
get_system ();
589 public static GLib
.Type
get_type ();
590 public weak Gdk
.Visual
get_visual ();
591 public Colormap (Gdk
.Visual visual
, bool allocate
);
592 public void query_color (ulong pixel
, ref Gdk
.Color result
);
594 [CCode (cheader_filename
= "gdk/gdk.h")]
595 public class Device
: GLib
.Object
{
597 public static void free_history (Gdk
.TimeCoord
[] events
, int n_events
);
598 public bool get_axis (double axes
, Gdk
.AxisUse use
, double value
);
599 public static weak Gdk
.Device
get_core_pointer ();
601 public bool get_history (Gdk
.Window window
, uint start
, uint stop
, Gdk
.TimeCoord
[] events
, int n_events
);
602 public void get_state (Gdk
.Window window
, double axes
, Gdk
.ModifierType mask
);
603 public static GLib
.Type
get_type ();
604 public void set_axis_use (uint index_
, Gdk
.AxisUse use
);
605 public void set_key (uint index_
, uint keyval
, Gdk
.ModifierType modifiers
);
606 public bool set_mode (Gdk
.InputMode mode
);
607 public void set_source (Gdk
.InputSource source
);
609 [CCode (cheader_filename
= "gdk/gdk.h")]
610 public class Display
: GLib
.Object
{
611 public void add_client_message_filter (Gdk
.Atom message_type
, Gdk
.FilterFunc func
, pointer data
);
613 public void close ();
614 public void flush ();
615 public weak Gdk
.Device
get_core_pointer ();
616 public static weak Gdk
.Display
get_default ();
617 public uint get_default_cursor_size ();
618 public weak Gdk
.Window
get_default_group ();
619 public virtual weak Gdk
.Screen
get_default_screen ();
620 public weak Gdk
.Event
get_event ();
621 public void get_maximal_cursor_size (uint width
, uint height
);
622 public virtual int get_n_screens ();
623 public weak string get_name ();
624 public void get_pointer (Gdk
.Screen screen
, int x
, int y
, Gdk
.ModifierType mask
);
625 public virtual weak Gdk
.Screen
get_screen (int screen_num
);
626 public static GLib
.Type
get_type ();
627 public weak Gdk
.Window
get_window_at_pointer (int win_x
, int win_y
);
628 public void keyboard_ungrab (uint time_
);
629 public weak GLib
.List
list_devices ();
630 public static weak Gdk
.Display
open (string display_name
);
631 public static weak Gdk
.Display
open_default_libgtk_only ();
632 public weak Gdk
.Event
peek_event ();
633 public bool pointer_is_grabbed ();
634 public void pointer_ungrab (uint time_
);
635 public void put_event (Gdk
.Event event
);
636 public bool request_selection_notification (Gdk
.Atom selection
);
637 public void set_double_click_distance (uint distance
);
638 public void set_double_click_time (uint msec
);
639 public weak Gdk
.DisplayPointerHooks
set_pointer_hooks (Gdk
.DisplayPointerHooks new_hooks
);
641 public void store_clipboard (Gdk
.Window clipboard_window
, uint time_
, Gdk
.Atom
[] targets
, int n_targets
);
642 public bool supports_clipboard_persistence ();
643 public bool supports_composite ();
644 public bool supports_cursor_alpha ();
645 public bool supports_cursor_color ();
646 public bool supports_input_shapes ();
647 public bool supports_selection_notification ();
648 public bool supports_shapes ();
650 public void warp_pointer (Gdk
.Screen screen
, int x
, int y
);
651 public signal void closed (bool is_error
);
653 [CCode (cheader_filename
= "gdk/gdk.h")]
654 public class DisplayManager
: GLib
.Object
{
655 public static weak Gdk
.DisplayManager
get ();
656 public weak Gdk
.Display
get_default_display ();
657 public static GLib
.Type
get_type ();
658 public weak GLib
.SList
list_displays ();
659 public void set_default_display (Gdk
.Display display
);
660 public weak Gdk
.Display default_display
{ get; set; }
661 public signal void display_opened (Gdk
.Display display
);
663 [CCode (cheader_filename
= "gdk/gdk.h")]
664 public class DragContext
: GLib
.Object
{
665 public Gdk
.DragProtocol protocol
;
666 public bool is_source
;
667 public weak Gdk
.Window source_window
;
668 public weak Gdk
.Window dest_window
;
669 public weak GLib
.List targets
;
670 public Gdk
.DragAction actions
;
671 public Gdk
.DragAction suggested_action
;
672 public Gdk
.DragAction action
;
673 public uint start_time
;
674 public static GLib
.Type
get_type ();
675 public DragContext ();
677 [CCode (cheader_filename
= "gdk/gdk.h")]
678 public class Drawable
: GLib
.Object
{
679 [CCode (cname
= "gdk_draw_arc")]
680 public virtual void draw_arc (Gdk
.GC gc
, bool filled
, int x
, int y
, int width
, int height
, int angle1
, int angle2
);
681 [CCode (cname
= "gdk_draw_drawable")]
682 public virtual void draw_drawable (Gdk
.GC gc
, Gdk
.Drawable src
, int xsrc
, int ysrc
, int xdest
, int ydest
, int width
, int height
);
683 [CCode (cname
= "gdk_draw_glyphs")]
684 public virtual void draw_glyphs (Gdk
.GC gc
, Pango
.Font font
, int x
, int y
, Pango
.GlyphString glyphs
);
685 [CCode (cname
= "gdk_draw_glyphs_transformed")]
686 public virtual void draw_glyphs_transformed (Gdk
.GC gc
, Pango
.Matrix matrix
, Pango
.Font font
, int x
, int y
, Pango
.GlyphString glyphs
);
688 [CCode (cname
= "gdk_draw_gray_image")]
689 public void draw_gray_image (Gdk
.GC gc
, int x
, int y
, int width
, int height
, Gdk
.RgbDither dith
, uchar[] buf
, int rowstride
);
690 [CCode (cname
= "gdk_draw_image")]
691 public virtual void draw_image (Gdk
.GC gc
, Gdk
.Image image
, int xsrc
, int ysrc
, int xdest
, int ydest
, int width
, int height
);
693 [CCode (cname
= "gdk_draw_indexed_image")]
694 public void draw_indexed_image (Gdk
.GC gc
, int x
, int y
, int width
, int height
, Gdk
.RgbDither dith
, uchar[] buf
, int rowstride
, Gdk
.RgbCmap cmap
);
695 [CCode (cname
= "gdk_draw_layout")]
696 public void draw_layout (Gdk
.GC gc
, int x
, int y
, Pango
.Layout layout
);
697 [CCode (cname
= "gdk_draw_layout_line")]
698 public void draw_layout_line (Gdk
.GC gc
, int x
, int y
, Pango
.LayoutLine line
);
699 [CCode (cname
= "gdk_draw_layout_line_with_colors")]
700 public void draw_layout_line_with_colors (Gdk
.GC gc
, int x
, int y
, Pango
.LayoutLine line
, ref Gdk
.Color foreground
, ref Gdk
.Color background
);
701 [CCode (cname
= "gdk_draw_layout_with_colors")]
702 public void draw_layout_with_colors (Gdk
.GC gc
, int x
, int y
, Pango
.Layout layout
, ref Gdk
.Color foreground
, ref Gdk
.Color background
);
703 [CCode (cname
= "gdk_draw_line")]
704 public void draw_line (Gdk
.GC gc
, int x1_
, int y1_
, int x2_
, int y2_
);
705 [CCode (cname
= "gdk_draw_lines")]
706 public virtual void draw_lines (Gdk
.GC gc
, Gdk
.Point points
, int npoints
);
707 [CCode (cname
= "gdk_draw_pixbuf")]
708 public virtual void draw_pixbuf (Gdk
.GC gc
, Gdk
.Pixbuf pixbuf
, int src_x
, int src_y
, int dest_x
, int dest_y
, int width
, int height
, Gdk
.RgbDither dither
, int x_dither
, int y_dither
);
709 [CCode (cname
= "gdk_draw_point")]
710 public void draw_point (Gdk
.GC gc
, int x
, int y
);
711 [CCode (cname
= "gdk_draw_points")]
712 public virtual void draw_points (Gdk
.GC gc
, Gdk
.Point points
, int npoints
);
713 [CCode (cname
= "gdk_draw_polygon")]
714 public virtual void draw_polygon (Gdk
.GC gc
, bool filled
, Gdk
.Point points
, int npoints
);
715 [CCode (cname
= "gdk_draw_rectangle")]
716 public virtual void draw_rectangle (Gdk
.GC gc
, bool filled
, int x
, int y
, int width
, int height
);
718 [CCode (cname
= "gdk_draw_rgb_32_image")]
719 public void draw_rgb_32_image (Gdk
.GC gc
, int x
, int y
, int width
, int height
, Gdk
.RgbDither dith
, uchar[] buf
, int rowstride
);
721 [CCode (cname
= "gdk_draw_rgb_32_image_dithalign")]
722 public void draw_rgb_32_image_dithalign (Gdk
.GC gc
, int x
, int y
, int width
, int height
, Gdk
.RgbDither dith
, uchar[] buf
, int rowstride
, int xdith
, int ydith
);
724 [CCode (cname
= "gdk_draw_rgb_image")]
725 public void draw_rgb_image (Gdk
.GC gc
, int x
, int y
, int width
, int height
, Gdk
.RgbDither dith
, uchar[] rgb_buf
, int rowstride
);
727 [CCode (cname
= "gdk_draw_rgb_image_dithalign")]
728 public void draw_rgb_image_dithalign (Gdk
.GC gc
, int x
, int y
, int width
, int height
, Gdk
.RgbDither dith
, uchar[] rgb_buf
, int rowstride
, int xdith
, int ydith
);
729 [CCode (cname
= "gdk_draw_segments")]
730 public virtual void draw_segments (Gdk
.GC gc
, Gdk
.Segment segs
, int nsegs
);
732 [CCode (cname
= "gdk_draw_trapezoids")]
733 public virtual void draw_trapezoids (Gdk
.GC gc
, Gdk
.Trapezoid
[] trapezoids
, int n_trapezoids
);
734 public weak Gdk
.Image
copy_to_image (Gdk
.Image image
, int src_x
, int src_y
, int dest_x
, int dest_y
, int width
, int height
);
735 public virtual weak Gdk
.Region
get_clip_region ();
736 public virtual weak Gdk
.Colormap
get_colormap ();
737 public virtual int get_depth ();
738 public weak Gdk
.Display
get_display ();
739 public virtual weak Gdk
.Image
get_image (int x
, int y
, int width
, int height
);
740 public virtual weak Gdk
.Screen
get_screen ();
741 public virtual void get_size (int width
, int height
);
742 public static GLib
.Type
get_type ();
743 public virtual weak Gdk
.Region
get_visible_region ();
744 public virtual weak Gdk
.Visual
get_visual ();
745 public virtual void set_colormap (Gdk
.Colormap colormap
);
747 [CCode (cheader_filename
= "gdk/gdk.h")]
748 public class GC
: GLib
.Object
{
749 public void copy (Gdk
.GC src_gc
);
750 public weak Gdk
.Colormap
get_colormap ();
751 public weak Gdk
.Screen
get_screen ();
752 public static GLib
.Type
get_type ();
753 public virtual void get_values (Gdk
.GCValues values
);
754 public GC (Gdk
.Drawable drawable
);
755 public GC
.with_values (Gdk
.Drawable drawable
, Gdk
.GCValues values
, Gdk
.GCValuesMask values_mask
);
756 public void offset (int x_offset
, int y_offset
);
757 public void set_background (ref Gdk
.Color color
);
758 public void set_clip_mask (Gdk
.Bitmap mask
);
759 public void set_clip_origin (int x
, int y
);
760 public void set_clip_rectangle (ref Gdk
.Rectangle rectangle
);
761 public void set_clip_region (Gdk
.Region region
);
762 public void set_colormap (Gdk
.Colormap colormap
);
764 public virtual void set_dashes (int dash_offset
, char[] dash_list
, int n
);
765 public void set_exposures (bool exposures
);
766 public void set_fill (Gdk
.Fill fill
);
767 public void set_foreground (ref Gdk
.Color color
);
768 public void set_function (Gdk
.Function function
);
769 public void set_line_attributes (int line_width
, Gdk
.LineStyle line_style
, Gdk
.CapStyle cap_style
, Gdk
.JoinStyle join_style
);
770 public void set_rgb_bg_color (ref Gdk
.Color color
);
771 public void set_rgb_fg_color (ref Gdk
.Color color
);
772 public void set_stipple (Gdk
.Pixmap stipple
);
773 public void set_subwindow (Gdk
.SubwindowMode mode
);
774 public void set_tile (Gdk
.Pixmap tile
);
775 public void set_ts_origin (int x
, int y
);
776 public virtual void set_values (Gdk
.GCValues values
, Gdk
.GCValuesMask values_mask
);
778 [CCode (cheader_filename
= "gdk/gdk.h")]
779 public class Image
: GLib
.Object
{
780 public Gdk
.ImageType type
;
781 public weak Gdk
.Visual visual
;
782 public Gdk
.ByteOrder byte_order
;
788 public ushort bits_per_pixel
;
790 public weak Gdk
.Colormap colormap
;
791 public weak Gdk
.Colormap
get_colormap ();
792 public uint get_pixel (int x
, int y
);
793 public static GLib
.Type
get_type ();
794 public Image (Gdk
.ImageType type
, Gdk
.Visual visual
, int width
, int height
);
795 public void put_pixel (int x
, int y
, uint pixel
);
796 public void set_colormap (Gdk
.Colormap colormap
);
798 [CCode (cheader_filename
= "gdk/gdk.h")]
799 public class Keymap
: GLib
.Object
{
800 public static weak Gdk
.Keymap
get_default ();
801 public Pango
.Direction
get_direction ();
802 public bool get_entries_for_keycode (uint hardware_keycode
, Gdk
.KeymapKey keys
, uint keyvals
, int n_entries
);
804 public bool get_entries_for_keyval (uint keyval
, Gdk
.KeymapKey
[] keys
, int n_keys
);
805 public static weak Gdk
.Keymap
get_for_display (Gdk
.Display display
);
806 public static GLib
.Type
get_type ();
807 public uint lookup_key (Gdk
.KeymapKey key
);
808 public bool translate_keyboard_state (uint hardware_keycode
, Gdk
.ModifierType state
, int group
, uint keyval
, int effective_group
, int level
, Gdk
.ModifierType consumed_modifiers
);
809 public signal void direction_changed ();
810 public signal void keys_changed ();
812 [CCode (cheader_filename
= "gdk/gdk.h")]
813 public class PangoRenderer
: Pango
.Renderer
{
814 public static weak Pango
.Renderer
get_default (Gdk
.Screen screen
);
815 public static GLib
.Type
get_type ();
816 public PangoRenderer (Gdk
.Screen screen
);
817 public void set_drawable (Gdk
.Drawable drawable
);
818 public void set_gc (Gdk
.GC gc
);
819 public void set_override_color (Pango
.RenderPart part
, ref Gdk
.Color color
);
820 public void set_stipple (Pango
.RenderPart part
, Gdk
.Bitmap stipple
);
822 public weak Gdk
.Screen screen
{ get; construct; }
824 [CCode (cheader_filename
= "gdk/gdk.h")]
825 public class Pixbuf
: GLib
.Object
{
826 public weak Gdk
.Pixbuf
add_alpha (bool substitute_color
, uchar r
, uchar g
, uchar b
);
827 public void composite (Gdk
.Pixbuf dest
, int dest_x
, int dest_y
, int dest_width
, int dest_height
, double offset_x
, double offset_y
, double scale_x
, double scale_y
, Gdk
.InterpType interp_type
, int overall_alpha
);
828 public void composite_color (Gdk
.Pixbuf dest
, int dest_x
, int dest_y
, int dest_width
, int dest_height
, double offset_x
, double offset_y
, double scale_x
, double scale_y
, Gdk
.InterpType interp_type
, int overall_alpha
, int check_x
, int check_y
, int check_size
, uint color1
, uint color2
);
829 public weak Gdk
.Pixbuf
composite_color_simple (int dest_width
, int dest_height
, Gdk
.InterpType interp_type
, int overall_alpha
, int check_size
, uint color1
, uint color2
);
830 public weak Gdk
.Pixbuf
copy ();
831 public void copy_area (int src_x
, int src_y
, int width
, int height
, Gdk
.Pixbuf dest_pixbuf
, int dest_x
, int dest_y
);
832 public static GLib
.Quark
error_quark ();
833 public void fill (uint pixel
);
834 public weak Gdk
.Pixbuf
flip (bool horizontal
);
835 public static weak Gdk
.Pixbuf
from_pixdata (Gdk
.Pixdata pixdata
, bool copy_pixels
, GLib
.Error error
);
836 public int get_bits_per_sample ();
837 public Gdk
.Colorspace
get_colorspace ();
838 public static weak Gdk
.PixbufFormat
get_file_info (string filename
, int width
, int height
);
839 public static weak GLib
.SList
get_formats ();
840 public weak Gdk
.Pixbuf
get_from_drawable (Gdk
.Drawable src
, Gdk
.Colormap cmap
, int src_x
, int src_y
, int dest_x
, int dest_y
, int width
, int height
);
841 public weak Gdk
.Pixbuf
get_from_image (Gdk
.Image src
, Gdk
.Colormap cmap
, int src_x
, int src_y
, int dest_x
, int dest_y
, int width
, int height
);
842 public bool get_has_alpha ();
843 public int get_height ();
844 public int get_n_channels ();
845 public weak string get_option (string key
);
847 public weak uchar[] get_pixels ();
848 public int get_rowstride ();
849 public static GLib
.Type
get_type ();
850 public int get_width ();
851 public Pixbuf (Gdk
.Colorspace colorspace
, bool has_alpha
, int bits_per_sample
, int width
, int height
);
853 public Pixbuf
.from_data (uchar[] data
, Gdk
.Colorspace colorspace
, bool has_alpha
, int bits_per_sample
, int width
, int height
, int rowstride
, Gdk
.PixbufDestroyNotify destroy_fn
, pointer destroy_fn_data
);
854 public Pixbuf
.from_file (string filename
, GLib
.Error error
);
855 public Pixbuf
.from_file_at_scale (string filename
, int width
, int height
, bool preserve_aspect_ratio
, GLib
.Error error
);
856 public Pixbuf
.from_file_at_size (string filename
, int width
, int height
, GLib
.Error error
);
858 public Pixbuf
.from_inline (int data_length
, uchar[] data
, bool copy_pixels
, GLib
.Error error
);
859 public Pixbuf
.from_xpm_data (string data
);
860 public Pixbuf
.subpixbuf (int src_x
, int src_y
, int width
, int height
);
861 public void render_pixmap_and_mask (Gdk
.Pixmap pixmap_return
, Gdk
.Bitmap mask_return
, int alpha_threshold
);
862 public void render_pixmap_and_mask_for_colormap (Gdk
.Colormap colormap
, Gdk
.Pixmap pixmap_return
, Gdk
.Bitmap mask_return
, int alpha_threshold
);
863 public void render_threshold_alpha (Gdk
.Bitmap bitmap
, int src_x
, int src_y
, int dest_x
, int dest_y
, int width
, int height
, int alpha_threshold
);
864 public weak Gdk
.Pixbuf
rotate_simple (Gdk
.PixbufRotation angle
);
865 public void saturate_and_pixelate (Gdk
.Pixbuf dest
, float saturation
, bool pixelate
);
866 public bool save (string filename
, string type
, GLib
.Error error
);
867 public bool save_to_buffer (string buffer
, ulong buffer_size
, string type
, GLib
.Error error
);
868 public bool save_to_bufferv (string buffer
, ulong buffer_size
, string type
, string option_keys
, string option_values
, GLib
.Error error
);
869 public bool save_to_callback (Gdk
.PixbufSaveFunc save_func
, pointer user_data
, string type
, GLib
.Error error
);
870 public bool save_to_callbackv (Gdk
.PixbufSaveFunc save_func
, pointer user_data
, string type
, string option_keys
, string option_values
, GLib
.Error error
);
871 public bool savev (string filename
, string type
, string option_keys
, string option_values
, GLib
.Error error
);
872 public void scale (Gdk
.Pixbuf dest
, int dest_x
, int dest_y
, int dest_width
, int dest_height
, double offset_x
, double offset_y
, double scale_x
, double scale_y
, Gdk
.InterpType interp_type
);
873 public weak Gdk
.Pixbuf
scale_simple (int dest_width
, int dest_height
, Gdk
.InterpType interp_type
);
875 public weak int n_channels
{ get; set; }
877 public weak Gdk
.Colorspace colorspace
{ get; set; }
879 public weak bool has_alpha
{ get; set; }
881 public weak int bits_per_sample
{ get; set; }
883 public weak int width
{ get; set; }
885 public weak int height
{ get; set; }
887 public weak int rowstride
{ get; set; }
889 public weak pointer pixels
{ get; set; }
891 [CCode (cheader_filename
= "gdk/gdk.h")]
892 public class PixbufAnimation
: GLib
.Object
{
893 public int get_height ();
894 public weak Gdk
.PixbufAnimationIter
get_iter (GLib
.TimeVal start_time
);
895 public weak Gdk
.Pixbuf
get_static_image ();
896 public static GLib
.Type
get_type ();
897 public int get_width ();
898 public bool is_static_image ();
899 public PixbufAnimation
.from_file (string filename
, GLib
.Error error
);
901 [CCode (cheader_filename
= "gdk/gdk.h")]
902 public class PixbufAnimationIter
: GLib
.Object
{
903 public bool advance (GLib
.TimeVal current_time
);
904 public int get_delay_time ();
905 public weak Gdk
.Pixbuf
get_pixbuf ();
906 public static GLib
.Type
get_type ();
907 public bool on_currently_loading_frame ();
909 [CCode (cheader_filename
= "gdk/gdk.h")]
910 public class PixbufAniAnim
: Gdk
.PixbufAnimation
{
911 public static GLib
.Type
get_type ();
913 [CCode (cheader_filename
= "gdk/gdk.h")]
914 public class PixbufAniAnimIter
: Gdk
.PixbufAnimationIter
{
915 public static GLib
.Type
get_type ();
917 [CCode (cheader_filename
= "gdk/gdk.h")]
918 public class PixbufGifAnim
: Gdk
.PixbufAnimation
{
919 public void frame_composite (Gdk
.PixbufFrame frame
);
920 public static GLib
.Type
get_type ();
922 [CCode (cheader_filename
= "gdk/gdk.h")]
923 public class PixbufGifAnimIter
: Gdk
.PixbufAnimationIter
{
924 public static GLib
.Type
get_type ();
926 [CCode (cheader_filename
= "gdk/gdk.h")]
927 public class PixbufLoader
: GLib
.Object
{
928 public bool close (GLib
.Error error
);
929 public weak Gdk
.PixbufAnimation
get_animation ();
930 public weak Gdk
.PixbufFormat
get_format ();
931 public weak Gdk
.Pixbuf
get_pixbuf ();
932 public static GLib
.Type
get_type ();
933 public PixbufLoader ();
934 public PixbufLoader
.with_mime_type (string mime_type
, GLib
.Error error
);
935 public PixbufLoader
.with_type (string image_type
, GLib
.Error error
);
936 public void set_size (int width
, int height
);
938 public bool write (uchar[] buf
, ulong count
, GLib
.Error error
);
939 public signal void size_prepared (int width
, int height
);
940 public signal void area_prepared ();
941 public signal void area_updated (int x
, int y
, int width
, int height
);
942 public signal void closed ();
944 [CCode (cheader_filename
= "gdk/gdk.h")]
945 public class PixbufSimpleAnim
: Gdk
.PixbufAnimation
{
946 public void add_frame (Gdk
.Pixbuf pixbuf
);
947 public static GLib
.Type
get_type ();
948 public static GLib
.Type
iter_get_type ();
949 public PixbufSimpleAnim (int width
, int height
, float rate
);
951 [CCode (cheader_filename
= "gdk/gdk.h")]
952 public class Pixmap
: GLib
.Object
{
953 public static weak Gdk
.Pixmap
colormap_create_from_xpm (Gdk
.Drawable drawable
, Gdk
.Colormap colormap
, Gdk
.Bitmap mask
, ref Gdk
.Color transparent_color
, string filename
);
954 public static weak Gdk
.Pixmap
colormap_create_from_xpm_d (Gdk
.Drawable drawable
, Gdk
.Colormap colormap
, Gdk
.Bitmap mask
, ref Gdk
.Color transparent_color
, string data
);
955 public static weak Gdk
.Pixmap
create_from_data (Gdk
.Drawable drawable
, string data
, int width
, int height
, int depth
, ref Gdk
.Color fg
, ref Gdk
.Color bg
);
956 public static weak Gdk
.Pixmap
create_from_xpm (Gdk
.Drawable drawable
, Gdk
.Bitmap mask
, ref Gdk
.Color transparent_color
, string filename
);
957 public static weak Gdk
.Pixmap
create_from_xpm_d (Gdk
.Drawable drawable
, Gdk
.Bitmap mask
, ref Gdk
.Color transparent_color
, string data
);
958 public static weak Gdk
.Pixmap
foreign_new (pointer anid
);
959 public static weak Gdk
.Pixmap
foreign_new_for_display (Gdk
.Display display
, pointer anid
);
960 public static weak Gdk
.Pixmap
foreign_new_for_screen (Gdk
.Screen screen
, pointer anid
, int width
, int height
, int depth
);
961 public static GLib
.Type
get_type ();
962 public static weak Gdk
.Pixmap
lookup (pointer anid
);
963 public static weak Gdk
.Pixmap
lookup_for_display (Gdk
.Display display
, pointer anid
);
964 public Pixmap (Gdk
.Drawable drawable
, int width
, int height
, int depth
);
966 [CCode (cheader_filename
= "gdk/gdk.h")]
967 public class Screen
: GLib
.Object
{
968 public void broadcast_client_message (Gdk
.Event event
);
969 public weak Gdk
.Window
get_active_window ();
970 public static weak Gdk
.Screen
get_default ();
971 public weak Gdk
.Colormap
get_default_colormap ();
972 public weak Gdk
.Display
get_display ();
973 public pointer
get_font_options ();
974 public int get_height ();
975 public int get_height_mm ();
976 public int get_monitor_at_point (int x
, int y
);
977 public int get_monitor_at_window (Gdk
.Window window
);
978 public void get_monitor_geometry (int monitor_num
, ref Gdk
.Rectangle dest
);
979 public int get_n_monitors ();
980 public int get_number ();
981 public double get_resolution ();
982 public weak Gdk
.Colormap
get_rgb_colormap ();
983 public weak Gdk
.Visual
get_rgb_visual ();
984 public weak Gdk
.Colormap
get_rgba_colormap ();
985 public weak Gdk
.Visual
get_rgba_visual ();
986 public weak Gdk
.Window
get_root_window ();
987 public bool get_setting (string name
, GLib
.Value value
);
988 public weak Gdk
.Colormap
get_system_colormap ();
989 public weak Gdk
.Visual
get_system_visual ();
990 public weak GLib
.List
get_toplevel_windows ();
991 public static GLib
.Type
get_type ();
992 public int get_width ();
993 public int get_width_mm ();
994 public weak GLib
.List
get_window_stack ();
995 public static int height ();
996 public static int height_mm ();
997 public bool is_composited ();
998 public weak GLib
.List
list_visuals ();
999 public weak string make_display_name ();
1000 public void set_default_colormap (Gdk
.Colormap colormap
);
1001 public void set_font_options (pointer options
);
1002 public void set_resolution (double dpi
);
1003 public static int width ();
1004 public static int width_mm ();
1005 public weak pointer font_options
{ get; set; }
1006 public weak double resolution
{ get; set; }
1007 public signal void size_changed ();
1008 public signal void composited_changed ();
1010 [CCode (cheader_filename
= "gdk/gdk.h")]
1011 public class Visual
: GLib
.Object
{
1012 public static weak Gdk
.Visual
get_best ();
1013 public static int get_best_depth ();
1014 public static Gdk
.VisualType
get_best_type ();
1015 public static weak Gdk
.Visual
get_best_with_both (int depth
, Gdk
.VisualType visual_type
);
1016 public static weak Gdk
.Visual
get_best_with_depth (int depth
);
1017 public static weak Gdk
.Visual
get_best_with_type (Gdk
.VisualType visual_type
);
1018 public weak Gdk
.Screen
get_screen ();
1019 public static weak Gdk
.Visual
get_system ();
1020 public static GLib
.Type
get_type ();
1022 [CCode (cheader_filename
= "gdk/gdk.h")]
1023 public class Window
: Gdk
.Drawable
{
1024 public void add_filter (Gdk
.FilterFunc function
, pointer data
);
1025 public static weak Gdk
.Window
at_pointer (int win_x
, int win_y
);
1026 public void beep ();
1027 public void begin_move_drag (int button
, int root_x
, int root_y
, uint timestamp
);
1028 public void begin_paint_rect (ref Gdk
.Rectangle rectangle
);
1029 public void begin_paint_region (Gdk
.Region region
);
1030 public void begin_resize_drag (Gdk
.WindowEdge edge
, int button
, int root_x
, int root_y
, uint timestamp
);
1031 public void clear ();
1032 public void clear_area (int x
, int y
, int width
, int height
);
1033 public void clear_area_e (int x
, int y
, int width
, int height
);
1034 public void configure_finished ();
1035 public static void constrain_size (Gdk
.Geometry geometry
, uint @flags
, int width
, int height
, int new_width
, int new_height
);
1036 public void deiconify ();
1037 public void destroy ();
1038 public void enable_synchronized_configure ();
1039 public void end_paint ();
1040 public void focus (uint timestamp
);
1041 public static weak Gdk
.Window
foreign_new (pointer anid
);
1042 public static weak Gdk
.Window
foreign_new_for_display (Gdk
.Display display
, pointer anid
);
1043 public void freeze_updates ();
1044 public void fullscreen ();
1045 public weak GLib
.List
get_children ();
1046 public bool get_decorations (Gdk
.WMDecoration decorations
);
1047 public Gdk
.EventMask
get_events ();
1048 public void get_frame_extents (ref Gdk
.Rectangle rect
);
1049 public void get_geometry (int x
, int y
, int width
, int height
, int depth
);
1050 public weak Gdk
.Window
get_group ();
1051 public void get_internal_paint_info (Gdk
.Drawable real_drawable
, int x_offset
, int y_offset
);
1052 public int get_origin (int x
, int y
);
1053 public weak Gdk
.Window
get_parent ();
1054 public weak Gdk
.Window
get_pointer (int x
, int y
, Gdk
.ModifierType mask
);
1055 public void get_position (int x
, int y
);
1056 public void get_root_origin (int x
, int y
);
1057 public Gdk
.WindowState
get_state ();
1058 public weak Gdk
.Window
get_toplevel ();
1059 public static weak GLib
.List
get_toplevels ();
1060 public Gdk
.WindowTypeHint
get_type_hint ();
1061 public weak Gdk
.Region
get_update_area ();
1062 public void get_user_data (pointer data
);
1063 public Gdk
.WindowType
get_window_type ();
1064 public void hide ();
1065 public void iconify ();
1066 public void input_shape_combine_mask (Gdk
.Bitmap mask
, int x
, int y
);
1067 public void input_shape_combine_region (Gdk
.Region shape_region
, int offset_x
, int offset_y
);
1068 public void invalidate_maybe_recurse (Gdk
.Region region
, Gdk
.invalidate_maybe_recurseChildFunc child_func
, pointer user_data
);
1069 public void invalidate_rect (ref Gdk
.Rectangle rect
, bool invalidate_children
);
1070 public void invalidate_region (Gdk
.Region region
, bool invalidate_children
);
1071 public bool is_viewable ();
1072 public bool is_visible ();
1073 public static weak Gdk
.Window
lookup (pointer anid
);
1074 public static weak Gdk
.Window
lookup_for_display (Gdk
.Display display
, pointer anid
);
1075 public void lower ();
1076 public void maximize ();
1077 public void merge_child_input_shapes ();
1078 public void merge_child_shapes ();
1079 public void move (int x
, int y
);
1080 public void move_region (Gdk
.Region region
, int dx
, int dy
);
1081 public void move_resize (int x
, int y
, int width
, int height
);
1082 public Window (ref Gdk
.WindowAttr attributes
, int attributes_mask
);
1083 public weak GLib
.List
peek_children ();
1084 public static void process_all_updates ();
1085 public void process_updates (bool update_children
);
1086 public void raise ();
1087 public void register_dnd ();
1088 public void remove_filter (Gdk
.FilterFunc function
, pointer data
);
1089 public void reparent (Gdk
.Window new_parent
, int x
, int y
);
1090 public void resize (int width
, int height
);
1091 public void scroll (int dx
, int dy
);
1092 public void set_accept_focus (bool accept_focus
);
1093 public void set_back_pixmap (Gdk
.Pixmap pixmap
, bool parent_relative
);
1094 public void set_background (ref Gdk
.Color color
);
1095 public void set_child_input_shapes ();
1096 public void set_child_shapes ();
1097 public void set_composited (bool composited
);
1098 public void set_cursor (Gdk
.Cursor cursor
);
1099 public static void set_debug_updates (bool setting
);
1100 public void set_decorations (Gdk
.WMDecoration decorations
);
1101 public void set_events (Gdk
.EventMask event_mask
);
1102 public void set_focus_on_map (bool focus_on_map
);
1103 public void set_functions (Gdk
.WMFunction functions
);
1104 public void set_geometry_hints (Gdk
.Geometry geometry
, Gdk
.WindowHints geom_mask
);
1105 public void set_group (Gdk
.Window leader
);
1106 public void set_icon (Gdk
.Window icon_window
, Gdk
.Pixmap pixmap
, Gdk
.Bitmap mask
);
1107 public void set_icon_list (GLib
.List pixbufs
);
1108 public void set_icon_name (string name
);
1109 public void set_keep_above (bool setting
);
1110 public void set_keep_below (bool setting
);
1111 public void set_modal_hint (bool modal
);
1112 public void set_opacity (double opacity
);
1113 public void set_override_redirect (bool override_redirect
);
1114 public void set_role (string role
);
1115 public void set_skip_pager_hint (bool skips_pager
);
1116 public void set_skip_taskbar_hint (bool skips_taskbar
);
1117 public void set_startup_id (string startup_id
);
1118 public bool set_static_gravities (bool use_static
);
1119 public void set_title (string title
);
1120 public void set_transient_for (Gdk
.Window parent
);
1121 public void set_type_hint (Gdk
.WindowTypeHint hint
);
1122 public void set_urgency_hint (bool urgent
);
1123 public void set_user_data (pointer user_data
);
1124 public void shape_combine_mask (Gdk
.Bitmap mask
, int x
, int y
);
1125 public void shape_combine_region (Gdk
.Region shape_region
, int offset_x
, int offset_y
);
1126 public void show ();
1127 public void show_unraised ();
1128 public void stick ();
1129 public void thaw_updates ();
1130 public void unfullscreen ();
1131 public void unmaximize ();
1132 public void unstick ();
1133 public void withdraw ();
1135 [CCode (cheader_filename
= "gdk/gdk.h")]
1136 public class Bitmap
: GLib
.Object
{
1137 public weak GLib
.Object parent_instance
;
1138 public static weak Gdk
.Bitmap
create_from_data (Gdk
.Drawable drawable
, string data
, int width
, int height
);
1141 public struct BRESINFO
{
1142 public int minor_axis
;
1150 public struct EdgeTable
{
1153 public weak Gdk
.ScanLineList scanlines
;
1156 public struct EdgeTableEntry
{
1158 public struct Color
{
1161 public ushort green
;
1163 [InstanceByReference
]
1164 public Gdk
.Color
copy ();
1165 [InstanceByReference
]
1166 public bool equal (ref Gdk
.Color colorb
);
1167 [InstanceByReference
]
1168 public void free ();
1169 public static GLib
.Type
get_type ();
1170 [InstanceByReference
]
1171 public uint hash ();
1172 public static bool parse (string spec
, ref Gdk
.Color color
);
1173 [InstanceByReference
]
1174 public weak string to_string ();
1177 public struct Cursor
{
1178 public Gdk
.CursorType type
;
1179 public weak Gdk
.Display
get_display ();
1180 public weak Gdk
.Pixbuf
get_image ();
1181 public static GLib
.Type
get_type ();
1182 public Cursor (Gdk
.CursorType cursor_type
);
1183 public Cursor
.for_display (Gdk
.Display display
, Gdk
.CursorType cursor_type
);
1184 public Cursor
.from_name (Gdk
.Display display
, string name
);
1185 public Cursor
.from_pixbuf (Gdk
.Display display
, Gdk
.Pixbuf pixbuf
, int x
, int y
);
1186 public Cursor
.from_pixmap (Gdk
.Pixmap source
, Gdk
.Pixmap mask
, ref Gdk
.Color fg
, ref Gdk
.Color bg
, int x
, int y
);
1187 public weak Gdk
.Cursor @
ref ();
1188 public void unref ();
1191 public struct DeviceAxis
{
1192 public Gdk
.AxisUse use
;
1197 public struct DeviceKey
{
1199 public Gdk
.ModifierType modifiers
;
1202 public struct DisplayPointerHooks
{
1205 public struct EventAny
{
1206 public Gdk
.EventType type
;
1207 public weak Gdk
.Window window
;
1208 public char send_event
;
1211 public struct EventButton
{
1212 public Gdk
.EventType type
;
1213 public weak Gdk
.Window window
;
1214 public char send_event
;
1221 public weak Gdk
.Device device
;
1222 public double x_root
;
1223 public double y_root
;
1226 public struct EventClient
{
1227 public Gdk
.EventType type
;
1228 public weak Gdk
.Window window
;
1229 public char send_event
;
1230 public Gdk
.Atom message_type
;
1231 public ushort data_format
;
1235 public struct EventConfigure
{
1236 public Gdk
.EventType type
;
1237 public weak Gdk
.Window window
;
1238 public char send_event
;
1245 public struct EventCrossing
{
1246 public Gdk
.EventType type
;
1247 public weak Gdk
.Window window
;
1248 public char send_event
;
1249 public weak Gdk
.Window subwindow
;
1253 public double x_root
;
1254 public double y_root
;
1255 public Gdk
.CrossingMode mode
;
1256 public Gdk
.NotifyType detail
;
1261 public struct EventDND
{
1262 public Gdk
.EventType type
;
1263 public weak Gdk
.Window window
;
1264 public char send_event
;
1265 public weak Gdk
.DragContext context
;
1267 public short x_root
;
1268 public short y_root
;
1271 public struct EventExpose
{
1272 public Gdk
.EventType type
;
1273 public weak Gdk
.Window window
;
1274 public char send_event
;
1275 public Gdk
.Rectangle area
;
1276 public weak Gdk
.Region region
;
1280 public struct EventFocus
{
1281 public Gdk
.EventType type
;
1282 public weak Gdk
.Window window
;
1283 public char send_event
;
1287 public struct EventGrabBroken
{
1288 public Gdk
.EventType type
;
1289 public weak Gdk
.Window window
;
1290 public char send_event
;
1291 public bool keyboard
;
1292 public bool implicit
;
1293 public weak Gdk
.Window grab_window
;
1296 public struct EventKey
{
1297 public Gdk
.EventType type
;
1298 public weak Gdk
.Window window
;
1299 public char send_event
;
1304 public weak string string;
1305 public ushort hardware_keycode
;
1307 public uint is_modifier
;
1310 public struct EventMotion
{
1311 public Gdk
.EventType type
;
1312 public weak Gdk
.Window window
;
1313 public char send_event
;
1319 public short is_hint
;
1320 public weak Gdk
.Device device
;
1321 public double x_root
;
1322 public double y_root
;
1325 public struct EventNoExpose
{
1326 public Gdk
.EventType type
;
1327 public weak Gdk
.Window window
;
1328 public char send_event
;
1331 public struct EventOwnerChange
{
1332 public Gdk
.EventType type
;
1333 public weak Gdk
.Window window
;
1334 public char send_event
;
1335 public pointer owner
;
1336 public Gdk
.OwnerChange reason
;
1337 public Gdk
.Atom selection
;
1339 public uint selection_time
;
1342 public struct EventProperty
{
1343 public Gdk
.EventType type
;
1344 public weak Gdk
.Window window
;
1345 public char send_event
;
1346 public Gdk
.Atom atom
;
1351 public struct EventProximity
{
1352 public Gdk
.EventType type
;
1353 public weak Gdk
.Window window
;
1354 public char send_event
;
1356 public weak Gdk
.Device device
;
1359 public struct EventScroll
{
1360 public Gdk
.EventType type
;
1361 public weak Gdk
.Window window
;
1362 public char send_event
;
1367 public Gdk
.ScrollDirection direction
;
1368 public weak Gdk
.Device device
;
1369 public double x_root
;
1370 public double y_root
;
1373 public struct EventSelection
{
1374 public Gdk
.EventType type
;
1375 public weak Gdk
.Window window
;
1376 public char send_event
;
1377 public Gdk
.Atom selection
;
1378 public Gdk
.Atom target
;
1379 public Gdk
.Atom property
;
1381 public pointer requestor
;
1384 public struct EventSetting
{
1385 public Gdk
.EventType type
;
1386 public weak Gdk
.Window window
;
1387 public char send_event
;
1388 public Gdk
.SettingAction action
;
1389 public weak string name
;
1392 public struct EventVisibility
{
1393 public Gdk
.EventType type
;
1394 public weak Gdk
.Window window
;
1395 public char send_event
;
1396 public Gdk
.VisibilityState state
;
1399 public struct EventWindowState
{
1400 public Gdk
.EventType type
;
1401 public weak Gdk
.Window window
;
1402 public char send_event
;
1403 public Gdk
.WindowState changed_mask
;
1404 public Gdk
.WindowState new_window_state
;
1407 public struct Font
{
1408 public Gdk
.FontType type
;
1413 public struct GCValues
{
1414 public Gdk
.Color foreground
;
1415 public Gdk
.Color background
;
1416 public weak Gdk
.Font font
;
1417 public Gdk
.Function function
;
1418 public Gdk
.Fill fill
;
1419 public weak Gdk
.Pixmap tile
;
1420 public weak Gdk
.Pixmap stipple
;
1421 public weak Gdk
.Pixmap clip_mask
;
1422 public Gdk
.SubwindowMode subwindow_mode
;
1423 public int ts_x_origin
;
1424 public int ts_y_origin
;
1425 public int clip_x_origin
;
1426 public int clip_y_origin
;
1427 public int graphics_exposures
;
1428 public int line_width
;
1429 public Gdk
.LineStyle line_style
;
1430 public Gdk
.CapStyle cap_style
;
1431 public Gdk
.JoinStyle join_style
;
1434 public struct Geometry
{
1435 public int min_width
;
1436 public int min_height
;
1437 public int max_width
;
1438 public int max_height
;
1439 public int base_width
;
1440 public int base_height
;
1441 public int width_inc
;
1442 public int height_inc
;
1443 public double min_aspect
;
1444 public double max_aspect
;
1445 public Gdk
.Gravity win_gravity
;
1448 public struct KeymapKey
{
1449 public uint keycode
;
1454 public struct PangoAttrEmbossColor
{
1455 public weak Pango
.Attribute attr
;
1456 public Pango
.Color color
;
1457 public PangoAttrEmbossColor (ref Gdk
.Color color
);
1460 public struct PangoAttrEmbossed
{
1461 public weak Pango
.Attribute attr
;
1462 public bool embossed
;
1463 public PangoAttrEmbossed (bool embossed
);
1466 public struct PangoAttrStipple
{
1467 public weak Pango
.Attribute attr
;
1468 public weak Gdk
.Bitmap stipple
;
1469 public PangoAttrStipple (Gdk
.Bitmap stipple
);
1472 public struct PixbufFormat
{
1473 public weak string get_description ();
1474 public weak string get_extensions ();
1475 public weak string get_license ();
1476 public weak string get_mime_types ();
1477 public weak string get_name ();
1478 public bool is_disabled ();
1479 public bool is_scalable ();
1480 public bool is_writable ();
1481 public void set_disabled (bool disabled
);
1484 public struct PixbufFrame
{
1485 public weak Gdk
.Pixbuf pixbuf
;
1486 public int x_offset
;
1487 public int y_offset
;
1488 public int delay_time
;
1490 public Gdk
.PixbufFrameAction action
;
1491 public bool need_recomposite
;
1492 public bool bg_transparent
;
1493 public weak Gdk
.Pixbuf composited
;
1494 public weak Gdk
.Pixbuf revert
;
1497 public struct PixbufScaledAnim
{
1498 public static GLib
.Type
get_type ();
1499 public static GLib
.Type
iter_get_type ();
1502 public struct PixbufScaledAnimClass
{
1505 public struct Pixdata
{
1508 public uint pixdata_type
;
1509 public uint rowstride
;
1512 public uchar pixel_data
;
1514 public bool deserialize (uint stream_length
, uchar[] stream
, GLib
.Error error
);
1515 public pointer
from_pixbuf (Gdk
.Pixbuf pixbuf
, bool use_rle
);
1516 public uchar serialize (uint stream_length_p
);
1517 public weak GLib
.String
to_csource (string name
, Gdk
.PixdataDumpType dump_type
);
1520 public struct PixmapObject
{
1521 public weak Gdk
.Drawable parent_instance
;
1522 public weak Gdk
.Drawable impl
;
1526 public struct Point
{
1531 public struct PointerHooks
{
1533 public struct Rectangle
{
1538 public static GLib
.Type
get_type ();
1539 [InstanceByReference
]
1540 public bool intersect (ref Gdk
.Rectangle src2
, ref Gdk
.Rectangle dest
);
1541 [InstanceByReference
]
1542 public void union (ref Gdk
.Rectangle src2
, ref Gdk
.Rectangle dest
);
1545 public struct Region
{
1547 public long numRects
;
1548 public weak Gdk
.RegionBox rects
;
1549 public weak Gdk
.RegionBox extents
;
1550 public weak Gdk
.Region
copy ();
1551 public void destroy ();
1552 public bool empty ();
1553 public bool equal (Gdk
.Region region2
);
1554 public void get_clipbox (ref Gdk
.Rectangle rectangle
);
1556 public void get_rectangles (Gdk
.Rectangle
[] rectangles
, int n_rectangles
);
1557 public void intersect (Gdk
.Region source2
);
1559 public void offset (int dx
, int dy
);
1560 public bool point_in (int x
, int y
);
1561 public static weak Gdk
.Region
polygon (Gdk
.Point points
, int npoints
, Gdk
.FillRule fill_rule
);
1562 public Gdk
.OverlapType
rect_in (ref Gdk
.Rectangle rectangle
);
1563 public static weak Gdk
.Region
rectangle (ref Gdk
.Rectangle rectangle
);
1564 public void shrink (int dx
, int dy
);
1566 public void spans_intersect_foreach (Gdk
.Span
[] spans
, int n_spans
, bool sorted
, Gdk
.SpanFunc function
, pointer data
);
1567 public void subtract (Gdk
.Region source2
);
1568 public void union (Gdk
.Region source2
);
1569 public void union_with_rect (ref Gdk
.Rectangle rect
);
1570 public void xor (Gdk
.Region source2
);
1573 public struct RegionBox
{
1580 public struct RgbCmap
{
1582 public int n_colors
;
1583 public void free ();
1585 public RgbCmap (uint[] colors
, int n_colors
);
1588 public struct Segment
{
1595 public struct Span
{
1601 public struct TimeCoord
{
1606 public struct Trapezoid
{
1614 public struct WindowAttr
{
1615 public weak string title
;
1616 public int event_mask
;
1621 public pointer wclass
;
1622 public weak Gdk
.Visual visual
;
1623 public weak Gdk
.Colormap colormap
;
1624 public Gdk
.WindowType window_type
;
1625 public weak Gdk
.Cursor cursor
;
1626 public weak string wmclass_name
;
1627 public weak string wmclass_class
;
1628 public bool override_redirect
;
1629 public Gdk
.WindowTypeHint type_hint
;
1632 public struct WindowObject
{
1633 public weak Gdk
.Drawable parent_instance
;
1634 public weak Gdk
.Drawable impl
;
1635 public weak Gdk
.WindowObject parent
;
1636 public pointer user_data
;
1639 public int extension_events
;
1640 public weak GLib
.List filters
;
1641 public weak GLib
.List children
;
1642 public Gdk
.Color bg_color
;
1643 public weak Gdk
.Pixmap bg_pixmap
;
1644 public weak GLib
.SList paint_stack
;
1645 public weak Gdk
.Region update_area
;
1646 public uint update_freeze_count
;
1647 public uchar window_type
;
1649 public uchar resize_count
;
1650 public Gdk
.WindowState state
;
1651 public uint guffaw_gravity
;
1652 public uint input_only
;
1653 public uint modal_hint
;
1654 public uint composited
;
1655 public uint destroyed
;
1656 public uint accept_focus
;
1657 public uint focus_on_map
;
1659 public Gdk
.EventMask event_mask
;
1660 public static GLib
.Type
get_type ();
1663 public struct POINTBLOCK
{
1666 public struct ScanLineList
{
1669 public struct ScanLineListBlock
{
1671 public struct Atom
{
1672 public static Gdk
.Atom
intern (string atom_name
, bool only_if_exists
);
1673 public static Gdk
.Atom
intern_static_string (string atom_name
);
1674 public weak string name ();
1677 public struct Cairo
{
1678 public static weak Cairo
.Context
create (Gdk
.Drawable drawable
);
1679 public static void rectangle (Cairo
.Context cr
, ref Gdk
.Rectangle rectangle
);
1680 public static void region (Cairo
.Context cr
, Gdk
.Region region
);
1681 public static void set_source_color (Cairo
.Context cr
, ref Gdk
.Color color
);
1682 public static void set_source_pixbuf (Cairo
.Context cr
, Gdk
.Pixbuf pixbuf
, double pixbuf_x
, double pixbuf_y
);
1683 public static void set_source_pixmap (Cairo
.Context cr
, Gdk
.Pixmap pixmap
, double pixmap_x
, double pixmap_y
);
1686 public struct Char
{
1689 public struct Colors
{
1692 public struct Drag
{
1693 public static void abort (Gdk
.DragContext context
, uint time_
);
1694 public static weak Gdk
.DragContext
begin (Gdk
.Window window
, GLib
.List targets
);
1695 public static void drop (Gdk
.DragContext context
, uint time_
);
1696 public static bool drop_succeeded (Gdk
.DragContext context
);
1697 public static void find_window (Gdk
.DragContext context
, Gdk
.Window drag_window
, int x_root
, int y_root
, Gdk
.Window dest_window
, Gdk
.DragProtocol protocol
);
1698 public static void find_window_for_screen (Gdk
.DragContext context
, Gdk
.Window drag_window
, Gdk
.Screen screen
, int x_root
, int y_root
, Gdk
.Window dest_window
, Gdk
.DragProtocol protocol
);
1699 public static uint get_protocol (uint xid
, Gdk
.DragProtocol protocol
);
1700 public static uint get_protocol_for_display (Gdk
.Display display
, uint xid
, Gdk
.DragProtocol protocol
);
1701 public static Gdk
.Atom
get_selection (Gdk
.DragContext context
);
1702 public static bool motion (Gdk
.DragContext context
, Gdk
.Window dest_window
, Gdk
.DragProtocol protocol
, int x_root
, int y_root
, Gdk
.DragAction suggested_action
, Gdk
.DragAction possible_actions
, uint time_
);
1703 public static void status (Gdk
.DragContext context
, Gdk
.DragAction action
, uint time_
);
1706 public struct Drop
{
1707 public static void finish (Gdk
.DragContext context
, bool success
, uint time_
);
1708 public static void reply (Gdk
.DragContext context
, bool ok
, uint time_
);
1711 public struct Error
{
1712 public static int trap_pop ();
1713 public static void trap_push ();
1716 public struct Event
{
1717 public weak Gdk
.Event
copy ();
1718 public void free ();
1719 public static weak Gdk
.Event
get ();
1720 public bool get_axis (Gdk
.AxisUse axis_use
, double value
);
1721 public bool get_coords (double x_win
, double y_win
);
1722 public static weak Gdk
.Event
get_graphics_expose (Gdk
.Window window
);
1723 public bool get_root_coords (double x_root
, double y_root
);
1724 public weak Gdk
.Screen
get_screen ();
1725 public bool get_state (Gdk
.ModifierType state
);
1726 public uint get_time ();
1727 public static GLib
.Type
get_type ();
1728 public static void handler_set (Gdk
.EventFunc func
, pointer data
, GLib
.DestroyNotify notify
);
1729 public Event (Gdk
.EventType type
);
1730 public static weak Gdk
.Event
peek ();
1732 public static void request_motions (Gdk
.EventMotion event
);
1733 public bool send_client_message (pointer winid
);
1734 public static bool send_client_message_for_display (Gdk
.Display display
, Gdk
.Event event
, pointer winid
);
1735 public void send_clientmessage_toall ();
1736 public void set_screen (Gdk
.Screen screen
);
1739 public struct Fontset
{
1742 public struct Input
{
1743 public static void set_extension_events (Gdk
.Window window
, int mask
, Gdk
.ExtensionMode mode
);
1746 public struct Keyboard
{
1747 public static Gdk
.GrabStatus
grab (Gdk
.Window window
, bool owner_events
, uint time_
);
1748 public static bool grab_info_libgtk_only (Gdk
.Display display
, Gdk
.Window grab_window
, bool owner_events
);
1749 public static void ungrab (uint time_
);
1752 public struct Keyval
{
1753 public static void convert_case (uint symbol
, uint lower
, uint upper
);
1754 public static uint from_name (string keyval_name
);
1755 public static bool is_lower (uint keyval
);
1756 public static bool is_upper (uint keyval
);
1757 public static weak string name (uint keyval
);
1758 public static uint to_lower (uint keyval
);
1759 public static uint to_unicode (uint keyval
);
1760 public static uint to_upper (uint keyval
);
1763 public struct Notify
{
1764 public static void startup_complete ();
1765 public static void startup_complete_with_id (string startup_id
);
1768 public struct Pango
{
1769 public static weak Pango
.Context
context_get ();
1770 public static weak Pango
.Context
context_get_for_screen (Gdk
.Screen screen
);
1771 public static weak Gdk
.Region
layout_get_clip_region (Pango
.Layout layout
, int x_origin
, int y_origin
, int index_ranges
, int n_ranges
);
1772 public static weak Gdk
.Region
layout_line_get_clip_region (Pango
.LayoutLine line
, int x_origin
, int y_origin
, int index_ranges
, int n_ranges
);
1775 public struct Pointer
{
1776 public static Gdk
.GrabStatus
grab (Gdk
.Window window
, bool owner_events
, Gdk
.EventMask event_mask
, Gdk
.Window confine_to
, Gdk
.Cursor cursor
, uint time_
);
1777 public static bool grab_info_libgtk_only (Gdk
.Display display
, Gdk
.Window grab_window
, bool owner_events
);
1778 public static bool is_grabbed ();
1779 public static void ungrab (uint time_
);
1782 public struct Property
{
1784 public static void change (Gdk
.Window window
, Gdk
.Atom property
, Gdk
.Atom type
, int format
, Gdk
.PropMode mode
, uchar[] data
, int nelements
);
1785 public static void delete (Gdk
.Window window
, Gdk
.Atom property
);
1787 public static bool get (Gdk
.Window window
, Gdk
.Atom property
, Gdk
.Atom type
, ulong offset
, ulong length
, int pdelete
, ref Gdk
.Atom actual_property_type
, int actual_format
, int actual_length
, uchar[] data
);
1790 public struct Query
{
1791 public static void depths (int depths
, int count
);
1792 public static void visual_types (Gdk
.VisualType visual_types
, int count
);
1796 public static bool colormap_ditherable (Gdk
.Colormap cmap
);
1797 public static bool ditherable ();
1798 public static void find_color (Gdk
.Colormap colormap
, ref Gdk
.Color color
);
1799 public static weak Gdk
.Colormap
get_colormap ();
1800 public static weak Gdk
.Visual
get_visual ();
1801 public static void set_install (bool install
);
1802 public static void set_min_colors (int min_colors
);
1803 public static void set_verbose (bool verbose
);
1806 public struct Selection
{
1807 public static void convert (Gdk
.Window requestor
, Gdk
.Atom selection
, Gdk
.Atom target
, uint time_
);
1808 public static weak Gdk
.Window
owner_get (Gdk
.Atom selection
);
1809 public static weak Gdk
.Window
owner_get_for_display (Gdk
.Display display
, Gdk
.Atom selection
);
1810 public static bool owner_set (Gdk
.Window owner
, Gdk
.Atom selection
, uint time_
, bool send_event
);
1811 public static bool owner_set_for_display (Gdk
.Display display
, Gdk
.Window owner
, Gdk
.Atom selection
, uint time_
, bool send_event
);
1813 public static bool property_get (Gdk
.Window requestor
, uchar[] data
, ref Gdk
.Atom prop_type
, int prop_format
);
1814 public static void send_notify (uint requestor
, Gdk
.Atom selection
, Gdk
.Atom target
, Gdk
.Atom property
, uint time_
);
1815 public static void send_notify_for_display (Gdk
.Display display
, uint requestor
, Gdk
.Atom selection
, Gdk
.Atom target
, Gdk
.Atom property
, uint time_
);
1818 public struct Spawn
{
1819 public static bool command_line_on_screen (Gdk
.Screen screen
, string command_line
, GLib
.Error error
);
1820 public static bool on_screen (Gdk
.Screen screen
, string working_directory
, string argv
, string envp
, GLib
.SpawnFlags @flags
, GLib
.SpawnChildSetupFunc child_setup
, pointer user_data
, int child_pid
, GLib
.Error error
);
1821 public static bool on_screen_with_pipes (Gdk
.Screen screen
, string working_directory
, string argv
, string envp
, GLib
.SpawnFlags @flags
, GLib
.SpawnChildSetupFunc child_setup
, pointer user_data
, int child_pid
, int standard_input
, int standard_output
, int standard_error
, GLib
.Error error
);
1824 public struct Text
{
1826 public static int property_to_text_list (Gdk
.Atom encoding
, int format
, uchar[] text
, int length
, string list
);
1828 public static int property_to_text_list_for_display (Gdk
.Display display
, Gdk
.Atom encoding
, int format
, uchar[] text
, int length
, string list
);
1830 public static int property_to_utf8_list (Gdk
.Atom encoding
, int format
, uchar[] text
, int length
, string list
);
1832 public static int property_to_utf8_list_for_display (Gdk
.Display display
, Gdk
.Atom encoding
, int format
, uchar[] text
, int length
, string list
);
1835 public struct Threads
{
1836 public static uint add_idle (GLib
.SourceFunc function
, pointer data
);
1837 public static uint add_idle_full (int priority
, GLib
.SourceFunc function
, pointer data
, GLib
.DestroyNotify notify
);
1838 public static uint add_timeout (uint interval
, GLib
.SourceFunc function
, pointer data
);
1839 public static uint add_timeout_full (int priority
, uint interval
, GLib
.SourceFunc function
, pointer data
, GLib
.DestroyNotify notify
);
1840 public static void enter ();
1841 public static void init ();
1842 public static void leave ();
1843 public static void set_lock_functions (GLib
.Callback enter_fn
, GLib
.Callback leave_fn
);
1845 public static delegate
void DestroyNotify (pointer data
);
1846 public static delegate
void EventFunc (Gdk
.Event event
, pointer data
);
1847 public static delegate Gdk
.FilterReturn
FilterFunc (pointer xevent
, Gdk
.Event event
, pointer data
);
1848 public static delegate
void InputFunction (pointer data
, int source
, Gdk
.InputCondition condition
);
1849 public static delegate
void PixbufDestroyNotify (uchar[] pixels
, pointer data
);
1850 public static delegate
bool PixbufSaveFunc (string buf
, ulong count
, GLib
.Error error
, pointer data
);
1851 public static delegate
void SpanFunc (Gdk
.Span span
, pointer data
);
1852 public static delegate
bool invalidate_maybe_recurseChildFunc (Gdk
.Window arg1
, pointer data
);
1853 public static void add_client_message_filter (Gdk
.Atom message_type
, Gdk
.FilterFunc func
, pointer data
);
1854 public static void add_option_entries_libgtk_only (GLib
.OptionGroup group
);
1855 public static weak GLib
.List
devices_list ();
1856 public static bool events_pending ();
1858 public static void free_compound_text (uchar[] ctext
);
1859 public static void free_text_list (string list
);
1860 public static weak Gdk
.Window
get_default_root_window ();
1861 public static weak string get_display ();
1862 public static weak string get_display_arg_name ();
1863 public static weak string get_program_class ();
1864 public static bool get_show_events ();
1865 public static bool init_check (int argc
, string argv
);
1866 public static weak GLib
.List
list_visuals ();
1867 public static void parse_args (int argc
, string argv
);
1868 public static void pre_parse_libgtk_only ();
1869 public static void set_double_click_time (uint msec
);
1870 public static weak string set_locale ();
1871 public static weak Gdk
.PointerHooks
set_pointer_hooks (Gdk
.PointerHooks new_hooks
);
1872 public static void set_program_class (string program_class
);
1873 public static void set_show_events (bool show_events
);
1874 public static void set_sm_client_id (string sm_client_id
);
1875 public static bool setting_get (string name
, GLib
.Value value
);
1877 public static int string_to_compound_text (string str
, ref Gdk
.Atom encoding
, int format
, uchar[] ctext
, int length
);
1879 public static int string_to_compound_text_for_display (Gdk
.Display display
, string str
, ref Gdk
.Atom encoding
, int format
, uchar[] ctext
, int length
);
1880 public static uint unicode_to_keyval (uint wc
);