Exemple #1
0
func init() {
	tm := []glib.TypeMarshaler{
		// Enums
		{glib.Type(C.pango_ellipsize_mode_get_type()), marshalEllipsizeMode},
		{glib.Type(C.pango_wrap_mode_get_type()), marshalWrapMode},
	}
	glib.RegisterGValueMarshalers(tm)
}
Exemple #2
0
func init() {
	tm := []glib.TypeMarshaler{
		// Objects/Interfaces
		{glib.Type(C.gtk_popover_get_type()), marshalPopover},
	}
	glib.RegisterGValueMarshalers(tm)
}
Exemple #3
0
func init() {
	tm := []glib.TypeMarshaler{
		// Enums
		{glib.Type(C.cairo_gobject_antialias_get_type()), marshalAntialias},
		{glib.Type(C.cairo_gobject_content_get_type()), marshalContent},
		{glib.Type(C.cairo_gobject_fill_rule_get_type()), marshalFillRule},
		{glib.Type(C.cairo_gobject_line_cap_get_type()), marshalLineCap},
		{glib.Type(C.cairo_gobject_line_join_get_type()), marshalLineJoin},
		{glib.Type(C.cairo_gobject_operator_get_type()), marshalOperator},
		{glib.Type(C.cairo_gobject_status_get_type()), marshalStatus},
		{glib.Type(C.cairo_gobject_surface_type_get_type()), marshalSurfaceType},

		// Boxed
		{glib.Type(C.cairo_gobject_context_get_type()), marshalContext},
		{glib.Type(C.cairo_gobject_surface_get_type()), marshalSurface},
	}
	glib.RegisterGValueMarshalers(tm)
}
Exemple #4
0
func init() {
	tm := []glib.TypeMarshaler{
		// Enums
		{glib.Type(C.gtk_revealer_transition_type_get_type()), marshalRevealerTransitionType},
		{glib.Type(C.gtk_stack_transition_type_get_type()), marshalStackTransitionType},

		// Objects/Interfaces
		{glib.Type(C.gtk_header_bar_get_type()), marshalHeaderBar},
		{glib.Type(C.gtk_list_box_get_type()), marshalListBox},
		{glib.Type(C.gtk_list_box_row_get_type()), marshalListBoxRow},
		{glib.Type(C.gtk_revealer_get_type()), marshalRevealer},
		{glib.Type(C.gtk_search_bar_get_type()), marshalSearchBar},
		{glib.Type(C.gtk_stack_get_type()), marshalStack},
		{glib.Type(C.gtk_stack_switcher_get_type()), marshalStackSwitcher},
	}
	glib.RegisterGValueMarshalers(tm)
}
Exemple #5
0
func init() {
	tm := []glib.TypeMarshaler{
		// Enums
		{glib.Type(C.gdk_colorspace_get_type()), marshalColorspace},
		{glib.Type(C.gdk_pixbuf_alpha_mode_get_type()), marshalPixbufAlphaMode},

		// Objects/Interfaces
		{glib.Type(C.gdk_device_get_type()), marshalDevice},
		{glib.Type(C.gdk_device_manager_get_type()), marshalDeviceManager},
		{glib.Type(C.gdk_display_get_type()), marshalDisplay},
		{glib.Type(C.gdk_pixbuf_get_type()), marshalPixbuf},
		{glib.Type(C.gdk_screen_get_type()), marshalScreen},
		{glib.Type(C.gdk_window_get_type()), marshalWindow},

		// Boxed
		{glib.Type(C.gdk_event_get_type()), marshalEvent},
	}
	glib.RegisterGValueMarshalers(tm)
}
Exemple #6
0
func init() {
	tm := []glib.TypeMarshaler{
		// Enums
		{glib.Type(C.webkit_cache_model_get_type()), marshalCacheModel},
		{glib.Type(C.webkit_load_event_get_type()), marshalLoadEvent},
		{glib.Type(C.webkit_process_model_get_type()), marshalProcessModel},
		{glib.Type(C.webkit_tls_errors_policy_get_type()), marshalTLSErrorsPolicy},

		// Objects/Interfaces
		{glib.Type(C.webkit_back_forward_list_get_type()), marshalBackForwardList},
		{glib.Type(C.webkit_back_forward_list_item_get_type()), marshalBackForwardListItem},
		{glib.Type(C.webkit_cookie_manager_get_type()), marshalCookieManager},
		{glib.Type(C.webkit_download_get_type()), marshalDownload},
		{glib.Type(C.webkit_favicon_database_get_type()), marshalFaviconDatabase},
		{glib.Type(C.webkit_security_manager_get_type()), marshalSecurityManager},
		{glib.Type(C.webkit_uri_request_get_type()), marshalURIRequest},
		{glib.Type(C.webkit_web_context_get_type()), marshalWebContext},
		{glib.Type(C.webkit_web_view_get_type()), marshalWebView},
		{glib.Type(C.webkit_web_view_group_get_type()), marshalWebViewGroup},

		// Boxed
		{glib.Type(C.webkit_certificate_info_get_type()), marshalCertificateInfo},
	}
	glib.RegisterGValueMarshalers(tm)
}