Abi.Widget

g Abi.Widget Abi.Widget Atk.ImplementorIface Atk.ImplementorIface Gtk.Widget Gtk.Widget Atk.ImplementorIface->Gtk.Widget GObject.GInterface GObject.GInterface GObject.GInterface->Atk.ImplementorIface Gtk.Buildable Gtk.Buildable GObject.GInterface->Gtk.Buildable GObject.InitiallyUnowned GObject.InitiallyUnowned GObject.InitiallyUnowned->Gtk.Widget GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned Gtk.Bin Gtk.Bin Gtk.Bin->Abi.Widget Gtk.Buildable->Gtk.Widget Gtk.Container Gtk.Container Gtk.Container->Gtk.Bin Gtk.Widget->Gtk.Container

Subclasses:None

Methods

Inherited:Gtk.Bin (1), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10)
Structs:Gtk.ContainerClass (5), Gtk.WidgetClass (12), GObject.ObjectClass (5)
class get_property (object, arg_id, arg, pspec)
class new ()
class new_with_file (file)
class set_property (object, arg_id, arg, pspec)
  align_center ()
  align_justify ()
  align_left ()
  align_right ()
  copy ()
  cut ()
  delete_bob ()
  delete_bod ()
  delete_bol ()
  delete_bow ()
  delete_eob ()
  delete_eod ()
  delete_eol ()
  delete_eow ()
  delete_left ()
  delete_right ()
  draw ()
  edit_footer ()
  edit_header ()
  file_open ()
  file_save ()
  find_next (sel_start)
  find_prev ()
  get_content (extension_or_mimetype, exp_props)
  get_current_page_num ()
  get_font_names ()
  get_mouse_pos ()
  get_page_count ()
  get_selection (extension_or_mimetype)
  get_show_authors ()
  get_show_margin ()
  get_word_selections ()
  get_zoom_percentage ()
  insert_data (str)
  insert_image (szFile, positioned)
  insert_space ()
  insert_table (rows, cols)
  invoke (mthdName)
  invoke_ex (mthdName, data, x, y)
  load_file (pszFile, mimetype)
  load_file_from_gsf (input)
  load_file_from_memory (extension_or_mimetype, buf, length)
  moveto_bob ()
  moveto_bod ()
  moveto_bol ()
  moveto_bop ()
  moveto_bow ()
  moveto_eob ()
  moveto_eod ()
  moveto_eol ()
  moveto_eop ()
  moveto_eow ()
  moveto_left ()
  moveto_next_line ()
  moveto_next_page ()
  moveto_next_screen ()
  moveto_prev_line ()
  moveto_prev_page ()
  moveto_prev_screen ()
  moveto_right ()
  moveto_to_xy (x, y)
  paste ()
  paste_special ()
  redo ()
  remove_footer ()
  remove_header ()
  render_page_to_image (page_number)
  save (fname, extension_or_mimetype, exp_props)
  save_immediate ()
  save_to_gsf (output, extension_or_mimetype, exp_props)
  select_all ()
  select_block ()
  select_bob ()
  select_bod ()
  select_bol ()
  select_bow ()
  select_eob ()
  select_eod ()
  select_eol ()
  select_eow ()
  select_left ()
  select_line ()
  select_next_line ()
  select_page_down ()
  select_page_up ()
  select_prev_line ()
  select_right ()
  select_screen_down ()
  select_screen_up ()
  select_to_xy (x, y)
  select_word ()
  set_current_page (curpage)
  set_find_string (search_str)
  set_font_name (szFontName)
  set_font_size (szFontsize)
  set_show_authors (bShowAuthors)
  set_show_margin (bShowMargin)
  set_style (szName)
  set_text_color (red, green, blue)
  set_word_selections (b)
  set_zoom_percentage (zoom)
  toggle_bold ()
  toggle_bottomline ()
  toggle_bullets ()
  toggle_insert_mode ()
  toggle_italic ()
  toggle_numbering ()
  toggle_overline ()
  toggle_plain ()
  toggle_rulers (visible)
  toggle_strike ()
  toggle_sub ()
  toggle_super ()
  toggle_topline ()
  toggle_underline ()
  toggle_unindent ()
  turn_on_cursor ()
  undo ()
  view_formatting_marks ()
  view_normal_layout ()
  view_online_layout ()
  view_print_layout ()
  zoom_whole ()
  zoom_width ()

