Class PrintCompositor
public class PrintCompositor
- Inheritance
-
PrintCompositor
- Inherited Members
Methods
DrawPage(IntPtr, IntPtr, int)
Calls native method gtk_source_print_compositor_draw_page.
public static extern void DrawPage(IntPtr compositor, IntPtr context, int pageNr)
Parameters
compositor
IntPtrTransfer ownership: None Nullable: False
context
IntPtrTransfer ownership: None Nullable: False
pageNr
intTransfer ownership: None Nullable: False
GetBodyFontName(IntPtr)
Calls native method gtk_source_print_compositor_get_body_font_name.
public static extern NonNullableUtf8StringOwnedHandle GetBodyFontName(IntPtr compositor)
Parameters
compositor
IntPtrTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
GetBottomMargin(IntPtr, Unit)
Calls native method gtk_source_print_compositor_get_bottom_margin.
public static extern double GetBottomMargin(IntPtr compositor, Unit unit)
Parameters
compositor
IntPtrTransfer ownership: None Nullable: False
unit
UnitTransfer ownership: None Nullable: False
Returns
- double
Transfer ownership: None Nullable: False
GetBuffer(IntPtr)
Calls native method gtk_source_print_compositor_get_buffer.
public static extern IntPtr GetBuffer(IntPtr compositor)
Parameters
compositor
IntPtrTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: False
GetFooterFontName(IntPtr)
Calls native method gtk_source_print_compositor_get_footer_font_name.
public static extern NonNullableUtf8StringOwnedHandle GetFooterFontName(IntPtr compositor)
Parameters
compositor
IntPtrTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
GetGType()
Calls native function gtk_source_print_compositor_get_type.
public static extern nuint GetGType()
Returns
- nuint
Transfer ownership: None Nullable: False
GetHeaderFontName(IntPtr)
Calls native method gtk_source_print_compositor_get_header_font_name.
public static extern NonNullableUtf8StringOwnedHandle GetHeaderFontName(IntPtr compositor)
Parameters
compositor
IntPtrTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
GetHighlightSyntax(IntPtr)
Calls native method gtk_source_print_compositor_get_highlight_syntax.
public static extern bool GetHighlightSyntax(IntPtr compositor)
Parameters
compositor
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
GetLeftMargin(IntPtr, Unit)
Calls native method gtk_source_print_compositor_get_left_margin.
public static extern double GetLeftMargin(IntPtr compositor, Unit unit)
Parameters
compositor
IntPtrTransfer ownership: None Nullable: False
unit
UnitTransfer ownership: None Nullable: False
Returns
- double
Transfer ownership: None Nullable: False
GetLineNumbersFontName(IntPtr)
Calls native method gtk_source_print_compositor_get_line_numbers_font_name.
public static extern NonNullableUtf8StringOwnedHandle GetLineNumbersFontName(IntPtr compositor)
Parameters
compositor
IntPtrTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringOwnedHandle
Transfer ownership: Full Nullable: False
GetNPages(IntPtr)
Calls native method gtk_source_print_compositor_get_n_pages.
public static extern int GetNPages(IntPtr compositor)
Parameters
compositor
IntPtrTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
GetPaginationProgress(IntPtr)
Calls native method gtk_source_print_compositor_get_pagination_progress.
public static extern double GetPaginationProgress(IntPtr compositor)
Parameters
compositor
IntPtrTransfer ownership: None Nullable: False
Returns
- double
Transfer ownership: None Nullable: False
GetPrintFooter(IntPtr)
Calls native method gtk_source_print_compositor_get_print_footer.
public static extern bool GetPrintFooter(IntPtr compositor)
Parameters
compositor
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
GetPrintHeader(IntPtr)
Calls native method gtk_source_print_compositor_get_print_header.
public static extern bool GetPrintHeader(IntPtr compositor)
Parameters
compositor
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
GetPrintLineNumbers(IntPtr)
Calls native method gtk_source_print_compositor_get_print_line_numbers.
public static extern uint GetPrintLineNumbers(IntPtr compositor)
Parameters
compositor
IntPtrTransfer ownership: None Nullable: False
Returns
- uint
Transfer ownership: None Nullable: False
GetRightMargin(IntPtr, Unit)
Calls native method gtk_source_print_compositor_get_right_margin.
public static extern double GetRightMargin(IntPtr compositor, Unit unit)
Parameters
compositor
IntPtrTransfer ownership: None Nullable: False
unit
UnitTransfer ownership: None Nullable: False
Returns
- double
Transfer ownership: None Nullable: False
GetTabWidth(IntPtr)
Calls native method gtk_source_print_compositor_get_tab_width.
public static extern uint GetTabWidth(IntPtr compositor)
Parameters
compositor
IntPtrTransfer ownership: None Nullable: False
Returns
- uint
Transfer ownership: None Nullable: False
GetTopMargin(IntPtr, Unit)
Calls native method gtk_source_print_compositor_get_top_margin.
public static extern double GetTopMargin(IntPtr compositor, Unit unit)
Parameters
compositor
IntPtrTransfer ownership: None Nullable: False
unit
UnitTransfer ownership: None Nullable: False
Returns
- double
Transfer ownership: None Nullable: False
GetWrapMode(IntPtr)
Calls native method gtk_source_print_compositor_get_wrap_mode.
public static extern WrapMode GetWrapMode(IntPtr compositor)
Parameters
compositor
IntPtrTransfer ownership: None Nullable: False
Returns
- WrapMode
Transfer ownership: None Nullable: False
IgnoreTag(IntPtr, IntPtr)
Calls native method gtk_source_print_compositor_ignore_tag. Version: 5.2
[Version("5.2")]
public static extern void IgnoreTag(IntPtr compositor, IntPtr tag)
Parameters
compositor
IntPtrTransfer ownership: None Nullable: False
tag
IntPtrTransfer ownership: None Nullable: False
New(IntPtr)
Calls native constructor gtk_source_print_compositor_new.
public static extern IntPtr New(IntPtr buffer)
Parameters
buffer
IntPtrTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: Full Nullable: False
NewFromView(IntPtr)
Calls native constructor gtk_source_print_compositor_new_from_view.
public static extern IntPtr NewFromView(IntPtr view)
Parameters
view
IntPtrTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: Full Nullable: False
Paginate(IntPtr, IntPtr)
Calls native method gtk_source_print_compositor_paginate.
public static extern bool Paginate(IntPtr compositor, IntPtr context)
Parameters
compositor
IntPtrTransfer ownership: None Nullable: False
context
IntPtrTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
SetBodyFontName(IntPtr, NonNullableUtf8StringHandle)
Calls native method gtk_source_print_compositor_set_body_font_name.
public static extern void SetBodyFontName(IntPtr compositor, NonNullableUtf8StringHandle fontName)
Parameters
compositor
IntPtrTransfer ownership: None Nullable: False
fontName
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
SetBottomMargin(IntPtr, double, Unit)
Calls native method gtk_source_print_compositor_set_bottom_margin.
public static extern void SetBottomMargin(IntPtr compositor, double margin, Unit unit)
Parameters
compositor
IntPtrTransfer ownership: None Nullable: False
margin
doubleTransfer ownership: None Nullable: False
unit
UnitTransfer ownership: None Nullable: False
SetFooterFontName(IntPtr, NullableUtf8StringHandle)
Calls native method gtk_source_print_compositor_set_footer_font_name.
public static extern void SetFooterFontName(IntPtr compositor, NullableUtf8StringHandle fontName)
Parameters
compositor
IntPtrTransfer ownership: None Nullable: False
fontName
NullableUtf8StringHandleTransfer ownership: None Nullable: True
SetFooterFormat(IntPtr, bool, NullableUtf8StringHandle, NullableUtf8StringHandle, NullableUtf8StringHandle)
Calls native method gtk_source_print_compositor_set_footer_format.
public static extern void SetFooterFormat(IntPtr compositor, bool separator, NullableUtf8StringHandle left, NullableUtf8StringHandle center, NullableUtf8StringHandle right)
Parameters
compositor
IntPtrTransfer ownership: None Nullable: False
separator
boolTransfer ownership: None Nullable: False
left
NullableUtf8StringHandleTransfer ownership: None Nullable: True
center
NullableUtf8StringHandleTransfer ownership: None Nullable: True
right
NullableUtf8StringHandleTransfer ownership: None Nullable: True
SetHeaderFontName(IntPtr, NullableUtf8StringHandle)
Calls native method gtk_source_print_compositor_set_header_font_name.
public static extern void SetHeaderFontName(IntPtr compositor, NullableUtf8StringHandle fontName)
Parameters
compositor
IntPtrTransfer ownership: None Nullable: False
fontName
NullableUtf8StringHandleTransfer ownership: None Nullable: True
SetHeaderFormat(IntPtr, bool, NullableUtf8StringHandle, NullableUtf8StringHandle, NullableUtf8StringHandle)
Calls native method gtk_source_print_compositor_set_header_format.
public static extern void SetHeaderFormat(IntPtr compositor, bool separator, NullableUtf8StringHandle left, NullableUtf8StringHandle center, NullableUtf8StringHandle right)
Parameters
compositor
IntPtrTransfer ownership: None Nullable: False
separator
boolTransfer ownership: None Nullable: False
left
NullableUtf8StringHandleTransfer ownership: None Nullable: True
center
NullableUtf8StringHandleTransfer ownership: None Nullable: True
right
NullableUtf8StringHandleTransfer ownership: None Nullable: True
SetHighlightSyntax(IntPtr, bool)
Calls native method gtk_source_print_compositor_set_highlight_syntax.
public static extern void SetHighlightSyntax(IntPtr compositor, bool highlight)
Parameters
compositor
IntPtrTransfer ownership: None Nullable: False
highlight
boolTransfer ownership: None Nullable: False
SetLeftMargin(IntPtr, double, Unit)
Calls native method gtk_source_print_compositor_set_left_margin.
public static extern void SetLeftMargin(IntPtr compositor, double margin, Unit unit)
Parameters
compositor
IntPtrTransfer ownership: None Nullable: False
margin
doubleTransfer ownership: None Nullable: False
unit
UnitTransfer ownership: None Nullable: False
SetLineNumbersFontName(IntPtr, NullableUtf8StringHandle)
Calls native method gtk_source_print_compositor_set_line_numbers_font_name.
public static extern void SetLineNumbersFontName(IntPtr compositor, NullableUtf8StringHandle fontName)
Parameters
compositor
IntPtrTransfer ownership: None Nullable: False
fontName
NullableUtf8StringHandleTransfer ownership: None Nullable: True
SetPrintFooter(IntPtr, bool)
Calls native method gtk_source_print_compositor_set_print_footer.
public static extern void SetPrintFooter(IntPtr compositor, bool print)
Parameters
compositor
IntPtrTransfer ownership: None Nullable: False
print
boolTransfer ownership: None Nullable: False
SetPrintHeader(IntPtr, bool)
Calls native method gtk_source_print_compositor_set_print_header.
public static extern void SetPrintHeader(IntPtr compositor, bool print)
Parameters
compositor
IntPtrTransfer ownership: None Nullable: False
print
boolTransfer ownership: None Nullable: False
SetPrintLineNumbers(IntPtr, uint)
Calls native method gtk_source_print_compositor_set_print_line_numbers.
public static extern void SetPrintLineNumbers(IntPtr compositor, uint interval)
Parameters
compositor
IntPtrTransfer ownership: None Nullable: False
interval
uintTransfer ownership: None Nullable: False
SetRightMargin(IntPtr, double, Unit)
Calls native method gtk_source_print_compositor_set_right_margin.
public static extern void SetRightMargin(IntPtr compositor, double margin, Unit unit)
Parameters
compositor
IntPtrTransfer ownership: None Nullable: False
margin
doubleTransfer ownership: None Nullable: False
unit
UnitTransfer ownership: None Nullable: False
SetTabWidth(IntPtr, uint)
Calls native method gtk_source_print_compositor_set_tab_width.
public static extern void SetTabWidth(IntPtr compositor, uint width)
Parameters
compositor
IntPtrTransfer ownership: None Nullable: False
width
uintTransfer ownership: None Nullable: False
SetTopMargin(IntPtr, double, Unit)
Calls native method gtk_source_print_compositor_set_top_margin.
public static extern void SetTopMargin(IntPtr compositor, double margin, Unit unit)
Parameters
compositor
IntPtrTransfer ownership: None Nullable: False
margin
doubleTransfer ownership: None Nullable: False
unit
UnitTransfer ownership: None Nullable: False
SetWrapMode(IntPtr, WrapMode)
Calls native method gtk_source_print_compositor_set_wrap_mode.
public static extern void SetWrapMode(IntPtr compositor, WrapMode wrapMode)