MoonBit bindings for VTE terminal emulator widget (GTK4)
Dependencies
tonyfettes/vte does not have a README file
pub(open) trait ITerminal {
fn as_terminal(Self) -> Terminal
fn check_hyperlink_at(Self, Double, Double) -> String? = _
fn check_match_at(Self, Double, Double) -> (String?, Int) = _
fn copy_clipboard_format(Self, Format) -> Unit = _
fn copy_primary(Self) -> Unit = _
fn dup_termprop_string(Self, String) -> (String?, UInt64) = _
fn dup_termprop_string_by_id(Self, Int) -> (String?, UInt64) = _
fn dup_termprop_uuid(Self, String) -> Uuid? = _
fn dup_termprop_uuid_by_id(Self, Int) -> Uuid? = _
fn get_allow_hyperlink(Self) -> Bool = _
fn get_audible_bell(Self) -> Bool = _
fn get_bold_is_bright(Self) -> Bool = _
fn get_cell_height_scale(Self) -> Double = _
fn get_cell_width_scale(Self) -> Double = _
fn get_char_height(Self) -> Int64 = _
fn get_char_width(Self) -> Int64 = _
fn get_cjk_ambiguous_width(Self) -> Int = _
fn get_color_background_for_draw(Self) -> RGBA = _
fn get_column_count(Self) -> Int64 = _
fn get_context_menu(Self) -> Widget? = _
fn get_context_menu_model(Self) -> MenuModel? = _
fn get_cursor_blink_mode(Self) -> CursorBlinkMode = _
fn get_cursor_position(Self) -> (Int64, Int64) = _
fn get_cursor_shape(Self) -> CursorShape = _
fn get_enable_a11y(Self) -> Bool = _
fn get_enable_bidi(Self) -> Bool = _
fn get_enable_fallback_scrolling(Self) -> Bool = _
fn get_enable_legacy_osc777(Self) -> Bool = _
fn get_enable_shaping(Self) -> Bool = _
fn get_enable_sixel(Self) -> Bool = _
fn get_font(Self) -> FontDescription = _
fn get_font_scale(Self) -> Double = _
fn get_has_selection(Self) -> Bool = _
fn get_input_enabled(Self) -> Bool = _
fn get_mouse_autohide(Self) -> Bool = _
fn get_pty(Self) -> Pty? = _
fn get_row_count(Self) -> Int64 = _
fn get_scroll_on_insert(Self) -> Bool = _
fn get_scroll_on_keystroke(Self) -> Bool = _
fn get_scroll_on_output(Self) -> Bool = _
fn get_scroll_unit_is_pixels(Self) -> Bool = _
fn get_scrollback_lines(Self) -> Int64 = _
fn get_termprop_bool(Self, String) -> (Bool, Bool) = _
fn get_termprop_bool_by_id(Self, Int) -> (Bool, Bool) = _
fn get_termprop_double(Self, String) -> (Bool, Double) = _
fn get_termprop_double_by_id(Self, Int) -> (Bool, Double) = _
fn get_termprop_int(Self, String) -> (Bool, Int64) = _
fn get_termprop_int_by_id(Self, Int) -> (Bool, Int64) = _
fn get_termprop_rgba(Self, String) -> (RGBA, Bool) = _
fn get_termprop_rgba_by_id(Self, Int) -> (RGBA, Bool) = _
fn get_termprop_string(Self, String) -> (String?, UInt64) = _
fn get_termprop_string_by_id(Self, Int) -> (String?, UInt64) = _
fn get_termprop_uint(Self, String) -> (Bool, UInt64) = _
fn get_termprop_uint_by_id(Self, Int) -> (Bool, UInt64) = _
fn get_text_blink_mode(Self) -> TextBlinkMode = _
fn get_text_format(Self, Format) -> String? = _
fn get_text_range_format(Self, Format, Int64, Int64, Int64, Int64) -> (String?, UInt64) = _
fn get_text_selected(Self, Format) -> String? = _
fn get_text_selected_full(Self, Format) -> (String?, UInt64) = _
fn get_word_char_exceptions(Self) -> String? = _
fn get_xalign(Self) -> Align = _
fn get_xfill(Self) -> Bool = _
fn get_yalign(Self) -> Align = _
fn get_yfill(Self) -> Bool = _
fn match_add_regex(Self, Regex, UInt) -> Int = _
fn match_remove(Self, Int) -> Unit = _
fn match_remove_all(Self) -> Unit = _
fn match_set_cursor_name(Self, Int, String) -> Unit = _
fn paste_clipboard(Self) -> Unit = _
fn paste_primary(Self) -> Unit = _
fn paste_text(Self, String) -> Unit = _
fn pty_new_sync(Self, PtyFlags, &ICancellable?) -> Pty raise Error_ = _
fn ref_termprop_data_bytes(Self, String) -> Bytes = _
fn ref_termprop_data_bytes_by_id(Self, Int) -> Bytes = _
fn ref_termprop_image_texture(Self, String) -> Texture? = _
fn ref_termprop_image_texture_by_id(Self, Int) -> Texture? = _
fn ref_termprop_variant(Self, String) -> Variant? = _
fn ref_termprop_variant_by_id(Self, Int) -> Variant? = _
fn reset(Self, Bool, Bool) -> Unit = _
fn search_find_next(Self) -> Bool = _
fn search_find_previous(Self) -> Bool = _
fn search_get_regex(Self) -> Regex = _
fn search_get_wrap_around(Self) -> Bool = _
fn search_set_regex(Self, Regex?, UInt) -> Unit = _
fn search_set_wrap_around(Self, Bool) -> Unit = _
fn select_all(Self) -> Unit = _
fn set_allow_hyperlink(Self, Bool) -> Unit = _
fn set_audible_bell(Self, Bool) -> Unit = _
fn set_backspace_binding(Self, EraseBinding) -> Unit = _
fn set_bold_is_bright(Self, Bool) -> Unit = _
fn set_cell_height_scale(Self, Double) -> Unit = _
fn set_cell_width_scale(Self, Double) -> Unit = _
fn set_cjk_ambiguous_width(Self, Int) -> Unit = _
fn set_clear_background(Self, Bool) -> Unit = _
fn set_color_background(Self, RGBA) -> Unit = _
fn set_color_bold(Self, RGBA?) -> Unit = _
fn set_color_cursor(Self, RGBA?) -> Unit = _
fn set_color_cursor_foreground(Self, RGBA?) -> Unit = _
fn set_color_foreground(Self, RGBA) -> Unit = _
fn set_color_highlight(Self, RGBA?) -> Unit = _
fn set_color_highlight_foreground(Self, RGBA?) -> Unit = _
fn set_context_menu(Self, &IWidget?) -> Unit = _
fn set_context_menu_model(Self, &IMenuModel?) -> Unit = _
fn set_cursor_blink_mode(Self, CursorBlinkMode) -> Unit = _
fn set_cursor_shape(Self, CursorShape) -> Unit = _
fn set_default_colors(Self) -> Unit = _
fn set_delete_binding(Self, EraseBinding) -> Unit = _
fn set_enable_a11y(Self, Bool) -> Unit = _
fn set_enable_bidi(Self, Bool) -> Unit = _
fn set_enable_fallback_scrolling(Self, Bool) -> Unit = _
fn set_enable_legacy_osc777(Self, Bool) -> Unit = _
fn set_enable_shaping(Self, Bool) -> Unit = _
fn set_enable_sixel(Self, Bool) -> Unit = _
fn set_font(Self, FontDescription?) -> Unit = _
fn set_font_scale(Self, Double) -> Unit = _
fn set_input_enabled(Self, Bool) -> Unit = _
fn set_mouse_autohide(Self, Bool) -> Unit = _
fn set_pty(Self, &IPty?) -> Unit = _
fn set_scroll_on_insert(Self, Bool) -> Unit = _
fn set_scroll_on_keystroke(Self, Bool) -> Unit = _
fn set_scroll_on_output(Self, Bool) -> Unit = _
fn set_scroll_unit_is_pixels(Self, Bool) -> Unit = _
fn set_scrollback_lines(Self, Int64) -> Unit = _
fn set_size(Self, Int64, Int64) -> Unit = _
fn set_suppress_legacy_signals(Self) -> Unit = _
fn set_text_blink_mode(Self, TextBlinkMode) -> Unit = _
fn set_word_char_exceptions(Self, String) -> Unit = _
fn set_xalign(Self, Align) -> Unit = _
fn set_xfill(Self, Bool) -> Unit = _
fn set_yalign(Self, Align) -> Unit = _
fn set_yfill(Self, Bool) -> Unit = _
fn unselect_all(Self) -> Unit = _
fn write_contents_sync(Self, &IOutputStream, WriteFlags, &ICancellable?) -> Bool raise Error_ = _
fn connect_bell(Self, (Terminal) -> Unit) -> UInt64 = _
fn connect_char_size_changed(Self, (Terminal, UInt, UInt) -> Unit) -> UInt64 = _
fn connect_child_exited(Self, (Terminal, Int) -> Unit) -> UInt64 = _
fn connect_commit(Self, (Terminal, String, UInt) -> Unit) -> UInt64 = _
fn connect_contents_changed(Self, (Terminal) -> Unit) -> UInt64 = _
fn connect_copy_clipboard(Self, (Terminal) -> Unit) -> UInt64 = _
fn connect_cursor_moved(Self, (Terminal) -> Unit) -> UInt64 = _
fn connect_decrease_font_size(Self, (Terminal) -> Unit) -> UInt64 = _
fn connect_encoding_changed(Self, (Terminal) -> Unit) -> UInt64 = _
fn connect_eof(Self, (Terminal) -> Unit) -> UInt64 = _
fn connect_hyperlink_hover_uri_changed(Self, (Terminal, String, Rectangle) -> Unit) -> UInt64 = _
fn connect_increase_font_size(Self, (Terminal) -> Unit) -> UInt64 = _
fn connect_paste_clipboard(Self, (Terminal) -> Unit) -> UInt64 = _
fn connect_resize_window(Self, (Terminal, UInt, UInt) -> Unit) -> UInt64 = _
fn connect_selection_changed(Self, (Terminal) -> Unit) -> UInt64 = _
fn connect_setup_context_menu(Self, (Terminal, EventContext?) -> Unit) -> UInt64 = _
fn connect_termprop_changed(Self, (Terminal, String) -> Unit) -> UInt64 = _
}pub(open) trait IUuid {
fn as_uuid(Self) -> Uuid
fn dup(Self) -> Uuid = _
fn equal(Self, Uuid) -> Bool = _
fn new_v5(Self, String, Int64) -> Uuid = _
fn to_string(Self, UuidFormat) -> (String, UInt64) = _
}pub(open) trait VTerminalCharSizeChanged {
fn char_size_changed(Self, Terminal, UInt, UInt) -> Unit
}pub(open) trait VTerminalSetupContextMenu {
fn setup_context_menu(Self, Terminal, EventContext) -> Unit
}pub(all) enum EraseBinding {
Auto
AsciiBackspace
AsciiDelete
DeleteSequence
Tty
}pub type Ptypub(all) enum PtyFlag {
NoLastlog
NoUtmp
NoWtmp
NoHelper
NoFallback
NoSession
NoCtty
Default
}pub struct PtyFlags {
// private fields
}pub type Regexpub type Terminalfn Terminal::connect_setup_context_menu(self : Terminal, f : (Terminal, EventContext?) -> Unit) -> UInt64fn Terminal::write_contents_sync(self : Terminal, stream : &IOutputStream, flags : WriteFlags, cancellable : &ICancellable?) -> Bool raise Error_pub(all) enum TextBlinkMode {
Never
Focused
Unfocused
Always
}pub type Uuidpub struct UuidFormat {
// private fields
}MoonBit bindings for VTE terminal emulator widget (GTK4)
Dependencies