Virtual Methods

Inherited:Gtk.Container (10), Gtk.Widget (82), GObject.Object (7), Gtk.Buildable (10)
  do_align_center ()
  do_align_justify ()
  do_align_left ()
  do_align_right ()
  do_copy ()
  do_cut ()
  do_delete_bob ()
  do_delete_bod ()
  do_delete_bol ()
  do_delete_bow ()
  do_delete_eob ()
  do_delete_eod ()
  do_delete_eol ()
  do_delete_eow ()
  do_delete_left ()
  do_delete_right ()
  do_edit_footer ()
  do_edit_header ()
  do_file_open ()
  do_file_save ()
  do_insert_data (arg1)
  do_insert_space ()
  do_invoke (mthdName)
  do_invoke_ex (mthdName, data, x, y)
  do_moveto_bob ()
  do_moveto_bod ()
  do_moveto_bol ()
  do_moveto_bop ()
  do_moveto_bow ()
  do_moveto_eob ()
  do_moveto_eod ()
  do_moveto_eol ()
  do_moveto_eop ()
  do_moveto_eow ()
  do_moveto_left ()
  do_moveto_next_line ()
  do_moveto_next_page ()
  do_moveto_next_screen ()
  do_moveto_prev_line ()
  do_moveto_prev_page ()
  do_moveto_prev_screen ()
  do_moveto_right ()
  do_moveto_to_xy (arg1, arg2)
  do_paste ()
  do_paste_special ()
  do_redo ()
  do_remove_footer ()
  do_remove_header ()
  do_save_immediate ()
  do_select_all ()
  do_select_block ()
  do_select_bob ()
  do_select_bod ()
  do_select_bol ()
  do_select_bow ()
  do_select_eob ()
  do_select_eod ()
  do_select_eol ()
  do_select_eow ()
  do_select_left ()
  do_select_line ()
  do_select_next_line ()
  do_select_page_down ()
  do_select_page_up ()
  do_select_prev_line ()
  do_select_right ()
  do_select_screen_down ()
  do_select_screen_up ()
  do_select_to_xy (arg1, arg2)
  do_select_word ()
  do_signal_bold (value)
  do_signal_bottomline (value)
  do_signal_can_redo (value)
  do_signal_can_undo (value)
  do_signal_center_align (value)
  do_signal_changed (value)
  do_signal_color (r, g, b)
  do_signal_current_page (value)
  do_signal_enter_selection (value)
  do_signal_font_family (value)
  do_signal_font_size (value)
  do_signal_image_selected (value)
  do_signal_is_dirty (value)
  do_signal_italic (value)
  do_signal_justify_align (value)
  do_signal_leave_selection (value)
  do_signal_left_align (value)
  do_signal_line_through (value)
  do_signal_overline (value)
  do_signal_page_count (value)
  do_signal_right_align (value)
  do_signal_selection_cleared (value)
  do_signal_style_name (value)
  do_signal_subscript (value)
  do_signal_superscript (value)
  do_signal_table_state (value)
  do_signal_text_selected (value)
  do_signal_topline (value)
  do_signal_underline (value)
  do_signal_zoom_percentage (value)
  do_toggle_bold ()
  do_toggle_bottomline ()
  do_toggle_bullets ()
  do_toggle_insert_mode ()
  do_toggle_italic ()
  do_toggle_numbering ()
  do_toggle_overline ()
  do_toggle_plain ()
  do_toggle_strike ()
  do_toggle_sub ()
  do_toggle_super ()
  do_toggle_topline ()
  do_toggle_underline ()
  do_toggle_unindent ()
  do_undo ()
  do_view_formatting_marks ()
  do_view_normal_layout ()
  do_view_online_layout ()
  do_view_print_layout ()
  do_zoom_whole ()
  do_zoom_width ()

Properties

Inherited:Gtk.Container (3), Gtk.Widget (39)
Name Type Flags Short Description
content str r  
content-length int r  
cursor-on bool r/w  
selection str r  
selection-length int r  
shadow-type int r/w  
unlink-after-load bool r/w  
view-normal-layout bool r/w  
view-para bool r/w  
view-print-layout bool r/w  
view-web-layout bool r/w  

Style Properties

Inherited:Gtk.Widget (17)

Fields

Inherited:Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)
Name Type Access Description
bin Gtk.Bin r  
child Gtk.Widget r  
priv Abi.PrivData r  

Class Details

class Abi.Widget(**kwargs)
Bases:Gtk.Bin
Abstract:No
Structure:Abi.WidgetClass
classmethod get_property(object, arg_id, arg, pspec)
Parameters:
classmethod new()
Return type:Gtk.Widget

Creates a new AbiWord widget using an internal Abiword App

classmethod new_with_file(file)
Parameters:file (str) –
Return type:Gtk.Widget

Creates a new AbiWord widget and tries to load the file This uses an internal Abiword App

\param file - A file on your HD

classmethod set_property(object, arg_id, arg, pspec)
Parameters:
align_center()
Return type:bool
align_justify()
Return type:bool
align_left()
Return type:bool
align_right()
Return type:bool
copy()
Return type:bool
cut()
Return type:bool
delete_bob()
Return type:bool
delete_bod()
Return type:bool
delete_bol()
Return type:bool
delete_bow()
Return type:bool
delete_eob()
Return type:bool
delete_eod()
Return type:bool
delete_eol()
Return type:bool
delete_eow()
Return type:bool
delete_left()
Return type:bool
delete_right()
Return type:bool
draw()
Return type:bool
edit_header()
Return type:bool
file_open()
Return type:bool
file_save()
Return type:bool
find_next(sel_start)
Parameters:sel_start (bool) –
Return type:bool
find_prev()
Return type:bool
get_content(extension_or_mimetype, exp_props)
Parameters:
  • extension_or_mimetype (str) – content type for the returned selection
  • exp_props (str or None) – export properties
Returns:

the selection, the caller must free the memory through GLib.free()

iLength:length of returned selection, in bytes

Return type:

(str, iLength: int)

Gets all document contents

get_current_page_num()
Return type:int
get_font_names()
Returns:the font names.
Return type:[str]
get_mouse_pos()
Returns:True if the mouse position could be retrieved
x:return value for the mouse position in the X axis
y:return value for the mouse position in the Y axis
Return type:(bool, x: int, y: int)

Returns the mouse position relative to self

get_page_count()
Return type:int
get_selection(extension_or_mimetype)
Parameters:extension_or_mimetype (str) – content type for the returned selection
Returns:the selection, the caller must free the memory through GLib.free()
Return type:[str]

Gets the current selection

get_show_authors()
Return type:bool
get_show_margin()
Return type:bool
get_word_selections()
Return type:bool
get_zoom_percentage()
Return type:int
insert_data(str)
Parameters:str (str) –
Return type:bool
insert_image(szFile, positioned)
Parameters:
  • szFile (str) –
  • positioned (bool) –
Return type:

bool

insert_space()
Return type:bool
insert_table(rows, cols)
Parameters:
  • rows (int) –
  • cols (int) –
Return type:

bool

invoke(mthdName)
Parameters:mthdName (str) –
Return type:bool

Invoke any of abiword’s edit methods by name

\param w - An AbiWord widget \param mthdName - A null-terminated string representing the method’s name

\return False if any preconditions fail \return True|:obj:False depending on the result of the EditMethod’s completion

example usage:

bool b = False; Gtk.Widget * w = Abi.Widget.new ();

b = Abi.Widget.invoke (ABI_WIDGET(w), “alignCenter”);

invoke_ex(mthdName, data, x, y)
Parameters:
Return type:

bool

Invoke any of abiword’s edit methods by name

\param w - An AbiWord widget \param mthdName - A null-terminated string representing the method’s name \param data - an optional null-terminated string data to pass to the method \param x - an optional x-coordinate to pass to the method (usually 0) \param y - an optional y-coordinate to pass to the method (usuall 0)

\return False if any preconditions fail \return True|:obj:False depending on the result of the EditMethod’s completion

example usage:

bool b = False; Gtk.Widget * w = Abi.Widget.new ();

b = Abi.Widget.invoke_ex (ABI_WIDGET(w), “insertData”, “Hello World!”, 0, 0); b = Abi.Widget.invoke_ex (ABI_WIDGET(w), “alignCenter”, 0, 0, 0);

load_file(pszFile, mimetype)
Parameters:
  • pszFile (str) –
  • mimetype (str) –
Return type:

bool

load_file_from_gsf(input)
Parameters:input (Gsf.Input) –
Return type:bool
load_file_from_memory(extension_or_mimetype, buf, length)
Parameters:
  • extension_or_mimetype (str) –
  • buf (str) –
  • length (int) –
Return type:

bool

moveto_bob()
Return type:bool
moveto_bod()
Return type:bool
moveto_bol()
Return type:bool
moveto_bop()
Return type:bool
moveto_bow()
Return type:bool
moveto_eob()
Return type:bool
moveto_eod()
Return type:bool
moveto_eol()
Return type:bool
moveto_eop()
Return type:bool
moveto_eow()
Return type:bool
moveto_left()
Return type:bool
moveto_next_line()
Return type:bool
moveto_next_page()
Return type:bool
moveto_next_screen()
Return type:bool
moveto_prev_line()
Return type:bool
moveto_prev_page()
Return type:bool
moveto_prev_screen()
Return type:bool
moveto_right()
Return type:bool
moveto_to_xy(x, y)
Parameters:
Return type:

bool

paste()
Return type:bool
paste_special()
Return type:bool
redo()
Return type:bool
Return type:bool
remove_header()
Return type:bool
render_page_to_image(page_number)
Parameters:page_number (int) –
Returns:the pixbuf.
Return type:GdkPixbuf.Pixbuf

Caller owns the returned GdkPixmap and must free it after use. The first page is “1”

save(fname, extension_or_mimetype, exp_props)
Parameters:
  • fname (str) –
  • extension_or_mimetype (str) –
  • exp_props (str) –
Return type:

bool

save_immediate()
Return type:bool
save_to_gsf(output, extension_or_mimetype, exp_props)
Parameters:
Return type:

bool

select_all()
Return type:bool
select_block()
Return type:bool
select_bob()
Return type:bool
select_bod()
Return type:bool
select_bol()
Return type:bool
select_bow()
Return type:bool
select_eob()
Return type:bool
select_eod()
Return type:bool
select_eol()
Return type:bool
select_eow()
Return type:bool
select_left()
Return type:bool
select_line()
Return type:bool
select_next_line()
Return type:bool
select_page_down()
Return type:bool
select_page_up()
Return type:bool
select_prev_line()
Return type:bool
select_right()
Return type:bool
select_screen_down()
Return type:bool
select_screen_up()
Return type:bool
select_to_xy(x, y)
Parameters:
Return type:

bool

select_word()
Return type:bool
set_current_page(curpage)
Parameters:curpage (int) –
set_find_string(search_str)
Parameters:search_str (str) –
set_font_name(szFontName)
Parameters:szFontName (str) –
Return type:bool
set_font_size(szFontsize)
Parameters:szFontsize (str) –
Return type:bool
set_show_authors(bShowAuthors)
Parameters:bShowAuthors (bool) –
Return type:bool
set_show_margin(bShowMargin)
Parameters:bShowMargin (bool) –
Return type:bool
set_style(szName)
Parameters:szName (str) –
Return type:bool
set_text_color(red, green, blue)
Parameters:
  • red (int) –
  • green (int) –
  • blue (int) –
Return type:

bool

set_word_selections(b)
Parameters:b (bool) –
Return type:bool
set_zoom_percentage(zoom)
Parameters:zoom (int) –
Return type:bool
toggle_bold()
Return type:bool
toggle_bottomline()
Return type:bool
toggle_bullets()
Return type:bool
toggle_insert_mode()
Return type:bool
toggle_italic()
Return type:bool
toggle_numbering()
Return type:bool
toggle_overline()
Return type:bool
toggle_plain()
Return type:bool
toggle_rulers(visible)
Parameters:visible (bool) –
toggle_strike()
Return type:bool
toggle_sub()
Return type:bool
toggle_super()
Return type:bool
toggle_topline()
Return type:bool
toggle_underline()
Return type:bool
toggle_unindent()
Return type:bool
turn_on_cursor()
undo()
Return type:bool
view_formatting_marks()
Return type:bool
view_normal_layout()
Return type:bool
view_online_layout()
Return type:bool
view_print_layout()
Return type:bool
zoom_whole()
Return type:bool
zoom_width()
Return type:bool
do_align_center() virtual
Return type:bool
do_align_justify() virtual
Return type:bool
do_align_left() virtual
Return type:bool
do_align_right() virtual
Return type:bool
do_copy() virtual
Return type:bool
do_cut() virtual
Return type:bool
do_delete_bob() virtual
Return type:bool
do_delete_bod() virtual
Return type:bool
do_delete_bol() virtual
Return type:bool
do_delete_bow() virtual
Return type:bool
do_delete_eob() virtual
Return type:bool
do_delete_eod() virtual
Return type:bool
do_delete_eol() virtual
Return type:bool
do_delete_eow() virtual
Return type:bool
do_delete_left() virtual
Return type:bool
do_delete_right() virtual
Return type:bool
Return type:bool
do_edit_header() virtual
Return type:bool
do_file_open() virtual
Return type:bool
do_file_save() virtual
Return type:bool
do_insert_data(arg1) virtual
Parameters:arg1 (str) –
Return type:bool
do_insert_space() virtual
Return type:bool
do_invoke(mthdName) virtual
Parameters:mthdName (str) –
Return type:bool

Invoke any of abiword’s edit methods by name

\param w - An AbiWord widget \param mthdName - A null-terminated string representing the method’s name

\return False if any preconditions fail \return True|:obj:False depending on the result of the EditMethod’s completion

example usage:

bool b = False; Gtk.Widget * w = Abi.Widget.new ();

b = Abi.Widget.invoke (ABI_WIDGET(w), “alignCenter”);

do_invoke_ex(mthdName, data, x, y) virtual
Parameters:
Return type:

bool

Invoke any of abiword’s edit methods by name

\param w - An AbiWord widget \param mthdName - A null-terminated string representing the method’s name \param data - an optional null-terminated string data to pass to the method \param x - an optional x-coordinate to pass to the method (usually 0) \param y - an optional y-coordinate to pass to the method (usuall 0)

\return False if any preconditions fail \return True|:obj:False depending on the result of the EditMethod’s completion

example usage:

bool b = False; Gtk.Widget * w = Abi.Widget.new ();

b = Abi.Widget.invoke_ex (ABI_WIDGET(w), “insertData”, “Hello World!”, 0, 0); b = Abi.Widget.invoke_ex (ABI_WIDGET(w), “alignCenter”, 0, 0, 0);

do_moveto_bob() virtual
Return type:bool
do_moveto_bod() virtual
Return type:bool
do_moveto_bol() virtual
Return type:bool
do_moveto_bop() virtual
Return type:bool
do_moveto_bow() virtual
Return type:bool
do_moveto_eob() virtual
Return type:bool
do_moveto_eod() virtual
Return type:bool
do_moveto_eol() virtual
Return type:bool
do_moveto_eop() virtual
Return type:bool
do_moveto_eow() virtual
Return type:bool
do_moveto_left() virtual
Return type:bool
do_moveto_next_line() virtual
Return type:bool
do_moveto_next_page() virtual
Return type:bool
do_moveto_next_screen() virtual
Return type:bool
do_moveto_prev_line() virtual
Return type:bool
do_moveto_prev_page() virtual
Return type:bool
do_moveto_prev_screen() virtual
Return type:bool
do_moveto_right() virtual
Return type:bool
do_moveto_to_xy(arg1, arg2) virtual
Parameters:
  • arg1 (int) –
  • arg2 (int) –
Return type:

bool

do_paste() virtual
Return type:bool
do_paste_special() virtual
Return type:bool
do_redo() virtual
Return type:bool
Return type:bool
do_remove_header() virtual
Return type:bool
do_save_immediate() virtual
Return type:bool
do_select_all() virtual
Return type:bool
do_select_block() virtual
Return type:bool
do_select_bob() virtual
Return type:bool
do_select_bod() virtual
Return type:bool
do_select_bol() virtual
Return type:bool
do_select_bow() virtual
Return type:bool
do_select_eob() virtual
Return type:bool
do_select_eod() virtual
Return type:bool
do_select_eol() virtual
Return type:bool
do_select_eow() virtual
Return type:bool
do_select_left() virtual
Return type:bool
do_select_line() virtual
Return type:bool
do_select_next_line() virtual
Return type:bool
do_select_page_down() virtual
Return type:bool
do_select_page_up() virtual
Return type:bool
do_select_prev_line() virtual
Return type:bool
do_select_right() virtual
Return type:bool
do_select_screen_down() virtual
Return type:bool
do_select_screen_up() virtual
Return type:bool
do_select_to_xy(arg1, arg2) virtual
Parameters:
  • arg1 (int) –
  • arg2 (int) –
Return type:

bool

do_select_word() virtual
Return type:bool
do_signal_bold(value) virtual
Parameters:value (bool) –
do_signal_bottomline(value) virtual
Parameters:value (bool) –
do_signal_can_redo(value) virtual
Parameters:value (bool) –
do_signal_can_undo(value) virtual
Parameters:value (bool) –
do_signal_center_align(value) virtual
Parameters:value (bool) –
do_signal_changed(value) virtual
Parameters:value (bool) –
do_signal_color(r, g, b) virtual
Parameters:
do_signal_current_page(value) virtual
Parameters:value (int) –
do_signal_enter_selection(value) virtual
Parameters:value (bool) –
do_signal_font_family(value) virtual
Parameters:value (str) –
do_signal_font_size(value) virtual
Parameters:value (float) –
do_signal_image_selected(value) virtual
Parameters:value (bool) –
do_signal_is_dirty(value) virtual
Parameters:value (bool) –
do_signal_italic(value) virtual
Parameters:value (bool) –
do_signal_justify_align(value) virtual
Parameters:value (bool) –
do_signal_leave_selection(value) virtual
Parameters:value (bool) –
do_signal_left_align(value) virtual
Parameters:value (bool) –
do_signal_line_through(value) virtual
Parameters:value (bool) –
do_signal_overline(value) virtual
Parameters:value (bool) –
do_signal_page_count(value) virtual
Parameters:value (int) –
do_signal_right_align(value) virtual
Parameters:value (bool) –
do_signal_selection_cleared(value) virtual
Parameters:value (bool) –
do_signal_style_name(value) virtual
Parameters:value (str) –
do_signal_subscript(value) virtual
Parameters:value (bool) –
do_signal_superscript(value) virtual
Parameters:value (bool) –
do_signal_table_state(value) virtual
Parameters:value (bool) –
do_signal_text_selected(value) virtual
Parameters:value (bool) –
do_signal_topline(value) virtual
Parameters:value (bool) –
do_signal_underline(value) virtual
Parameters:value (bool) –
do_signal_zoom_percentage(value) virtual
Parameters:value (int) –
do_toggle_bold() virtual
Return type:bool
do_toggle_bottomline() virtual
Return type:bool
do_toggle_bullets() virtual
Return type:bool
do_toggle_insert_mode() virtual
Return type:bool
do_toggle_italic() virtual
Return type:bool
do_toggle_numbering() virtual
Return type:bool
do_toggle_overline() virtual
Return type:bool
do_toggle_plain() virtual
Return type:bool
do_toggle_strike() virtual
Return type:bool
do_toggle_sub() virtual
Return type:bool
do_toggle_super() virtual
Return type:bool
do_toggle_topline() virtual
Return type:bool
do_toggle_underline() virtual
Return type:bool
do_toggle_unindent() virtual
Return type:bool
do_undo() virtual
Return type:bool
do_view_formatting_marks() virtual
Return type:bool
do_view_normal_layout() virtual
Return type:bool
do_view_online_layout() virtual
Return type:bool
do_view_print_layout() virtual
Return type:bool
do_zoom_whole() virtual
Return type:bool
do_zoom_width() virtual
Return type:bool

Signal Details

Abi.Widget.signals.bold(widget, object)
Signal Name:

bold

Flags:

RUN_LAST

Parameters:
  • widget (Abi.Widget) – The object which received the signal
  • object (bool) –
Abi.Widget.signals.bottomline(widget, object)
Signal Name:

bottomline

Flags:

RUN_LAST

Parameters:
  • widget (Abi.Widget) – The object which received the signal
  • object (bool) –
Abi.Widget.signals.can_redo(widget, object)
Signal Name:

can-redo

Flags:

RUN_LAST

Parameters:
  • widget (Abi.Widget) – The object which received the signal
  • object (bool) –
Abi.Widget.signals.can_undo(widget, object)
Signal Name:

can-undo

Flags:

RUN_LAST

Parameters:
  • widget (Abi.Widget) – The object which received the signal
  • object (bool) –
Abi.Widget.signals.center_align(widget, object)
Signal Name:

center-align

Flags:

RUN_LAST

Parameters:
  • widget (Abi.Widget) – The object which received the signal
  • object (bool) –
Abi.Widget.signals.changed(widget)
Signal Name:changed
Flags:RUN_LAST
Parameters:widget (Abi.Widget) – The object which received the signal
Abi.Widget.signals.color(widget, object, p0, p1)
Signal Name:

color

Flags:

RUN_LAST

Parameters:
  • widget (Abi.Widget) – The object which received the signal
  • object (int) –
  • p0 (int) –
  • p1 (int) –
Abi.Widget.signals.current_page(widget, object)
Signal Name:

current-page

Flags:

RUN_LAST

Parameters:
  • widget (Abi.Widget) – The object which received the signal
  • object (int) –
Abi.Widget.signals.enter_selection(widget, object)
Signal Name:

enter-selection

Flags:

RUN_LAST

Parameters:
  • widget (Abi.Widget) – The object which received the signal
  • object (bool) –
Abi.Widget.signals.font_family(widget, object)
Signal Name:

font-family

Flags:

RUN_LAST

Parameters:
  • widget (Abi.Widget) – The object which received the signal
  • object (str) –
Abi.Widget.signals.font_size(widget, object)
Signal Name:

font-size

Flags:

RUN_LAST

Parameters:
  • widget (Abi.Widget) – The object which received the signal
  • object (float) –
Abi.Widget.signals.image_selected(widget, object)
Signal Name:

image-selected

Flags:

RUN_LAST

Parameters:
  • widget (Abi.Widget) – The object which received the signal
  • object (bool) –
Abi.Widget.signals.is_dirty(widget, object)
Signal Name:

is-dirty

Flags:

RUN_LAST

Parameters:
  • widget (Abi.Widget) – The object which received the signal
  • object (bool) –
Abi.Widget.signals.italic(widget, object)
Signal Name:

italic

Flags:

RUN_LAST

Parameters:
  • widget (Abi.Widget) – The object which received the signal
  • object (bool) –
Abi.Widget.signals.justify_align(widget, object)
Signal Name:

justify-align

Flags:

RUN_LAST

Parameters:
  • widget (Abi.Widget) – The object which received the signal
  • object (bool) –
Abi.Widget.signals.leave_selection(widget, object)
Signal Name:

leave-selection

Flags:

RUN_LAST

Parameters:
  • widget (Abi.Widget) – The object which received the signal
  • object (bool) –
Abi.Widget.signals.left_align(widget, object)
Signal Name:

left-align

Flags:

RUN_LAST

Parameters:
  • widget (Abi.Widget) – The object which received the signal
  • object (bool) –
Abi.Widget.signals.line_through(widget, object)
Signal Name:

line-through

Flags:

RUN_LAST

Parameters:
  • widget (Abi.Widget) – The object which received the signal
  • object (bool) –
Abi.Widget.signals.overline(widget, object)
Signal Name:

overline

Flags:

RUN_LAST

Parameters:
  • widget (Abi.Widget) – The object which received the signal
  • object (bool) –
Abi.Widget.signals.page_count(widget, object)
Signal Name:

page-count

Flags:

RUN_LAST

Parameters:
  • widget (Abi.Widget) – The object which received the signal
  • object (int) –
Abi.Widget.signals.right_align(widget, object)
Signal Name:

right-align

Flags:

RUN_LAST

Parameters:
  • widget (Abi.Widget) – The object which received the signal
  • object (bool) –
Abi.Widget.signals.selection_cleared(widget, object)
Signal Name:

selection-cleared

Flags:

RUN_LAST

Parameters:
  • widget (Abi.Widget) – The object which received the signal
  • object (bool) –
Abi.Widget.signals.style_name(widget, object)
Signal Name:

style-name

Flags:

RUN_LAST

Parameters:
  • widget (Abi.Widget) – The object which received the signal
  • object (str) –
Abi.Widget.signals.subscript(widget, object)
Signal Name:

subscript

Flags:

RUN_LAST

Parameters:
  • widget (Abi.Widget) – The object which received the signal
  • object (bool) –
Abi.Widget.signals.superscript(widget, object)
Signal Name:

superscript

Flags:

RUN_LAST

Parameters:
  • widget (Abi.Widget) – The object which received the signal
  • object (bool) –
Abi.Widget.signals.table_state(widget, object)
Signal Name:

table-state

Flags:

RUN_LAST

Parameters:
  • widget (Abi.Widget) – The object which received the signal
  • object (bool) –
Abi.Widget.signals.text_selected(widget, object)
Signal Name:

text-selected

Flags:

RUN_LAST

Parameters:
  • widget (Abi.Widget) – The object which received the signal
  • object (bool) –
Abi.Widget.signals.topline(widget, object)
Signal Name:

topline

Flags:

RUN_LAST

Parameters:
  • widget (Abi.Widget) – The object which received the signal
  • object (bool) –
Abi.Widget.signals.underline(widget, object)
Signal Name:

underline

Flags:

RUN_LAST

Parameters:
  • widget (Abi.Widget) – The object which received the signal
  • object (bool) –
Abi.Widget.signals.zoom(widget, object)
Signal Name:

zoom

Flags:

RUN_LAST

Parameters:
  • widget (Abi.Widget) – The object which received the signal
  • object (int) –

Property Details

Abi.Widget.props.content
Name:content
Type:str
Default Value:None
Flags:READABLE
Abi.Widget.props.content_length
Name:content-length
Type:int
Default Value:0
Flags:READABLE
Abi.Widget.props.cursor_on
Name:cursor-on
Type:bool
Default Value:False
Flags:READABLE, WRITABLE
Abi.Widget.props.selection
Name:selection
Type:str
Default Value:None
Flags:READABLE
Abi.Widget.props.selection_length
Name:selection-length
Type:int
Default Value:0
Flags:READABLE
Abi.Widget.props.shadow_type
Name:shadow-type
Type:int
Default Value:1
Flags:READABLE, WRITABLE
Name:unlink-after-load
Type:bool
Default Value:False
Flags:READABLE, WRITABLE
Abi.Widget.props.view_normal_layout
Name:view-normal-layout
Type:bool
Default Value:False
Flags:READABLE, WRITABLE
Abi.Widget.props.view_para
Name:view-para
Type:bool
Default Value:False
Flags:READABLE, WRITABLE
Abi.Widget.props.view_print_layout
Name:view-print-layout
Type:bool
Default Value:False
Flags:READABLE, WRITABLE
Abi.Widget.props.view_web_layout
Name:view-web-layout
Type:bool
Default Value:False
Flags:READABLE, WRITABLE