Skip to content

Instantly share code, notes, and snippets.

@kaiw
Created December 6, 2018 20:05
Show Gist options
  • Save kaiw/a54fc3d4991bdeba0eac57af78edb70e to your computer and use it in GitHub Desktop.
Save kaiw/a54fc3d4991bdeba0eac57af78edb70e to your computer and use it in GitHub Desktop.
import gi.repository.Atk
import gi.repository.GLib
import gi.repository.GObject
import gi.repository.Gdk
import gi.repository.GdkPixbuf
import gi.repository.Gio
import gi.repository.Pango
import gi.repository.cairo
import typing
class AboutDialog(Dialog):
def add_credit_section(self, section_name:str, people:'typing.List[str]') -> None: ...
def do_activate_link(self, uri:str) -> bool: ...
def get_artists(self) -> 'typing.List[str]': ...
def get_authors(self) -> 'typing.List[str]': ...
def get_comments(self) -> str: ...
def get_copyright(self) -> str: ...
def get_documenters(self) -> 'typing.List[str]': ...
def get_license(self) -> str: ...
def get_license_type(self) -> 'License': ...
def get_logo(self) -> 'gi.repository.GdkPixbuf.Pixbuf': ...
def get_logo_icon_name(self) -> str: ...
def get_program_name(self) -> str: ...
def get_translator_credits(self) -> str: ...
def get_version(self) -> str: ...
def get_website(self) -> str: ...
def get_website_label(self) -> str: ...
def get_wrap_license(self) -> bool: ...
parent_instance = ... # type: Dialog
def set_artists(self, artists:'typing.List[str]') -> None: ...
def set_authors(self, authors:'typing.List[str]') -> None: ...
def set_comments(self, comments:str) -> None: ...
def set_copyright(self, copyright:str) -> None: ...
def set_documenters(self, documenters:'typing.List[str]') -> None: ...
def set_license(self, license:str) -> None: ...
def set_license_type(self, license_type:'License') -> None: ...
def set_logo(self, logo:'gi.repository.GdkPixbuf.Pixbuf') -> None: ...
def set_logo_icon_name(self, icon_name:str) -> None: ...
def set_program_name(self, name:str) -> None: ...
def set_translator_credits(self, translator_credits:str) -> None: ...
def set_version(self, version:str) -> None: ...
def set_website(self, website:str) -> None: ...
def set_website_label(self, website_label:str) -> None: ...
def set_wrap_license(self, wrap_license:bool) -> None: ...
...
class AccelFlags:
LOCKED = ... # type: AccelFlags
MASK = ... # type: AccelFlags
VISIBLE = ... # type: AccelFlags
...
class AccelGroup(gi.repository.GObject.GObject):
def activate(self, accel_quark:int, acceleratable:'gi.repository.GObject.GObject', accel_key:int, accel_mods:'gi.repository.Gdk.ModifierType') -> bool: ...
def connect(self, accel_key:int, accel_mods:'gi.repository.Gdk.ModifierType', accel_flags:'AccelFlags', closure:'gi.repository.GObject.Closure') -> None: ...
def connect_by_path(self, accel_path:str, closure:'gi.repository.GObject.Closure') -> None: ...
def disconnect(self, closure:'gi.repository.GObject.Closure') -> bool: ...
def disconnect_key(self, accel_key:int, accel_mods:'gi.repository.Gdk.ModifierType') -> bool: ...
def do_accel_changed(self, keyval:int, modifier:'gi.repository.Gdk.ModifierType', accel_closure:'gi.repository.GObject.Closure') -> None: ...
def find(self, find_func:'typing.Callable[[AccelKey, gi.repository.GObject.Closure, typing.Any], bool]', data:'typing.Any') -> 'AccelKey': ...
@staticmethod
def from_accel_closure(closure:'gi.repository.GObject.Closure') -> 'AccelGroup': ...
def get_is_locked(self) -> bool: ...
def get_modifier_mask(self) -> 'gi.repository.Gdk.ModifierType': ...
def lock(self) -> None: ...
parent = ... # type: gi.repository.GObject.GObject
def query(self, accel_key:int, accel_mods:'gi.repository.Gdk.ModifierType') -> 'typing.Tuple[typing.List[AccelGroupEntry], int]': ...
def unlock(self) -> None: ...
...
class AccelGroupEntry:
accel_path_quark = ... # type: int
closure = ... # type: gi.repository.GObject.Closure
key = ... # type: AccelKey
...
class AccelKey:
accel_flags = ... # type: int
accel_key = ... # type: int
accel_mods = ... # type: gi.repository.Gdk.ModifierType
...
class AccelLabel(Label):
def get_accel(self) -> 'typing.Tuple[int, gi.repository.Gdk.ModifierType]': ...
def get_accel_widget(self) -> 'Widget': ...
def get_accel_width(self) -> int: ...
label = ... # type: Label
def refetch(self) -> bool: ...
def set_accel(self, accelerator_key:int, accelerator_mods:'gi.repository.Gdk.ModifierType') -> None: ...
def set_accel_closure(self, accel_closure:'gi.repository.GObject.Closure') -> None: ...
def set_accel_widget(self, accel_widget:'Widget') -> None: ...
...
class AccelMap(gi.repository.GObject.GObject):
@staticmethod
def add_entry(accel_path:str, accel_key:int, accel_mods:'gi.repository.Gdk.ModifierType') -> None: ...
@staticmethod
def add_filter(filter_pattern:str) -> None: ...
@staticmethod
def change_entry(accel_path:str, accel_key:int, accel_mods:'gi.repository.Gdk.ModifierType', replace:bool) -> bool: ...
@staticmethod
def foreach(data:'typing.Any', foreach_func:'typing.Callable[[typing.Any, str, int, gi.repository.Gdk.ModifierType, bool], typing.Any]') -> None: ...
@staticmethod
def foreach_unfiltered(data:'typing.Any', foreach_func:'typing.Callable[[typing.Any, str, int, gi.repository.Gdk.ModifierType, bool], typing.Any]') -> None: ...
@staticmethod
def get() -> 'AccelMap': ...
@staticmethod
def load(file_name:str) -> None: ...
@staticmethod
def load_fd(fd:int) -> None: ...
@staticmethod
def load_scanner(scanner:'gi.repository.GLib.Scanner') -> None: ...
@staticmethod
def lock_path(accel_path:str) -> None: ...
@staticmethod
def lookup_entry(accel_path:str) -> 'typing.Tuple[bool, AccelKey]': ...
@staticmethod
def save(file_name:str) -> None: ...
@staticmethod
def save_fd(fd:int) -> None: ...
@staticmethod
def unlock_path(accel_path:str) -> None: ...
...
class Accessible(gi.repository.Atk.Object):
def connect_widget_destroyed(self) -> None: ...
def do_connect_widget_destroyed(self) -> None: ...
def do_widget_set(self) -> None: ...
def do_widget_unset(self) -> None: ...
def get_widget(self) -> 'Widget': ...
parent = ... # type: gi.repository.Atk.Object
def set_widget(self, widget:'Widget') -> None: ...
...
class Action(gi.repository.GObject.GObject):
def activate(self) -> None: ...
def block_activate(self) -> None: ...
def connect_accelerator(self) -> None: ...
def create_icon(self, icon_size:int) -> 'Widget': ...
def create_menu(self) -> 'Widget': ...
def create_menu_item(self) -> 'Widget': ...
def create_tool_item(self) -> 'Widget': ...
def disconnect_accelerator(self) -> None: ...
def do_activate(self) -> None: ...
def do_connect_proxy(self, proxy:'Widget') -> None: ...
def do_create_menu(self) -> 'Widget': ...
def do_create_menu_item(self) -> 'Widget': ...
def do_create_tool_item(self) -> 'Widget': ...
def do_disconnect_proxy(self, proxy:'Widget') -> None: ...
def get_accel_closure(self) -> 'gi.repository.GObject.Closure': ...
def get_accel_path(self) -> str: ...
def get_always_show_image(self) -> bool: ...
def get_gicon(self) -> 'gi.repository.Gio.Icon': ...
def get_icon_name(self) -> str: ...
def get_is_important(self) -> bool: ...
def get_label(self) -> str: ...
def get_name(self) -> str: ...
def get_proxies(self) -> 'typing.List[Widget]': ...
def get_sensitive(self) -> bool: ...
def get_short_label(self) -> str: ...
def get_stock_id(self) -> str: ...
def get_tooltip(self) -> str: ...
def get_visible(self) -> bool: ...
def get_visible_horizontal(self) -> bool: ...
def get_visible_vertical(self) -> bool: ...
def is_sensitive(self) -> bool: ...
def is_visible(self) -> bool: ...
object = ... # type: gi.repository.GObject.GObject
private_data = ... # type: ActionPrivate
def set_accel_group(self, accel_group:'AccelGroup') -> None: ...
def set_accel_path(self, accel_path:str) -> None: ...
def set_always_show_image(self, always_show:bool) -> None: ...
def set_gicon(self, icon:'gi.repository.Gio.Icon') -> None: ...
def set_icon_name(self, icon_name:str) -> None: ...
def set_is_important(self, is_important:bool) -> None: ...
def set_label(self, label:str) -> None: ...
def set_sensitive(self, sensitive:bool) -> None: ...
def set_short_label(self, short_label:str) -> None: ...
def set_stock_id(self, stock_id:str) -> None: ...
def set_tooltip(self, tooltip:str) -> None: ...
def set_visible(self, visible:bool) -> None: ...
def set_visible_horizontal(self, visible_horizontal:bool) -> None: ...
def set_visible_vertical(self, visible_vertical:bool) -> None: ...
def unblock_activate(self) -> None: ...
...
class ActionBar(Bin):
bin = ... # type: Bin
def get_center_widget(self) -> 'Widget': ...
def pack_end(self, child:'Widget') -> None: ...
def pack_start(self, child:'Widget') -> None: ...
def set_center_widget(self, center_widget:'Widget') -> None: ...
...
class ActionEntry:
accelerator = ... # type: str
callback = ... # type: typing.Callable[[], typing.Any]
label = ... # type: str
name = ... # type: str
stock_id = ... # type: str
tooltip = ... # type: str
...
class ActionGroup(gi.repository.GObject.GObject):
def add_action(self, action:'Action') -> None: ...
def add_action_with_accel(self, action:'Action', accelerator:str) -> None: ...
def add_actions(self, entries, user_data=None): ...
def add_radio_actions(self, entries, value=None, on_change=None, user_data=None): ...
def add_toggle_actions(self, entries, user_data=None): ...
def do_get_action(self, action_name:str) -> 'Action': ...
def get_accel_group(self) -> 'AccelGroup': ...
def get_action(self, action_name:str) -> 'Action': ...
def get_name(self) -> str: ...
def get_sensitive(self) -> bool: ...
def get_visible(self) -> bool: ...
def list_actions(self) -> 'typing.List[Action]': ...
parent = ... # type: gi.repository.GObject.GObject
def remove_action(self, action:'Action') -> None: ...
def set_accel_group(self, accel_group:'AccelGroup') -> None: ...
def set_sensitive(self, sensitive:bool) -> None: ...
def set_translate_func(self, func:'typing.Callable[[str, typing.Any], str]', data:'typing.Any', notify:'typing.Callable[[typing.Any], typing.Any]') -> None: ...
def set_translation_domain(self, domain:str) -> None: ...
def set_visible(self, visible:bool) -> None: ...
def translate_string(self, string:str) -> str: ...
...
class Actionable:
def get_action_name(self) -> str: ...
def get_action_target_value(self) -> 'gi.repository.GLib.Variant': ...
def set_action_name(self, action_name:str) -> None: ...
def set_action_target_value(self, target_value:'gi.repository.GLib.Variant') -> None: ...
def set_detailed_action_name(self, detailed_action_name:str) -> None: ...
...
class ActionableInterface:
g_iface = ... # type: gi.repository.GObject.TypeInterface
get_action_name = ... # type: typing.Callable[[Actionable], str]
get_action_target_value = ... # type: typing.Callable[[Actionable], gi.repository.GLib.Variant]
set_action_name = ... # type: typing.Callable[[Actionable, str], typing.Any]
set_action_target_value = ... # type: typing.Callable[[Actionable, gi.repository.GLib.Variant], typing.Any]
...
class Activatable:
def do_set_related_action(self, action:'Action') -> None: ...
def get_related_action(self) -> 'Action': ...
def get_use_action_appearance(self) -> bool: ...
def set_related_action(self, action:'Action') -> None: ...
def set_use_action_appearance(self, use_appearance:bool) -> None: ...
def sync_action_properties(self, action:'Action') -> None: ...
...
class ActivatableIface:
g_iface = ... # type: gi.repository.GObject.TypeInterface
sync_action_properties = ... # type: typing.Callable[[Activatable, Action], typing.Any]
update = ... # type: typing.Callable[[Activatable, Action, str], typing.Any]
...
class Adjustment(gi.repository.GObject.InitiallyUnowned):
def _init(self, *args, **kwargs): ...
def changed(self) -> None: ...
def clamp_page(self, lower:float, upper:float) -> None: ...
def configure(self, value:float, lower:float, upper:float, step_increment:float, page_increment:float, page_size:float) -> None: ...
def do_changed(self) -> None: ...
def do_value_changed(self) -> None: ...
def get_lower(self) -> float: ...
def get_minimum_increment(self) -> float: ...
def get_page_increment(self) -> float: ...
def get_page_size(self) -> float: ...
def get_step_increment(self) -> float: ...
def get_upper(self) -> float: ...
def get_value(self) -> float: ...
parent_instance = ... # type: gi.repository.GObject.InitiallyUnowned
def set_lower(self, lower:float) -> None: ...
def set_page_increment(self, page_increment:float) -> None: ...
def set_page_size(self, page_size:float) -> None: ...
def set_step_increment(self, step_increment:float) -> None: ...
def set_upper(self, upper:float) -> None: ...
def set_value(self, value:float) -> None: ...
def value_changed(self) -> None: ...
...
class Align:
BASELINE = ... # type: Align
CENTER = ... # type: Align
END = ... # type: Align
FILL = ... # type: Align
START = ... # type: Align
...
class Alignment(Bin):
bin = ... # type: Bin
def get_padding(self) -> 'typing.Tuple[int, int, int, int]': ...
def set(self, xalign:float, yalign:float, xscale:float, yscale:float) -> None: ...
def set_padding(self, padding_top:int, padding_bottom:int, padding_left:int, padding_right:int) -> None: ...
...
class AppChooser:
def get_app_info(self) -> 'gi.repository.Gio.AppInfo': ...
def get_content_type(self) -> str: ...
def refresh(self) -> None: ...
...
class AppChooserButton(ComboBox):
def append_custom_item(self, name:str, label:str, icon:'gi.repository.Gio.Icon') -> None: ...
def append_separator(self) -> None: ...
def do_custom_item_activated(self, item_name:str) -> None: ...
def get_heading(self) -> str: ...
def get_show_default_item(self) -> bool: ...
def get_show_dialog_item(self) -> bool: ...
parent = ... # type: ComboBox
def set_active_custom_item(self, name:str) -> None: ...
def set_heading(self, heading:str) -> None: ...
def set_show_default_item(self, setting:bool) -> None: ...
def set_show_dialog_item(self, setting:bool) -> None: ...
...
class AppChooserDialog(Dialog):
def get_heading(self) -> str: ...
def get_widget(self) -> 'Widget': ...
@staticmethod
def new_for_content_type(parent:'Window', flags:'DialogFlags', content_type:str) -> 'Widget': ...
parent = ... # type: Dialog
def set_heading(self, heading:str) -> None: ...
...
class AppChooserWidget(Box):
def do_application_activated(self, app_info:'gi.repository.Gio.AppInfo') -> None: ...
def do_application_selected(self, app_info:'gi.repository.Gio.AppInfo') -> None: ...
def do_populate_popup(self, menu:'Menu', app_info:'gi.repository.Gio.AppInfo') -> None: ...
def get_default_text(self) -> str: ...
def get_show_all(self) -> bool: ...
def get_show_default(self) -> bool: ...
def get_show_fallback(self) -> bool: ...
def get_show_other(self) -> bool: ...
def get_show_recommended(self) -> bool: ...
parent = ... # type: Box
def set_default_text(self, text:str) -> None: ...
def set_show_all(self, setting:bool) -> None: ...
def set_show_default(self, setting:bool) -> None: ...
def set_show_fallback(self, setting:bool) -> None: ...
def set_show_other(self, setting:bool) -> None: ...
def set_show_recommended(self, setting:bool) -> None: ...
...
class Application(gi.repository.Gio.Application):
def add_accelerator(self, accelerator:str, action_name:str, parameter:'gi.repository.GLib.Variant') -> None: ...
def add_window(self, window:'Window') -> None: ...
def do_window_added(self, window:'Window') -> None: ...
def do_window_removed(self, window:'Window') -> None: ...
def get_accels_for_action(self, detailed_action_name:str) -> 'typing.List[str]': ...
def get_actions_for_accel(self, accel:str) -> 'typing.List[str]': ...
def get_active_window(self) -> 'Window': ...
def get_app_menu(self) -> 'gi.repository.Gio.MenuModel': ...
def get_menu_by_id(self, id:str) -> 'gi.repository.Gio.Menu': ...
def get_menubar(self) -> 'gi.repository.Gio.MenuModel': ...
def get_window_by_id(self, id:int) -> 'Window': ...
def get_windows(self) -> 'typing.List[Window]': ...
def inhibit(self, window:'Window', flags:'ApplicationInhibitFlags', reason:str) -> int: ...
def is_inhibited(self, flags:'ApplicationInhibitFlags') -> bool: ...
def list_action_descriptions(self) -> 'typing.List[str]': ...
parent = ... # type: gi.repository.Gio.Application
def prefers_app_menu(self) -> bool: ...
def remove_accelerator(self, action_name:str, parameter:'gi.repository.GLib.Variant') -> None: ...
def remove_window(self, window:'Window') -> None: ...
def set_accels_for_action(self, detailed_action_name:str, accels:'typing.List[str]') -> None: ...
def set_app_menu(self, app_menu:'gi.repository.Gio.MenuModel') -> None: ...
def set_menubar(self, menubar:'gi.repository.Gio.MenuModel') -> None: ...
def uninhibit(self, cookie:int) -> None: ...
...
class ApplicationInhibitFlags:
IDLE = ... # type: ApplicationInhibitFlags
LOGOUT = ... # type: ApplicationInhibitFlags
SUSPEND = ... # type: ApplicationInhibitFlags
SWITCH = ... # type: ApplicationInhibitFlags
...
class ApplicationWindow(Window):
def get_help_overlay(self) -> 'ShortcutsWindow': ...
def get_id(self) -> int: ...
def get_show_menubar(self) -> bool: ...
parent_instance = ... # type: Window
def set_help_overlay(self, help_overlay:'ShortcutsWindow') -> None: ...
def set_show_menubar(self, show_menubar:bool) -> None: ...
...
class Arrow(Misc):
misc = ... # type: Misc
def set(self, arrow_type:'ArrowType', shadow_type:'ShadowType') -> None: ...
...
class ArrowAccessible(WidgetAccessible):
parent = ... # type: WidgetAccessible
...
class ArrowPlacement:
BOTH = ... # type: ArrowPlacement
END = ... # type: ArrowPlacement
START = ... # type: ArrowPlacement
...
class ArrowType:
DOWN = ... # type: ArrowType
LEFT = ... # type: ArrowType
NONE = ... # type: ArrowType
RIGHT = ... # type: ArrowType
UP = ... # type: ArrowType
...
class AspectFrame(Frame):
frame = ... # type: Frame
def set(self, xalign:float, yalign:float, ratio:float, obey_child:bool) -> None: ...
...
class Assistant(Window):
def add_action_widget(self, child:'Widget') -> None: ...
def append_page(self, page:'Widget') -> int: ...
def commit(self) -> None: ...
def do_apply(self) -> None: ...
def do_cancel(self) -> None: ...
def do_close(self) -> None: ...
def do_prepare(self, page:'Widget') -> None: ...
def get_current_page(self) -> int: ...
def get_n_pages(self) -> int: ...
def get_nth_page(self, page_num:int) -> 'Widget': ...
def get_page_complete(self, page:'Widget') -> bool: ...
def get_page_has_padding(self, page:'Widget') -> bool: ...
def get_page_header_image(self, page:'Widget') -> 'gi.repository.GdkPixbuf.Pixbuf': ...
def get_page_side_image(self, page:'Widget') -> 'gi.repository.GdkPixbuf.Pixbuf': ...
def get_page_title(self, page:'Widget') -> str: ...
def get_page_type(self, page:'Widget') -> 'AssistantPageType': ...
def insert_page(self, page:'Widget', position:int) -> int: ...
def next_page(self) -> None: ...
parent = ... # type: Window
def prepend_page(self, page:'Widget') -> int: ...
def previous_page(self) -> None: ...
def remove_action_widget(self, child:'Widget') -> None: ...
def remove_page(self, page_num:int) -> None: ...
def set_current_page(self, page_num:int) -> None: ...
def set_forward_page_func(self, page_func:'typing.Callable[[int, typing.Any], int]', data:'typing.Any', destroy:'typing.Callable[[typing.Any], typing.Any]') -> None: ...
def set_page_complete(self, page:'Widget', complete:bool) -> None: ...
def set_page_has_padding(self, page:'Widget', has_padding:bool) -> None: ...
def set_page_header_image(self, page:'Widget', pixbuf:'gi.repository.GdkPixbuf.Pixbuf') -> None: ...
def set_page_side_image(self, page:'Widget', pixbuf:'gi.repository.GdkPixbuf.Pixbuf') -> None: ...
def set_page_title(self, page:'Widget', title:str) -> None: ...
def set_page_type(self, page:'Widget', type:'AssistantPageType') -> None: ...
def update_buttons_state(self) -> None: ...
...
class AssistantPageType:
CONFIRM = ... # type: AssistantPageType
CONTENT = ... # type: AssistantPageType
CUSTOM = ... # type: AssistantPageType
INTRO = ... # type: AssistantPageType
PROGRESS = ... # type: AssistantPageType
SUMMARY = ... # type: AssistantPageType
...
class AttachOptions:
EXPAND = ... # type: AttachOptions
FILL = ... # type: AttachOptions
SHRINK = ... # type: AttachOptions
...
BINARY_AGE = ... # type: int
class BaselinePosition:
BOTTOM = ... # type: BaselinePosition
CENTER = ... # type: BaselinePosition
TOP = ... # type: BaselinePosition
...
class Bin(Container):
container = ... # type: Container
def get_child(self) -> 'Widget': ...
...
class BindingArg:
arg_type = ... # type: gi.repository.GObject.GType
...
class BindingEntry:
@staticmethod
def add_signal_from_string(binding_set:'BindingSet', signal_desc:str) -> 'gi.repository.GLib.TokenType': ...
@staticmethod
def add_signall(binding_set:'BindingSet', keyval:int, modifiers:'gi.repository.Gdk.ModifierType', signal_name:str, binding_args:'typing.List[BindingArg]') -> None: ...
binding_set = ... # type: BindingSet
destroyed = ... # type: int
hash_next = ... # type: BindingEntry
in_emission = ... # type: int
keyval = ... # type: int
marks_unbound = ... # type: int
modifiers = ... # type: gi.repository.Gdk.ModifierType
@staticmethod
def remove(binding_set:'BindingSet', keyval:int, modifiers:'gi.repository.Gdk.ModifierType') -> None: ...
set_next = ... # type: BindingEntry
signals = ... # type: BindingSignal
@staticmethod
def skip(binding_set:'BindingSet', keyval:int, modifiers:'gi.repository.Gdk.ModifierType') -> None: ...
...
class BindingSet:
def activate(self, keyval:int, modifiers:'gi.repository.Gdk.ModifierType', object:'gi.repository.GObject.GObject') -> bool: ...
def add_path(self, path_type:'PathType', path_pattern:str, priority:'PathPriorityType') -> None: ...
class_branch_pspecs = ... # type: typing.List[typing.Any]
current = ... # type: BindingEntry
entries = ... # type: BindingEntry
@staticmethod
def find(set_name:str) -> 'BindingSet': ...
parsed = ... # type: int
priority = ... # type: int
set_name = ... # type: str
widget_class_pspecs = ... # type: typing.List[typing.Any]
widget_path_pspecs = ... # type: typing.List[typing.Any]
...
class BindingSignal:
args = ... # type: typing.List[BindingArg]
n_args = ... # type: int
next = ... # type: BindingSignal
signal_name = ... # type: str
...
class BooleanCellAccessible(RendererCellAccessible):
parent = ... # type: RendererCellAccessible
...
class Border:
bottom = ... # type: int
def copy(self) -> 'Border': ...
def free(self) -> None: ...
left = ... # type: int
right = ... # type: int
top = ... # type: int
...
class BorderStyle:
DASHED = ... # type: BorderStyle
DOTTED = ... # type: BorderStyle
DOUBLE = ... # type: BorderStyle
GROOVE = ... # type: BorderStyle
HIDDEN = ... # type: BorderStyle
INSET = ... # type: BorderStyle
NONE = ... # type: BorderStyle
OUTSET = ... # type: BorderStyle
RIDGE = ... # type: BorderStyle
SOLID = ... # type: BorderStyle
...
class Box(Container):
container = ... # type: Container
def get_baseline_position(self) -> 'BaselinePosition': ...
def get_center_widget(self) -> 'Widget': ...
def get_homogeneous(self) -> bool: ...
def get_spacing(self) -> int: ...
def pack_end(self, child:'Widget', expand:bool, fill:bool, padding:int) -> None: ...
def pack_start(self, child:'Widget', expand:bool, fill:bool, padding:int) -> None: ...
def query_child_packing(self, child:'Widget') -> 'typing.Tuple[bool, bool, int, PackType]': ...
def reorder_child(self, child:'Widget', position:int) -> None: ...
def set_baseline_position(self, position:'BaselinePosition') -> None: ...
def set_center_widget(self, widget:'Widget') -> None: ...
def set_child_packing(self, child:'Widget', expand:bool, fill:bool, padding:int, pack_type:'PackType') -> None: ...
def set_homogeneous(self, homogeneous:bool) -> None: ...
def set_spacing(self, spacing:int) -> None: ...
...
class Buildable:
def add_child(self, builder:'Builder', child:'gi.repository.GObject.GObject', type:str) -> None: ...
def construct_child(self, builder:'Builder', name:str) -> 'gi.repository.GObject.GObject': ...
def custom_finished(self, builder:'Builder', child:'gi.repository.GObject.GObject', tagname:str, data:'typing.Any') -> None: ...
def custom_tag_end(self, builder:'Builder', child:'gi.repository.GObject.GObject', tagname:str, data:'typing.Any') -> None: ...
def custom_tag_start(self, builder:'Builder', child:'gi.repository.GObject.GObject', tagname:str) -> 'typing.Tuple[bool, gi.repository.GLib.MarkupParser, typing.Any]': ...
def get_internal_child(self, builder:'Builder', childname:str) -> 'gi.repository.GObject.GObject': ...
def get_name(self) -> str: ...
def parser_finished(self, builder:'Builder') -> None: ...
def set_buildable_property(self, builder:'Builder', name:str, value:'gi.repository.GObject.Value') -> None: ...
def set_name(self, name:str) -> None: ...
...
class BuildableIface:
add_child = ... # type: typing.Callable[[Buildable, Builder, gi.repository.GObject.GObject, str], typing.Any]
construct_child = ... # type: typing.Callable[[Buildable, Builder, str], gi.repository.GObject.GObject]
custom_finished = ... # type: typing.Callable[[Buildable, Builder, gi.repository.GObject.GObject, str, typing.Any], typing.Any]
custom_tag_end = ... # type: typing.Callable[[Buildable, Builder, gi.repository.GObject.GObject, str, typing.Any], typing.Any]
custom_tag_start = ... # type: typing.Callable[[Buildable, Builder, gi.repository.GObject.GObject, str], typing.Tuple[bool, gi.repository.GLib.MarkupParser, typing.Any]]
g_iface = ... # type: gi.repository.GObject.TypeInterface
get_internal_child = ... # type: typing.Callable[[Buildable, Builder, str], gi.repository.GObject.GObject]
get_name = ... # type: typing.Callable[[Buildable], str]
parser_finished = ... # type: typing.Callable[[Buildable, Builder], typing.Any]
set_buildable_property = ... # type: typing.Callable[[Buildable, Builder, str, gi.repository.GObject.Value], typing.Any]
set_name = ... # type: typing.Callable[[Buildable, str], typing.Any]
...
class Builder(gi.repository.GObject.GObject):
def add_callback_symbol(self, callback_name:str, callback_symbol:'typing.Callable[[], typing.Any]') -> None: ...
def add_from_file(self, filename:str) -> int: ...
def add_from_resource(self, resource_path:str) -> int: ...
def add_from_string(self, buffer): ...
def add_objects_from_file(self, filename:str, object_ids:'typing.List[str]') -> int: ...
def add_objects_from_resource(self, resource_path:str, object_ids:'typing.List[str]') -> int: ...
def add_objects_from_string(self, buffer, object_ids): ...
def connect_signals(self, obj_or_map): ...
def connect_signals_full(self, func:'typing.Callable[[Builder, gi.repository.GObject.GObject, str, str, gi.repository.GObject.GObject, gi.repository.GObject.ConnectFlags, typing.Any], typing.Any]', user_data:'typing.Any') -> None: ...
def do_get_type_from_name(self, type_name:str) -> 'gi.repository.GObject.GType': ...
def expose_object(self, name:str, object:'gi.repository.GObject.GObject') -> None: ...
def extend_with_template(self, widget:'Widget', template_type:'gi.repository.GObject.GType', buffer:str, length:int) -> int: ...
def get_application(self) -> 'Application': ...
def get_object(self, name:str) -> 'gi.repository.GObject.GObject': ...
def get_objects(self) -> 'typing.List[gi.repository.GObject.GObject]': ...
def get_translation_domain(self) -> str: ...
def get_type_from_name(self, type_name:str) -> 'gi.repository.GObject.GType': ...
@staticmethod
def new_from_file(filename:str) -> 'Builder': ...
@staticmethod
def new_from_resource(resource_path:str) -> 'Builder': ...
@staticmethod
def new_from_string(string:str, length:int) -> 'Builder': ...
parent_instance = ... # type: gi.repository.GObject.GObject
def set_application(self, application:'Application') -> None: ...
def set_translation_domain(self, domain:str) -> None: ...
def value_from_string(self, pspec:'gi.repository.GObject.ParamSpec', string:str) -> 'typing.Tuple[bool, gi.repository.GObject.Value]': ...
def value_from_string_type(self, type:'gi.repository.GObject.GType', string:str) -> 'typing.Tuple[bool, gi.repository.GObject.Value]': ...
...
class BuilderError:
DUPLICATE_ID = ... # type: BuilderError
INVALID_ATTRIBUTE = ... # type: BuilderError
INVALID_ID = ... # type: BuilderError
INVALID_PROPERTY = ... # type: BuilderError
INVALID_SIGNAL = ... # type: BuilderError
INVALID_TAG = ... # type: BuilderError
INVALID_TYPE_FUNCTION = ... # type: BuilderError
INVALID_VALUE = ... # type: BuilderError
MISSING_ATTRIBUTE = ... # type: BuilderError
MISSING_PROPERTY_VALUE = ... # type: BuilderError
OBJECT_TYPE_REFUSED = ... # type: BuilderError
TEMPLATE_MISMATCH = ... # type: BuilderError
UNHANDLED_TAG = ... # type: BuilderError
VERSION_MISMATCH = ... # type: BuilderError
@staticmethod
def quark() -> int: ...
...
class Button(Bin):
def _init(self, *args, **kwargs): ...
bin = ... # type: Bin
def clicked(self) -> None: ...
def do_activate(self) -> None: ...
def do_clicked(self) -> None: ...
def do_enter(self) -> None: ...
def do_leave(self) -> None: ...
def do_pressed(self) -> None: ...
def do_released(self) -> None: ...
def enter(self) -> None: ...
def get_alignment(self) -> 'typing.Tuple[float, float]': ...
def get_always_show_image(self) -> bool: ...
def get_event_window(self) -> 'gi.repository.Gdk.Window': ...
def get_focus_on_click(self) -> bool: ...
def get_image(self) -> 'Widget': ...
def get_image_position(self) -> 'PositionType': ...
def get_label(self) -> str: ...
def get_relief(self) -> 'ReliefStyle': ...
def get_use_stock(self) -> bool: ...
def get_use_underline(self) -> bool: ...
def leave(self) -> None: ...
@staticmethod
def new_from_icon_name(icon_name:str, size:int) -> 'Widget': ...
@staticmethod
def new_from_stock(stock_id:str) -> 'Widget': ...
@staticmethod
def new_with_label(label:str) -> 'Widget': ...
@staticmethod
def new_with_mnemonic(label:str) -> 'Widget': ...
def pressed(self) -> None: ...
def released(self) -> None: ...
def set_alignment(self, xalign:float, yalign:float) -> None: ...
def set_always_show_image(self, always_show:bool) -> None: ...
def set_focus_on_click(self, focus_on_click:bool) -> None: ...
def set_image(self, image:'Widget') -> None: ...
def set_image_position(self, position:'PositionType') -> None: ...
def set_label(self, label:str) -> None: ...
def set_relief(self, relief:'ReliefStyle') -> None: ...
def set_use_stock(self, use_stock:bool) -> None: ...
def set_use_underline(self, use_underline:bool) -> None: ...
...
class ButtonAccessible(ContainerAccessible):
parent = ... # type: ContainerAccessible
...
class ButtonBox(Box):
box = ... # type: Box
def get_child_non_homogeneous(self, child:'Widget') -> bool: ...
def get_child_secondary(self, child:'Widget') -> bool: ...
def get_layout(self) -> 'ButtonBoxStyle': ...
def set_child_non_homogeneous(self, child:'Widget', non_homogeneous:bool) -> None: ...
def set_child_secondary(self, child:'Widget', is_secondary:bool) -> None: ...
def set_layout(self, layout_style:'ButtonBoxStyle') -> None: ...
...
class ButtonBoxStyle:
CENTER = ... # type: ButtonBoxStyle
EDGE = ... # type: ButtonBoxStyle
END = ... # type: ButtonBoxStyle
EXPAND = ... # type: ButtonBoxStyle
SPREAD = ... # type: ButtonBoxStyle
START = ... # type: ButtonBoxStyle
...
class ButtonRole:
CHECK = ... # type: ButtonRole
NORMAL = ... # type: ButtonRole
RADIO = ... # type: ButtonRole
...
class ButtonsType:
CANCEL = ... # type: ButtonsType
CLOSE = ... # type: ButtonsType
NONE = ... # type: ButtonsType
OK = ... # type: ButtonsType
OK_CANCEL = ... # type: ButtonsType
YES_NO = ... # type: ButtonsType
...
class Calendar(Widget):
def clear_marks(self) -> None: ...
def do_day_selected(self) -> None: ...
def do_day_selected_double_click(self) -> None: ...
def do_month_changed(self) -> None: ...
def do_next_month(self) -> None: ...
def do_next_year(self) -> None: ...
def do_prev_month(self) -> None: ...
def do_prev_year(self) -> None: ...
def get_date(self) -> 'typing.Tuple[int, int, int]': ...
def get_day_is_marked(self, day:int) -> bool: ...
def get_detail_height_rows(self) -> int: ...
def get_detail_width_chars(self) -> int: ...
def get_display_options(self) -> 'CalendarDisplayOptions': ...
def mark_day(self, day:int) -> None: ...
def select_day(self, day:int) -> None: ...
def select_month(self, month:int, year:int) -> None: ...
def set_detail_func(self, func:'typing.Callable[[Calendar, int, int, int, typing.Any], str]', data:'typing.Any', destroy:'typing.Callable[[typing.Any], typing.Any]') -> None: ...
def set_detail_height_rows(self, rows:int) -> None: ...
def set_detail_width_chars(self, chars:int) -> None: ...
def set_display_options(self, flags:'CalendarDisplayOptions') -> None: ...
def unmark_day(self, day:int) -> None: ...
...
class CalendarDisplayOptions:
NO_MONTH_CHANGE = ... # type: CalendarDisplayOptions
SHOW_DAY_NAMES = ... # type: CalendarDisplayOptions
SHOW_DETAILS = ... # type: CalendarDisplayOptions
SHOW_HEADING = ... # type: CalendarDisplayOptions
SHOW_WEEK_NUMBERS = ... # type: CalendarDisplayOptions
...
class CellAccessible(Accessible):
def do_update_cache(self, emit_signal:bool) -> None: ...
parent = ... # type: Accessible
...
class CellAccessibleParent:
def activate(self, cell:'CellAccessible') -> None: ...
def edit(self, cell:'CellAccessible') -> None: ...
def expand_collapse(self, cell:'CellAccessible') -> None: ...
def get_cell_area(self, cell:'CellAccessible', cell_rect:'gi.repository.Gdk.Rectangle') -> None: ...
def get_cell_extents(self, cell:'CellAccessible', x:int, y:int, width:int, height:int, coord_type:'gi.repository.Atk.CoordType') -> None: ...
def get_child_index(self, cell:'CellAccessible') -> int: ...
def get_renderer_state(self, cell:'CellAccessible') -> 'CellRendererState': ...
def grab_focus(self, cell:'CellAccessible') -> bool: ...
def update_relationset(self, cell:'CellAccessible', relationset:'gi.repository.Atk.RelationSet') -> None: ...
...
class CellAccessibleParentIface:
activate = ... # type: typing.Callable[[CellAccessibleParent, CellAccessible], typing.Any]
edit = ... # type: typing.Callable[[CellAccessibleParent, CellAccessible], typing.Any]
expand_collapse = ... # type: typing.Callable[[CellAccessibleParent, CellAccessible], typing.Any]
get_cell_area = ... # type: typing.Callable[[CellAccessibleParent, CellAccessible, gi.repository.Gdk.Rectangle], typing.Any]
get_cell_extents = ... # type: typing.Callable[[CellAccessibleParent, CellAccessible, int, int, int, int, gi.repository.Atk.CoordType], typing.Any]
get_child_index = ... # type: typing.Callable[[CellAccessibleParent, CellAccessible], int]
get_renderer_state = ... # type: typing.Callable[[CellAccessibleParent, CellAccessible], CellRendererState]
grab_focus = ... # type: typing.Callable[[CellAccessibleParent, CellAccessible], bool]
parent = ... # type: gi.repository.GObject.TypeInterface
update_relationset = ... # type: typing.Callable[[CellAccessibleParent, CellAccessible, gi.repository.Atk.RelationSet], typing.Any]
...
class CellArea(gi.repository.GObject.InitiallyUnowned):
def activate(self, context:'CellAreaContext', widget:'Widget', cell_area:'gi.repository.Gdk.Rectangle', flags:'CellRendererState', edit_only:bool) -> bool: ...
def activate_cell(self, widget:'Widget', renderer:'CellRenderer', event:'gi.repository.Gdk.Event', cell_area:'gi.repository.Gdk.Rectangle', flags:'CellRendererState') -> bool: ...
def add(self, renderer:'CellRenderer') -> None: ...
def add_focus_sibling(self, renderer:'CellRenderer', sibling:'CellRenderer') -> None: ...
def apply_attributes(self, tree_model:'TreeModel', iter:'TreeIter', is_expander:bool, is_expanded:bool) -> None: ...
def attribute_connect(self, renderer:'CellRenderer', attribute:str, column:int) -> None: ...
def attribute_disconnect(self, renderer:'CellRenderer', attribute:str) -> None: ...
def attribute_get_column(self, renderer:'CellRenderer', attribute:str) -> int: ...
def cell_get_property(self, renderer:'CellRenderer', property_name:str, value:'gi.repository.GObject.Value') -> None: ...
def cell_set_property(self, renderer:'CellRenderer', property_name:str, value:'gi.repository.GObject.Value') -> None: ...
def copy_context(self, context:'CellAreaContext') -> 'CellAreaContext': ...
def create_context(self) -> 'CellAreaContext': ...
def do_activate(self, context:'CellAreaContext', widget:'Widget', cell_area:'gi.repository.Gdk.Rectangle', flags:'CellRendererState', edit_only:bool) -> bool: ...
def do_add(self, renderer:'CellRenderer') -> None: ...
def do_apply_attributes(self, tree_model:'TreeModel', iter:'TreeIter', is_expander:bool, is_expanded:bool) -> None: ...
def do_copy_context(self, context:'CellAreaContext') -> 'CellAreaContext': ...
def do_create_context(self) -> 'CellAreaContext': ...
def do_event(self, context:'CellAreaContext', widget:'Widget', event:'gi.repository.Gdk.Event', cell_area:'gi.repository.Gdk.Rectangle', flags:'CellRendererState') -> int: ...
def do_focus(self, direction:'DirectionType') -> bool: ...
def do_foreach(self, callback:'typing.Callable[[CellRenderer, typing.Any], bool]', callback_data:'typing.Any') -> None: ...
def do_foreach_alloc(self, context:'CellAreaContext', widget:'Widget', cell_area:'gi.repository.Gdk.Rectangle', background_area:'gi.repository.Gdk.Rectangle', callback:'typing.Callable[[CellRenderer, gi.repository.Gdk.Rectangle, gi.repository.Gdk.Rectangle, typing.Any], bool]', callback_data:'typing.Any') -> None: ...
def do_get_cell_property(self, renderer:'CellRenderer', property_id:int, value:'gi.repository.GObject.Value', pspec:'gi.repository.GObject.ParamSpec') -> None: ...
def do_get_preferred_height(self, context:'CellAreaContext', widget:'Widget') -> 'typing.Tuple[int, int]': ...
def do_get_preferred_height_for_width(self, context:'CellAreaContext', widget:'Widget', width:int) -> 'typing.Tuple[int, int]': ...
def do_get_preferred_width(self, context:'CellAreaContext', widget:'Widget') -> 'typing.Tuple[int, int]': ...
def do_get_preferred_width_for_height(self, context:'CellAreaContext', widget:'Widget', height:int) -> 'typing.Tuple[int, int]': ...
def do_get_request_mode(self) -> 'SizeRequestMode': ...
def do_is_activatable(self) -> bool: ...
def do_remove(self, renderer:'CellRenderer') -> None: ...
def do_render(self, context:'CellAreaContext', widget:'Widget', cr:'gi.repository.cairo.Context', background_area:'gi.repository.Gdk.Rectangle', cell_area:'gi.repository.Gdk.Rectangle', flags:'CellRendererState', paint_focus:bool) -> None: ...
def do_set_cell_property(self, renderer:'CellRenderer', property_id:int, value:'gi.repository.GObject.Value', pspec:'gi.repository.GObject.ParamSpec') -> None: ...
def event(self, context:'CellAreaContext', widget:'Widget', event:'gi.repository.Gdk.Event', cell_area:'gi.repository.Gdk.Rectangle', flags:'CellRendererState') -> int: ...
def focus(self, direction:'DirectionType') -> bool: ...
def foreach(self, callback:'typing.Callable[[CellRenderer, typing.Any], bool]', callback_data:'typing.Any') -> None: ...
def foreach_alloc(self, context:'CellAreaContext', widget:'Widget', cell_area:'gi.repository.Gdk.Rectangle', background_area:'gi.repository.Gdk.Rectangle', callback:'typing.Callable[[CellRenderer, gi.repository.Gdk.Rectangle, gi.repository.Gdk.Rectangle, typing.Any], bool]', callback_data:'typing.Any') -> None: ...
def get_cell_allocation(self, context:'CellAreaContext', widget:'Widget', renderer:'CellRenderer', cell_area:'gi.repository.Gdk.Rectangle') -> 'typing.Tuple[gi.repository.Gdk.Rectangle]': ...
def get_cell_at_position(self, context:'CellAreaContext', widget:'Widget', cell_area:'gi.repository.Gdk.Rectangle', x:int, y:int) -> 'typing.Tuple[CellRenderer, gi.repository.Gdk.Rectangle]': ...
def get_current_path_string(self) -> str: ...
def get_edit_widget(self) -> 'CellEditable': ...
def get_edited_cell(self) -> 'CellRenderer': ...
def get_focus_cell(self) -> 'CellRenderer': ...
def get_focus_from_sibling(self, renderer:'CellRenderer') -> 'CellRenderer': ...
def get_focus_siblings(self, renderer:'CellRenderer') -> 'typing.List[CellRenderer]': ...
def get_preferred_height(self, context:'CellAreaContext', widget:'Widget') -> 'typing.Tuple[int, int]': ...
def get_preferred_height_for_width(self, context:'CellAreaContext', widget:'Widget', width:int) -> 'typing.Tuple[int, int]': ...
def get_preferred_width(self, context:'CellAreaContext', widget:'Widget') -> 'typing.Tuple[int, int]': ...
def get_preferred_width_for_height(self, context:'CellAreaContext', widget:'Widget', height:int) -> 'typing.Tuple[int, int]': ...
def get_request_mode(self) -> 'SizeRequestMode': ...
def has_renderer(self, renderer:'CellRenderer') -> bool: ...
def inner_cell_area(self, widget:'Widget', cell_area:'gi.repository.Gdk.Rectangle') -> 'typing.Tuple[gi.repository.Gdk.Rectangle]': ...
def is_activatable(self) -> bool: ...
def is_focus_sibling(self, renderer:'CellRenderer', sibling:'CellRenderer') -> bool: ...
parent_instance = ... # type: gi.repository.GObject.InitiallyUnowned
def remove(self, renderer:'CellRenderer') -> None: ...
def remove_focus_sibling(self, renderer:'CellRenderer', sibling:'CellRenderer') -> None: ...
def render(self, context:'CellAreaContext', widget:'Widget', cr:'gi.repository.cairo.Context', background_area:'gi.repository.Gdk.Rectangle', cell_area:'gi.repository.Gdk.Rectangle', flags:'CellRendererState', paint_focus:bool) -> None: ...
def request_renderer(self, renderer:'CellRenderer', orientation:'Orientation', widget:'Widget', for_size:int) -> 'typing.Tuple[int, int]': ...
def set_focus_cell(self, renderer:'CellRenderer') -> None: ...
def stop_editing(self, canceled:bool) -> None: ...
...
class CellAreaBox(CellArea):
def get_spacing(self) -> int: ...
def pack_end(self, renderer:'CellRenderer', expand:bool, align:bool, fixed:bool) -> None: ...
def pack_start(self, renderer:'CellRenderer', expand:bool, align:bool, fixed:bool) -> None: ...
parent_instance = ... # type: CellArea
def set_spacing(self, spacing:int) -> None: ...
...
class CellAreaContext(gi.repository.GObject.GObject):
def allocate(self, width:int, height:int) -> None: ...
def do_allocate(self, width:int, height:int) -> None: ...
def do_get_preferred_height_for_width(self, width:int) -> 'typing.Tuple[int, int]': ...
def do_get_preferred_width_for_height(self, height:int) -> 'typing.Tuple[int, int]': ...
def do_reset(self) -> None: ...
def get_allocation(self) -> 'typing.Tuple[int, int]': ...
def get_area(self) -> 'CellArea': ...
def get_preferred_height(self) -> 'typing.Tuple[int, int]': ...
def get_preferred_height_for_width(self, width:int) -> 'typing.Tuple[int, int]': ...
def get_preferred_width(self) -> 'typing.Tuple[int, int]': ...
def get_preferred_width_for_height(self, height:int) -> 'typing.Tuple[int, int]': ...
parent_instance = ... # type: gi.repository.GObject.GObject
def push_preferred_height(self, minimum_height:int, natural_height:int) -> None: ...
def push_preferred_width(self, minimum_width:int, natural_width:int) -> None: ...
def reset(self) -> None: ...
...
class CellEditable:
def editing_done(self) -> None: ...
def remove_widget(self) -> None: ...
def start_editing(self, event:'gi.repository.Gdk.Event') -> None: ...
...
class CellEditableIface:
editing_done = ... # type: typing.Callable[[CellEditable], typing.Any]
g_iface = ... # type: gi.repository.GObject.TypeInterface
remove_widget = ... # type: typing.Callable[[CellEditable], typing.Any]
start_editing = ... # type: typing.Callable[[CellEditable, gi.repository.Gdk.Event], typing.Any]
...
class CellLayout:
def add_attribute(self, cell:'CellRenderer', attribute:str, column:int) -> None: ...
def clear(self) -> None: ...
def clear_attributes(self, cell:'CellRenderer') -> None: ...
def get_area(self) -> 'CellArea': ...
def get_cells(self) -> 'typing.List[CellRenderer]': ...
def pack_end(self, cell:'CellRenderer', expand:bool) -> None: ...
def pack_start(self, cell:'CellRenderer', expand:bool) -> None: ...
def reorder(self, cell:'CellRenderer', position:int) -> None: ...
def set_cell_data_func(self, cell:'CellRenderer', func:'typing.Callable[[CellLayout, CellRenderer, TreeModel, TreeIter, typing.Any], typing.Any]', func_data:'typing.Any', destroy:'typing.Callable[[typing.Any], typing.Any]') -> None: ...
...
class CellLayoutIface:
add_attribute = ... # type: typing.Callable[[CellLayout, CellRenderer, str, int], typing.Any]
clear = ... # type: typing.Callable[[CellLayout], typing.Any]
clear_attributes = ... # type: typing.Callable[[CellLayout, CellRenderer], typing.Any]
g_iface = ... # type: gi.repository.GObject.TypeInterface
get_area = ... # type: typing.Callable[[CellLayout], CellArea]
get_cells = ... # type: typing.Callable[[CellLayout], typing.List[CellRenderer]]
pack_end = ... # type: typing.Callable[[CellLayout, CellRenderer, bool], typing.Any]
pack_start = ... # type: typing.Callable[[CellLayout, CellRenderer, bool], typing.Any]
reorder = ... # type: typing.Callable[[CellLayout, CellRenderer, int], typing.Any]
set_cell_data_func = ... # type: typing.Callable[[CellLayout, CellRenderer, typing.Callable[[CellLayout, CellRenderer, TreeModel, TreeIter, typing.Any], typing.Any], typing.Any, typing.Callable[[typing.Any], typing.Any]], typing.Any]
...
class CellRenderer(gi.repository.GObject.InitiallyUnowned):
def activate(self, event:'gi.repository.Gdk.Event', widget:'Widget', path:str, background_area:'gi.repository.Gdk.Rectangle', cell_area:'gi.repository.Gdk.Rectangle', flags:'CellRendererState') -> bool: ...
def do_activate(self, event:'gi.repository.Gdk.Event', widget:'Widget', path:str, background_area:'gi.repository.Gdk.Rectangle', cell_area:'gi.repository.Gdk.Rectangle', flags:'CellRendererState') -> bool: ...
def do_editing_canceled(self) -> None: ...
def do_editing_started(self, editable:'CellEditable', path:str) -> None: ...
def do_get_aligned_area(self, widget:'Widget', flags:'CellRendererState', cell_area:'gi.repository.Gdk.Rectangle') -> 'typing.Tuple[gi.repository.Gdk.Rectangle]': ...
def do_get_preferred_height(self, widget:'Widget') -> 'typing.Tuple[int, int]': ...
def do_get_preferred_height_for_width(self, widget:'Widget', width:int) -> 'typing.Tuple[int, int]': ...
def do_get_preferred_width(self, widget:'Widget') -> 'typing.Tuple[int, int]': ...
def do_get_preferred_width_for_height(self, widget:'Widget', height:int) -> 'typing.Tuple[int, int]': ...
def do_get_request_mode(self) -> 'SizeRequestMode': ...
def do_get_size(self, widget:'Widget', cell_area:'gi.repository.Gdk.Rectangle') -> 'typing.Tuple[int, int, int, int]': ...
def do_render(self, cr:'gi.repository.cairo.Context', widget:'Widget', background_area:'gi.repository.Gdk.Rectangle', cell_area:'gi.repository.Gdk.Rectangle', flags:'CellRendererState') -> None: ...
def do_start_editing(self, event:'gi.repository.Gdk.Event', widget:'Widget', path:str, background_area:'gi.repository.Gdk.Rectangle', cell_area:'gi.repository.Gdk.Rectangle', flags:'CellRendererState') -> 'CellEditable': ...
def get_aligned_area(self, widget:'Widget', flags:'CellRendererState', cell_area:'gi.repository.Gdk.Rectangle') -> 'typing.Tuple[gi.repository.Gdk.Rectangle]': ...
def get_alignment(self) -> 'typing.Tuple[float, float]': ...
def get_fixed_size(self) -> 'typing.Tuple[int, int]': ...
def get_padding(self) -> 'typing.Tuple[int, int]': ...
def get_preferred_height(self, widget:'Widget') -> 'typing.Tuple[int, int]': ...
def get_preferred_height_for_width(self, widget:'Widget', width:int) -> 'typing.Tuple[int, int]': ...
def get_preferred_size(self, widget:'Widget') -> 'typing.Tuple[Requisition, Requisition]': ...
def get_preferred_width(self, widget:'Widget') -> 'typing.Tuple[int, int]': ...
def get_preferred_width_for_height(self, widget:'Widget', height:int) -> 'typing.Tuple[int, int]': ...
def get_request_mode(self) -> 'SizeRequestMode': ...
def get_sensitive(self) -> bool: ...
def get_size(self, widget:'Widget', cell_area:'gi.repository.Gdk.Rectangle') -> 'typing.Tuple[int, int, int, int]': ...
def get_state(self, widget:'Widget', cell_state:'CellRendererState') -> 'StateFlags': ...
def get_visible(self) -> bool: ...
def is_activatable(self) -> bool: ...
parent_instance = ... # type: gi.repository.GObject.InitiallyUnowned
def render(self, cr:'gi.repository.cairo.Context', widget:'Widget', background_area:'gi.repository.Gdk.Rectangle', cell_area:'gi.repository.Gdk.Rectangle', flags:'CellRendererState') -> None: ...
def set_alignment(self, xalign:float, yalign:float) -> None: ...
def set_fixed_size(self, width:int, height:int) -> None: ...
def set_padding(self, xpad:int, ypad:int) -> None: ...
def set_sensitive(self, sensitive:bool) -> None: ...
def set_visible(self, visible:bool) -> None: ...
def start_editing(self, event:'gi.repository.Gdk.Event', widget:'Widget', path:str, background_area:'gi.repository.Gdk.Rectangle', cell_area:'gi.repository.Gdk.Rectangle', flags:'CellRendererState') -> 'CellEditable': ...
def stop_editing(self, canceled:bool) -> None: ...
...
class CellRendererAccel(CellRendererText):
def do_accel_cleared(self, path_string:str) -> None: ...
def do_accel_edited(self, path_string:str, accel_key:int, accel_mods:'gi.repository.Gdk.ModifierType', hardware_keycode:int) -> None: ...
parent = ... # type: CellRendererText
...
class CellRendererAccelMode:
GTK = ... # type: CellRendererAccelMode
OTHER = ... # type: CellRendererAccelMode
...
class CellRendererCombo(CellRendererText):
parent = ... # type: CellRendererText
...
class CellRendererMode:
ACTIVATABLE = ... # type: CellRendererMode
EDITABLE = ... # type: CellRendererMode
INERT = ... # type: CellRendererMode
...
class CellRendererPixbuf(CellRenderer):
parent = ... # type: CellRenderer
...
class CellRendererProgress(CellRenderer):
parent_instance = ... # type: CellRenderer
...
class CellRendererSpin(CellRendererText):
parent = ... # type: CellRendererText
...
class CellRendererSpinner(CellRenderer):
parent = ... # type: CellRenderer
...
class CellRendererState:
EXPANDABLE = ... # type: CellRendererState
EXPANDED = ... # type: CellRendererState
FOCUSED = ... # type: CellRendererState
INSENSITIVE = ... # type: CellRendererState
PRELIT = ... # type: CellRendererState
SELECTED = ... # type: CellRendererState
SORTED = ... # type: CellRendererState
...
class CellRendererText(CellRenderer):
def do_edited(self, path:str, new_text:str) -> None: ...
parent = ... # type: CellRenderer
def set_fixed_height_from_font(self, number_of_rows:int) -> None: ...
...
class CellRendererToggle(CellRenderer):
def do_toggled(self, path:str) -> None: ...
def get_activatable(self) -> bool: ...
def get_active(self) -> bool: ...
def get_radio(self) -> bool: ...
parent = ... # type: CellRenderer
def set_activatable(self, setting:bool) -> None: ...
def set_active(self, setting:bool) -> None: ...
def set_radio(self, radio:bool) -> None: ...
...
class CellView(Widget):
def get_displayed_row(self) -> 'TreePath': ...
def get_draw_sensitive(self) -> bool: ...
def get_fit_model(self) -> bool: ...
def get_model(self) -> 'TreeModel': ...
def get_size_of_row(self, path:'TreePath') -> 'typing.Tuple[bool, Requisition]': ...
@staticmethod
def new_with_context(area:'CellArea', context:'CellAreaContext') -> 'Widget': ...
@staticmethod
def new_with_markup(markup:str) -> 'Widget': ...
@staticmethod
def new_with_pixbuf(pixbuf:'gi.repository.GdkPixbuf.Pixbuf') -> 'Widget': ...
@staticmethod
def new_with_text(text:str) -> 'Widget': ...
parent_instance = ... # type: Widget
def set_background_color(self, color:'gi.repository.Gdk.Color') -> None: ...
def set_background_rgba(self, rgba:'gi.repository.Gdk.RGBA') -> None: ...
def set_displayed_row(self, path:'TreePath') -> None: ...
def set_draw_sensitive(self, draw_sensitive:bool) -> None: ...
def set_fit_model(self, fit_model:bool) -> None: ...
def set_model(self, model:'TreeModel') -> None: ...
...
class CheckButton(ToggleButton):
def do_draw_indicator(self, cr:'gi.repository.cairo.Context') -> None: ...
@staticmethod
def new_with_label(label:str) -> 'Widget': ...
@staticmethod
def new_with_mnemonic(label:str) -> 'Widget': ...
toggle_button = ... # type: ToggleButton
...
class CheckMenuItem(MenuItem):
def do_draw_indicator(self, cr:'gi.repository.cairo.Context') -> None: ...
def do_toggled(self) -> None: ...
def get_active(self) -> bool: ...
def get_draw_as_radio(self) -> bool: ...
def get_inconsistent(self) -> bool: ...
menu_item = ... # type: MenuItem
@staticmethod
def new_with_label(label:str) -> 'Widget': ...
@staticmethod
def new_with_mnemonic(label:str) -> 'Widget': ...
def set_active(self, is_active:bool) -> None: ...
def set_draw_as_radio(self, draw_as_radio:bool) -> None: ...
def set_inconsistent(self, setting:bool) -> None: ...
def toggled(self) -> None: ...
...
class CheckMenuItemAccessible(MenuItemAccessible):
parent = ... # type: MenuItemAccessible
...
class Clipboard(gi.repository.GObject.GObject):
def clear(self) -> None: ...
@staticmethod
def get(selection:'gi.repository.Gdk.Atom') -> 'Clipboard': ...
@staticmethod
def get_default(display:'gi.repository.Gdk.Display') -> 'Clipboard': ...
def get_display(self) -> 'gi.repository.Gdk.Display': ...
@staticmethod
def get_for_display(display:'gi.repository.Gdk.Display', selection:'gi.repository.Gdk.Atom') -> 'Clipboard': ...
def get_owner(self) -> 'gi.repository.GObject.GObject': ...
def request_contents(self, target:'gi.repository.Gdk.Atom', callback:'typing.Callable[[Clipboard, SelectionData, typing.Any], typing.Any]', user_data:'typing.Any') -> None: ...
def request_image(self, callback:'typing.Callable[[Clipboard, gi.repository.GdkPixbuf.Pixbuf, typing.Any], typing.Any]', user_data:'typing.Any') -> None: ...
def request_rich_text(self, buffer:'TextBuffer', callback:'typing.Callable[[Clipboard, gi.repository.Gdk.Atom, str, int, typing.Any], typing.Any]', user_data:'typing.Any') -> None: ...
def request_targets(self, callback:'typing.Callable[[Clipboard, typing.List[gi.repository.Gdk.Atom], int, typing.Any], typing.Any]', user_data:'typing.Any') -> None: ...
def request_text(self, callback:'typing.Callable[[Clipboard, str, typing.Any], typing.Any]', user_data:'typing.Any') -> None: ...
def request_uris(self, callback:'typing.Callable[[Clipboard, typing.List[str], typing.Any], typing.Any]', user_data:'typing.Any') -> None: ...
def set_can_store(self, targets:'typing.List[TargetEntry]', n_targets:int) -> None: ...
def set_image(self, pixbuf:'gi.repository.GdkPixbuf.Pixbuf') -> None: ...
def set_text(self, text:str, len:int) -> None: ...
def store(self) -> None: ...
def wait_for_contents(self, target:'gi.repository.Gdk.Atom') -> 'SelectionData': ...
def wait_for_image(self) -> 'gi.repository.GdkPixbuf.Pixbuf': ...
def wait_for_rich_text(self, buffer:'TextBuffer') -> 'typing.Tuple[typing.List[int], gi.repository.Gdk.Atom, int]': ...
def wait_for_targets(self) -> 'typing.Tuple[bool, typing.List[gi.repository.Gdk.Atom], int]': ...
def wait_for_text(self) -> str: ...
def wait_for_uris(self) -> 'typing.List[str]': ...
def wait_is_image_available(self) -> bool: ...
def wait_is_rich_text_available(self, buffer:'TextBuffer') -> bool: ...
def wait_is_target_available(self, target:'gi.repository.Gdk.Atom') -> bool: ...
def wait_is_text_available(self) -> bool: ...
def wait_is_uris_available(self) -> bool: ...
...
class ColorButton(Button):
button = ... # type: Button
def do_color_set(self) -> None: ...
def get_alpha(self) -> int: ...
def get_color(self) -> 'typing.Tuple[gi.repository.Gdk.Color]': ...
def get_title(self) -> str: ...
def get_use_alpha(self) -> bool: ...
@staticmethod
def new_with_color(color:'gi.repository.Gdk.Color') -> 'Widget': ...
@staticmethod
def new_with_rgba(rgba:'gi.repository.Gdk.RGBA') -> 'Widget': ...
def set_alpha(self, alpha:int) -> None: ...
def set_color(self, color:'gi.repository.Gdk.Color') -> None: ...
def set_title(self, title:str) -> None: ...
def set_use_alpha(self, use_alpha:bool) -> None: ...
...
class ColorChooser:
def add_palette(self, orientation:'Orientation', colors_per_line:int, n_colors:int, colors:'typing.List[gi.repository.Gdk.RGBA]') -> None: ...
def get_rgba(self) -> 'typing.Tuple[gi.repository.Gdk.RGBA]': ...
def get_use_alpha(self) -> bool: ...
def set_rgba(self, color:'gi.repository.Gdk.RGBA') -> None: ...
def set_use_alpha(self, use_alpha:bool) -> None: ...
...
class ColorChooserDialog(Dialog):
parent_instance = ... # type: Dialog
...
class ColorChooserInterface:
add_palette = ... # type: typing.Callable[[ColorChooser, Orientation, int, int, typing.List[gi.repository.Gdk.RGBA]], typing.Any]
base_interface = ... # type: gi.repository.GObject.TypeInterface
color_activated = ... # type: typing.Callable[[ColorChooser, gi.repository.Gdk.RGBA], typing.Any]
get_rgba = ... # type: typing.Callable[[ColorChooser], typing.Tuple[gi.repository.Gdk.RGBA]]
padding = ... # type: typing.List[typing.Any]
set_rgba = ... # type: typing.Callable[[ColorChooser, gi.repository.Gdk.RGBA], typing.Any]
...
class ColorChooserWidget(Box):
parent_instance = ... # type: Box
...
class ColorSelection(Box):
def do_color_changed(self) -> None: ...
def get_current_alpha(self) -> int: ...
def get_current_color(self) -> 'typing.Tuple[gi.repository.Gdk.Color]': ...
def get_current_rgba(self) -> 'typing.Tuple[gi.repository.Gdk.RGBA]': ...
def get_has_opacity_control(self) -> bool: ...
def get_has_palette(self) -> bool: ...
def get_previous_alpha(self) -> int: ...
def get_previous_color(self) -> 'typing.Tuple[gi.repository.Gdk.Color]': ...
def get_previous_rgba(self) -> 'typing.Tuple[gi.repository.Gdk.RGBA]': ...
def is_adjusting(self) -> bool: ...
@staticmethod
def palette_from_string(str:str) -> 'typing.Tuple[bool, typing.List[gi.repository.Gdk.Color], int]': ...
@staticmethod
def palette_to_string(colors:'typing.List[gi.repository.Gdk.Color]', n_colors:int) -> str: ...
parent_instance = ... # type: Box
private_data = ... # type: ColorSelectionPrivate
def set_current_alpha(self, alpha:int) -> None: ...
def set_current_color(self, color:'gi.repository.Gdk.Color') -> None: ...
def set_current_rgba(self, rgba:'gi.repository.Gdk.RGBA') -> None: ...
def set_has_opacity_control(self, has_opacity:bool) -> None: ...
def set_has_palette(self, has_palette:bool) -> None: ...
def set_previous_alpha(self, alpha:int) -> None: ...
def set_previous_color(self, color:'gi.repository.Gdk.Color') -> None: ...
def set_previous_rgba(self, rgba:'gi.repository.Gdk.RGBA') -> None: ...
...
class ColorSelectionDialog(Dialog):
def get_color_selection(self) -> 'Widget': ...
parent_instance = ... # type: Dialog
...
class ComboBox(Bin):
def do_changed(self) -> None: ...
def do_format_entry_text(self, path:str) -> str: ...
def get_active(self) -> int: ...
def get_active_id(self) -> str: ...
def get_active_iter(self) -> 'TreeIter': ...
def get_add_tearoffs(self) -> bool: ...
def get_button_sensitivity(self) -> 'SensitivityType': ...
def get_column_span_column(self) -> int: ...
def get_entry_text_column(self) -> int: ...
def get_focus_on_click(self) -> bool: ...
def get_has_entry(self) -> bool: ...
def get_id_column(self) -> int: ...
def get_model(self) -> 'TreeModel': ...
def get_popup_accessible(self) -> 'gi.repository.Atk.Object': ...
def get_popup_fixed_width(self) -> bool: ...
def get_row_span_column(self) -> int: ...
def get_title(self) -> str: ...
def get_wrap_width(self) -> int: ...
@staticmethod
def new_with_area(area:'CellArea') -> 'Widget': ...
@staticmethod
def new_with_area_and_entry(area:'CellArea') -> 'Widget': ...
@staticmethod
def new_with_entry() -> 'Widget': ...
@staticmethod
def new_with_model(model:'TreeModel') -> 'Widget': ...
@staticmethod
def new_with_model_and_entry(model:'TreeModel') -> 'Widget': ...
parent_instance = ... # type: Bin
def popdown(self) -> None: ...
def popup(self) -> None: ...
def popup_for_device(self, device:'gi.repository.Gdk.Device') -> None: ...
def set_active(self, index_:int) -> None: ...
def set_active_id(self, active_id:str) -> bool: ...
def set_active_iter(self, iter:'TreeIter') -> None: ...
def set_add_tearoffs(self, add_tearoffs:bool) -> None: ...
def set_button_sensitivity(self, sensitivity:'SensitivityType') -> None: ...
def set_column_span_column(self, column_span:int) -> None: ...
def set_entry_text_column(self, text_column:int) -> None: ...
def set_focus_on_click(self, focus_on_click:bool) -> None: ...
def set_id_column(self, id_column:int) -> None: ...
def set_model(self, model:'TreeModel') -> None: ...
def set_popup_fixed_width(self, fixed:bool) -> None: ...
def set_row_separator_func(self, func:'typing.Callable[[TreeModel, TreeIter, typing.Any], bool]', data:'typing.Any', destroy:'typing.Callable[[typing.Any], typing.Any]') -> None: ...
def set_row_span_column(self, row_span:int) -> None: ...
def set_title(self, title:str) -> None: ...
def set_wrap_width(self, width:int) -> None: ...
...
class ComboBoxAccessible(ContainerAccessible):
parent = ... # type: ContainerAccessible
...
class ComboBoxText(ComboBox):
def append(self, id:str, text:str) -> None: ...
def append_text(self, text:str) -> None: ...
def get_active_text(self) -> str: ...
def insert(self, position:int, id:str, text:str) -> None: ...
def insert_text(self, position:int, text:str) -> None: ...
@staticmethod
def new_with_entry() -> 'Widget': ...
parent_instance = ... # type: ComboBox
def prepend(self, id:str, text:str) -> None: ...
def prepend_text(self, text:str) -> None: ...
def remove(self, position:int) -> None: ...
def remove_all(self) -> None: ...
...
class Container(Widget):
def add(self, widget:'Widget') -> None: ...
def check_resize(self) -> None: ...
def child_get(self, child, *prop_names): ...
def child_get_property(self, child, property_name, value=None): ...
def child_notify(self, child:'Widget', child_property:str) -> None: ...
def child_notify_by_pspec(self, child:'Widget', pspec:'gi.repository.GObject.ParamSpec') -> None: ...
def child_set(self, child, **kwargs): ...
def child_set_property(self, child:'Widget', property_name:str, value:'gi.repository.GObject.Value') -> None: ...
def child_type(self) -> 'gi.repository.GObject.GType': ...
def do_add(self, widget:'Widget') -> None: ...
def do_check_resize(self) -> None: ...
def do_child_type(self) -> 'gi.repository.GObject.GType': ...
def do_composite_name(self, child:'Widget') -> str: ...
def do_forall(self, include_internals:bool, callback:'typing.Callable[[Widget, typing.Any], typing.Any]', callback_data:'typing.Any') -> None: ...
def do_get_child_property(self, child:'Widget', property_id:int, value:'gi.repository.GObject.Value', pspec:'gi.repository.GObject.ParamSpec') -> None: ...
def do_get_path_for_child(self, child:'Widget') -> 'WidgetPath': ...
def do_remove(self, widget:'Widget') -> None: ...
def do_set_child_property(self, child:'Widget', property_id:int, value:'gi.repository.GObject.Value', pspec:'gi.repository.GObject.ParamSpec') -> None: ...
def do_set_focus_child(self, child:'Widget') -> None: ...
def forall(self, callback:'typing.Callable[[Widget, typing.Any], typing.Any]', callback_data:'typing.Any') -> None: ...
def foreach(self, callback:'typing.Callable[[Widget, typing.Any], typing.Any]', callback_data:'typing.Any') -> None: ...
def get_border_width(self) -> int: ...
def get_children(self) -> 'typing.List[Widget]': ...
def get_focus_chain(self) -> 'typing.List[Widget]': ...
def get_focus_child(self) -> 'Widget': ...
def get_focus_hadjustment(self) -> 'Adjustment': ...
def get_focus_vadjustment(self) -> 'Adjustment': ...
def get_path_for_child(self, child:'Widget') -> 'WidgetPath': ...
def get_resize_mode(self) -> 'ResizeMode': ...
def propagate_draw(self, child:'Widget', cr:'gi.repository.cairo.Context') -> None: ...
def remove(self, widget:'Widget') -> None: ...
def resize_children(self) -> None: ...
def set_border_width(self, border_width:int) -> None: ...
def set_focus_chain(self, focusable_widgets:'typing.List[Widget]') -> None: ...
def set_focus_child(self, child:'Widget') -> None: ...
def set_focus_hadjustment(self, adjustment:'Adjustment') -> None: ...
def set_focus_vadjustment(self, adjustment:'Adjustment') -> None: ...
def set_reallocate_redraws(self, needs_redraws:bool) -> None: ...
def set_resize_mode(self, resize_mode:'ResizeMode') -> None: ...
def unset_focus_chain(self) -> None: ...
...
class ContainerAccessible(WidgetAccessible):
parent = ... # type: WidgetAccessible
...
class ContainerCellAccessible(CellAccessible):
def add_child(self, child:'CellAccessible') -> None: ...
def get_children(self) -> 'typing.List[CellAccessible]': ...
parent = ... # type: CellAccessible
def remove_child(self, child:'CellAccessible') -> None: ...
...
class CornerType:
BOTTOM_LEFT = ... # type: CornerType
BOTTOM_RIGHT = ... # type: CornerType
TOP_LEFT = ... # type: CornerType
TOP_RIGHT = ... # type: CornerType
...
class CssProvider(gi.repository.GObject.GObject):
def do_parsing_error(self, section:'CssSection', error:'gi.repository.GLib.Error') -> None: ...
@staticmethod
def get_default() -> 'CssProvider': ...
@staticmethod
def get_named(name:str, variant:str) -> 'CssProvider': ...
def load_from_data(self, data:'typing.List[int]', length:int) -> bool: ...
def load_from_file(self, file:'gi.repository.Gio.File') -> bool: ...
def load_from_path(self, path:str) -> bool: ...
def load_from_resource(self, resource_path:str) -> None: ...
parent_instance = ... # type: gi.repository.GObject.GObject
def to_string(self) -> str: ...
...
class CssProviderError:
DEPRECATED = ... # type: CssProviderError
FAILED = ... # type: CssProviderError
IMPORT = ... # type: CssProviderError
NAME = ... # type: CssProviderError
SYNTAX = ... # type: CssProviderError
UNKNOWN_VALUE = ... # type: CssProviderError
@staticmethod
def quark() -> int: ...
...
class CssSection:
def get_end_line(self) -> int: ...
def get_end_position(self) -> int: ...
def get_file(self) -> 'gi.repository.Gio.File': ...
def get_parent(self) -> 'CssSection': ...
def get_section_type(self) -> 'CssSectionType': ...
def get_start_line(self) -> int: ...
def get_start_position(self) -> int: ...
def ref(self) -> 'CssSection': ...
def unref(self) -> None: ...
...
class CssSectionType:
BINDING_SET = ... # type: CssSectionType
COLOR_DEFINITION = ... # type: CssSectionType
DECLARATION = ... # type: CssSectionType
DOCUMENT = ... # type: CssSectionType
IMPORT = ... # type: CssSectionType
KEYFRAMES = ... # type: CssSectionType
RULESET = ... # type: CssSectionType
SELECTOR = ... # type: CssSectionType
VALUE = ... # type: CssSectionType
...
class DebugFlag:
ACTIONS = ... # type: DebugFlag
BASELINES = ... # type: DebugFlag
BUILDER = ... # type: DebugFlag
GEOMETRY = ... # type: DebugFlag
ICONTHEME = ... # type: DebugFlag
INTERACTIVE = ... # type: DebugFlag
KEYBINDINGS = ... # type: DebugFlag
LAYOUT = ... # type: DebugFlag
MISC = ... # type: DebugFlag
MODULES = ... # type: DebugFlag
MULTIHEAD = ... # type: DebugFlag
NO_CSS_CACHE = ... # type: DebugFlag
NO_PIXEL_CACHE = ... # type: DebugFlag
PIXEL_CACHE = ... # type: DebugFlag
PLUGSOCKET = ... # type: DebugFlag
PRINTING = ... # type: DebugFlag
RESIZE = ... # type: DebugFlag
SIZE_REQUEST = ... # type: DebugFlag
TEXT = ... # type: DebugFlag
TOUCHSCREEN = ... # type: DebugFlag
TREE = ... # type: DebugFlag
UPDATES = ... # type: DebugFlag
...
class DeleteType:
CHARS = ... # type: DeleteType
DISPLAY_LINES = ... # type: DeleteType
DISPLAY_LINE_ENDS = ... # type: DeleteType
PARAGRAPHS = ... # type: DeleteType
PARAGRAPH_ENDS = ... # type: DeleteType
WHITESPACE = ... # type: DeleteType
WORDS = ... # type: DeleteType
WORD_ENDS = ... # type: DeleteType
...
class DestDefaults:
ALL = ... # type: DestDefaults
DROP = ... # type: DestDefaults
HIGHLIGHT = ... # type: DestDefaults
MOTION = ... # type: DestDefaults
...
class Dialog(Window):
def _init(self, *args, **kwargs): ...
action_area = ... # type: typing.Any
def add_action_widget(self, child:'Widget', response_id:int) -> None: ...
def add_button(self, button_text:str, response_id:int) -> 'Widget': ...
def add_buttons(self, *args): ...
def do_close(self) -> None: ...
def do_response(self, response_id:int) -> None: ...
def get_action_area(self) -> 'Widget': ...
def get_content_area(self) -> 'Box': ...
def get_header_bar(self) -> 'Widget': ...
def get_response_for_widget(self, widget:'Widget') -> int: ...
def get_widget_for_response(self, response_id:int) -> 'Widget': ...
def response(self, response_id:int) -> None: ...
def run(self, *args, **kwargs): ...
def set_alternative_button_order_from_array(self, n_params:int, new_order:'typing.List[int]') -> None: ...
def set_default_response(self, response_id:int) -> None: ...
def set_response_sensitive(self, response_id:int, setting:bool) -> None: ...
vbox = ... # type: typing.Any
window = ... # type: Window
...
class DialogFlags:
DESTROY_WITH_PARENT = ... # type: DialogFlags
MODAL = ... # type: DialogFlags
USE_HEADER_BAR = ... # type: DialogFlags
...
class DirectionType:
DOWN = ... # type: DirectionType
LEFT = ... # type: DirectionType
RIGHT = ... # type: DirectionType
TAB_BACKWARD = ... # type: DirectionType
TAB_FORWARD = ... # type: DirectionType
UP = ... # type: DirectionType
...
class DragResult:
ERROR = ... # type: DragResult
GRAB_BROKEN = ... # type: DragResult
NO_TARGET = ... # type: DragResult
SUCCESS = ... # type: DragResult
TIMEOUT_EXPIRED = ... # type: DragResult
USER_CANCELLED = ... # type: DragResult
...
class DrawingArea(Widget):
dummy = ... # type: typing.Any
...
class Editable:
def copy_clipboard(self) -> None: ...
def cut_clipboard(self) -> None: ...
def delete_selection(self) -> None: ...
def delete_text(self, start_pos:int, end_pos:int) -> None: ...
def get_chars(self, start_pos:int, end_pos:int) -> str: ...
def get_editable(self) -> bool: ...
def get_position(self) -> int: ...
def get_selection_bounds(self) -> 'typing.Tuple[int, int]': ...
def insert_text(self, text, position): ...
def paste_clipboard(self) -> None: ...
def select_region(self, start_pos:int, end_pos:int) -> None: ...
def set_editable(self, is_editable:bool) -> None: ...
def set_position(self, position:int) -> None: ...
...
class EditableInterface:
base_iface = ... # type: gi.repository.GObject.TypeInterface
changed = ... # type: typing.Callable[[Editable], typing.Any]
delete_text = ... # type: typing.Callable[[Editable, int, int], typing.Any]
do_delete_text = ... # type: typing.Callable[[Editable, int, int], typing.Any]
do_insert_text = ... # type: typing.Callable[[Editable, str, int, int], typing.Any]
get_chars = ... # type: typing.Callable[[Editable, int, int], str]
get_position = ... # type: typing.Callable[[Editable], int]
get_selection_bounds = ... # type: typing.Callable[[Editable], typing.Tuple[bool, int, int]]
insert_text = ... # type: typing.Callable[[Editable, str, int, int], typing.Any]
set_position = ... # type: typing.Callable[[Editable, int], typing.Any]
set_selection_bounds = ... # type: typing.Callable[[Editable, int, int], typing.Any]
...
class Entry(Widget):
def do_activate(self) -> None: ...
def do_backspace(self) -> None: ...
def do_copy_clipboard(self) -> None: ...
def do_cut_clipboard(self) -> None: ...
def do_delete_from_cursor(self, type:'DeleteType', count:int) -> None: ...
def do_get_frame_size(self, x:int, y:int, width:int, height:int) -> None: ...
def do_get_text_area_size(self, x:int, y:int, width:int, height:int) -> None: ...
def do_insert_at_cursor(self, str:str) -> None: ...
def do_insert_emoji(self) -> None: ...
def do_move_cursor(self, step:'MovementStep', count:int, extend_selection:bool) -> None: ...
def do_paste_clipboard(self) -> None: ...
def do_populate_popup(self, popup:'Widget') -> None: ...
def do_toggle_overwrite(self) -> None: ...
def get_activates_default(self) -> bool: ...
def get_alignment(self) -> float: ...
def get_attributes(self) -> 'gi.repository.Pango.AttrList': ...
def get_buffer(self) -> 'EntryBuffer': ...
def get_completion(self) -> 'EntryCompletion': ...
def get_current_icon_drag_source(self) -> int: ...
def get_cursor_hadjustment(self) -> 'Adjustment': ...
def get_has_frame(self) -> bool: ...
def get_icon_activatable(self, icon_pos:'EntryIconPosition') -> bool: ...
def get_icon_area(self, icon_pos:'EntryIconPosition') -> 'typing.Tuple[gi.repository.Gdk.Rectangle]': ...
def get_icon_at_pos(self, x:int, y:int) -> int: ...
def get_icon_gicon(self, icon_pos:'EntryIconPosition') -> 'gi.repository.Gio.Icon': ...
def get_icon_name(self, icon_pos:'EntryIconPosition') -> str: ...
def get_icon_pixbuf(self, icon_pos:'EntryIconPosition') -> 'gi.repository.GdkPixbuf.Pixbuf': ...
def get_icon_sensitive(self, icon_pos:'EntryIconPosition') -> bool: ...
def get_icon_stock(self, icon_pos:'EntryIconPosition') -> str: ...
def get_icon_storage_type(self, icon_pos:'EntryIconPosition') -> 'ImageType': ...
def get_icon_tooltip_markup(self, icon_pos:'EntryIconPosition') -> str: ...
def get_icon_tooltip_text(self, icon_pos:'EntryIconPosition') -> str: ...
def get_inner_border(self) -> 'Border': ...
def get_input_hints(self) -> 'InputHints': ...
def get_input_purpose(self) -> 'InputPurpose': ...
def get_invisible_char(self) -> str: ...
def get_layout(self) -> 'gi.repository.Pango.Layout': ...
def get_layout_offsets(self) -> 'typing.Tuple[int, int]': ...
def get_max_length(self) -> int: ...
def get_max_width_chars(self) -> int: ...
def get_overwrite_mode(self) -> bool: ...
def get_placeholder_text(self) -> str: ...
def get_progress_fraction(self) -> float: ...
def get_progress_pulse_step(self) -> float: ...
def get_tabs(self) -> 'gi.repository.Pango.TabArray': ...
def get_text(self) -> str: ...
def get_text_area(self) -> 'typing.Tuple[gi.repository.Gdk.Rectangle]': ...
def get_text_length(self) -> int: ...
def get_visibility(self) -> bool: ...
def get_width_chars(self) -> int: ...
def grab_focus_without_selecting(self) -> None: ...
def im_context_filter_keypress(self, event:'gi.repository.Gdk.EventKey') -> bool: ...
def layout_index_to_text_index(self, layout_index:int) -> int: ...
@staticmethod
def new_with_buffer(buffer:'EntryBuffer') -> 'Widget': ...
parent_instance = ... # type: Widget
def progress_pulse(self) -> None: ...
def reset_im_context(self) -> None: ...
def set_activates_default(self, setting:bool) -> None: ...
def set_alignment(self, xalign:float) -> None: ...
def set_attributes(self, attrs:'gi.repository.Pango.AttrList') -> None: ...
def set_buffer(self, buffer:'EntryBuffer') -> None: ...
def set_completion(self, completion:'EntryCompletion') -> None: ...
def set_cursor_hadjustment(self, adjustment:'Adjustment') -> None: ...
def set_has_frame(self, setting:bool) -> None: ...
def set_icon_activatable(self, icon_pos:'EntryIconPosition', activatable:bool) -> None: ...
def set_icon_drag_source(self, icon_pos:'EntryIconPosition', target_list:'TargetList', actions:'gi.repository.Gdk.DragAction') -> None: ...
def set_icon_from_gicon(self, icon_pos:'EntryIconPosition', icon:'gi.repository.Gio.Icon') -> None: ...
def set_icon_from_icon_name(self, icon_pos:'EntryIconPosition', icon_name:str) -> None: ...
def set_icon_from_pixbuf(self, icon_pos:'EntryIconPosition', pixbuf:'gi.repository.GdkPixbuf.Pixbuf') -> None: ...
def set_icon_from_stock(self, icon_pos:'EntryIconPosition', stock_id:str) -> None: ...
def set_icon_sensitive(self, icon_pos:'EntryIconPosition', sensitive:bool) -> None: ...
def set_icon_tooltip_markup(self, icon_pos:'EntryIconPosition', tooltip:str) -> None: ...
def set_icon_tooltip_text(self, icon_pos:'EntryIconPosition', tooltip:str) -> None: ...
def set_inner_border(self, border:'Border') -> None: ...
def set_input_hints(self, hints:'InputHints') -> None: ...
def set_input_purpose(self, purpose:'InputPurpose') -> None: ...
def set_invisible_char(self, ch:str) -> None: ...
def set_max_length(self, max:int) -> None: ...
def set_max_width_chars(self, n_chars:int) -> None: ...
def set_overwrite_mode(self, overwrite:bool) -> None: ...
def set_placeholder_text(self, text:str) -> None: ...
def set_progress_fraction(self, fraction:float) -> None: ...
def set_progress_pulse_step(self, fraction:float) -> None: ...
def set_tabs(self, tabs:'gi.repository.Pango.TabArray') -> None: ...
def set_text(self, text:str) -> None: ...
def set_visibility(self, visible:bool) -> None: ...
def set_width_chars(self, n_chars:int) -> None: ...
def text_index_to_layout_index(self, text_index:int) -> int: ...
def unset_invisible_char(self) -> None: ...
...
class EntryAccessible(WidgetAccessible):
parent = ... # type: WidgetAccessible
...
class EntryBuffer(gi.repository.GObject.GObject):
def delete_text(self, position:int, n_chars:int) -> int: ...
def do_delete_text(self, position:int, n_chars:int) -> int: ...
def do_deleted_text(self, position:int, n_chars:int) -> None: ...
def do_get_length(self) -> int: ...
def do_get_text(self, n_bytes:int) -> str: ...
def do_insert_text(self, position:int, chars:str, n_chars:int) -> int: ...
def do_inserted_text(self, position:int, chars:str, n_chars:int) -> None: ...
def emit_deleted_text(self, position:int, n_chars:int) -> None: ...
def emit_inserted_text(self, position:int, chars:str, n_chars:int) -> None: ...
def get_bytes(self) -> int: ...
def get_length(self) -> int: ...
def get_max_length(self) -> int: ...
def get_text(self) -> str: ...
def insert_text(self, position:int, chars:str, n_chars:int) -> int: ...
parent_instance = ... # type: gi.repository.GObject.GObject
def set_max_length(self, max_length:int) -> None: ...
def set_text(self, chars:str, n_chars:int) -> None: ...
...
class EntryCompletion(gi.repository.GObject.GObject):
def complete(self) -> None: ...
def compute_prefix(self, key:str) -> str: ...
def delete_action(self, index_:int) -> None: ...
def do_action_activated(self, index_:int) -> None: ...
def do_cursor_on_match(self, model:'TreeModel', iter:'TreeIter') -> bool: ...
def do_insert_prefix(self, prefix:str) -> bool: ...
def do_match_selected(self, model:'TreeModel', iter:'TreeIter') -> bool: ...
def do_no_matches(self) -> None: ...
def get_completion_prefix(self) -> str: ...
def get_entry(self) -> 'Widget': ...
def get_inline_completion(self) -> bool: ...
def get_inline_selection(self) -> bool: ...
def get_minimum_key_length(self) -> int: ...
def get_model(self) -> 'TreeModel': ...
def get_popup_completion(self) -> bool: ...
def get_popup_set_width(self) -> bool: ...
def get_popup_single_match(self) -> bool: ...
def get_text_column(self) -> int: ...
def insert_action_markup(self, index_:int, markup:str) -> None: ...
def insert_action_text(self, index_:int, text:str) -> None: ...
def insert_prefix(self) -> None: ...
@staticmethod
def new_with_area(area:'CellArea') -> 'EntryCompletion': ...
parent_instance = ... # type: gi.repository.GObject.GObject
def set_inline_completion(self, inline_completion:bool) -> None: ...
def set_inline_selection(self, inline_selection:bool) -> None: ...
def set_match_func(self, func:'typing.Callable[[EntryCompletion, str, TreeIter, typing.Any], bool]', func_data:'typing.Any', func_notify:'typing.Callable[[typing.Any], typing.Any]') -> None: ...
def set_minimum_key_length(self, length:int) -> None: ...
def set_model(self, model:'TreeModel') -> None: ...
def set_popup_completion(self, popup_completion:bool) -> None: ...
def set_popup_set_width(self, popup_set_width:bool) -> None: ...
def set_popup_single_match(self, popup_single_match:bool) -> None: ...
def set_text_column(self, column:int) -> None: ...
...
class EntryIconAccessible(gi.repository.Atk.Object):
...
class EntryIconPosition:
PRIMARY = ... # type: EntryIconPosition
SECONDARY = ... # type: EntryIconPosition
...
class EventBox(Bin):
bin = ... # type: Bin
def get_above_child(self) -> bool: ...
def get_visible_window(self) -> bool: ...
def set_above_child(self, above_child:bool) -> None: ...
def set_visible_window(self, visible_window:bool) -> None: ...
...
class EventController(gi.repository.GObject.GObject):
def get_propagation_phase(self) -> 'PropagationPhase': ...
def get_widget(self) -> 'Widget': ...
def handle_event(self, event:'gi.repository.Gdk.Event') -> bool: ...
def reset(self) -> None: ...
def set_propagation_phase(self, phase:'PropagationPhase') -> None: ...
...
class EventSequenceState:
CLAIMED = ... # type: EventSequenceState
DENIED = ... # type: EventSequenceState
NONE = ... # type: EventSequenceState
...
class Expander(Bin):
bin = ... # type: Bin
def do_activate(self) -> None: ...
def get_expanded(self) -> bool: ...
def get_label(self) -> str: ...
def get_label_fill(self) -> bool: ...
def get_label_widget(self) -> 'Widget': ...
def get_resize_toplevel(self) -> bool: ...
def get_spacing(self) -> int: ...
def get_use_markup(self) -> bool: ...
def get_use_underline(self) -> bool: ...
@staticmethod
def new_with_mnemonic(label:str) -> 'Widget': ...
def set_expanded(self, expanded:bool) -> None: ...
def set_label(self, label:str) -> None: ...
def set_label_fill(self, label_fill:bool) -> None: ...
def set_label_widget(self, label_widget:'Widget') -> None: ...
def set_resize_toplevel(self, resize_toplevel:bool) -> None: ...
def set_spacing(self, spacing:int) -> None: ...
def set_use_markup(self, use_markup:bool) -> None: ...
def set_use_underline(self, use_underline:bool) -> None: ...
...
class ExpanderAccessible(ContainerAccessible):
parent = ... # type: ContainerAccessible
...
class ExpanderStyle:
COLLAPSED = ... # type: ExpanderStyle
EXPANDED = ... # type: ExpanderStyle
SEMI_COLLAPSED = ... # type: ExpanderStyle
SEMI_EXPANDED = ... # type: ExpanderStyle
...
class FileChooser:
def add_choice(self, id:str, label:str, options:'typing.List[str]', option_labels:'typing.List[str]') -> None: ...
def add_filter(self, filter:'FileFilter') -> None: ...
def add_shortcut_folder(self, folder:str) -> bool: ...
def add_shortcut_folder_uri(self, uri:str) -> bool: ...
def get_action(self) -> 'FileChooserAction': ...
def get_choice(self, id:str) -> str: ...
def get_create_folders(self) -> bool: ...
def get_current_folder(self) -> str: ...
def get_current_folder_file(self) -> 'gi.repository.Gio.File': ...
def get_current_folder_uri(self) -> str: ...
def get_current_name(self) -> str: ...
def get_do_overwrite_confirmation(self) -> bool: ...
def get_extra_widget(self) -> 'Widget': ...
def get_file(self) -> 'gi.repository.Gio.File': ...
def get_filename(self) -> str: ...
def get_filenames(self) -> 'typing.List[str]': ...
def get_files(self) -> 'typing.List[gi.repository.Gio.File]': ...
def get_filter(self) -> 'FileFilter': ...
def get_local_only(self) -> bool: ...
def get_preview_file(self) -> 'gi.repository.Gio.File': ...
def get_preview_filename(self) -> str: ...
def get_preview_uri(self) -> str: ...
def get_preview_widget(self) -> 'Widget': ...
def get_preview_widget_active(self) -> bool: ...
def get_select_multiple(self) -> bool: ...
def get_show_hidden(self) -> bool: ...
def get_uri(self) -> str: ...
def get_uris(self) -> 'typing.List[str]': ...
def get_use_preview_label(self) -> bool: ...
def list_filters(self) -> 'typing.List[FileFilter]': ...
def list_shortcut_folder_uris(self) -> 'typing.List[str]': ...
def list_shortcut_folders(self) -> 'typing.List[str]': ...
def remove_choice(self, id:str) -> None: ...
def remove_filter(self, filter:'FileFilter') -> None: ...
def remove_shortcut_folder(self, folder:str) -> bool: ...
def remove_shortcut_folder_uri(self, uri:str) -> bool: ...
def select_all(self) -> None: ...
def select_file(self, file:'gi.repository.Gio.File') -> bool: ...
def select_filename(self, filename:str) -> bool: ...
def select_uri(self, uri:str) -> bool: ...
def set_action(self, action:'FileChooserAction') -> None: ...
def set_choice(self, id:str, option:str) -> None: ...
def set_create_folders(self, create_folders:bool) -> None: ...
def set_current_folder(self, filename:str) -> bool: ...
def set_current_folder_file(self, file:'gi.repository.Gio.File') -> bool: ...
def set_current_folder_uri(self, uri:str) -> bool: ...
def set_current_name(self, name:str) -> None: ...
def set_do_overwrite_confirmation(self, do_overwrite_confirmation:bool) -> None: ...
def set_extra_widget(self, extra_widget:'Widget') -> None: ...
def set_file(self, file:'gi.repository.Gio.File') -> bool: ...
def set_filename(self, filename:str) -> bool: ...
def set_filter(self, filter:'FileFilter') -> None: ...
def set_local_only(self, local_only:bool) -> None: ...
def set_preview_widget(self, preview_widget:'Widget') -> None: ...
def set_preview_widget_active(self, active:bool) -> None: ...
def set_select_multiple(self, select_multiple:bool) -> None: ...
def set_show_hidden(self, show_hidden:bool) -> None: ...
def set_uri(self, uri:str) -> bool: ...
def set_use_preview_label(self, use_label:bool) -> None: ...
def unselect_all(self) -> None: ...
def unselect_file(self, file:'gi.repository.Gio.File') -> None: ...
def unselect_filename(self, filename:str) -> None: ...
def unselect_uri(self, uri:str) -> None: ...
...
class FileChooserAction:
CREATE_FOLDER = ... # type: FileChooserAction
OPEN = ... # type: FileChooserAction
SAVE = ... # type: FileChooserAction
SELECT_FOLDER = ... # type: FileChooserAction
...
class FileChooserButton(Box):
def do_file_set(self) -> None: ...
def get_focus_on_click(self) -> bool: ...
def get_title(self) -> str: ...
def get_width_chars(self) -> int: ...
@staticmethod
def new_with_dialog(dialog:'Dialog') -> 'Widget': ...
parent = ... # type: Box
def set_focus_on_click(self, focus_on_click:bool) -> None: ...
def set_title(self, title:str) -> None: ...
def set_width_chars(self, n_chars:int) -> None: ...
...
class FileChooserConfirmation:
ACCEPT_FILENAME = ... # type: FileChooserConfirmation
CONFIRM = ... # type: FileChooserConfirmation
SELECT_AGAIN = ... # type: FileChooserConfirmation
...
class FileChooserDialog(Dialog):
parent_instance = ... # type: Dialog
...
class FileChooserError:
ALREADY_EXISTS = ... # type: FileChooserError
BAD_FILENAME = ... # type: FileChooserError
INCOMPLETE_HOSTNAME = ... # type: FileChooserError
NONEXISTENT = ... # type: FileChooserError
@staticmethod
def quark() -> int: ...
...
class FileChooserNative(NativeDialog):
def get_accept_label(self) -> str: ...
def get_cancel_label(self) -> str: ...
def set_accept_label(self, accept_label:str) -> None: ...
def set_cancel_label(self, cancel_label:str) -> None: ...
...
class FileChooserWidget(Box):
parent_instance = ... # type: Box
...
class FileFilter(gi.repository.GObject.InitiallyUnowned):
def add_custom(self, needed:'FileFilterFlags', func:'typing.Callable[[FileFilterInfo, typing.Any], bool]', data:'typing.Any', notify:'typing.Callable[[typing.Any], typing.Any]') -> None: ...
def add_mime_type(self, mime_type:str) -> None: ...
def add_pattern(self, pattern:str) -> None: ...
def add_pixbuf_formats(self) -> None: ...
def filter(self, filter_info:'FileFilterInfo') -> bool: ...
def get_name(self) -> str: ...
def get_needed(self) -> 'FileFilterFlags': ...
@staticmethod
def new_from_gvariant(variant:'gi.repository.GLib.Variant') -> 'FileFilter': ...
def set_name(self, name:str) -> None: ...
def to_gvariant(self) -> 'gi.repository.GLib.Variant': ...
...
class FileFilterFlags:
DISPLAY_NAME = ... # type: FileFilterFlags
FILENAME = ... # type: FileFilterFlags
MIME_TYPE = ... # type: FileFilterFlags
URI = ... # type: FileFilterFlags
...
class FileFilterInfo:
contains = ... # type: FileFilterFlags
display_name = ... # type: str
filename = ... # type: str
mime_type = ... # type: str
uri = ... # type: str
...
class Fixed(Container):
container = ... # type: Container
def move(self, widget:'Widget', x:int, y:int) -> None: ...
def put(self, widget:'Widget', x:int, y:int) -> None: ...
...
class FixedChild:
x = ... # type: int
y = ... # type: int
...
class FlowBox(Container):
def bind_model(self, model:'gi.repository.Gio.ListModel', create_widget_func:'typing.Callable[[gi.repository.GObject.GObject, typing.Any], Widget]', user_data:'typing.Any', user_data_free_func:'typing.Callable[[typing.Any], typing.Any]') -> None: ...
container = ... # type: Container
def do_activate_cursor_child(self) -> None: ...
def do_child_activated(self, child:'FlowBoxChild') -> None: ...
def do_move_cursor(self, step:'MovementStep', count:int) -> bool: ...
def do_select_all(self) -> None: ...
def do_selected_children_changed(self) -> None: ...
def do_toggle_cursor_child(self) -> None: ...
def do_unselect_all(self) -> None: ...
def get_activate_on_single_click(self) -> bool: ...
def get_child_at_index(self, idx:int) -> 'FlowBoxChild': ...
def get_child_at_pos(self, x:int, y:int) -> 'FlowBoxChild': ...
def get_column_spacing(self) -> int: ...
def get_homogeneous(self) -> bool: ...
def get_max_children_per_line(self) -> int: ...
def get_min_children_per_line(self) -> int: ...
def get_row_spacing(self) -> int: ...
def get_selected_children(self) -> 'typing.List[FlowBoxChild]': ...
def get_selection_mode(self) -> 'SelectionMode': ...
def insert(self, widget:'Widget', position:int) -> None: ...
def invalidate_filter(self) -> None: ...
def invalidate_sort(self) -> None: ...
def select_all(self) -> None: ...
def select_child(self, child:'FlowBoxChild') -> None: ...
def selected_foreach(self, func:'typing.Callable[[FlowBox, FlowBoxChild, typing.Any], typing.Any]', data:'typing.Any') -> None: ...
def set_activate_on_single_click(self, single:bool) -> None: ...
def set_column_spacing(self, spacing:int) -> None: ...
def set_filter_func(self, filter_func:'typing.Callable[[FlowBoxChild, typing.Any], bool]', user_data:'typing.Any', destroy:'typing.Callable[[typing.Any], typing.Any]') -> None: ...
def set_hadjustment(self, adjustment:'Adjustment') -> None: ...
def set_homogeneous(self, homogeneous:bool) -> None: ...
def set_max_children_per_line(self, n_children:int) -> None: ...
def set_min_children_per_line(self, n_children:int) -> None: ...
def set_row_spacing(self, spacing:int) -> None: ...
def set_selection_mode(self, mode:'SelectionMode') -> None: ...
def set_sort_func(self, sort_func:'typing.Callable[[FlowBoxChild, FlowBoxChild, typing.Any], int]', user_data:'typing.Any', destroy:'typing.Callable[[typing.Any], typing.Any]') -> None: ...
def set_vadjustment(self, adjustment:'Adjustment') -> None: ...
def unselect_all(self) -> None: ...
def unselect_child(self, child:'FlowBoxChild') -> None: ...
...
class FlowBoxAccessible(ContainerAccessible):
parent = ... # type: ContainerAccessible
...
class FlowBoxChild(Bin):
def changed(self) -> None: ...
def do_activate(self) -> None: ...
def get_index(self) -> int: ...
def is_selected(self) -> bool: ...
parent_instance = ... # type: Bin
...
class FlowBoxChildAccessible(ContainerAccessible):
parent = ... # type: ContainerAccessible
...
class FontButton(Button):
button = ... # type: Button
def do_font_set(self) -> None: ...
def get_font_name(self) -> str: ...
def get_show_size(self) -> bool: ...
def get_show_style(self) -> bool: ...
def get_title(self) -> str: ...
def get_use_font(self) -> bool: ...
def get_use_size(self) -> bool: ...
@staticmethod
def new_with_font(fontname:str) -> 'Widget': ...
def set_font_name(self, fontname:str) -> bool: ...
def set_show_size(self, show_size:bool) -> None: ...
def set_show_style(self, show_style:bool) -> None: ...
def set_title(self, title:str) -> None: ...
def set_use_font(self, use_font:bool) -> None: ...
def set_use_size(self, use_size:bool) -> None: ...
...
class FontChooser:
def get_font(self) -> str: ...
def get_font_desc(self) -> 'gi.repository.Pango.FontDescription': ...
def get_font_face(self) -> 'gi.repository.Pango.FontFace': ...
def get_font_family(self) -> 'gi.repository.Pango.FontFamily': ...
def get_font_map(self) -> 'gi.repository.Pango.FontMap': ...
def get_font_size(self) -> int: ...
def get_preview_text(self) -> str: ...
def get_show_preview_entry(self) -> bool: ...
def set_filter_func(self, filter:'typing.Callable[[gi.repository.Pango.FontFamily, gi.repository.Pango.FontFace, typing.Any], bool]', user_data:'typing.Any', destroy:'typing.Callable[[typing.Any], typing.Any]') -> None: ...
def set_font(self, fontname:str) -> None: ...
def set_font_desc(self, font_desc:'gi.repository.Pango.FontDescription') -> None: ...
def set_font_map(self, fontmap:'gi.repository.Pango.FontMap') -> None: ...
def set_preview_text(self, text:str) -> None: ...
def set_show_preview_entry(self, show_preview_entry:bool) -> None: ...
...
class FontChooserDialog(Dialog):
parent_instance = ... # type: Dialog
...
class FontChooserIface:
base_iface = ... # type: gi.repository.GObject.TypeInterface
font_activated = ... # type: typing.Callable[[FontChooser, str], typing.Any]
get_font_face = ... # type: typing.Callable[[FontChooser], gi.repository.Pango.FontFace]
get_font_family = ... # type: typing.Callable[[FontChooser], gi.repository.Pango.FontFamily]
get_font_map = ... # type: typing.Callable[[FontChooser], gi.repository.Pango.FontMap]
get_font_size = ... # type: typing.Callable[[FontChooser], int]
padding = ... # type: typing.List[typing.Any]
set_filter_func = ... # type: typing.Callable[[FontChooser, typing.Callable[[gi.repository.Pango.FontFamily, gi.repository.Pango.FontFace, typing.Any], bool], typing.Any, typing.Callable[[typing.Any], typing.Any]], typing.Any]
set_font_map = ... # type: typing.Callable[[FontChooser, gi.repository.Pango.FontMap], typing.Any]
...
class FontChooserWidget(Box):
parent_instance = ... # type: Box
...
class FontSelection(Box):
def get_face(self) -> 'gi.repository.Pango.FontFace': ...
def get_face_list(self) -> 'Widget': ...
def get_family(self) -> 'gi.repository.Pango.FontFamily': ...
def get_family_list(self) -> 'Widget': ...
def get_font_name(self) -> str: ...
def get_preview_entry(self) -> 'Widget': ...
def get_preview_text(self) -> str: ...
def get_size(self) -> int: ...
def get_size_entry(self) -> 'Widget': ...
def get_size_list(self) -> 'Widget': ...
parent_instance = ... # type: Box
def set_font_name(self, fontname:str) -> bool: ...
def set_preview_text(self, text:str) -> None: ...
...
class FontSelectionDialog(Dialog):
def get_cancel_button(self) -> 'Widget': ...
def get_font_name(self) -> str: ...
def get_font_selection(self) -> 'Widget': ...
def get_ok_button(self) -> 'Widget': ...
def get_preview_text(self) -> str: ...
parent_instance = ... # type: Dialog
def set_font_name(self, fontname:str) -> bool: ...
def set_preview_text(self, text:str) -> None: ...
...
class Frame(Bin):
bin = ... # type: Bin
def do_compute_child_allocation(self, allocation:'gi.repository.Gdk.Rectangle') -> None: ...
def get_label(self) -> str: ...
def get_label_align(self) -> 'typing.Tuple[float, float]': ...
def get_label_widget(self) -> 'Widget': ...
def get_shadow_type(self) -> 'ShadowType': ...
def set_label(self, label:str) -> None: ...
def set_label_align(self, xalign:float, yalign:float) -> None: ...
def set_label_widget(self, label_widget:'Widget') -> None: ...
def set_shadow_type(self, type:'ShadowType') -> None: ...
...
class FrameAccessible(ContainerAccessible):
parent = ... # type: ContainerAccessible
...
class GLArea(Widget):
def attach_buffers(self) -> None: ...
def do_render(self, context:'gi.repository.Gdk.GLContext') -> bool: ...
def do_resize(self, width:int, height:int) -> None: ...
def get_auto_render(self) -> bool: ...
def get_context(self) -> 'gi.repository.Gdk.GLContext': ...
def get_error(self) -> 'gi.repository.GLib.Error': ...
def get_has_alpha(self) -> bool: ...
def get_has_depth_buffer(self) -> bool: ...
def get_has_stencil_buffer(self) -> bool: ...
def get_required_version(self) -> 'typing.Tuple[int, int]': ...
def get_use_es(self) -> bool: ...
def make_current(self) -> None: ...
parent_instance = ... # type: Widget
def queue_render(self) -> None: ...
def set_auto_render(self, auto_render:bool) -> None: ...
def set_error(self, error:'gi.repository.GLib.Error') -> None: ...
def set_has_alpha(self, has_alpha:bool) -> None: ...
def set_has_depth_buffer(self, has_depth_buffer:bool) -> None: ...
def set_has_stencil_buffer(self, has_stencil_buffer:bool) -> None: ...
def set_required_version(self, major:int, minor:int) -> None: ...
def set_use_es(self, use_es:bool) -> None: ...
...
class Gesture(EventController):
def get_bounding_box(self) -> 'typing.Tuple[bool, gi.repository.Gdk.Rectangle]': ...
def get_bounding_box_center(self) -> 'typing.Tuple[bool, float, float]': ...
def get_device(self) -> 'gi.repository.Gdk.Device': ...
def get_group(self) -> 'typing.List[Gesture]': ...
def get_last_event(self, sequence:'gi.repository.Gdk.EventSequence') -> 'gi.repository.Gdk.Event': ...
def get_last_updated_sequence(self) -> 'gi.repository.Gdk.EventSequence': ...
def get_point(self, sequence:'gi.repository.Gdk.EventSequence') -> 'typing.Tuple[bool, float, float]': ...
def get_sequence_state(self, sequence:'gi.repository.Gdk.EventSequence') -> 'EventSequenceState': ...
def get_sequences(self) -> 'typing.List[gi.repository.Gdk.EventSequence]': ...
def get_window(self) -> 'gi.repository.Gdk.Window': ...
def group(self, gesture:'Gesture') -> None: ...
def handles_sequence(self, sequence:'gi.repository.Gdk.EventSequence') -> bool: ...
def is_active(self) -> bool: ...
def is_grouped_with(self, other:'Gesture') -> bool: ...
def is_recognized(self) -> bool: ...
def set_sequence_state(self, sequence:'gi.repository.Gdk.EventSequence', state:'EventSequenceState') -> bool: ...
def set_state(self, state:'EventSequenceState') -> bool: ...
def set_window(self, window:'gi.repository.Gdk.Window') -> None: ...
def ungroup(self) -> None: ...
...
class GestureDrag(GestureSingle):
def get_offset(self) -> 'typing.Tuple[bool, float, float]': ...
def get_start_point(self) -> 'typing.Tuple[bool, float, float]': ...
...
class GestureLongPress(GestureSingle):
...
class GestureMultiPress(GestureSingle):
def get_area(self) -> 'typing.Tuple[bool, gi.repository.Gdk.Rectangle]': ...
def set_area(self, rect:'gi.repository.Gdk.Rectangle') -> None: ...
...
class GesturePan(GestureDrag):
def get_orientation(self) -> 'Orientation': ...
def set_orientation(self, orientation:'Orientation') -> None: ...
...
class GestureRotate(Gesture):
def get_angle_delta(self) -> float: ...
...
class GestureSingle(Gesture):
def get_button(self) -> int: ...
def get_current_button(self) -> int: ...
def get_current_sequence(self) -> 'gi.repository.Gdk.EventSequence': ...
def get_exclusive(self) -> bool: ...
def get_touch_only(self) -> bool: ...
def set_button(self, button:int) -> None: ...
def set_exclusive(self, exclusive:bool) -> None: ...
def set_touch_only(self, touch_only:bool) -> None: ...
...
class GestureSwipe(GestureSingle):
def get_velocity(self) -> 'typing.Tuple[bool, float, float]': ...
...
class GestureZoom(Gesture):
def get_scale_delta(self) -> float: ...
...
class Gradient:
def add_color_stop(self, offset:float, color:'SymbolicColor') -> None: ...
@staticmethod
def new_linear(x0:float, y0:float, x1:float, y1:float) -> 'Gradient': ...
@staticmethod
def new_radial(x0:float, y0:float, radius0:float, x1:float, y1:float, radius1:float) -> 'Gradient': ...
def ref(self) -> 'Gradient': ...
def resolve(self, props:'StyleProperties') -> 'typing.Tuple[bool, gi.repository.cairo.Pattern]': ...
def resolve_for_context(self, context:'StyleContext') -> 'gi.repository.cairo.Pattern': ...
def to_string(self) -> str: ...
def unref(self) -> None: ...
...
class Grid(Container):
def attach(self, child:'Widget', left:int, top:int, width:int, height:int) -> None: ...
def attach_next_to(self, child:'Widget', sibling:'Widget', side:'PositionType', width:int, height:int) -> None: ...
container = ... # type: Container
def get_baseline_row(self) -> int: ...
def get_child_at(self, left:int, top:int) -> 'Widget': ...
def get_column_homogeneous(self) -> bool: ...
def get_column_spacing(self) -> int: ...
def get_row_baseline_position(self, row:int) -> 'BaselinePosition': ...
def get_row_homogeneous(self) -> bool: ...
def get_row_spacing(self) -> int: ...
def insert_column(self, position:int) -> None: ...
def insert_next_to(self, sibling:'Widget', side:'PositionType') -> None: ...
def insert_row(self, position:int) -> None: ...
def remove_column(self, position:int) -> None: ...
def remove_row(self, position:int) -> None: ...
def set_baseline_row(self, row:int) -> None: ...
def set_column_homogeneous(self, homogeneous:bool) -> None: ...
def set_column_spacing(self, spacing:int) -> None: ...
def set_row_baseline_position(self, row:int, pos:'BaselinePosition') -> None: ...
def set_row_homogeneous(self, homogeneous:bool) -> None: ...
def set_row_spacing(self, spacing:int) -> None: ...
...
class HBox(Box):
box = ... # type: Box
...
class HButtonBox(ButtonBox):
button_box = ... # type: ButtonBox
...
class HPaned(Paned):
paned = ... # type: Paned
...
class HSV(Widget):
def do_changed(self) -> None: ...
def do_move(self, type:'DirectionType') -> None: ...
def get_color(self) -> 'typing.Tuple[float, float, float]': ...
def get_metrics(self) -> 'typing.Tuple[int, int]': ...
def is_adjusting(self) -> bool: ...
parent_instance = ... # type: Widget
def set_color(self, h:float, s:float, v:float) -> None: ...
def set_metrics(self, size:int, ring_width:int) -> None: ...
@staticmethod
def to_rgb(h:float, s:float, v:float) -> 'typing.Tuple[float, float, float]': ...
...
class HScale(Scale):
@staticmethod
def new_with_range(min:float, max:float, step:float) -> 'Widget': ...
scale = ... # type: Scale
...
class HScrollbar(Scrollbar):
scrollbar = ... # type: Scrollbar
...
class HSeparator(Separator):
separator = ... # type: Separator
...
class HandleBox(Bin):
bin = ... # type: Bin
def do_child_attached(self, child:'Widget') -> None: ...
def do_child_detached(self, child:'Widget') -> None: ...
def get_child_detached(self) -> bool: ...
def get_handle_position(self) -> 'PositionType': ...
def get_shadow_type(self) -> 'ShadowType': ...
def get_snap_edge(self) -> 'PositionType': ...
def set_handle_position(self, position:'PositionType') -> None: ...
def set_shadow_type(self, type:'ShadowType') -> None: ...
def set_snap_edge(self, edge:'PositionType') -> None: ...
...
class HeaderBar(Container):
container = ... # type: Container
def get_custom_title(self) -> 'Widget': ...
def get_decoration_layout(self) -> str: ...
def get_has_subtitle(self) -> bool: ...
def get_show_close_button(self) -> bool: ...
def get_subtitle(self) -> str: ...
def get_title(self) -> str: ...
def pack_end(self, child:'Widget') -> None: ...
def pack_start(self, child:'Widget') -> None: ...
def set_custom_title(self, title_widget:'Widget') -> None: ...
def set_decoration_layout(self, layout:str) -> None: ...
def set_has_subtitle(self, setting:bool) -> None: ...
def set_show_close_button(self, setting:bool) -> None: ...
def set_subtitle(self, subtitle:str) -> None: ...
def set_title(self, title:str) -> None: ...
...
class IMContext(gi.repository.GObject.GObject):
def delete_surrounding(self, offset:int, n_chars:int) -> bool: ...
def do_commit(self, str:str) -> None: ...
def do_delete_surrounding(self, offset:int, n_chars:int) -> bool: ...
def do_filter_keypress(self, event:'gi.repository.Gdk.EventKey') -> bool: ...
def do_focus_in(self) -> None: ...
def do_focus_out(self) -> None: ...
def do_get_preedit_string(self) -> 'typing.Tuple[str, gi.repository.Pango.AttrList, int]': ...
def do_get_surrounding(self) -> 'typing.Tuple[bool, str, int]': ...
def do_preedit_changed(self) -> None: ...
def do_preedit_end(self) -> None: ...
def do_preedit_start(self) -> None: ...
def do_reset(self) -> None: ...
def do_retrieve_surrounding(self) -> bool: ...
def do_set_client_window(self, window:'gi.repository.Gdk.Window') -> None: ...
def do_set_cursor_location(self, area:'gi.repository.Gdk.Rectangle') -> None: ...
def do_set_surrounding(self, text:str, len:int, cursor_index:int) -> None: ...
def do_set_use_preedit(self, use_preedit:bool) -> None: ...
def filter_keypress(self, event:'gi.repository.Gdk.EventKey') -> bool: ...
def focus_in(self) -> None: ...
def focus_out(self) -> None: ...
def get_preedit_string(self) -> 'typing.Tuple[str, gi.repository.Pango.AttrList, int]': ...
def get_surrounding(self) -> 'typing.Tuple[str, int]': ...
parent_instance = ... # type: gi.repository.GObject.GObject
def reset(self) -> None: ...
def set_client_window(self, window:'gi.repository.Gdk.Window') -> None: ...
def set_cursor_location(self, area:'gi.repository.Gdk.Rectangle') -> None: ...
def set_surrounding(self, text:str, len:int, cursor_index:int) -> None: ...
def set_use_preedit(self, use_preedit:bool) -> None: ...
...
class IMContextInfo:
context_id = ... # type: str
context_name = ... # type: str
default_locales = ... # type: str
domain = ... # type: str
domain_dirname = ... # type: str
...
class IMContextSimple(IMContext):
def add_compose_file(self, compose_file:str) -> None: ...
object = ... # type: IMContext
...
class IMMulticontext(IMContext):
def append_menuitems(self, menushell:'MenuShell') -> None: ...
def get_context_id(self) -> str: ...
object = ... # type: IMContext
def set_context_id(self, context_id:str) -> None: ...
...
class IMPreeditStyle:
CALLBACK = ... # type: IMPreeditStyle
NONE = ... # type: IMPreeditStyle
NOTHING = ... # type: IMPreeditStyle
...
class IMStatusStyle:
CALLBACK = ... # type: IMStatusStyle
NONE = ... # type: IMStatusStyle
NOTHING = ... # type: IMStatusStyle
...
INPUT_ERROR = ... # type: int
INTERFACE_AGE = ... # type: int
class IconFactory(gi.repository.GObject.GObject):
def add(self, stock_id:str, icon_set:'IconSet') -> None: ...
def add_default(self) -> None: ...
def lookup(self, stock_id:str) -> 'IconSet': ...
@staticmethod
def lookup_default(stock_id:str) -> 'IconSet': ...
parent_instance = ... # type: gi.repository.GObject.GObject
def remove_default(self) -> None: ...
...
class IconInfo(gi.repository.GObject.GObject):
def get_attach_points(self) -> 'typing.Tuple[bool, typing.List[gi.repository.Gdk.Point], int]': ...
def get_base_scale(self) -> int: ...
def get_base_size(self) -> int: ...
def get_builtin_pixbuf(self) -> 'gi.repository.GdkPixbuf.Pixbuf': ...
def get_display_name(self) -> str: ...
def get_embedded_rect(self) -> 'typing.Tuple[bool, gi.repository.Gdk.Rectangle]': ...
def get_filename(self) -> str: ...
def is_symbolic(self) -> bool: ...
def load_icon(self) -> 'gi.repository.GdkPixbuf.Pixbuf': ...
def load_icon_async(self, cancellable:'gi.repository.Gio.Cancellable', callback:'typing.Callable[[gi.repository.GObject.GObject, gi.repository.Gio.AsyncResult, typing.Any], typing.Any]', user_data:'typing.Any') -> None: ...
def load_icon_finish(self, res:'gi.repository.Gio.AsyncResult') -> 'gi.repository.GdkPixbuf.Pixbuf': ...
def load_surface(self, for_window:'gi.repository.Gdk.Window') -> 'gi.repository.cairo.Surface': ...
def load_symbolic(self, fg:'gi.repository.Gdk.RGBA', success_color:'gi.repository.Gdk.RGBA', warning_color:'gi.repository.Gdk.RGBA', error_color:'gi.repository.Gdk.RGBA') -> 'typing.Tuple[gi.repository.GdkPixbuf.Pixbuf, bool]': ...
def load_symbolic_async(self, fg:'gi.repository.Gdk.RGBA', success_color:'gi.repository.Gdk.RGBA', warning_color:'gi.repository.Gdk.RGBA', error_color:'gi.repository.Gdk.RGBA', cancellable:'gi.repository.Gio.Cancellable', callback:'typing.Callable[[gi.repository.GObject.GObject, gi.repository.Gio.AsyncResult, typing.Any], typing.Any]', user_data:'typing.Any') -> None: ...
def load_symbolic_finish(self, res:'gi.repository.Gio.AsyncResult') -> 'typing.Tuple[gi.repository.GdkPixbuf.Pixbuf, bool]': ...
def load_symbolic_for_context(self, context:'StyleContext') -> 'typing.Tuple[gi.repository.GdkPixbuf.Pixbuf, bool]': ...
def load_symbolic_for_context_async(self, context:'StyleContext', cancellable:'gi.repository.Gio.Cancellable', callback:'typing.Callable[[gi.repository.GObject.GObject, gi.repository.Gio.AsyncResult, typing.Any], typing.Any]', user_data:'typing.Any') -> None: ...
def load_symbolic_for_context_finish(self, res:'gi.repository.Gio.AsyncResult') -> 'typing.Tuple[gi.repository.GdkPixbuf.Pixbuf, bool]': ...
def load_symbolic_for_style(self, style:'Style', state:'StateType') -> 'typing.Tuple[gi.repository.GdkPixbuf.Pixbuf, bool]': ...
@staticmethod
def new_for_pixbuf(icon_theme:'IconTheme', pixbuf:'gi.repository.GdkPixbuf.Pixbuf') -> 'IconInfo': ...
def set_raw_coordinates(self, raw_coordinates:bool) -> None: ...
...
class IconLookupFlags:
DIR_LTR = ... # type: IconLookupFlags
DIR_RTL = ... # type: IconLookupFlags
FORCE_REGULAR = ... # type: IconLookupFlags
FORCE_SIZE = ... # type: IconLookupFlags
FORCE_SVG = ... # type: IconLookupFlags
FORCE_SYMBOLIC = ... # type: IconLookupFlags
GENERIC_FALLBACK = ... # type: IconLookupFlags
NO_SVG = ... # type: IconLookupFlags
USE_BUILTIN = ... # type: IconLookupFlags
...
class IconSet:
def add_source(self, source:'IconSource') -> None: ...
def copy(self) -> 'IconSet': ...
def get_sizes(self) -> 'typing.Tuple[typing.List[int], int]': ...
@staticmethod
def new_from_pixbuf(pixbuf:'gi.repository.GdkPixbuf.Pixbuf') -> 'IconSet': ...
def ref(self) -> 'IconSet': ...
def render_icon(self, style:'Style', direction:'TextDirection', state:'StateType', size:int, widget:'Widget', detail:str) -> 'gi.repository.GdkPixbuf.Pixbuf': ...
def render_icon_pixbuf(self, context:'StyleContext', size:int) -> 'gi.repository.GdkPixbuf.Pixbuf': ...
def render_icon_surface(self, context:'StyleContext', size:int, scale:int, for_window:'gi.repository.Gdk.Window') -> 'gi.repository.cairo.Surface': ...
def unref(self) -> None: ...
...
class IconSize:
BUTTON = ... # type: IconSize
DIALOG = ... # type: IconSize
DND = ... # type: IconSize
INVALID = ... # type: IconSize
LARGE_TOOLBAR = ... # type: IconSize
MENU = ... # type: IconSize
SMALL_TOOLBAR = ... # type: IconSize
@staticmethod
def from_name(name:str) -> int: ...
@staticmethod
def get_name(size:int) -> str: ...
@staticmethod
def lookup(size:int) -> 'typing.Tuple[bool, int, int]': ...
@staticmethod
def lookup_for_settings(settings:'Settings', size:int) -> 'typing.Tuple[bool, int, int]': ...
@staticmethod
def register(name:str, width:int, height:int) -> int: ...
@staticmethod
def register_alias(alias:str, target:int) -> None: ...
...
class IconSource:
def copy(self) -> 'IconSource': ...
def free(self) -> None: ...
def get_direction(self) -> 'TextDirection': ...
def get_direction_wildcarded(self) -> bool: ...
def get_filename(self) -> str: ...
def get_icon_name(self) -> str: ...
def get_pixbuf(self) -> 'gi.repository.GdkPixbuf.Pixbuf': ...
def get_size(self) -> int: ...
def get_size_wildcarded(self) -> bool: ...
def get_state(self) -> 'StateType': ...
def get_state_wildcarded(self) -> bool: ...
def set_direction(self, direction:'TextDirection') -> None: ...
def set_direction_wildcarded(self, setting:bool) -> None: ...
def set_filename(self, filename:str) -> None: ...
def set_icon_name(self, icon_name:str) -> None: ...
def set_pixbuf(self, pixbuf:'gi.repository.GdkPixbuf.Pixbuf') -> None: ...
def set_size(self, size:int) -> None: ...
def set_size_wildcarded(self, setting:bool) -> None: ...
def set_state(self, state:'StateType') -> None: ...
def set_state_wildcarded(self, setting:bool) -> None: ...
...
class IconTheme(gi.repository.GObject.GObject):
@staticmethod
def add_builtin_icon(icon_name:str, size:int, pixbuf:'gi.repository.GdkPixbuf.Pixbuf') -> None: ...
def add_resource_path(self, path:str) -> None: ...
def append_search_path(self, path:str) -> None: ...
def choose_icon(self, icon_names:'typing.List[str]', size:int, flags:'IconLookupFlags') -> 'IconInfo': ...
def choose_icon_for_scale(self, icon_names:'typing.List[str]', size:int, scale:int, flags:'IconLookupFlags') -> 'IconInfo': ...
def do_changed(self) -> None: ...
@staticmethod
def get_default() -> 'IconTheme': ...
def get_example_icon_name(self) -> str: ...
@staticmethod
def get_for_screen(screen:'gi.repository.Gdk.Screen') -> 'IconTheme': ...
def get_icon_sizes(self, icon_name:str) -> 'typing.List[int]': ...
def get_search_path(self) -> 'typing.Tuple[typing.List[str], int]': ...
def has_icon(self, icon_name:str) -> bool: ...
def list_contexts(self) -> 'typing.List[str]': ...
def list_icons(self, context:str) -> 'typing.List[str]': ...
def load_icon(self, icon_name:str, size:int, flags:'IconLookupFlags') -> 'gi.repository.GdkPixbuf.Pixbuf': ...
def load_icon_for_scale(self, icon_name:str, size:int, scale:int, flags:'IconLookupFlags') -> 'gi.repository.GdkPixbuf.Pixbuf': ...
def load_surface(self, icon_name:str, size:int, scale:int, for_window:'gi.repository.Gdk.Window', flags:'IconLookupFlags') -> 'gi.repository.cairo.Surface': ...
def lookup_by_gicon(self, icon:'gi.repository.Gio.Icon', size:int, flags:'IconLookupFlags') -> 'IconInfo': ...
def lookup_by_gicon_for_scale(self, icon:'gi.repository.Gio.Icon', size:int, scale:int, flags:'IconLookupFlags') -> 'IconInfo': ...
def lookup_icon(self, icon_name:str, size:int, flags:'IconLookupFlags') -> 'IconInfo': ...
def lookup_icon_for_scale(self, icon_name:str, size:int, scale:int, flags:'IconLookupFlags') -> 'IconInfo': ...
parent_instance = ... # type: gi.repository.GObject.GObject
def prepend_search_path(self, path:str) -> None: ...
def rescan_if_needed(self) -> bool: ...
def set_custom_theme(self, theme_name:str) -> None: ...
def set_screen(self, screen:'gi.repository.Gdk.Screen') -> None: ...
def set_search_path(self, path:'typing.List[str]', n_elements:int) -> None: ...
...
class IconThemeError:
FAILED = ... # type: IconThemeError
NOT_FOUND = ... # type: IconThemeError
@staticmethod
def quark() -> int: ...
...
class IconView(Container):
def convert_widget_to_bin_window_coords(self, wx:int, wy:int) -> 'typing.Tuple[int, int]': ...
def create_drag_icon(self, path:'TreePath') -> 'gi.repository.cairo.Surface': ...
def do_activate_cursor_item(self) -> bool: ...
def do_item_activated(self, path:'TreePath') -> None: ...
def do_move_cursor(self, step:'MovementStep', count:int) -> bool: ...
def do_select_all(self) -> None: ...
def do_select_cursor_item(self) -> None: ...
def do_selection_changed(self) -> None: ...
def do_toggle_cursor_item(self) -> None: ...
def do_unselect_all(self) -> None: ...
def enable_model_drag_dest(self, targets:'typing.List[TargetEntry]', n_targets:int, actions:'gi.repository.Gdk.DragAction') -> None: ...
def enable_model_drag_source(self, start_button_mask:'gi.repository.Gdk.ModifierType', targets:'typing.List[TargetEntry]', n_targets:int, actions:'gi.repository.Gdk.DragAction') -> None: ...
def get_activate_on_single_click(self) -> bool: ...
def get_cell_rect(self, path:'TreePath', cell:'CellRenderer') -> 'typing.Tuple[bool, gi.repository.Gdk.Rectangle]': ...
def get_column_spacing(self) -> int: ...
def get_columns(self) -> int: ...
def get_cursor(self) -> 'typing.Tuple[bool, TreePath, CellRenderer]': ...
def get_dest_item_at_pos(self, drag_x:int, drag_y:int) -> 'typing.Tuple[TreePath, IconViewDropPosition]': ...
def get_drag_dest_item(self) -> 'typing.Tuple[TreePath, IconViewDropPosition]': ...
def get_item_at_pos(self, x:int, y:int) -> 'typing.Tuple[TreePath, CellRenderer]': ...
def get_item_column(self, path:'TreePath') -> int: ...
def get_item_orientation(self) -> 'Orientation': ...
def get_item_padding(self) -> int: ...
def get_item_row(self, path:'TreePath') -> int: ...
def get_item_width(self) -> int: ...
def get_margin(self) -> int: ...
def get_markup_column(self) -> int: ...
def get_model(self) -> 'TreeModel': ...
def get_path_at_pos(self, x:int, y:int) -> 'TreePath': ...
def get_pixbuf_column(self) -> int: ...
def get_reorderable(self) -> bool: ...
def get_row_spacing(self) -> int: ...
def get_selected_items(self) -> 'typing.List[TreePath]': ...
def get_selection_mode(self) -> 'SelectionMode': ...
def get_spacing(self) -> int: ...
def get_text_column(self) -> int: ...
def get_tooltip_column(self) -> int: ...
def get_tooltip_context(self, x:int, y:int, keyboard_tip:bool) -> 'typing.Tuple[bool, TreeModel, TreePath, TreeIter]': ...
def get_visible_range(self) -> 'typing.Tuple[TreePath, TreePath]': ...
def item_activated(self, path:'TreePath') -> None: ...
@staticmethod
def new_with_area(area:'CellArea') -> 'Widget': ...
@staticmethod
def new_with_model(model:'TreeModel') -> 'Widget': ...
parent = ... # type: Container
def path_is_selected(self, path:'TreePath') -> bool: ...
def scroll_to_path(self, path:'TreePath', use_align:bool, row_align:float, col_align:float) -> None: ...
def select_all(self) -> None: ...
def select_path(self, path:'TreePath') -> None: ...
def selected_foreach(self, func:'typing.Callable[[IconView, TreePath, typing.Any], typing.Any]', data:'typing.Any') -> None: ...
def set_activate_on_single_click(self, single:bool) -> None: ...
def set_column_spacing(self, column_spacing:int) -> None: ...
def set_columns(self, columns:int) -> None: ...
def set_cursor(self, path:'TreePath', cell:'CellRenderer', start_editing:bool) -> None: ...
def set_drag_dest_item(self, path:'TreePath', pos:'IconViewDropPosition') -> None: ...
def set_item_orientation(self, orientation:'Orientation') -> None: ...
def set_item_padding(self, item_padding:int) -> None: ...
def set_item_width(self, item_width:int) -> None: ...
def set_margin(self, margin:int) -> None: ...
def set_markup_column(self, column:int) -> None: ...
def set_model(self, model:'TreeModel') -> None: ...
def set_pixbuf_column(self, column:int) -> None: ...
def set_reorderable(self, reorderable:bool) -> None: ...
def set_row_spacing(self, row_spacing:int) -> None: ...
def set_selection_mode(self, mode:'SelectionMode') -> None: ...
def set_spacing(self, spacing:int) -> None: ...
def set_text_column(self, column:int) -> None: ...
def set_tooltip_cell(self, tooltip:'Tooltip', path:'TreePath', cell:'CellRenderer') -> None: ...
def set_tooltip_column(self, column:int) -> None: ...
def set_tooltip_item(self, tooltip:'Tooltip', path:'TreePath') -> None: ...
def unselect_all(self) -> None: ...
def unselect_path(self, path:'TreePath') -> None: ...
def unset_model_drag_dest(self) -> None: ...
def unset_model_drag_source(self) -> None: ...
...
class IconViewAccessible(ContainerAccessible):
parent = ... # type: ContainerAccessible
...
class IconViewDropPosition:
DROP_ABOVE = ... # type: IconViewDropPosition
DROP_BELOW = ... # type: IconViewDropPosition
DROP_INTO = ... # type: IconViewDropPosition
DROP_LEFT = ... # type: IconViewDropPosition
DROP_RIGHT = ... # type: IconViewDropPosition
NO_DROP = ... # type: IconViewDropPosition
...
class Image(Misc):
def clear(self) -> None: ...
def get_animation(self) -> 'gi.repository.GdkPixbuf.PixbufAnimation': ...
def get_gicon(self) -> 'typing.Tuple[gi.repository.Gio.Icon, int]': ...
def get_icon_name(self) -> 'typing.Tuple[str, int]': ...
def get_icon_set(self) -> 'typing.Tuple[IconSet, int]': ...
def get_pixbuf(self) -> 'gi.repository.GdkPixbuf.Pixbuf': ...
def get_pixel_size(self) -> int: ...
def get_stock(self) -> 'typing.Tuple[str, int]': ...
def get_storage_type(self) -> 'ImageType': ...
misc = ... # type: Misc
@staticmethod
def new_from_animation(animation:'gi.repository.GdkPixbuf.PixbufAnimation') -> 'Widget': ...
@staticmethod
def new_from_file(filename:str) -> 'Widget': ...
@staticmethod
def new_from_gicon(icon:'gi.repository.Gio.Icon', size:int) -> 'Widget': ...
@staticmethod
def new_from_icon_name(icon_name:str, size:int) -> 'Widget': ...
@staticmethod
def new_from_icon_set(icon_set:'IconSet', size:int) -> 'Widget': ...
@staticmethod
def new_from_pixbuf(pixbuf:'gi.repository.GdkPixbuf.Pixbuf') -> 'Widget': ...
@staticmethod
def new_from_resource(resource_path:str) -> 'Widget': ...
@staticmethod
def new_from_stock(stock_id:str, size:int) -> 'Widget': ...
@staticmethod
def new_from_surface(surface:'gi.repository.cairo.Surface') -> 'Widget': ...
def set_from_animation(self, animation:'gi.repository.GdkPixbuf.PixbufAnimation') -> None: ...
def set_from_file(self, filename:str) -> None: ...
def set_from_gicon(self, icon:'gi.repository.Gio.Icon', size:int) -> None: ...
def set_from_icon_name(self, icon_name:str, size:int) -> None: ...
def set_from_icon_set(self, icon_set:'IconSet', size:int) -> None: ...
def set_from_pixbuf(self, pixbuf:'gi.repository.GdkPixbuf.Pixbuf') -> None: ...
def set_from_resource(self, resource_path:str) -> None: ...
def set_from_stock(self, stock_id:str, size:int) -> None: ...
def set_from_surface(self, surface:'gi.repository.cairo.Surface') -> None: ...
def set_pixel_size(self, pixel_size:int) -> None: ...
...
class ImageAccessible(WidgetAccessible):
parent = ... # type: WidgetAccessible
...
class ImageCellAccessible(RendererCellAccessible):
parent = ... # type: RendererCellAccessible
...
class ImageMenuItem(MenuItem):
def get_always_show_image(self) -> bool: ...
def get_image(self) -> 'Widget': ...
def get_use_stock(self) -> bool: ...
menu_item = ... # type: MenuItem
@staticmethod
def new_from_stock(stock_id:str, accel_group:'AccelGroup') -> 'Widget': ...
@staticmethod
def new_with_label(label:str) -> 'Widget': ...
@staticmethod
def new_with_mnemonic(label:str) -> 'Widget': ...
def set_accel_group(self, accel_group:'AccelGroup') -> None: ...
def set_always_show_image(self, always_show:bool) -> None: ...
def set_image(self, image:'Widget') -> None: ...
def set_use_stock(self, use_stock:bool) -> None: ...
...
class ImageType:
ANIMATION = ... # type: ImageType
EMPTY = ... # type: ImageType
GICON = ... # type: ImageType
ICON_NAME = ... # type: ImageType
ICON_SET = ... # type: ImageType
PIXBUF = ... # type: ImageType
STOCK = ... # type: ImageType
SURFACE = ... # type: ImageType
...
class InfoBar(Box):
def add_action_widget(self, child:'Widget', response_id:int) -> None: ...
def add_button(self, button_text:str, response_id:int) -> 'Button': ...
def do_close(self) -> None: ...
def do_response(self, response_id:int) -> None: ...
def get_action_area(self) -> 'Widget': ...
def get_content_area(self) -> 'Widget': ...
def get_message_type(self) -> 'MessageType': ...
def get_revealed(self) -> bool: ...
def get_show_close_button(self) -> bool: ...
parent = ... # type: Box
def response(self, response_id:int) -> None: ...
def set_default_response(self, response_id:int) -> None: ...
def set_message_type(self, message_type:'MessageType') -> None: ...
def set_response_sensitive(self, response_id:int, setting:bool) -> None: ...
def set_revealed(self, revealed:bool) -> None: ...
def set_show_close_button(self, setting:bool) -> None: ...
...
class InputHints:
EMOJI = ... # type: InputHints
INHIBIT_OSK = ... # type: InputHints
LOWERCASE = ... # type: InputHints
NONE = ... # type: InputHints
NO_EMOJI = ... # type: InputHints
NO_SPELLCHECK = ... # type: InputHints
SPELLCHECK = ... # type: InputHints
UPPERCASE_CHARS = ... # type: InputHints
UPPERCASE_SENTENCES = ... # type: InputHints
UPPERCASE_WORDS = ... # type: InputHints
VERTICAL_WRITING = ... # type: InputHints
WORD_COMPLETION = ... # type: InputHints
...
class InputPurpose:
ALPHA = ... # type: InputPurpose
DIGITS = ... # type: InputPurpose
EMAIL = ... # type: InputPurpose
FREE_FORM = ... # type: InputPurpose
NAME = ... # type: InputPurpose
NUMBER = ... # type: InputPurpose
PASSWORD = ... # type: InputPurpose
PHONE = ... # type: InputPurpose
PIN = ... # type: InputPurpose
URL = ... # type: InputPurpose
...
class Invisible(Widget):
def get_screen(self) -> 'gi.repository.Gdk.Screen': ...
@staticmethod
def new_for_screen(screen:'gi.repository.Gdk.Screen') -> 'Widget': ...
def set_screen(self, screen:'gi.repository.Gdk.Screen') -> None: ...
...
class JunctionSides:
BOTTOM = ... # type: JunctionSides
CORNER_BOTTOMLEFT = ... # type: JunctionSides
CORNER_BOTTOMRIGHT = ... # type: JunctionSides
CORNER_TOPLEFT = ... # type: JunctionSides
CORNER_TOPRIGHT = ... # type: JunctionSides
LEFT = ... # type: JunctionSides
NONE = ... # type: JunctionSides
RIGHT = ... # type: JunctionSides
TOP = ... # type: JunctionSides
...
class Justification:
CENTER = ... # type: Justification
FILL = ... # type: Justification
LEFT = ... # type: Justification
RIGHT = ... # type: Justification
...
LEVEL_BAR_OFFSET_FULL = ... # type: str
LEVEL_BAR_OFFSET_HIGH = ... # type: str
LEVEL_BAR_OFFSET_LOW = ... # type: str
class Label(Misc):
def do_activate_link(self, uri:str) -> bool: ...
def do_copy_clipboard(self) -> None: ...
def do_move_cursor(self, step:'MovementStep', count:int, extend_selection:bool) -> None: ...
def do_populate_popup(self, menu:'Menu') -> None: ...
def get_angle(self) -> float: ...
def get_attributes(self) -> 'gi.repository.Pango.AttrList': ...
def get_current_uri(self) -> str: ...
def get_ellipsize(self) -> 'gi.repository.Pango.EllipsizeMode': ...
def get_justify(self) -> 'Justification': ...
def get_label(self) -> str: ...
def get_layout(self) -> 'gi.repository.Pango.Layout': ...
def get_layout_offsets(self) -> 'typing.Tuple[int, int]': ...
def get_line_wrap(self) -> bool: ...
def get_line_wrap_mode(self) -> 'gi.repository.Pango.WrapMode': ...
def get_lines(self) -> int: ...
def get_max_width_chars(self) -> int: ...
def get_mnemonic_keyval(self) -> int: ...
def get_mnemonic_widget(self) -> 'Widget': ...
def get_selectable(self) -> bool: ...
def get_selection_bounds(self) -> 'typing.Tuple[bool, int, int]': ...
def get_single_line_mode(self) -> bool: ...
def get_text(self) -> str: ...
def get_track_visited_links(self) -> bool: ...
def get_use_markup(self) -> bool: ...
def get_use_underline(self) -> bool: ...
def get_width_chars(self) -> int: ...
def get_xalign(self) -> float: ...
def get_yalign(self) -> float: ...
misc = ... # type: Misc
@staticmethod
def new_with_mnemonic(str:str) -> 'Widget': ...
def select_region(self, start_offset:int, end_offset:int) -> None: ...
def set_angle(self, angle:float) -> None: ...
def set_attributes(self, attrs:'gi.repository.Pango.AttrList') -> None: ...
def set_ellipsize(self, mode:'gi.repository.Pango.EllipsizeMode') -> None: ...
def set_justify(self, jtype:'Justification') -> None: ...
def set_label(self, str:str) -> None: ...
def set_line_wrap(self, wrap:bool) -> None: ...
def set_line_wrap_mode(self, wrap_mode:'gi.repository.Pango.WrapMode') -> None: ...
def set_lines(self, lines:int) -> None: ...
def set_markup(self, str:str) -> None: ...
def set_markup_with_mnemonic(self, str:str) -> None: ...
def set_max_width_chars(self, n_chars:int) -> None: ...
def set_mnemonic_widget(self, widget:'Widget') -> None: ...
def set_pattern(self, pattern:str) -> None: ...
def set_selectable(self, setting:bool) -> None: ...
def set_single_line_mode(self, single_line_mode:bool) -> None: ...
def set_text(self, str:str) -> None: ...
def set_text_with_mnemonic(self, str:str) -> None: ...
def set_track_visited_links(self, track_links:bool) -> None: ...
def set_use_markup(self, setting:bool) -> None: ...
def set_use_underline(self, setting:bool) -> None: ...
def set_width_chars(self, n_chars:int) -> None: ...
def set_xalign(self, xalign:float) -> None: ...
def set_yalign(self, yalign:float) -> None: ...
...
class LabelAccessible(WidgetAccessible):
parent = ... # type: WidgetAccessible
...
class LabelSelectionInfo:
...
class Layout(Container):
container = ... # type: Container
def get_bin_window(self) -> 'gi.repository.Gdk.Window': ...
def get_hadjustment(self) -> 'Adjustment': ...
def get_size(self) -> 'typing.Tuple[int, int]': ...
def get_vadjustment(self) -> 'Adjustment': ...
def move(self, child_widget:'Widget', x:int, y:int) -> None: ...
def put(self, child_widget:'Widget', x:int, y:int) -> None: ...
def set_hadjustment(self, adjustment:'Adjustment') -> None: ...
def set_size(self, width:int, height:int) -> None: ...
def set_vadjustment(self, adjustment:'Adjustment') -> None: ...
...
class LevelBar(Widget):
def add_offset_value(self, name:str, value:float) -> None: ...
def do_offset_changed(self, name:str) -> None: ...
def get_inverted(self) -> bool: ...
def get_max_value(self) -> float: ...
def get_min_value(self) -> float: ...
def get_mode(self) -> 'LevelBarMode': ...
def get_offset_value(self, name:str) -> 'typing.Tuple[bool, float]': ...
def get_value(self) -> float: ...
@staticmethod
def new_for_interval(min_value:float, max_value:float) -> 'Widget': ...
parent = ... # type: Widget
def remove_offset_value(self, name:str) -> None: ...
def set_inverted(self, inverted:bool) -> None: ...
def set_max_value(self, value:float) -> None: ...
def set_min_value(self, value:float) -> None: ...
def set_mode(self, mode:'LevelBarMode') -> None: ...
def set_value(self, value:float) -> None: ...
...
class LevelBarAccessible(WidgetAccessible):
parent = ... # type: WidgetAccessible
...
class LevelBarMode:
CONTINUOUS = ... # type: LevelBarMode
DISCRETE = ... # type: LevelBarMode
...
class License:
AGPL_3_0 = ... # type: License
AGPL_3_0_ONLY = ... # type: License
ARTISTIC = ... # type: License
BSD = ... # type: License
CUSTOM = ... # type: License
GPL_2_0 = ... # type: License
GPL_2_0_ONLY = ... # type: License
GPL_3_0 = ... # type: License
GPL_3_0_ONLY = ... # type: License
LGPL_2_1 = ... # type: License
LGPL_2_1_ONLY = ... # type: License
LGPL_3_0 = ... # type: License
LGPL_3_0_ONLY = ... # type: License
MIT_X11 = ... # type: License
UNKNOWN = ... # type: License
...
class LinkButton(Button):
def do_activate_link(self) -> bool: ...
def get_uri(self) -> str: ...
def get_visited(self) -> bool: ...
@staticmethod
def new_with_label(uri:str, label:str) -> 'Widget': ...
parent_instance = ... # type: Button
def set_uri(self, uri:str) -> None: ...
def set_visited(self, visited:bool) -> None: ...
...
class LinkButtonAccessible(ButtonAccessible):
parent = ... # type: ButtonAccessible
...
class ListBox(Container):
def bind_model(self, model:'gi.repository.Gio.ListModel', create_widget_func:'typing.Callable[[gi.repository.GObject.GObject, typing.Any], Widget]', user_data:'typing.Any', user_data_free_func:'typing.Callable[[typing.Any], typing.Any]') -> None: ...
def do_activate_cursor_row(self) -> None: ...
def do_move_cursor(self, step:'MovementStep', count:int) -> None: ...
def do_row_activated(self, row:'ListBoxRow') -> None: ...
def do_row_selected(self, row:'ListBoxRow') -> None: ...
def do_select_all(self) -> None: ...
def do_selected_rows_changed(self) -> None: ...
def do_toggle_cursor_row(self) -> None: ...
def do_unselect_all(self) -> None: ...
def drag_highlight_row(self, row:'ListBoxRow') -> None: ...
def drag_unhighlight_row(self) -> None: ...
def get_activate_on_single_click(self) -> bool: ...
def get_adjustment(self) -> 'Adjustment': ...
def get_row_at_index(self, index_:int) -> 'ListBoxRow': ...
def get_row_at_y(self, y:int) -> 'ListBoxRow': ...
def get_selected_row(self) -> 'ListBoxRow': ...
def get_selected_rows(self) -> 'typing.List[ListBoxRow]': ...
def get_selection_mode(self) -> 'SelectionMode': ...
def insert(self, child:'Widget', position:int) -> None: ...
def invalidate_filter(self) -> None: ...
def invalidate_headers(self) -> None: ...
def invalidate_sort(self) -> None: ...
parent_instance = ... # type: Container
def prepend(self, child:'Widget') -> None: ...
def select_all(self) -> None: ...
def select_row(self, row:'ListBoxRow') -> None: ...
def selected_foreach(self, func:'typing.Callable[[ListBox, ListBoxRow, typing.Any], typing.Any]', data:'typing.Any') -> None: ...
def set_activate_on_single_click(self, single:bool) -> None: ...
def set_adjustment(self, adjustment:'Adjustment') -> None: ...
def set_filter_func(self, filter_func:'typing.Callable[[ListBoxRow, typing.Any], bool]', user_data:'typing.Any', destroy:'typing.Callable[[typing.Any], typing.Any]') -> None: ...
def set_header_func(self, update_header:'typing.Callable[[ListBoxRow, ListBoxRow, typing.Any], typing.Any]', user_data:'typing.Any', destroy:'typing.Callable[[typing.Any], typing.Any]') -> None: ...
def set_placeholder(self, placeholder:'Widget') -> None: ...
def set_selection_mode(self, mode:'SelectionMode') -> None: ...
def set_sort_func(self, sort_func:'typing.Callable[[ListBoxRow, ListBoxRow, typing.Any], int]', user_data:'typing.Any', destroy:'typing.Callable[[typing.Any], typing.Any]') -> None: ...
def unselect_all(self) -> None: ...
def unselect_row(self, row:'ListBoxRow') -> None: ...
...
class ListBoxAccessible(ContainerAccessible):
parent = ... # type: ContainerAccessible
...
class ListBoxRow(Bin):
def changed(self) -> None: ...
def do_activate(self) -> None: ...
def get_activatable(self) -> bool: ...
def get_header(self) -> 'Widget': ...
def get_index(self) -> int: ...
def get_selectable(self) -> bool: ...
def is_selected(self) -> bool: ...
parent_instance = ... # type: Bin
def set_activatable(self, activatable:bool) -> None: ...
def set_header(self, header:'Widget') -> None: ...
def set_selectable(self, selectable:bool) -> None: ...
...
class ListBoxRowAccessible(ContainerAccessible):
parent = ... # type: ContainerAccessible
...
class ListStore(gi.repository.GObject.GObject):
def _do_insert(self, position, row): ...
def append(self, row=None): ...
def clear(self) -> None: ...
def insert(self, position, row=None): ...
def insert_after(self, sibling, row=None): ...
def insert_before(self, sibling, row=None): ...
def insert_with_valuesv(self, position:int, columns:'typing.List[int]', values:'typing.List[gi.repository.GObject.Value]', n_values:int) -> 'typing.Tuple[TreeIter]': ...
def iter_is_valid(self, iter:'TreeIter') -> bool: ...
def move_after(self, iter:'TreeIter', position:'TreeIter') -> None: ...
def move_before(self, iter:'TreeIter', position:'TreeIter') -> None: ...
parent = ... # type: gi.repository.GObject.GObject
def prepend(self, row=None): ...
def remove(self, iter:'TreeIter') -> bool: ...
def reorder(self, new_order:'typing.List[int]') -> None: ...
def set(self, treeiter, *args): ...
def set_column_types(self, n_columns:int, types:'typing.List[gi.repository.GObject.GType]') -> None: ...
def set_value(self, treeiter, column, value): ...
def swap(self, a:'TreeIter', b:'TreeIter') -> None: ...
...
class LockButton(Button):
def get_permission(self) -> 'gi.repository.Gio.Permission': ...
parent = ... # type: Button
def set_permission(self, permission:'gi.repository.Gio.Permission') -> None: ...
...
class LockButtonAccessible(ButtonAccessible):
parent = ... # type: ButtonAccessible
...
MAJOR_VERSION = ... # type: int
MAX_COMPOSE_LEN = ... # type: int
MICRO_VERSION = ... # type: int
MINOR_VERSION = ... # type: int
class Menu(MenuShell):
def attach(self, child:'Widget', left_attach:int, right_attach:int, top_attach:int, bottom_attach:int) -> None: ...
def attach_to_widget(self, attach_widget:'Widget', detacher:'typing.Callable[[Widget, Menu], typing.Any]') -> None: ...
def detach(self) -> None: ...
def get_accel_group(self) -> 'AccelGroup': ...
def get_accel_path(self) -> str: ...
def get_active(self) -> 'Widget': ...
def get_attach_widget(self) -> 'Widget': ...
@staticmethod
def get_for_attach_widget(widget:'Widget') -> 'typing.List[Widget]': ...
def get_monitor(self) -> int: ...
def get_reserve_toggle_size(self) -> bool: ...
def get_tearoff_state(self) -> bool: ...
def get_title(self) -> str: ...
menu_shell = ... # type: MenuShell
@staticmethod
def new_from_model(model:'gi.repository.Gio.MenuModel') -> 'Widget': ...
def place_on_monitor(self, monitor:'gi.repository.Gdk.Monitor') -> None: ...
def popdown(self) -> None: ...
def popup(self, parent_menu_shell, parent_menu_item, func, data, button, activate_time): ...
def popup_at_pointer(self, trigger_event:'gi.repository.Gdk.Event') -> None: ...
def popup_at_rect(self, rect_window:'gi.repository.Gdk.Window', rect:'gi.repository.Gdk.Rectangle', rect_anchor:'gi.repository.Gdk.Gravity', menu_anchor:'gi.repository.Gdk.Gravity', trigger_event:'gi.repository.Gdk.Event') -> None: ...
def popup_at_widget(self, widget:'Widget', widget_anchor:'gi.repository.Gdk.Gravity', menu_anchor:'gi.repository.Gdk.Gravity', trigger_event:'gi.repository.Gdk.Event') -> None: ...
def popup_for_device(self, device:'gi.repository.Gdk.Device', parent_menu_shell:'Widget', parent_menu_item:'Widget', func:'typing.Callable[[Menu, int, int, typing.Any], typing.Tuple[bool]]', data:'typing.Any', destroy:'typing.Callable[[typing.Any], typing.Any]', button:int, activate_time:int) -> None: ...
def reorder_child(self, child:'Widget', position:int) -> None: ...
def reposition(self) -> None: ...
def set_accel_group(self, accel_group:'AccelGroup') -> None: ...
def set_accel_path(self, accel_path:str) -> None: ...
def set_active(self, index:int) -> None: ...
def set_monitor(self, monitor_num:int) -> None: ...
def set_reserve_toggle_size(self, reserve_toggle_size:bool) -> None: ...
def set_screen(self, screen:'gi.repository.Gdk.Screen') -> None: ...
def set_tearoff_state(self, torn_off:bool) -> None: ...
def set_title(self, title:str) -> None: ...
...
class MenuAccessible(MenuShellAccessible):
parent = ... # type: MenuShellAccessible
...
class MenuBar(MenuShell):
def get_child_pack_direction(self) -> 'PackDirection': ...
def get_pack_direction(self) -> 'PackDirection': ...
menu_shell = ... # type: MenuShell
@staticmethod
def new_from_model(model:'gi.repository.Gio.MenuModel') -> 'Widget': ...
def set_child_pack_direction(self, child_pack_dir:'PackDirection') -> None: ...
def set_pack_direction(self, pack_dir:'PackDirection') -> None: ...
...
class MenuButton(ToggleButton):
def get_align_widget(self) -> 'Widget': ...
def get_direction(self) -> 'ArrowType': ...
def get_menu_model(self) -> 'gi.repository.Gio.MenuModel': ...
def get_popover(self) -> 'Popover': ...
def get_popup(self) -> 'Menu': ...
def get_use_popover(self) -> bool: ...
parent = ... # type: ToggleButton
def set_align_widget(self, align_widget:'Widget') -> None: ...
def set_direction(self, direction:'ArrowType') -> None: ...
def set_menu_model(self, menu_model:'gi.repository.Gio.MenuModel') -> None: ...
def set_popover(self, popover:'Widget') -> None: ...
def set_popup(self, menu:'Widget') -> None: ...
def set_use_popover(self, use_popover:bool) -> None: ...
...
class MenuButtonAccessible(ToggleButtonAccessible):
parent = ... # type: ToggleButtonAccessible
...
class MenuDirectionType:
CHILD = ... # type: MenuDirectionType
NEXT = ... # type: MenuDirectionType
PARENT = ... # type: MenuDirectionType
PREV = ... # type: MenuDirectionType
...
class MenuItem(Bin):
def activate(self) -> None: ...
bin = ... # type: Bin
def deselect(self) -> None: ...
def do_activate(self) -> None: ...
def do_activate_item(self) -> None: ...
def do_deselect(self) -> None: ...
def do_get_label(self) -> str: ...
def do_select(self) -> None: ...
def do_set_label(self, label:str) -> None: ...
def do_toggle_size_allocate(self, allocation:int) -> None: ...
def do_toggle_size_request(self, requisition:int) -> None: ...
def get_accel_path(self) -> str: ...
def get_label(self) -> str: ...
def get_reserve_indicator(self) -> bool: ...
def get_right_justified(self) -> bool: ...
def get_submenu(self) -> 'Widget': ...
def get_use_underline(self) -> bool: ...
@staticmethod
def new_with_label(label:str) -> 'Widget': ...
@staticmethod
def new_with_mnemonic(label:str) -> 'Widget': ...
def select(self) -> None: ...
def set_accel_path(self, accel_path:str) -> None: ...
def set_label(self, label:str) -> None: ...
def set_reserve_indicator(self, reserve:bool) -> None: ...
def set_right_justified(self, right_justified:bool) -> None: ...
def set_submenu(self, submenu:'Menu') -> None: ...
def set_use_underline(self, setting:bool) -> None: ...
def toggle_size_allocate(self, allocation:int) -> None: ...
def toggle_size_request(self, requisition:int) -> None: ...
...
class MenuItemAccessible(ContainerAccessible):
parent = ... # type: ContainerAccessible
...
class MenuShell(Container):
def activate_item(self, menu_item:'Widget', force_deactivate:bool) -> None: ...
def append(self, child:'MenuItem') -> None: ...
def bind_model(self, model:'gi.repository.Gio.MenuModel', action_namespace:str, with_separators:bool) -> None: ...
def cancel(self) -> None: ...
container = ... # type: Container
def deactivate(self) -> None: ...
def deselect(self) -> None: ...
def do_activate_current(self, force_hide:bool) -> None: ...
def do_cancel(self) -> None: ...
def do_deactivate(self) -> None: ...
def do_get_popup_delay(self) -> int: ...
def do_insert(self, child:'Widget', position:int) -> None: ...
def do_move_current(self, direction:'MenuDirectionType') -> None: ...
def do_move_selected(self, distance:int) -> bool: ...
def do_select_item(self, menu_item:'Widget') -> None: ...
def do_selection_done(self) -> None: ...
def get_parent_shell(self) -> 'Widget': ...
def get_selected_item(self) -> 'Widget': ...
def get_take_focus(self) -> bool: ...
def insert(self, child:'Widget', position:int) -> None: ...
def prepend(self, child:'Widget') -> None: ...
def select_first(self, search_sensitive:bool) -> None: ...
def select_item(self, menu_item:'Widget') -> None: ...
def set_take_focus(self, take_focus:bool) -> None: ...
...
class MenuShellAccessible(ContainerAccessible):
parent = ... # type: ContainerAccessible
...
class MenuToolButton(ToolButton):
def do_show_menu(self) -> None: ...
def get_menu(self) -> 'Widget': ...
@staticmethod
def new_from_stock(stock_id:str) -> 'ToolItem': ...
parent = ... # type: ToolButton
def set_arrow_tooltip_markup(self, markup:str) -> None: ...
def set_arrow_tooltip_text(self, text:str) -> None: ...
def set_menu(self, menu:'Widget') -> None: ...
...
class MessageDialog(Dialog):
def format_secondary_markup(self, message_format): ...
def format_secondary_text(self, message_format): ...
def get_image(self) -> 'Widget': ...
def get_message_area(self) -> 'Widget': ...
parent_instance = ... # type: Dialog
def set_image(self, image:'Widget') -> None: ...
def set_markup(self, str:str) -> None: ...
...
class MessageType:
ERROR = ... # type: MessageType
INFO = ... # type: MessageType
OTHER = ... # type: MessageType
QUESTION = ... # type: MessageType
WARNING = ... # type: MessageType
...
class Misc(Widget):
def get_alignment(self) -> 'typing.Tuple[float, float]': ...
def get_padding(self) -> 'typing.Tuple[int, int]': ...
def set_alignment(self, xalign:float, yalign:float) -> None: ...
def set_padding(self, xpad:int, ypad:int) -> None: ...
...
class ModelButton(Button):
...
class MountOperation(gi.repository.Gio.MountOperation):
def get_parent(self) -> 'Window': ...
def get_screen(self) -> 'gi.repository.Gdk.Screen': ...
def is_showing(self) -> bool: ...
parent_instance = ... # type: gi.repository.Gio.MountOperation
def set_parent(self, parent:'Window') -> None: ...
def set_screen(self, screen:'gi.repository.Gdk.Screen') -> None: ...
...
class MovementStep:
BUFFER_ENDS = ... # type: MovementStep
DISPLAY_LINES = ... # type: MovementStep
DISPLAY_LINE_ENDS = ... # type: MovementStep
HORIZONTAL_PAGES = ... # type: MovementStep
LOGICAL_POSITIONS = ... # type: MovementStep
PAGES = ... # type: MovementStep
PARAGRAPHS = ... # type: MovementStep
PARAGRAPH_ENDS = ... # type: MovementStep
VISUAL_POSITIONS = ... # type: MovementStep
WORDS = ... # type: MovementStep
...
class NativeDialog(gi.repository.GObject.GObject):
def destroy(self) -> None: ...
def do_hide(self) -> None: ...
def do_response(self, response_id:int) -> None: ...
def do_show(self) -> None: ...
def get_modal(self) -> bool: ...
def get_title(self) -> str: ...
def get_transient_for(self) -> 'Window': ...
def get_visible(self) -> bool: ...
def hide(self) -> None: ...
parent_instance = ... # type: gi.repository.GObject.GObject
def run(self) -> int: ...
def set_modal(self, modal:bool) -> None: ...
def set_title(self, title:str) -> None: ...
def set_transient_for(self, parent:'Window') -> None: ...
def show(self) -> None: ...
...
class Notebook(Container):
def append_page(self, child:'Widget', tab_label:'Widget') -> int: ...
def append_page_menu(self, child:'Widget', tab_label:'Widget', menu_label:'Widget') -> int: ...
container = ... # type: Container
def detach_tab(self, child:'Widget') -> None: ...
def do_change_current_page(self, offset:int) -> bool: ...
def do_focus_tab(self, type:'NotebookTab') -> bool: ...
def do_insert_page(self, child:'Widget', tab_label:'Widget', menu_label:'Widget', position:int) -> int: ...
def do_move_focus_out(self, direction:'DirectionType') -> None: ...
def do_page_added(self, child:'Widget', page_num:int) -> None: ...
def do_page_removed(self, child:'Widget', page_num:int) -> None: ...
def do_page_reordered(self, child:'Widget', page_num:int) -> None: ...
def do_reorder_tab(self, direction:'DirectionType', move_to_last:bool) -> bool: ...
def do_select_page(self, move_focus:bool) -> bool: ...
def do_switch_page(self, page:'Widget', page_num:int) -> None: ...
def get_action_widget(self, pack_type:'PackType') -> 'Widget': ...
def get_current_page(self) -> int: ...
def get_group_name(self) -> str: ...
def get_menu_label(self, child:'Widget') -> 'Widget': ...
def get_menu_label_text(self, child:'Widget') -> str: ...
def get_n_pages(self) -> int: ...
def get_nth_page(self, page_num:int) -> 'Widget': ...
def get_scrollable(self) -> bool: ...
def get_show_border(self) -> bool: ...
def get_show_tabs(self) -> bool: ...
def get_tab_detachable(self, child:'Widget') -> bool: ...
def get_tab_hborder(self) -> int: ...
def get_tab_label(self, child:'Widget') -> 'Widget': ...
def get_tab_label_text(self, child:'Widget') -> str: ...
def get_tab_pos(self) -> 'PositionType': ...
def get_tab_reorderable(self, child:'Widget') -> bool: ...
def get_tab_vborder(self) -> int: ...
def insert_page(self, child:'Widget', tab_label:'Widget', position:int) -> int: ...
def insert_page_menu(self, child:'Widget', tab_label:'Widget', menu_label:'Widget', position:int) -> int: ...
def next_page(self) -> None: ...
def page_num(self, child:'Widget') -> int: ...
def popup_disable(self) -> None: ...
def popup_enable(self) -> None: ...
def prepend_page(self, child:'Widget', tab_label:'Widget') -> int: ...
def prepend_page_menu(self, child:'Widget', tab_label:'Widget', menu_label:'Widget') -> int: ...
def prev_page(self) -> None: ...
def remove_page(self, page_num:int) -> None: ...
def reorder_child(self, child:'Widget', position:int) -> None: ...
def set_action_widget(self, widget:'Widget', pack_type:'PackType') -> None: ...
def set_current_page(self, page_num:int) -> None: ...
def set_group_name(self, group_name:str) -> None: ...
def set_menu_label(self, child:'Widget', menu_label:'Widget') -> None: ...
def set_menu_label_text(self, child:'Widget', menu_text:str) -> None: ...
def set_scrollable(self, scrollable:bool) -> None: ...
def set_show_border(self, show_border:bool) -> None: ...
def set_show_tabs(self, show_tabs:bool) -> None: ...
def set_tab_detachable(self, child:'Widget', detachable:bool) -> None: ...
def set_tab_label(self, child:'Widget', tab_label:'Widget') -> None: ...
def set_tab_label_text(self, child:'Widget', tab_text:str) -> None: ...
def set_tab_pos(self, pos:'PositionType') -> None: ...
def set_tab_reorderable(self, child:'Widget', reorderable:bool) -> None: ...
...
class NotebookAccessible(ContainerAccessible):
parent = ... # type: ContainerAccessible
...
class NotebookPageAccessible(gi.repository.Atk.Object):
def invalidate(self) -> None: ...
parent = ... # type: gi.repository.Atk.Object
...
class NotebookTab:
FIRST = ... # type: NotebookTab
LAST = ... # type: NotebookTab
...
class NumberUpLayout:
BTLR = ... # type: NumberUpLayout
BTRL = ... # type: NumberUpLayout
LRBT = ... # type: NumberUpLayout
LRTB = ... # type: NumberUpLayout
RLBT = ... # type: NumberUpLayout
RLTB = ... # type: NumberUpLayout
TBLR = ... # type: NumberUpLayout
TBRL = ... # type: NumberUpLayout
...
class NumerableIcon(gi.repository.Gio.EmblemedIcon):
def get_background_gicon(self) -> 'gi.repository.Gio.Icon': ...
def get_background_icon_name(self) -> str: ...
def get_count(self) -> int: ...
def get_label(self) -> str: ...
def get_style_context(self) -> 'StyleContext': ...
@staticmethod
def new_with_style_context(base_icon:'gi.repository.Gio.Icon', context:'StyleContext') -> 'gi.repository.Gio.Icon': ...
parent = ... # type: gi.repository.Gio.EmblemedIcon
def set_background_gicon(self, icon:'gi.repository.Gio.Icon') -> None: ...
def set_background_icon_name(self, icon_name:str) -> None: ...
def set_count(self, count:int) -> None: ...
def set_label(self, label:str) -> None: ...
def set_style_context(self, style:'StyleContext') -> None: ...
...
class OffscreenWindow(Window):
def get_pixbuf(self) -> 'gi.repository.GdkPixbuf.Pixbuf': ...
def get_surface(self) -> 'gi.repository.cairo.Surface': ...
parent_object = ... # type: Window
...
class Orientable:
def get_orientation(self) -> 'Orientation': ...
def set_orientation(self, orientation:'Orientation') -> None: ...
...
class OrientableIface:
base_iface = ... # type: gi.repository.GObject.TypeInterface
...
class Orientation:
HORIZONTAL = ... # type: Orientation
VERTICAL = ... # type: Orientation
...
class Overlay(Bin):
def add_overlay(self, widget:'Widget') -> None: ...
def do_get_child_position(self, widget:'Widget', allocation:'gi.repository.Gdk.Rectangle') -> bool: ...
def get_overlay_pass_through(self, widget:'Widget') -> bool: ...
parent = ... # type: Bin
def reorder_overlay(self, child:'Widget', position:int) -> None: ...
def set_overlay_pass_through(self, widget:'Widget', pass_through:bool) -> None: ...
...
PAPER_NAME_A3 = ... # type: str
PAPER_NAME_A4 = ... # type: str
PAPER_NAME_A5 = ... # type: str
PAPER_NAME_B5 = ... # type: str
PAPER_NAME_EXECUTIVE = ... # type: str
PAPER_NAME_LEGAL = ... # type: str
PAPER_NAME_LETTER = ... # type: str
PATH_PRIO_MASK = ... # type: int
PRINT_SETTINGS_COLLATE = ... # type: str
PRINT_SETTINGS_DEFAULT_SOURCE = ... # type: str
PRINT_SETTINGS_DITHER = ... # type: str
PRINT_SETTINGS_DUPLEX = ... # type: str
PRINT_SETTINGS_FINISHINGS = ... # type: str
PRINT_SETTINGS_MEDIA_TYPE = ... # type: str
PRINT_SETTINGS_NUMBER_UP = ... # type: str
PRINT_SETTINGS_NUMBER_UP_LAYOUT = ... # type: str
PRINT_SETTINGS_N_COPIES = ... # type: str
PRINT_SETTINGS_ORIENTATION = ... # type: str
PRINT_SETTINGS_OUTPUT_BASENAME = ... # type: str
PRINT_SETTINGS_OUTPUT_BIN = ... # type: str
PRINT_SETTINGS_OUTPUT_DIR = ... # type: str
PRINT_SETTINGS_OUTPUT_FILE_FORMAT = ... # type: str
PRINT_SETTINGS_OUTPUT_URI = ... # type: str
PRINT_SETTINGS_PAGE_RANGES = ... # type: str
PRINT_SETTINGS_PAGE_SET = ... # type: str
PRINT_SETTINGS_PAPER_FORMAT = ... # type: str
PRINT_SETTINGS_PAPER_HEIGHT = ... # type: str
PRINT_SETTINGS_PAPER_WIDTH = ... # type: str
PRINT_SETTINGS_PRINTER = ... # type: str
PRINT_SETTINGS_PRINTER_LPI = ... # type: str
PRINT_SETTINGS_PRINT_PAGES = ... # type: str
PRINT_SETTINGS_QUALITY = ... # type: str
PRINT_SETTINGS_RESOLUTION = ... # type: str
PRINT_SETTINGS_RESOLUTION_X = ... # type: str
PRINT_SETTINGS_RESOLUTION_Y = ... # type: str
PRINT_SETTINGS_REVERSE = ... # type: str
PRINT_SETTINGS_SCALE = ... # type: str
PRINT_SETTINGS_USE_COLOR = ... # type: str
PRINT_SETTINGS_WIN32_DRIVER_EXTRA = ... # type: str
PRINT_SETTINGS_WIN32_DRIVER_VERSION = ... # type: str
PRIORITY_RESIZE = ... # type: int
class PackDirection:
BTT = ... # type: PackDirection
LTR = ... # type: PackDirection
RTL = ... # type: PackDirection
TTB = ... # type: PackDirection
...
class PackType:
END = ... # type: PackType
START = ... # type: PackType
...
class PadActionEntry:
action_name = ... # type: str
index = ... # type: int
label = ... # type: str
mode = ... # type: int
type = ... # type: PadActionType
...
class PadActionType:
BUTTON = ... # type: PadActionType
RING = ... # type: PadActionType
STRIP = ... # type: PadActionType
...
class PadController(EventController):
def set_action(self, type:'PadActionType', index:int, mode:int, label:str, action_name:str) -> None: ...
def set_action_entries(self, entries:'typing.List[PadActionEntry]', n_entries:int) -> None: ...
...
class PageOrientation:
LANDSCAPE = ... # type: PageOrientation
PORTRAIT = ... # type: PageOrientation
REVERSE_LANDSCAPE = ... # type: PageOrientation
REVERSE_PORTRAIT = ... # type: PageOrientation
...
class PageRange:
end = ... # type: int
start = ... # type: int
...
class PageSet:
ALL = ... # type: PageSet
EVEN = ... # type: PageSet
ODD = ... # type: PageSet
...
class PageSetup(gi.repository.GObject.GObject):
def copy(self) -> 'PageSetup': ...
def get_bottom_margin(self, unit:'Unit') -> float: ...
def get_left_margin(self, unit:'Unit') -> float: ...
def get_orientation(self) -> 'PageOrientation': ...
def get_page_height(self, unit:'Unit') -> float: ...
def get_page_width(self, unit:'Unit') -> float: ...
def get_paper_height(self, unit:'Unit') -> float: ...
def get_paper_size(self) -> 'PaperSize': ...
def get_paper_width(self, unit:'Unit') -> float: ...
def get_right_margin(self, unit:'Unit') -> float: ...
def get_top_margin(self, unit:'Unit') -> float: ...
def load_file(self, file_name:str) -> bool: ...
def load_key_file(self, key_file:'gi.repository.GLib.KeyFile', group_name:str) -> bool: ...
@staticmethod
def new_from_file(file_name:str) -> 'PageSetup': ...
@staticmethod
def new_from_gvariant(variant:'gi.repository.GLib.Variant') -> 'PageSetup': ...
@staticmethod
def new_from_key_file(key_file:'gi.repository.GLib.KeyFile', group_name:str) -> 'PageSetup': ...
def set_bottom_margin(self, margin:float, unit:'Unit') -> None: ...
def set_left_margin(self, margin:float, unit:'Unit') -> None: ...
def set_orientation(self, orientation:'PageOrientation') -> None: ...
def set_paper_size(self, size:'PaperSize') -> None: ...
def set_paper_size_and_default_margins(self, size:'PaperSize') -> None: ...
def set_right_margin(self, margin:float, unit:'Unit') -> None: ...
def set_top_margin(self, margin:float, unit:'Unit') -> None: ...
def to_file(self, file_name:str) -> bool: ...
def to_gvariant(self) -> 'gi.repository.GLib.Variant': ...
def to_key_file(self, key_file:'gi.repository.GLib.KeyFile', group_name:str) -> None: ...
...
class PanDirection:
DOWN = ... # type: PanDirection
LEFT = ... # type: PanDirection
RIGHT = ... # type: PanDirection
UP = ... # type: PanDirection
...
class Paned(Container):
def add1(self, child:'Widget') -> None: ...
def add2(self, child:'Widget') -> None: ...
container = ... # type: Container
def do_accept_position(self) -> bool: ...
def do_cancel_position(self) -> bool: ...
def do_cycle_child_focus(self, reverse:bool) -> bool: ...
def do_cycle_handle_focus(self, reverse:bool) -> bool: ...
def do_move_handle(self, scroll:'ScrollType') -> bool: ...
def do_toggle_handle_focus(self) -> bool: ...
def get_child1(self) -> 'Widget': ...
def get_child2(self) -> 'Widget': ...
def get_handle_window(self) -> 'gi.repository.Gdk.Window': ...
def get_position(self) -> int: ...
def get_wide_handle(self) -> bool: ...
def pack1(self, child, resize=False, shrink=True): ...
def pack2(self, child, resize=True, shrink=True): ...
def set_position(self, position:int) -> None: ...
def set_wide_handle(self, wide:bool) -> None: ...
...
class PanedAccessible(ContainerAccessible):
parent = ... # type: ContainerAccessible
...
class PaperSize:
def copy(self) -> 'PaperSize': ...
def free(self) -> None: ...
@staticmethod
def get_default() -> str: ...
def get_default_bottom_margin(self, unit:'Unit') -> float: ...
def get_default_left_margin(self, unit:'Unit') -> float: ...
def get_default_right_margin(self, unit:'Unit') -> float: ...
def get_default_top_margin(self, unit:'Unit') -> float: ...
def get_display_name(self) -> str: ...
def get_height(self, unit:'Unit') -> float: ...
def get_name(self) -> str: ...
@staticmethod
def get_paper_sizes(include_custom:bool) -> 'typing.List[PaperSize]': ...
def get_ppd_name(self) -> str: ...
def get_width(self, unit:'Unit') -> float: ...
def is_custom(self) -> bool: ...
def is_equal(self, size2:'PaperSize') -> bool: ...
def is_ipp(self) -> bool: ...
@staticmethod
def new_custom(name:str, display_name:str, width:float, height:float, unit:'Unit') -> 'PaperSize': ...
@staticmethod
def new_from_gvariant(variant:'gi.repository.GLib.Variant') -> 'PaperSize': ...
@staticmethod
def new_from_ipp(ipp_name:str, width:float, height:float) -> 'PaperSize': ...
@staticmethod
def new_from_key_file(key_file:'gi.repository.GLib.KeyFile', group_name:str) -> 'PaperSize': ...
@staticmethod
def new_from_ppd(ppd_name:str, ppd_display_name:str, width:float, height:float) -> 'PaperSize': ...
def set_size(self, width:float, height:float, unit:'Unit') -> None: ...
def to_gvariant(self) -> 'gi.repository.GLib.Variant': ...
def to_key_file(self, key_file:'gi.repository.GLib.KeyFile', group_name:str) -> None: ...
...
class PathPriorityType:
APPLICATION = ... # type: PathPriorityType
GTK = ... # type: PathPriorityType
HIGHEST = ... # type: PathPriorityType
LOWEST = ... # type: PathPriorityType
RC = ... # type: PathPriorityType
THEME = ... # type: PathPriorityType
...
class PathType:
CLASS = ... # type: PathType
WIDGET = ... # type: PathType
WIDGET_CLASS = ... # type: PathType
...
class PlacesOpenFlags:
NEW_TAB = ... # type: PlacesOpenFlags
NEW_WINDOW = ... # type: PlacesOpenFlags
NORMAL = ... # type: PlacesOpenFlags
...
class PlacesSidebar(ScrolledWindow):
def add_shortcut(self, location:'gi.repository.Gio.File') -> None: ...
def get_local_only(self) -> bool: ...
def get_location(self) -> 'gi.repository.Gio.File': ...
def get_nth_bookmark(self, n:int) -> 'gi.repository.Gio.File': ...
def get_open_flags(self) -> 'PlacesOpenFlags': ...
def get_show_connect_to_server(self) -> bool: ...
def get_show_desktop(self) -> bool: ...
def get_show_enter_location(self) -> bool: ...
def get_show_other_locations(self) -> bool: ...
def get_show_recent(self) -> bool: ...
def get_show_starred_location(self) -> bool: ...
def get_show_trash(self) -> bool: ...
def list_shortcuts(self) -> 'typing.List[gi.repository.Gio.File]': ...
def remove_shortcut(self, location:'gi.repository.Gio.File') -> None: ...
def set_drop_targets_visible(self, visible:bool, context:'gi.repository.Gdk.DragContext') -> None: ...
def set_local_only(self, local_only:bool) -> None: ...
def set_location(self, location:'gi.repository.Gio.File') -> None: ...
def set_open_flags(self, flags:'PlacesOpenFlags') -> None: ...
def set_show_connect_to_server(self, show_connect_to_server:bool) -> None: ...
def set_show_desktop(self, show_desktop:bool) -> None: ...
def set_show_enter_location(self, show_enter_location:bool) -> None: ...
def set_show_other_locations(self, show_other_locations:bool) -> None: ...
def set_show_recent(self, show_recent:bool) -> None: ...
def set_show_starred_location(self, show_starred_location:bool) -> None: ...
def set_show_trash(self, show_trash:bool) -> None: ...
...
class Plug(Window):
def construct(self, socket_id:int) -> None: ...
def construct_for_display(self, display:'gi.repository.Gdk.Display', socket_id:int) -> None: ...
def do_embedded(self) -> None: ...
def get_embedded(self) -> bool: ...
def get_id(self) -> int: ...
def get_socket_window(self) -> 'gi.repository.Gdk.Window': ...
@staticmethod
def new_for_display(display:'gi.repository.Gdk.Display', socket_id:int) -> 'Widget': ...
window = ... # type: Window
...
class PolicyType:
ALWAYS = ... # type: PolicyType
AUTOMATIC = ... # type: PolicyType
EXTERNAL = ... # type: PolicyType
NEVER = ... # type: PolicyType
...
class Popover(Bin):
def bind_model(self, model:'gi.repository.Gio.MenuModel', action_namespace:str) -> None: ...
def do_closed(self) -> None: ...
def get_constrain_to(self) -> 'PopoverConstraint': ...
def get_default_widget(self) -> 'Widget': ...
def get_modal(self) -> bool: ...
def get_pointing_to(self) -> 'typing.Tuple[bool, gi.repository.Gdk.Rectangle]': ...
def get_position(self) -> 'PositionType': ...
def get_relative_to(self) -> 'Widget': ...
def get_transitions_enabled(self) -> bool: ...
@staticmethod
def new_from_model(relative_to:'Widget', model:'gi.repository.Gio.MenuModel') -> 'Widget': ...
parent_instance = ... # type: Bin
def popdown(self) -> None: ...
def popup(self) -> None: ...
def set_constrain_to(self, constraint:'PopoverConstraint') -> None: ...
def set_default_widget(self, widget:'Widget') -> None: ...
def set_modal(self, modal:bool) -> None: ...
def set_pointing_to(self, rect:'gi.repository.Gdk.Rectangle') -> None: ...
def set_position(self, position:'PositionType') -> None: ...
def set_relative_to(self, relative_to:'Widget') -> None: ...
def set_transitions_enabled(self, transitions_enabled:bool) -> None: ...
...
class PopoverAccessible(ContainerAccessible):
parent = ... # type: ContainerAccessible
...
class PopoverConstraint:
NONE = ... # type: PopoverConstraint
WINDOW = ... # type: PopoverConstraint
...
class PopoverMenu(Popover):
def open_submenu(self, name:str) -> None: ...
...
class PositionType:
BOTTOM = ... # type: PositionType
LEFT = ... # type: PositionType
RIGHT = ... # type: PositionType
TOP = ... # type: PositionType
...
class PrintContext(gi.repository.GObject.GObject):
def create_pango_context(self) -> 'gi.repository.Pango.Context': ...
def create_pango_layout(self) -> 'gi.repository.Pango.Layout': ...
def get_cairo_context(self) -> 'gi.repository.cairo.Context': ...
def get_dpi_x(self) -> float: ...
def get_dpi_y(self) -> float: ...
def get_hard_margins(self) -> 'typing.Tuple[bool, float, float, float, float]': ...
def get_height(self) -> float: ...
def get_page_setup(self) -> 'PageSetup': ...
def get_pango_fontmap(self) -> 'gi.repository.Pango.FontMap': ...
def get_width(self) -> float: ...
def set_cairo_context(self, cr:'gi.repository.cairo.Context', dpi_x:float, dpi_y:float) -> None: ...
...
class PrintDuplex:
HORIZONTAL = ... # type: PrintDuplex
SIMPLEX = ... # type: PrintDuplex
VERTICAL = ... # type: PrintDuplex
...
class PrintError:
GENERAL = ... # type: PrintError
INTERNAL_ERROR = ... # type: PrintError
INVALID_FILE = ... # type: PrintError
NOMEM = ... # type: PrintError
@staticmethod
def quark() -> int: ...
...
class PrintOperation(gi.repository.GObject.GObject):
def cancel(self) -> None: ...
def do_begin_print(self, context:'PrintContext') -> None: ...
def do_custom_widget_apply(self, widget:'Widget') -> None: ...
def do_done(self, result:'PrintOperationResult') -> None: ...
def do_draw_page(self, context:'PrintContext', page_nr:int) -> None: ...
def do_end_print(self, context:'PrintContext') -> None: ...
def do_paginate(self, context:'PrintContext') -> bool: ...
def do_preview(self, preview:'PrintOperationPreview', context:'PrintContext', parent:'Window') -> bool: ...
def do_request_page_setup(self, context:'PrintContext', page_nr:int, setup:'PageSetup') -> None: ...
def do_status_changed(self) -> None: ...
def do_update_custom_widget(self, widget:'Widget', setup:'PageSetup', settings:'PrintSettings') -> None: ...
def draw_page_finish(self) -> None: ...
def get_default_page_setup(self) -> 'PageSetup': ...
def get_embed_page_setup(self) -> bool: ...
def get_error(self) -> None: ...
def get_has_selection(self) -> bool: ...
def get_n_pages_to_print(self) -> int: ...
def get_print_settings(self) -> 'PrintSettings': ...
def get_status(self) -> 'PrintStatus': ...
def get_status_string(self) -> str: ...
def get_support_selection(self) -> bool: ...
def is_finished(self) -> bool: ...
parent_instance = ... # type: gi.repository.GObject.GObject
def run(self, action:'PrintOperationAction', parent:'Window') -> 'PrintOperationResult': ...
def set_allow_async(self, allow_async:bool) -> None: ...
def set_current_page(self, current_page:int) -> None: ...
def set_custom_tab_label(self, label:str) -> None: ...
def set_default_page_setup(self, default_page_setup:'PageSetup') -> None: ...
def set_defer_drawing(self) -> None: ...
def set_embed_page_setup(self, embed:bool) -> None: ...
def set_export_filename(self, filename:str) -> None: ...
def set_has_selection(self, has_selection:bool) -> None: ...
def set_job_name(self, job_name:str) -> None: ...
def set_n_pages(self, n_pages:int) -> None: ...
def set_print_settings(self, print_settings:'PrintSettings') -> None: ...
def set_show_progress(self, show_progress:bool) -> None: ...
def set_support_selection(self, support_selection:bool) -> None: ...
def set_track_print_status(self, track_status:bool) -> None: ...
def set_unit(self, unit:'Unit') -> None: ...
def set_use_full_page(self, full_page:bool) -> None: ...
...
class PrintOperationAction:
EXPORT = ... # type: PrintOperationAction
PREVIEW = ... # type: PrintOperationAction
PRINT = ... # type: PrintOperationAction
PRINT_DIALOG = ... # type: PrintOperationAction
...
class PrintOperationPreview:
def end_preview(self) -> None: ...
def is_selected(self, page_nr:int) -> bool: ...
def render_page(self, page_nr:int) -> None: ...
...
class PrintOperationPreviewIface:
_gtk_reserved1 = ... # type: typing.Any
_gtk_reserved2 = ... # type: typing.Any
_gtk_reserved3 = ... # type: typing.Any
_gtk_reserved4 = ... # type: typing.Any
_gtk_reserved5 = ... # type: typing.Any
_gtk_reserved6 = ... # type: typing.Any
_gtk_reserved7 = ... # type: typing.Any
_gtk_reserved8 = ... # type: typing.Any
end_preview = ... # type: typing.Callable[[PrintOperationPreview], typing.Any]
g_iface = ... # type: gi.repository.GObject.TypeInterface
got_page_size = ... # type: typing.Callable[[PrintOperationPreview, PrintContext, PageSetup], typing.Any]
is_selected = ... # type: typing.Callable[[PrintOperationPreview, int], bool]
ready = ... # type: typing.Callable[[PrintOperationPreview, PrintContext], typing.Any]
render_page = ... # type: typing.Callable[[PrintOperationPreview, int], typing.Any]
...
class PrintOperationResult:
APPLY = ... # type: PrintOperationResult
CANCEL = ... # type: PrintOperationResult
ERROR = ... # type: PrintOperationResult
IN_PROGRESS = ... # type: PrintOperationResult
...
class PrintPages:
ALL = ... # type: PrintPages
CURRENT = ... # type: PrintPages
RANGES = ... # type: PrintPages
SELECTION = ... # type: PrintPages
...
class PrintQuality:
DRAFT = ... # type: PrintQuality
HIGH = ... # type: PrintQuality
LOW = ... # type: PrintQuality
NORMAL = ... # type: PrintQuality
...
class PrintSettings(gi.repository.GObject.GObject):
def copy(self) -> 'PrintSettings': ...
def foreach(self, func:'typing.Callable[[str, str, typing.Any], typing.Any]', user_data:'typing.Any') -> None: ...
def get(self, key:str) -> str: ...
def get_bool(self, key:str) -> bool: ...
def get_collate(self) -> bool: ...
def get_default_source(self) -> str: ...
def get_dither(self) -> str: ...
def get_double(self, key:str) -> float: ...
def get_double_with_default(self, key:str, def_:float) -> float: ...
def get_duplex(self) -> 'PrintDuplex': ...
def get_finishings(self) -> str: ...
def get_int(self, key:str) -> int: ...
def get_int_with_default(self, key:str, def_:int) -> int: ...
def get_length(self, key:str, unit:'Unit') -> float: ...
def get_media_type(self) -> str: ...
def get_n_copies(self) -> int: ...
def get_number_up(self) -> int: ...
def get_number_up_layout(self) -> 'NumberUpLayout': ...
def get_orientation(self) -> 'PageOrientation': ...
def get_output_bin(self) -> str: ...
def get_page_ranges(self) -> 'typing.Tuple[typing.List[PageRange], int]': ...
def get_page_set(self) -> 'PageSet': ...
def get_paper_height(self, unit:'Unit') -> float: ...
def get_paper_size(self) -> 'PaperSize': ...
def get_paper_width(self, unit:'Unit') -> float: ...
def get_print_pages(self) -> 'PrintPages': ...
def get_printer(self) -> str: ...
def get_printer_lpi(self) -> float: ...
def get_quality(self) -> 'PrintQuality': ...
def get_resolution(self) -> int: ...
def get_resolution_x(self) -> int: ...
def get_resolution_y(self) -> int: ...
def get_reverse(self) -> bool: ...
def get_scale(self) -> float: ...
def get_use_color(self) -> bool: ...
def has_key(self, key:str) -> bool: ...
def load_file(self, file_name:str) -> bool: ...
def load_key_file(self, key_file:'gi.repository.GLib.KeyFile', group_name:str) -> bool: ...
@staticmethod
def new_from_file(file_name:str) -> 'PrintSettings': ...
@staticmethod
def new_from_gvariant(variant:'gi.repository.GLib.Variant') -> 'PrintSettings': ...
@staticmethod
def new_from_key_file(key_file:'gi.repository.GLib.KeyFile', group_name:str) -> 'PrintSettings': ...
def set(self, key:str, value:str) -> None: ...
def set_bool(self, key:str, value:bool) -> None: ...
def set_collate(self, collate:bool) -> None: ...
def set_default_source(self, default_source:str) -> None: ...
def set_dither(self, dither:str) -> None: ...
def set_double(self, key:str, value:float) -> None: ...
def set_duplex(self, duplex:'PrintDuplex') -> None: ...
def set_finishings(self, finishings:str) -> None: ...
def set_int(self, key:str, value:int) -> None: ...
def set_length(self, key:str, value:float, unit:'Unit') -> None: ...
def set_media_type(self, media_type:str) -> None: ...
def set_n_copies(self, num_copies:int) -> None: ...
def set_number_up(self, number_up:int) -> None: ...
def set_number_up_layout(self, number_up_layout:'NumberUpLayout') -> None: ...
def set_orientation(self, orientation:'PageOrientation') -> None: ...
def set_output_bin(self, output_bin:str) -> None: ...
def set_page_ranges(self, page_ranges:'typing.List[PageRange]', num_ranges:int) -> None: ...
def set_page_set(self, page_set:'PageSet') -> None: ...
def set_paper_height(self, height:float, unit:'Unit') -> None: ...
def set_paper_size(self, paper_size:'PaperSize') -> None: ...
def set_paper_width(self, width:float, unit:'Unit') -> None: ...
def set_print_pages(self, pages:'PrintPages') -> None: ...
def set_printer(self, printer:str) -> None: ...
def set_printer_lpi(self, lpi:float) -> None: ...
def set_quality(self, quality:'PrintQuality') -> None: ...
def set_resolution(self, resolution:int) -> None: ...
def set_resolution_xy(self, resolution_x:int, resolution_y:int) -> None: ...
def set_reverse(self, reverse:bool) -> None: ...
def set_scale(self, scale:float) -> None: ...
def set_use_color(self, use_color:bool) -> None: ...
def to_file(self, file_name:str) -> bool: ...
def to_gvariant(self) -> 'gi.repository.GLib.Variant': ...
def to_key_file(self, key_file:'gi.repository.GLib.KeyFile', group_name:str) -> None: ...
def unset(self, key:str) -> None: ...
...
class PrintStatus:
FINISHED = ... # type: PrintStatus
FINISHED_ABORTED = ... # type: PrintStatus
GENERATING_DATA = ... # type: PrintStatus
INITIAL = ... # type: PrintStatus
PENDING = ... # type: PrintStatus
PENDING_ISSUE = ... # type: PrintStatus
PREPARING = ... # type: PrintStatus
PRINTING = ... # type: PrintStatus
SENDING_DATA = ... # type: PrintStatus
...
class ProgressBar(Widget):
def get_ellipsize(self) -> 'gi.repository.Pango.EllipsizeMode': ...
def get_fraction(self) -> float: ...
def get_inverted(self) -> bool: ...
def get_pulse_step(self) -> float: ...
def get_show_text(self) -> bool: ...
def get_text(self) -> str: ...
parent = ... # type: Widget
def pulse(self) -> None: ...
def set_ellipsize(self, mode:'gi.repository.Pango.EllipsizeMode') -> None: ...
def set_fraction(self, fraction:float) -> None: ...
def set_inverted(self, inverted:bool) -> None: ...
def set_pulse_step(self, fraction:float) -> None: ...
def set_show_text(self, show_text:bool) -> None: ...
def set_text(self, text:str) -> None: ...
...
class ProgressBarAccessible(WidgetAccessible):
parent = ... # type: WidgetAccessible
...
class PropagationPhase:
BUBBLE = ... # type: PropagationPhase
CAPTURE = ... # type: PropagationPhase
NONE = ... # type: PropagationPhase
TARGET = ... # type: PropagationPhase
...
class PyGTKDeprecationWarning:
...
class RadioAction(ToggleAction):
def do_changed(self, current:'RadioAction') -> None: ...
def get_current_value(self) -> int: ...
def get_group(self) -> 'typing.List[RadioAction]': ...
def join_group(self, group_source:'RadioAction') -> None: ...
parent = ... # type: ToggleAction
private_data = ... # type: RadioActionPrivate
def set_current_value(self, current_value:int) -> None: ...
def set_group(self, group:'typing.List[RadioAction]') -> None: ...
...
class RadioActionEntry:
accelerator = ... # type: str
label = ... # type: str
name = ... # type: str
stock_id = ... # type: str
tooltip = ... # type: str
value = ... # type: int
...
class RadioButton(CheckButton):
check_button = ... # type: CheckButton
def do_group_changed(self) -> None: ...
def get_group(self) -> 'typing.List[RadioButton]': ...
def join_group(self, group_source:'RadioButton') -> None: ...
@staticmethod
def new_from_widget(radio_group_member:'RadioButton') -> 'Widget': ...
@staticmethod
def new_with_label(group:'typing.List[RadioButton]', label:str) -> 'Widget': ...
@staticmethod
def new_with_label_from_widget(radio_group_member:'RadioButton', label:str) -> 'Widget': ...
@staticmethod
def new_with_mnemonic(group:'typing.List[RadioButton]', label:str) -> 'Widget': ...
@staticmethod
def new_with_mnemonic_from_widget(radio_group_member:'RadioButton', label:str) -> 'Widget': ...
def set_group(self, group:'typing.List[RadioButton]') -> None: ...
...
class RadioButtonAccessible(ToggleButtonAccessible):
parent = ... # type: ToggleButtonAccessible
...
class RadioMenuItem(CheckMenuItem):
check_menu_item = ... # type: CheckMenuItem
def do_group_changed(self) -> None: ...
def get_group(self) -> 'typing.List[RadioMenuItem]': ...
def join_group(self, group_source:'RadioMenuItem') -> None: ...
@staticmethod
def new_from_widget(group:'RadioMenuItem') -> 'Widget': ...
@staticmethod
def new_with_label(group:'typing.List[RadioMenuItem]', label:str) -> 'Widget': ...
@staticmethod
def new_with_label_from_widget(group:'RadioMenuItem', label:str) -> 'Widget': ...
@staticmethod
def new_with_mnemonic(group:'typing.List[RadioMenuItem]', label:str) -> 'Widget': ...
@staticmethod
def new_with_mnemonic_from_widget(group:'RadioMenuItem', label:str) -> 'Widget': ...
def set_group(self, group:'typing.List[RadioMenuItem]') -> None: ...
...
class RadioMenuItemAccessible(CheckMenuItemAccessible):
parent = ... # type: CheckMenuItemAccessible
...
class RadioToolButton(ToggleToolButton):
def get_group(self) -> 'typing.List[RadioButton]': ...
@staticmethod
def new_from_stock(group:'typing.List[RadioButton]', stock_id:str) -> 'ToolItem': ...
@staticmethod
def new_from_widget(group:'RadioToolButton') -> 'ToolItem': ...
@staticmethod
def new_with_stock_from_widget(group:'RadioToolButton', stock_id:str) -> 'ToolItem': ...
parent = ... # type: ToggleToolButton
def set_group(self, group:'typing.List[RadioButton]') -> None: ...
...
class Range(Widget):
def do_adjust_bounds(self, new_value:float) -> None: ...
def do_change_value(self, scroll:'ScrollType', new_value:float) -> bool: ...
def do_get_range_border(self, border_:'Border') -> None: ...
def do_get_range_size_request(self, orientation:'Orientation', minimum:int, natural:int) -> None: ...
def do_move_slider(self, scroll:'ScrollType') -> None: ...
def do_value_changed(self) -> None: ...
def get_adjustment(self) -> 'Adjustment': ...
def get_fill_level(self) -> float: ...
def get_flippable(self) -> bool: ...
def get_inverted(self) -> bool: ...
def get_lower_stepper_sensitivity(self) -> 'SensitivityType': ...
def get_min_slider_size(self) -> int: ...
def get_range_rect(self) -> 'typing.Tuple[gi.repository.Gdk.Rectangle]': ...
def get_restrict_to_fill_level(self) -> bool: ...
def get_round_digits(self) -> int: ...
def get_show_fill_level(self) -> bool: ...
def get_slider_range(self) -> 'typing.Tuple[int, int]': ...
def get_slider_size_fixed(self) -> bool: ...
def get_upper_stepper_sensitivity(self) -> 'SensitivityType': ...
def get_value(self) -> float: ...
def set_adjustment(self, adjustment:'Adjustment') -> None: ...
def set_fill_level(self, fill_level:float) -> None: ...
def set_flippable(self, flippable:bool) -> None: ...
def set_increments(self, step:float, page:float) -> None: ...
def set_inverted(self, setting:bool) -> None: ...
def set_lower_stepper_sensitivity(self, sensitivity:'SensitivityType') -> None: ...
def set_min_slider_size(self, min_size:int) -> None: ...
def set_range(self, min:float, max:float) -> None: ...
def set_restrict_to_fill_level(self, restrict_to_fill_level:bool) -> None: ...
def set_round_digits(self, round_digits:int) -> None: ...
def set_show_fill_level(self, show_fill_level:bool) -> None: ...
def set_slider_size_fixed(self, size_fixed:bool) -> None: ...
def set_upper_stepper_sensitivity(self, sensitivity:'SensitivityType') -> None: ...
def set_value(self, value:float) -> None: ...
...
class RangeAccessible(WidgetAccessible):
parent = ... # type: WidgetAccessible
...
class RcContext:
...
class RcFlags:
BASE = ... # type: RcFlags
BG = ... # type: RcFlags
FG = ... # type: RcFlags
TEXT = ... # type: RcFlags
...
class RcProperty:
origin = ... # type: str
@staticmethod
def parse_border(pspec:'gi.repository.GObject.ParamSpec', gstring:'gi.repository.GLib.String', property_value:'gi.repository.GObject.Value') -> bool: ...
@staticmethod
def parse_color(pspec:'gi.repository.GObject.ParamSpec', gstring:'gi.repository.GLib.String', property_value:'gi.repository.GObject.Value') -> bool: ...
@staticmethod
def parse_enum(pspec:'gi.repository.GObject.ParamSpec', gstring:'gi.repository.GLib.String', property_value:'gi.repository.GObject.Value') -> bool: ...
@staticmethod
def parse_flags(pspec:'gi.repository.GObject.ParamSpec', gstring:'gi.repository.GLib.String', property_value:'gi.repository.GObject.Value') -> bool: ...
@staticmethod
def parse_requisition(pspec:'gi.repository.GObject.ParamSpec', gstring:'gi.repository.GLib.String', property_value:'gi.repository.GObject.Value') -> bool: ...
property_name = ... # type: int
type_name = ... # type: int
value = ... # type: gi.repository.GObject.Value
...
class RcStyle(gi.repository.GObject.GObject):
base = ... # type: typing.List[gi.repository.Gdk.Color]
bg = ... # type: typing.List[gi.repository.Gdk.Color]
bg_pixmap_name = ... # type: typing.List[str]
color_flags = ... # type: typing.List[RcFlags]
def copy(self) -> 'RcStyle': ...
def do_merge(self, src:'RcStyle') -> None: ...
def do_parse(self, settings:'Settings', scanner:'gi.repository.GLib.Scanner') -> int: ...
engine_specified = ... # type: int
fg = ... # type: typing.List[gi.repository.Gdk.Color]
font_desc = ... # type: gi.repository.Pango.FontDescription
icon_factories = ... # type: typing.List[typing.Any]
name = ... # type: str
parent_instance = ... # type: gi.repository.GObject.GObject
rc_properties = ... # type: typing.List[typing.Any]
rc_style_lists = ... # type: typing.List[typing.Any]
text = ... # type: typing.List[gi.repository.Gdk.Color]
xthickness = ... # type: int
ythickness = ... # type: int
...
class RcTokenType:
ACTIVE = ... # type: RcTokenType
APPLICATION = ... # type: RcTokenType
BASE = ... # type: RcTokenType
BG = ... # type: RcTokenType
BG_PIXMAP = ... # type: RcTokenType
BIND = ... # type: RcTokenType
BINDING = ... # type: RcTokenType
CLASS = ... # type: RcTokenType
COLOR = ... # type: RcTokenType
ENGINE = ... # type: RcTokenType
FG = ... # type: RcTokenType
FONT = ... # type: RcTokenType
FONTSET = ... # type: RcTokenType
FONT_NAME = ... # type: RcTokenType
GTK = ... # type: RcTokenType
HIGHEST = ... # type: RcTokenType
IM_MODULE_FILE = ... # type: RcTokenType
IM_MODULE_PATH = ... # type: RcTokenType
INCLUDE = ... # type: RcTokenType
INSENSITIVE = ... # type: RcTokenType
INVALID = ... # type: RcTokenType
LAST = ... # type: RcTokenType
LOWEST = ... # type: RcTokenType
LTR = ... # type: RcTokenType
MODULE_PATH = ... # type: RcTokenType
NORMAL = ... # type: RcTokenType
PIXMAP_PATH = ... # type: RcTokenType
PRELIGHT = ... # type: RcTokenType
RC = ... # type: RcTokenType
RTL = ... # type: RcTokenType
SELECTED = ... # type: RcTokenType
STOCK = ... # type: RcTokenType
STYLE = ... # type: RcTokenType
TEXT = ... # type: RcTokenType
THEME = ... # type: RcTokenType
UNBIND = ... # type: RcTokenType
WIDGET = ... # type: RcTokenType
WIDGET_CLASS = ... # type: RcTokenType
XTHICKNESS = ... # type: RcTokenType
YTHICKNESS = ... # type: RcTokenType
...
class RecentAction(Action):
def get_show_numbers(self) -> bool: ...
@staticmethod
def new_for_manager(name:str, label:str, tooltip:str, stock_id:str, manager:'RecentManager') -> 'Action': ...
parent_instance = ... # type: Action
def set_show_numbers(self, show_numbers:bool) -> None: ...
...
class RecentChooser:
def add_filter(self, filter:'RecentFilter') -> None: ...
def get_current_item(self) -> 'RecentInfo': ...
def get_current_uri(self) -> str: ...
def get_filter(self) -> 'RecentFilter': ...
def get_items(self) -> 'typing.List[RecentInfo]': ...
def get_limit(self) -> int: ...
def get_local_only(self) -> bool: ...
def get_select_multiple(self) -> bool: ...
def get_show_icons(self) -> bool: ...
def get_show_not_found(self) -> bool: ...
def get_show_private(self) -> bool: ...
def get_show_tips(self) -> bool: ...
def get_sort_type(self) -> 'RecentSortType': ...
def get_uris(self) -> 'typing.Tuple[typing.List[str], int]': ...
def list_filters(self) -> 'typing.List[RecentFilter]': ...
def remove_filter(self, filter:'RecentFilter') -> None: ...
def select_all(self) -> None: ...
def select_uri(self, uri:str) -> bool: ...
def set_current_uri(self, uri:str) -> bool: ...
def set_filter(self, filter:'RecentFilter') -> None: ...
def set_limit(self, limit:int) -> None: ...
def set_local_only(self, local_only:bool) -> None: ...
def set_select_multiple(self, select_multiple:bool) -> None: ...
def set_show_icons(self, show_icons:bool) -> None: ...
def set_show_not_found(self, show_not_found:bool) -> None: ...
def set_show_private(self, show_private:bool) -> None: ...
def set_show_tips(self, show_tips:bool) -> None: ...
def set_sort_func(self, sort_func:'typing.Callable[[RecentInfo, RecentInfo, typing.Any], int]', sort_data:'typing.Any', data_destroy:'typing.Callable[[typing.Any], typing.Any]') -> None: ...
def set_sort_type(self, sort_type:'RecentSortType') -> None: ...
def unselect_all(self) -> None: ...
def unselect_uri(self, uri:str) -> None: ...
...
class RecentChooserDialog(Dialog):
parent_instance = ... # type: Dialog
...
class RecentChooserError:
INVALID_URI = ... # type: RecentChooserError
NOT_FOUND = ... # type: RecentChooserError
@staticmethod
def quark() -> int: ...
...
class RecentChooserIface:
add_filter = ... # type: typing.Callable[[RecentChooser, RecentFilter], typing.Any]
base_iface = ... # type: gi.repository.GObject.TypeInterface
get_current_uri = ... # type: typing.Callable[[RecentChooser], str]
get_items = ... # type: typing.Callable[[RecentChooser], typing.List[RecentInfo]]
get_recent_manager = ... # type: typing.Any
item_activated = ... # type: typing.Callable[[RecentChooser], typing.Any]
list_filters = ... # type: typing.Callable[[RecentChooser], typing.List[RecentFilter]]
remove_filter = ... # type: typing.Callable[[RecentChooser, RecentFilter], typing.Any]
select_all = ... # type: typing.Callable[[RecentChooser], typing.Any]
select_uri = ... # type: typing.Callable[[RecentChooser, str], bool]
selection_changed = ... # type: typing.Callable[[RecentChooser], typing.Any]
set_current_uri = ... # type: typing.Callable[[RecentChooser, str], bool]
set_sort_func = ... # type: typing.Callable[[RecentChooser, typing.Callable[[RecentInfo, RecentInfo, typing.Any], int], typing.Any, typing.Callable[[typing.Any], typing.Any]], typing.Any]
unselect_all = ... # type: typing.Callable[[RecentChooser], typing.Any]
unselect_uri = ... # type: typing.Callable[[RecentChooser, str], typing.Any]
...
class RecentChooserMenu(Menu):
def get_show_numbers(self) -> bool: ...
@staticmethod
def new_for_manager(manager:'RecentManager') -> 'Widget': ...
parent_instance = ... # type: Menu
def set_show_numbers(self, show_numbers:bool) -> None: ...
...
class RecentChooserWidget(Box):
@staticmethod
def new_for_manager(manager:'RecentManager') -> 'Widget': ...
parent_instance = ... # type: Box
...
class RecentData:
app_exec = ... # type: str
app_name = ... # type: str
description = ... # type: str
display_name = ... # type: str
groups = ... # type: typing.List[str]
is_private = ... # type: bool
mime_type = ... # type: str
...
class RecentFilter(gi.repository.GObject.InitiallyUnowned):
def add_age(self, days:int) -> None: ...
def add_application(self, application:str) -> None: ...
def add_custom(self, needed:'RecentFilterFlags', func:'typing.Callable[[RecentFilterInfo, typing.Any], bool]', data:'typing.Any', data_destroy:'typing.Callable[[typing.Any], typing.Any]') -> None: ...
def add_group(self, group:str) -> None: ...
def add_mime_type(self, mime_type:str) -> None: ...
def add_pattern(self, pattern:str) -> None: ...
def add_pixbuf_formats(self) -> None: ...
def filter(self, filter_info:'RecentFilterInfo') -> bool: ...
def get_name(self) -> str: ...
def get_needed(self) -> 'RecentFilterFlags': ...
def set_name(self, name:str) -> None: ...
...
class RecentFilterFlags:
AGE = ... # type: RecentFilterFlags
APPLICATION = ... # type: RecentFilterFlags
DISPLAY_NAME = ... # type: RecentFilterFlags
GROUP = ... # type: RecentFilterFlags
MIME_TYPE = ... # type: RecentFilterFlags
URI = ... # type: RecentFilterFlags
...
class RecentFilterInfo:
age = ... # type: int
applications = ... # type: typing.List[str]
contains = ... # type: RecentFilterFlags
display_name = ... # type: str
groups = ... # type: typing.List[str]
mime_type = ... # type: str
uri = ... # type: str
...
class RecentInfo:
def create_app_info(self, app_name:str) -> 'gi.repository.Gio.AppInfo': ...
def exists(self) -> bool: ...
def get_added(self) -> int: ...
def get_age(self) -> int: ...
def get_application_info(self, app_name:str) -> 'typing.Tuple[bool, str, int, int]': ...
def get_applications(self) -> 'typing.Tuple[typing.List[str], int]': ...
def get_description(self) -> str: ...
def get_display_name(self) -> str: ...
def get_gicon(self) -> 'gi.repository.Gio.Icon': ...
def get_groups(self) -> 'typing.Tuple[typing.List[str], int]': ...
def get_icon(self, size:int) -> 'gi.repository.GdkPixbuf.Pixbuf': ...
def get_mime_type(self) -> str: ...
def get_modified(self) -> int: ...
def get_private_hint(self) -> bool: ...
def get_short_name(self) -> str: ...
def get_uri(self) -> str: ...
def get_uri_display(self) -> str: ...
def get_visited(self) -> int: ...
def has_application(self, app_name:str) -> bool: ...
def has_group(self, group_name:str) -> bool: ...
def is_local(self) -> bool: ...
def last_application(self) -> str: ...
def match(self, info_b:'RecentInfo') -> bool: ...
def ref(self) -> 'RecentInfo': ...
def unref(self) -> None: ...
...
class RecentManager(gi.repository.GObject.GObject):
def add_full(self, uri:str, recent_data:'RecentData') -> bool: ...
def add_item(self, uri:str) -> bool: ...
def do_changed(self) -> None: ...
@staticmethod
def get_default() -> 'RecentManager': ...
def get_items(self) -> 'typing.List[RecentInfo]': ...
def has_item(self, uri:str) -> bool: ...
def lookup_item(self, uri:str) -> 'RecentInfo': ...
def move_item(self, uri:str, new_uri:str) -> bool: ...
parent_instance = ... # type: gi.repository.GObject.GObject
def purge_items(self) -> int: ...
def remove_item(self, uri:str) -> bool: ...
...
class RecentManagerError:
INVALID_ENCODING = ... # type: RecentManagerError
INVALID_URI = ... # type: RecentManagerError
NOT_FOUND = ... # type: RecentManagerError
NOT_REGISTERED = ... # type: RecentManagerError
READ = ... # type: RecentManagerError
UNKNOWN = ... # type: RecentManagerError
WRITE = ... # type: RecentManagerError
@staticmethod
def quark() -> int: ...
...
class RecentSortType:
CUSTOM = ... # type: RecentSortType
LRU = ... # type: RecentSortType
MRU = ... # type: RecentSortType
NONE = ... # type: RecentSortType
...
class RegionFlags:
EVEN = ... # type: RegionFlags
FIRST = ... # type: RegionFlags
LAST = ... # type: RegionFlags
ODD = ... # type: RegionFlags
ONLY = ... # type: RegionFlags
SORTED = ... # type: RegionFlags
...
class ReliefStyle:
HALF = ... # type: ReliefStyle
NONE = ... # type: ReliefStyle
NORMAL = ... # type: ReliefStyle
...
class RendererCellAccessible(CellAccessible):
parent = ... # type: CellAccessible
...
class RequestedSize:
data = ... # type: typing.Any
minimum_size = ... # type: int
natural_size = ... # type: int
...
class Requisition:
def copy(self) -> 'Requisition': ...
def free(self) -> None: ...
height = ... # type: int
width = ... # type: int
...
class ResizeMode:
IMMEDIATE = ... # type: ResizeMode
PARENT = ... # type: ResizeMode
QUEUE = ... # type: ResizeMode
...
class ResponseType:
ACCEPT = ... # type: ResponseType
APPLY = ... # type: ResponseType
CANCEL = ... # type: ResponseType
CLOSE = ... # type: ResponseType
DELETE_EVENT = ... # type: ResponseType
HELP = ... # type: ResponseType
NO = ... # type: ResponseType
NONE = ... # type: ResponseType
OK = ... # type: ResponseType
REJECT = ... # type: ResponseType
YES = ... # type: ResponseType
...
class Revealer(Bin):
def get_child_revealed(self) -> bool: ...
def get_reveal_child(self) -> bool: ...
def get_transition_duration(self) -> int: ...
def get_transition_type(self) -> 'RevealerTransitionType': ...
parent_instance = ... # type: Bin
def set_reveal_child(self, reveal_child:bool) -> None: ...
def set_transition_duration(self, duration:int) -> None: ...
def set_transition_type(self, transition:'RevealerTransitionType') -> None: ...
...
class RevealerTransitionType:
CROSSFADE = ... # type: RevealerTransitionType
NONE = ... # type: RevealerTransitionType
SLIDE_DOWN = ... # type: RevealerTransitionType
SLIDE_LEFT = ... # type: RevealerTransitionType
SLIDE_RIGHT = ... # type: RevealerTransitionType
SLIDE_UP = ... # type: RevealerTransitionType
...
STOCK_ABOUT = ... # type: str
STOCK_ADD = ... # type: str
STOCK_APPLY = ... # type: str
STOCK_BOLD = ... # type: str
STOCK_CANCEL = ... # type: str
STOCK_CAPS_LOCK_WARNING = ... # type: str
STOCK_CDROM = ... # type: str
STOCK_CLEAR = ... # type: str
STOCK_CLOSE = ... # type: str
STOCK_COLOR_PICKER = ... # type: str
STOCK_CONNECT = ... # type: str
STOCK_CONVERT = ... # type: str
STOCK_COPY = ... # type: str
STOCK_CUT = ... # type: str
STOCK_DELETE = ... # type: str
STOCK_DIALOG_AUTHENTICATION = ... # type: str
STOCK_DIALOG_ERROR = ... # type: str
STOCK_DIALOG_INFO = ... # type: str
STOCK_DIALOG_QUESTION = ... # type: str
STOCK_DIALOG_WARNING = ... # type: str
STOCK_DIRECTORY = ... # type: str
STOCK_DISCARD = ... # type: str
STOCK_DISCONNECT = ... # type: str
STOCK_DND = ... # type: str
STOCK_DND_MULTIPLE = ... # type: str
STOCK_EDIT = ... # type: str
STOCK_EXECUTE = ... # type: str
STOCK_FILE = ... # type: str
STOCK_FIND = ... # type: str
STOCK_FIND_AND_REPLACE = ... # type: str
STOCK_FLOPPY = ... # type: str
STOCK_FULLSCREEN = ... # type: str
STOCK_GOTO_BOTTOM = ... # type: str
STOCK_GOTO_FIRST = ... # type: str
STOCK_GOTO_LAST = ... # type: str
STOCK_GOTO_TOP = ... # type: str
STOCK_GO_BACK = ... # type: str
STOCK_GO_DOWN = ... # type: str
STOCK_GO_FORWARD = ... # type: str
STOCK_GO_UP = ... # type: str
STOCK_HARDDISK = ... # type: str
STOCK_HELP = ... # type: str
STOCK_HOME = ... # type: str
STOCK_INDENT = ... # type: str
STOCK_INDEX = ... # type: str
STOCK_INFO = ... # type: str
STOCK_ITALIC = ... # type: str
STOCK_JUMP_TO = ... # type: str
STOCK_JUSTIFY_CENTER = ... # type: str
STOCK_JUSTIFY_FILL = ... # type: str
STOCK_JUSTIFY_LEFT = ... # type: str
STOCK_JUSTIFY_RIGHT = ... # type: str
STOCK_LEAVE_FULLSCREEN = ... # type: str
STOCK_MEDIA_FORWARD = ... # type: str
STOCK_MEDIA_NEXT = ... # type: str
STOCK_MEDIA_PAUSE = ... # type: str
STOCK_MEDIA_PLAY = ... # type: str
STOCK_MEDIA_PREVIOUS = ... # type: str
STOCK_MEDIA_RECORD = ... # type: str
STOCK_MEDIA_REWIND = ... # type: str
STOCK_MEDIA_STOP = ... # type: str
STOCK_MISSING_IMAGE = ... # type: str
STOCK_NETWORK = ... # type: str
STOCK_NEW = ... # type: str
STOCK_NO = ... # type: str
STOCK_OK = ... # type: str
STOCK_OPEN = ... # type: str
STOCK_ORIENTATION_LANDSCAPE = ... # type: str
STOCK_ORIENTATION_PORTRAIT = ... # type: str
STOCK_ORIENTATION_REVERSE_LANDSCAPE = ... # type: str
STOCK_ORIENTATION_REVERSE_PORTRAIT = ... # type: str
STOCK_PAGE_SETUP = ... # type: str
STOCK_PASTE = ... # type: str
STOCK_PREFERENCES = ... # type: str
STOCK_PRINT = ... # type: str
STOCK_PRINT_ERROR = ... # type: str
STOCK_PRINT_PAUSED = ... # type: str
STOCK_PRINT_PREVIEW = ... # type: str
STOCK_PRINT_REPORT = ... # type: str
STOCK_PRINT_WARNING = ... # type: str
STOCK_PROPERTIES = ... # type: str
STOCK_QUIT = ... # type: str
STOCK_REDO = ... # type: str
STOCK_REFRESH = ... # type: str
STOCK_REMOVE = ... # type: str
STOCK_REVERT_TO_SAVED = ... # type: str
STOCK_SAVE = ... # type: str
STOCK_SAVE_AS = ... # type: str
STOCK_SELECT_ALL = ... # type: str
STOCK_SELECT_COLOR = ... # type: str
STOCK_SELECT_FONT = ... # type: str
STOCK_SORT_ASCENDING = ... # type: str
STOCK_SORT_DESCENDING = ... # type: str
STOCK_SPELL_CHECK = ... # type: str
STOCK_STOP = ... # type: str
STOCK_STRIKETHROUGH = ... # type: str
STOCK_UNDELETE = ... # type: str
STOCK_UNDERLINE = ... # type: str
STOCK_UNDO = ... # type: str
STOCK_UNINDENT = ... # type: str
STOCK_YES = ... # type: str
STOCK_ZOOM_100 = ... # type: str
STOCK_ZOOM_FIT = ... # type: str
STOCK_ZOOM_IN = ... # type: str
STOCK_ZOOM_OUT = ... # type: str
STYLE_CLASS_ACCELERATOR = ... # type: str
STYLE_CLASS_ARROW = ... # type: str
STYLE_CLASS_BACKGROUND = ... # type: str
STYLE_CLASS_BOTTOM = ... # type: str
STYLE_CLASS_BUTTON = ... # type: str
STYLE_CLASS_CALENDAR = ... # type: str
STYLE_CLASS_CELL = ... # type: str
STYLE_CLASS_CHECK = ... # type: str
STYLE_CLASS_COMBOBOX_ENTRY = ... # type: str
STYLE_CLASS_CONTEXT_MENU = ... # type: str
STYLE_CLASS_CSD = ... # type: str
STYLE_CLASS_CURSOR_HANDLE = ... # type: str
STYLE_CLASS_DEFAULT = ... # type: str
STYLE_CLASS_DESTRUCTIVE_ACTION = ... # type: str
STYLE_CLASS_DIM_LABEL = ... # type: str
STYLE_CLASS_DND = ... # type: str
STYLE_CLASS_DOCK = ... # type: str
STYLE_CLASS_ENTRY = ... # type: str
STYLE_CLASS_ERROR = ... # type: str
STYLE_CLASS_EXPANDER = ... # type: str
STYLE_CLASS_FLAT = ... # type: str
STYLE_CLASS_FRAME = ... # type: str
STYLE_CLASS_GRIP = ... # type: str
STYLE_CLASS_HEADER = ... # type: str
STYLE_CLASS_HIGHLIGHT = ... # type: str
STYLE_CLASS_HORIZONTAL = ... # type: str
STYLE_CLASS_IMAGE = ... # type: str
STYLE_CLASS_INFO = ... # type: str
STYLE_CLASS_INLINE_TOOLBAR = ... # type: str
STYLE_CLASS_INSERTION_CURSOR = ... # type: str
STYLE_CLASS_LABEL = ... # type: str
STYLE_CLASS_LEFT = ... # type: str
STYLE_CLASS_LEVEL_BAR = ... # type: str
STYLE_CLASS_LINKED = ... # type: str
STYLE_CLASS_LIST = ... # type: str
STYLE_CLASS_LIST_ROW = ... # type: str
STYLE_CLASS_MARK = ... # type: str
STYLE_CLASS_MENU = ... # type: str
STYLE_CLASS_MENUBAR = ... # type: str
STYLE_CLASS_MENUITEM = ... # type: str
STYLE_CLASS_MESSAGE_DIALOG = ... # type: str
STYLE_CLASS_MONOSPACE = ... # type: str
STYLE_CLASS_NEEDS_ATTENTION = ... # type: str
STYLE_CLASS_NOTEBOOK = ... # type: str
STYLE_CLASS_OSD = ... # type: str
STYLE_CLASS_OVERSHOOT = ... # type: str
STYLE_CLASS_PANE_SEPARATOR = ... # type: str
STYLE_CLASS_PAPER = ... # type: str
STYLE_CLASS_POPOVER = ... # type: str
STYLE_CLASS_POPUP = ... # type: str
STYLE_CLASS_PRIMARY_TOOLBAR = ... # type: str
STYLE_CLASS_PROGRESSBAR = ... # type: str
STYLE_CLASS_PULSE = ... # type: str
STYLE_CLASS_QUESTION = ... # type: str
STYLE_CLASS_RADIO = ... # type: str
STYLE_CLASS_RAISED = ... # type: str
STYLE_CLASS_READ_ONLY = ... # type: str
STYLE_CLASS_RIGHT = ... # type: str
STYLE_CLASS_RUBBERBAND = ... # type: str
STYLE_CLASS_SCALE = ... # type: str
STYLE_CLASS_SCALE_HAS_MARKS_ABOVE = ... # type: str
STYLE_CLASS_SCALE_HAS_MARKS_BELOW = ... # type: str
STYLE_CLASS_SCROLLBAR = ... # type: str
STYLE_CLASS_SCROLLBARS_JUNCTION = ... # type: str
STYLE_CLASS_SEPARATOR = ... # type: str
STYLE_CLASS_SIDEBAR = ... # type: str
STYLE_CLASS_SLIDER = ... # type: str
STYLE_CLASS_SPINBUTTON = ... # type: str
STYLE_CLASS_SPINNER = ... # type: str
STYLE_CLASS_STATUSBAR = ... # type: str
STYLE_CLASS_SUBTITLE = ... # type: str
STYLE_CLASS_SUGGESTED_ACTION = ... # type: str
STYLE_CLASS_TITLE = ... # type: str
STYLE_CLASS_TITLEBAR = ... # type: str
STYLE_CLASS_TOOLBAR = ... # type: str
STYLE_CLASS_TOOLTIP = ... # type: str
STYLE_CLASS_TOP = ... # type: str
STYLE_CLASS_TOUCH_SELECTION = ... # type: str
STYLE_CLASS_TROUGH = ... # type: str
STYLE_CLASS_UNDERSHOOT = ... # type: str
STYLE_CLASS_VERTICAL = ... # type: str
STYLE_CLASS_VIEW = ... # type: str
STYLE_CLASS_WARNING = ... # type: str
STYLE_CLASS_WIDE = ... # type: str
STYLE_PROPERTY_BACKGROUND_COLOR = ... # type: str
STYLE_PROPERTY_BACKGROUND_IMAGE = ... # type: str
STYLE_PROPERTY_BORDER_COLOR = ... # type: str
STYLE_PROPERTY_BORDER_RADIUS = ... # type: str
STYLE_PROPERTY_BORDER_STYLE = ... # type: str
STYLE_PROPERTY_BORDER_WIDTH = ... # type: str
STYLE_PROPERTY_COLOR = ... # type: str
STYLE_PROPERTY_FONT = ... # type: str
STYLE_PROPERTY_MARGIN = ... # type: str
STYLE_PROPERTY_PADDING = ... # type: str
STYLE_PROVIDER_PRIORITY_APPLICATION = ... # type: int
STYLE_PROVIDER_PRIORITY_FALLBACK = ... # type: int
STYLE_PROVIDER_PRIORITY_SETTINGS = ... # type: int
STYLE_PROVIDER_PRIORITY_THEME = ... # type: int
STYLE_PROVIDER_PRIORITY_USER = ... # type: int
STYLE_REGION_COLUMN = ... # type: str
STYLE_REGION_COLUMN_HEADER = ... # type: str
STYLE_REGION_ROW = ... # type: str
STYLE_REGION_TAB = ... # type: str
class Scale(Range):
def add_mark(self, value:float, position:'PositionType', markup:str) -> None: ...
def clear_marks(self) -> None: ...
def do_draw_value(self) -> None: ...
def do_format_value(self, value:float) -> str: ...
def do_get_layout_offsets(self) -> 'typing.Tuple[int, int]': ...
def get_digits(self) -> int: ...
def get_draw_value(self) -> bool: ...
def get_has_origin(self) -> bool: ...
def get_layout(self) -> 'gi.repository.Pango.Layout': ...
def get_layout_offsets(self) -> 'typing.Tuple[int, int]': ...
def get_value_pos(self) -> 'PositionType': ...
@staticmethod
def new_with_range(orientation:'Orientation', min:float, max:float, step:float) -> 'Widget': ...
range = ... # type: Range
def set_digits(self, digits:int) -> None: ...
def set_draw_value(self, draw_value:bool) -> None: ...
def set_has_origin(self, has_origin:bool) -> None: ...
def set_value_pos(self, pos:'PositionType') -> None: ...
...
class ScaleAccessible(RangeAccessible):
parent = ... # type: RangeAccessible
...
class ScaleButton(Button):
def do_value_changed(self, value:float) -> None: ...
def get_adjustment(self) -> 'Adjustment': ...
def get_minus_button(self) -> 'Button': ...
def get_plus_button(self) -> 'Button': ...
def get_popup(self) -> 'Widget': ...
def get_value(self) -> float: ...
parent = ... # type: Button
def set_adjustment(self, adjustment:'Adjustment') -> None: ...
def set_icons(self, icons:'typing.List[str]') -> None: ...
def set_value(self, value:float) -> None: ...
...
class ScaleButtonAccessible(ButtonAccessible):
parent = ... # type: ButtonAccessible
...
class ScrollStep:
ENDS = ... # type: ScrollStep
HORIZONTAL_ENDS = ... # type: ScrollStep
HORIZONTAL_PAGES = ... # type: ScrollStep
HORIZONTAL_STEPS = ... # type: ScrollStep
PAGES = ... # type: ScrollStep
STEPS = ... # type: ScrollStep
...
class ScrollType:
END = ... # type: ScrollType
JUMP = ... # type: ScrollType
NONE = ... # type: ScrollType
PAGE_BACKWARD = ... # type: ScrollType
PAGE_DOWN = ... # type: ScrollType
PAGE_FORWARD = ... # type: ScrollType
PAGE_LEFT = ... # type: ScrollType
PAGE_RIGHT = ... # type: ScrollType
PAGE_UP = ... # type: ScrollType
START = ... # type: ScrollType
STEP_BACKWARD = ... # type: ScrollType
STEP_DOWN = ... # type: ScrollType
STEP_FORWARD = ... # type: ScrollType
STEP_LEFT = ... # type: ScrollType
STEP_RIGHT = ... # type: ScrollType
STEP_UP = ... # type: ScrollType
...
class Scrollable:
def get_border(self) -> 'typing.Tuple[bool, Border]': ...
def get_hadjustment(self) -> 'Adjustment': ...
def get_hscroll_policy(self) -> 'ScrollablePolicy': ...
def get_vadjustment(self) -> 'Adjustment': ...
def get_vscroll_policy(self) -> 'ScrollablePolicy': ...
def set_hadjustment(self, hadjustment:'Adjustment') -> None: ...
def set_hscroll_policy(self, policy:'ScrollablePolicy') -> None: ...
def set_vadjustment(self, vadjustment:'Adjustment') -> None: ...
def set_vscroll_policy(self, policy:'ScrollablePolicy') -> None: ...
...
class ScrollableInterface:
base_iface = ... # type: gi.repository.GObject.TypeInterface
get_border = ... # type: typing.Callable[[Scrollable], typing.Tuple[bool, Border]]
...
class ScrollablePolicy:
MINIMUM = ... # type: ScrollablePolicy
NATURAL = ... # type: ScrollablePolicy
...
class Scrollbar(Range):
range = ... # type: Range
...
class ScrolledWindow(Bin):
def add_with_viewport(self, child:'Widget') -> None: ...
container = ... # type: Bin
def do_move_focus_out(self, direction:'DirectionType') -> None: ...
def do_scroll_child(self, scroll:'ScrollType', horizontal:bool) -> bool: ...
def get_capture_button_press(self) -> bool: ...
def get_hadjustment(self) -> 'Adjustment': ...
def get_hscrollbar(self) -> 'Widget': ...
def get_kinetic_scrolling(self) -> bool: ...
def get_max_content_height(self) -> int: ...
def get_max_content_width(self) -> int: ...
def get_min_content_height(self) -> int: ...
def get_min_content_width(self) -> int: ...
def get_overlay_scrolling(self) -> bool: ...
def get_placement(self) -> 'CornerType': ...
def get_policy(self) -> 'typing.Tuple[PolicyType, PolicyType]': ...
def get_propagate_natural_height(self) -> bool: ...
def get_propagate_natural_width(self) -> bool: ...
def get_shadow_type(self) -> 'ShadowType': ...
def get_vadjustment(self) -> 'Adjustment': ...
def get_vscrollbar(self) -> 'Widget': ...
def set_capture_button_press(self, capture_button_press:bool) -> None: ...
def set_hadjustment(self, hadjustment:'Adjustment') -> None: ...
def set_kinetic_scrolling(self, kinetic_scrolling:bool) -> None: ...
def set_max_content_height(self, height:int) -> None: ...
def set_max_content_width(self, width:int) -> None: ...
def set_min_content_height(self, height:int) -> None: ...
def set_min_content_width(self, width:int) -> None: ...
def set_overlay_scrolling(self, overlay_scrolling:bool) -> None: ...
def set_placement(self, window_placement:'CornerType') -> None: ...
def set_policy(self, hscrollbar_policy:'PolicyType', vscrollbar_policy:'PolicyType') -> None: ...
def set_propagate_natural_height(self, propagate:bool) -> None: ...
def set_propagate_natural_width(self, propagate:bool) -> None: ...
def set_shadow_type(self, type:'ShadowType') -> None: ...
def set_vadjustment(self, vadjustment:'Adjustment') -> None: ...
def unset_placement(self) -> None: ...
...
class ScrolledWindowAccessible(ContainerAccessible):
parent = ... # type: ContainerAccessible
...
class SearchBar(Bin):
def connect_entry(self, entry:'Entry') -> None: ...
def get_search_mode(self) -> bool: ...
def get_show_close_button(self) -> bool: ...
def handle_event(self, event:'gi.repository.Gdk.Event') -> bool: ...
parent = ... # type: Bin
def set_search_mode(self, search_mode:bool) -> None: ...
def set_show_close_button(self, visible:bool) -> None: ...
...
class SearchEntry(Entry):
def do_next_match(self) -> None: ...
def do_previous_match(self) -> None: ...
def do_search_changed(self) -> None: ...
def do_stop_search(self) -> None: ...
def handle_event(self, event:'gi.repository.Gdk.Event') -> bool: ...
parent = ... # type: Entry
...
class SelectionData:
def copy(self) -> 'SelectionData': ...
def free(self) -> None: ...
def get_data(self) -> 'typing.Tuple[typing.List[int], int]': ...
def get_data_type(self) -> 'gi.repository.Gdk.Atom': ...
def get_display(self) -> 'gi.repository.Gdk.Display': ...
def get_format(self) -> int: ...
def get_length(self) -> int: ...
def get_pixbuf(self) -> 'gi.repository.GdkPixbuf.Pixbuf': ...
def get_selection(self) -> 'gi.repository.Gdk.Atom': ...
def get_target(self) -> 'gi.repository.Gdk.Atom': ...
def get_targets(self) -> 'typing.Tuple[bool, typing.List[gi.repository.Gdk.Atom], int]': ...
def get_text(self) -> str: ...
def get_uris(self) -> 'typing.List[str]': ...
def set(self, type:'gi.repository.Gdk.Atom', format:int, data:'typing.List[int]', length:int) -> None: ...
def set_pixbuf(self, pixbuf:'gi.repository.GdkPixbuf.Pixbuf') -> bool: ...
def set_text(self, str:str, len:int) -> bool: ...
def set_uris(self, uris:'typing.List[str]') -> bool: ...
def targets_include_image(self, writable:bool) -> bool: ...
def targets_include_rich_text(self, buffer:'TextBuffer') -> bool: ...
def targets_include_text(self) -> bool: ...
def targets_include_uri(self) -> bool: ...
...
class SelectionMode:
BROWSE = ... # type: SelectionMode
MULTIPLE = ... # type: SelectionMode
NONE = ... # type: SelectionMode
SINGLE = ... # type: SelectionMode
...
class SensitivityType:
AUTO = ... # type: SensitivityType
OFF = ... # type: SensitivityType
ON = ... # type: SensitivityType
...
class Separator(Widget):
...
class SeparatorMenuItem(MenuItem):
menu_item = ... # type: MenuItem
...
class SeparatorToolItem(ToolItem):
def get_draw(self) -> bool: ...
parent = ... # type: ToolItem
def set_draw(self, draw:bool) -> None: ...
...
class Settings(gi.repository.GObject.GObject):
@staticmethod
def get_default() -> 'Settings': ...
@staticmethod
def get_for_screen(screen:'gi.repository.Gdk.Screen') -> 'Settings': ...
@staticmethod
def install_property(pspec:'gi.repository.GObject.ParamSpec') -> None: ...
@staticmethod
def install_property_parser(pspec:'gi.repository.GObject.ParamSpec', parser:'typing.Callable[[gi.repository.GObject.ParamSpec, gi.repository.GLib.String, gi.repository.GObject.Value], bool]') -> None: ...
parent_instance = ... # type: gi.repository.GObject.GObject
def reset_property(self, name:str) -> None: ...
def set_double_property(self, name:str, v_double:float, origin:str) -> None: ...
def set_long_property(self, name:str, v_long:int, origin:str) -> None: ...
def set_property_value(self, name:str, svalue:'SettingsValue') -> None: ...
def set_string_property(self, name:str, v_string:str, origin:str) -> None: ...
...
class SettingsValue:
origin = ... # type: str
value = ... # type: gi.repository.GObject.Value
...
class ShadowType:
ETCHED_IN = ... # type: ShadowType
ETCHED_OUT = ... # type: ShadowType
IN = ... # type: ShadowType
NONE = ... # type: ShadowType
OUT = ... # type: ShadowType
...
class ShortcutLabel(Box):
def get_accelerator(self) -> str: ...
def get_disabled_text(self) -> str: ...
def set_accelerator(self, accelerator:str) -> None: ...
def set_disabled_text(self, disabled_text:str) -> None: ...
...
class ShortcutType:
ACCELERATOR = ... # type: ShortcutType
GESTURE = ... # type: ShortcutType
GESTURE_PINCH = ... # type: ShortcutType
GESTURE_ROTATE_CLOCKWISE = ... # type: ShortcutType
GESTURE_ROTATE_COUNTERCLOCKWISE = ... # type: ShortcutType
GESTURE_STRETCH = ... # type: ShortcutType
GESTURE_TWO_FINGER_SWIPE_LEFT = ... # type: ShortcutType
GESTURE_TWO_FINGER_SWIPE_RIGHT = ... # type: ShortcutType
...
class ShortcutsGroup(Box):
...
class ShortcutsSection(Box):
...
class ShortcutsShortcut(Box):
...
class ShortcutsWindow(Window):
def do_close(self) -> None: ...
def do_search(self) -> None: ...
window = ... # type: Window
...
class SizeGroup(gi.repository.GObject.GObject):
def add_widget(self, widget:'Widget') -> None: ...
def get_ignore_hidden(self) -> bool: ...
def get_mode(self) -> 'SizeGroupMode': ...
def get_widgets(self) -> 'typing.List[Widget]': ...
parent_instance = ... # type: gi.repository.GObject.GObject
def remove_widget(self, widget:'Widget') -> None: ...
def set_ignore_hidden(self, ignore_hidden:bool) -> None: ...
def set_mode(self, mode:'SizeGroupMode') -> None: ...
...
class SizeGroupMode:
BOTH = ... # type: SizeGroupMode
HORIZONTAL = ... # type: SizeGroupMode
NONE = ... # type: SizeGroupMode
VERTICAL = ... # type: SizeGroupMode
...
class SizeRequestMode:
CONSTANT_SIZE = ... # type: SizeRequestMode
HEIGHT_FOR_WIDTH = ... # type: SizeRequestMode
WIDTH_FOR_HEIGHT = ... # type: SizeRequestMode
...
class Socket(Container):
def add_id(self, window:int) -> None: ...
container = ... # type: Container
def do_plug_added(self) -> None: ...
def do_plug_removed(self) -> bool: ...
def get_id(self) -> int: ...
def get_plug_window(self) -> 'gi.repository.Gdk.Window': ...
...
class SortType:
ASCENDING = ... # type: SortType
DESCENDING = ... # type: SortType
...
class SpinButton(Entry):
def configure(self, adjustment:'Adjustment', climb_rate:float, digits:int) -> None: ...
def do_change_value(self, scroll:'ScrollType') -> None: ...
def do_input(self, new_value:float) -> int: ...
def do_output(self) -> int: ...
def do_value_changed(self) -> None: ...
def do_wrapped(self) -> None: ...
entry = ... # type: Entry
def get_adjustment(self) -> 'Adjustment': ...
def get_digits(self) -> int: ...
def get_increments(self) -> 'typing.Tuple[float, float]': ...
def get_numeric(self) -> bool: ...
def get_range(self) -> 'typing.Tuple[float, float]': ...
def get_snap_to_ticks(self) -> bool: ...
def get_update_policy(self) -> 'SpinButtonUpdatePolicy': ...
def get_value(self) -> float: ...
def get_value_as_int(self) -> int: ...
def get_wrap(self) -> bool: ...
@staticmethod
def new_with_range(min:float, max:float, step:float) -> 'Widget': ...
def set_adjustment(self, adjustment:'Adjustment') -> None: ...
def set_digits(self, digits:int) -> None: ...
def set_increments(self, step:float, page:float) -> None: ...
def set_numeric(self, numeric:bool) -> None: ...
def set_range(self, min:float, max:float) -> None: ...
def set_snap_to_ticks(self, snap_to_ticks:bool) -> None: ...
def set_update_policy(self, policy:'SpinButtonUpdatePolicy') -> None: ...
def set_value(self, value:float) -> None: ...
def set_wrap(self, wrap:bool) -> None: ...
def spin(self, direction:'SpinType', increment:float) -> None: ...
def update(self) -> None: ...
...
class SpinButtonAccessible(EntryAccessible):
parent = ... # type: EntryAccessible
...
class SpinButtonUpdatePolicy:
ALWAYS = ... # type: SpinButtonUpdatePolicy
IF_VALID = ... # type: SpinButtonUpdatePolicy
...
class SpinType:
END = ... # type: SpinType
HOME = ... # type: SpinType
PAGE_BACKWARD = ... # type: SpinType
PAGE_FORWARD = ... # type: SpinType
STEP_BACKWARD = ... # type: SpinType
STEP_FORWARD = ... # type: SpinType
USER_DEFINED = ... # type: SpinType
...
class Spinner(Widget):
parent = ... # type: Widget
def start(self) -> None: ...
def stop(self) -> None: ...
...
class SpinnerAccessible(WidgetAccessible):
parent = ... # type: WidgetAccessible
...
class Stack(Container):
def add_named(self, child:'Widget', name:str) -> None: ...
def add_titled(self, child:'Widget', name:str, title:str) -> None: ...
def get_child_by_name(self, name:str) -> 'Widget': ...
def get_hhomogeneous(self) -> bool: ...
def get_homogeneous(self) -> bool: ...
def get_interpolate_size(self) -> bool: ...
def get_transition_duration(self) -> int: ...
def get_transition_running(self) -> bool: ...
def get_transition_type(self) -> 'StackTransitionType': ...
def get_vhomogeneous(self) -> bool: ...
def get_visible_child(self) -> 'Widget': ...
def get_visible_child_name(self) -> str: ...
parent_instance = ... # type: Container
def set_hhomogeneous(self, hhomogeneous:bool) -> None: ...
def set_homogeneous(self, homogeneous:bool) -> None: ...
def set_interpolate_size(self, interpolate_size:bool) -> None: ...
def set_transition_duration(self, duration:int) -> None: ...
def set_transition_type(self, transition:'StackTransitionType') -> None: ...
def set_vhomogeneous(self, vhomogeneous:bool) -> None: ...
def set_visible_child(self, child:'Widget') -> None: ...
def set_visible_child_full(self, name:str, transition:'StackTransitionType') -> None: ...
def set_visible_child_name(self, name:str) -> None: ...
...
class StackAccessible(ContainerAccessible):
parent = ... # type: ContainerAccessible
...
class StackSidebar(Bin):
def get_stack(self) -> 'Stack': ...
parent = ... # type: Bin
def set_stack(self, stack:'Stack') -> None: ...
...
class StackSwitcher(Box):
def get_stack(self) -> 'Stack': ...
def set_stack(self, stack:'Stack') -> None: ...
...
class StackTransitionType:
CROSSFADE = ... # type: StackTransitionType
NONE = ... # type: StackTransitionType
OVER_DOWN = ... # type: StackTransitionType
OVER_DOWN_UP = ... # type: StackTransitionType
OVER_LEFT = ... # type: StackTransitionType
OVER_LEFT_RIGHT = ... # type: StackTransitionType
OVER_RIGHT = ... # type: StackTransitionType
OVER_RIGHT_LEFT = ... # type: StackTransitionType
OVER_UP = ... # type: StackTransitionType
OVER_UP_DOWN = ... # type: StackTransitionType
SLIDE_DOWN = ... # type: StackTransitionType
SLIDE_LEFT = ... # type: StackTransitionType
SLIDE_LEFT_RIGHT = ... # type: StackTransitionType
SLIDE_RIGHT = ... # type: StackTransitionType
SLIDE_UP = ... # type: StackTransitionType
SLIDE_UP_DOWN = ... # type: StackTransitionType
UNDER_DOWN = ... # type: StackTransitionType
UNDER_LEFT = ... # type: StackTransitionType
UNDER_RIGHT = ... # type: StackTransitionType
UNDER_UP = ... # type: StackTransitionType
...
class StateFlags:
ACTIVE = ... # type: StateFlags
BACKDROP = ... # type: StateFlags
CHECKED = ... # type: StateFlags
DIR_LTR = ... # type: StateFlags
DIR_RTL = ... # type: StateFlags
DROP_ACTIVE = ... # type: StateFlags
FOCUSED = ... # type: StateFlags
INCONSISTENT = ... # type: StateFlags
INSENSITIVE = ... # type: StateFlags
LINK = ... # type: StateFlags
NORMAL = ... # type: StateFlags
PRELIGHT = ... # type: StateFlags
SELECTED = ... # type: StateFlags
VISITED = ... # type: StateFlags
...
class StateType:
ACTIVE = ... # type: StateType
FOCUSED = ... # type: StateType
INCONSISTENT = ... # type: StateType
INSENSITIVE = ... # type: StateType
NORMAL = ... # type: StateType
PRELIGHT = ... # type: StateType
SELECTED = ... # type: StateType
...
class StatusIcon(gi.repository.GObject.GObject):
def do_activate(self) -> None: ...
def do_button_press_event(self, event:'gi.repository.Gdk.EventButton') -> bool: ...
def do_button_release_event(self, event:'gi.repository.Gdk.EventButton') -> bool: ...
def do_popup_menu(self, button:int, activate_time:int) -> None: ...
def do_query_tooltip(self, x:int, y:int, keyboard_mode:bool, tooltip:'Tooltip') -> bool: ...
def do_scroll_event(self, event:'gi.repository.Gdk.EventScroll') -> bool: ...
def do_size_changed(self, size:int) -> bool: ...
def get_geometry(self) -> 'typing.Tuple[bool, gi.repository.Gdk.Screen, gi.repository.Gdk.Rectangle, Orientation]': ...
def get_gicon(self) -> 'gi.repository.Gio.Icon': ...
def get_has_tooltip(self) -> bool: ...
def get_icon_name(self) -> str: ...
def get_pixbuf(self) -> 'gi.repository.GdkPixbuf.Pixbuf': ...
def get_screen(self) -> 'gi.repository.Gdk.Screen': ...
def get_size(self) -> int: ...
def get_stock(self) -> str: ...
def get_storage_type(self) -> 'ImageType': ...
def get_title(self) -> str: ...
def get_tooltip_markup(self) -> str: ...
def get_tooltip_text(self) -> str: ...
def get_visible(self) -> bool: ...
def get_x11_window_id(self) -> int: ...
def is_embedded(self) -> bool: ...
@staticmethod
def new_from_file(filename:str) -> 'StatusIcon': ...
@staticmethod
def new_from_gicon(icon:'gi.repository.Gio.Icon') -> 'StatusIcon': ...
@staticmethod
def new_from_icon_name(icon_name:str) -> 'StatusIcon': ...
@staticmethod
def new_from_pixbuf(pixbuf:'gi.repository.GdkPixbuf.Pixbuf') -> 'StatusIcon': ...
@staticmethod
def new_from_stock(stock_id:str) -> 'StatusIcon': ...
parent_instance = ... # type: gi.repository.GObject.GObject
@staticmethod
def position_menu(menu:'Menu', x:int, y:int, user_data:'StatusIcon') -> 'typing.Tuple[bool]': ...
def set_from_file(self, filename:str) -> None: ...
def set_from_gicon(self, icon:'gi.repository.Gio.Icon') -> None: ...
def set_from_icon_name(self, icon_name:str) -> None: ...
def set_from_pixbuf(self, pixbuf:'gi.repository.GdkPixbuf.Pixbuf') -> None: ...
def set_from_stock(self, stock_id:str) -> None: ...
def set_has_tooltip(self, has_tooltip:bool) -> None: ...
def set_name(self, name:str) -> None: ...
def set_screen(self, screen:'gi.repository.Gdk.Screen') -> None: ...
def set_title(self, title:str) -> None: ...
def set_tooltip_markup(self, markup:str) -> None: ...
def set_tooltip_text(self, text:str) -> None: ...
def set_visible(self, visible:bool) -> None: ...
...
class Statusbar(Box):
def do_text_popped(self, context_id:int, text:str) -> None: ...
def do_text_pushed(self, context_id:int, text:str) -> None: ...
def get_context_id(self, context_description:str) -> int: ...
def get_message_area(self) -> 'Box': ...
parent_widget = ... # type: Box
def pop(self, context_id:int) -> None: ...
def push(self, context_id:int, text:str) -> int: ...
def remove(self, context_id:int, message_id:int) -> None: ...
def remove_all(self, context_id:int) -> None: ...
...
class StatusbarAccessible(ContainerAccessible):
parent = ... # type: ContainerAccessible
...
class StockItem:
def free(self) -> None: ...
keyval = ... # type: int
label = ... # type: str
modifier = ... # type: gi.repository.Gdk.ModifierType
stock_id = ... # type: str
translation_domain = ... # type: str
...
class Style(gi.repository.GObject.GObject):
def apply_default_background(self, cr:'gi.repository.cairo.Context', window:'gi.repository.Gdk.Window', state_type:'StateType', x:int, y:int, width:int, height:int) -> None: ...
attach_count = ... # type: int
background = ... # type: typing.List[gi.repository.cairo.Pattern]
base = ... # type: typing.List[gi.repository.Gdk.Color]
bg = ... # type: typing.List[gi.repository.Gdk.Color]
black = ... # type: gi.repository.Gdk.Color
def copy(self) -> 'Style': ...
dark = ... # type: typing.List[gi.repository.Gdk.Color]
def detach(self) -> None: ...
def do_copy(self, src:'Style') -> None: ...
def do_draw_arrow(self, cr:'gi.repository.cairo.Context', state_type:'StateType', shadow_type:'ShadowType', widget:'Widget', detail:str, arrow_type:'ArrowType', fill:bool, x:int, y:int, width:int, height:int) -> None: ...
def do_draw_box(self, cr:'gi.repository.cairo.Context', state_type:'StateType', shadow_type:'ShadowType', widget:'Widget', detail:str, x:int, y:int, width:int, height:int) -> None: ...
def do_draw_box_gap(self, cr:'gi.repository.cairo.Context', state_type:'StateType', shadow_type:'ShadowType', widget:'Widget', detail:str, x:int, y:int, width:int, height:int, gap_side:'PositionType', gap_x:int, gap_width:int) -> None: ...
def do_draw_check(self, cr:'gi.repository.cairo.Context', state_type:'StateType', shadow_type:'ShadowType', widget:'Widget', detail:str, x:int, y:int, width:int, height:int) -> None: ...
def do_draw_diamond(self, cr:'gi.repository.cairo.Context', state_type:'StateType', shadow_type:'ShadowType', widget:'Widget', detail:str, x:int, y:int, width:int, height:int) -> None: ...
def do_draw_expander(self, cr:'gi.repository.cairo.Context', state_type:'StateType', widget:'Widget', detail:str, x:int, y:int, expander_style:'ExpanderStyle') -> None: ...
def do_draw_extension(self, cr:'gi.repository.cairo.Context', state_type:'StateType', shadow_type:'ShadowType', widget:'Widget', detail:str, x:int, y:int, width:int, height:int, gap_side:'PositionType') -> None: ...
def do_draw_flat_box(self, cr:'gi.repository.cairo.Context', state_type:'StateType', shadow_type:'ShadowType', widget:'Widget', detail:str, x:int, y:int, width:int, height:int) -> None: ...
def do_draw_focus(self, cr:'gi.repository.cairo.Context', state_type:'StateType', widget:'Widget', detail:str, x:int, y:int, width:int, height:int) -> None: ...
def do_draw_handle(self, cr:'gi.repository.cairo.Context', state_type:'StateType', shadow_type:'ShadowType', widget:'Widget', detail:str, x:int, y:int, width:int, height:int, orientation:'Orientation') -> None: ...
def do_draw_hline(self, cr:'gi.repository.cairo.Context', state_type:'StateType', widget:'Widget', detail:str, x1:int, x2:int, y:int) -> None: ...
def do_draw_layout(self, cr:'gi.repository.cairo.Context', state_type:'StateType', use_text:bool, widget:'Widget', detail:str, x:int, y:int, layout:'gi.repository.Pango.Layout') -> None: ...
def do_draw_option(self, cr:'gi.repository.cairo.Context', state_type:'StateType', shadow_type:'ShadowType', widget:'Widget', detail:str, x:int, y:int, width:int, height:int) -> None: ...
def do_draw_resize_grip(self, cr:'gi.repository.cairo.Context', state_type:'StateType', widget:'Widget', detail:str, edge:'gi.repository.Gdk.WindowEdge', x:int, y:int, width:int, height:int) -> None: ...
def do_draw_shadow(self, cr:'gi.repository.cairo.Context', state_type:'StateType', shadow_type:'ShadowType', widget:'Widget', detail:str, x:int, y:int, width:int, height:int) -> None: ...
def do_draw_shadow_gap(self, cr:'gi.repository.cairo.Context', state_type:'StateType', shadow_type:'ShadowType', widget:'Widget', detail:str, x:int, y:int, width:int, height:int, gap_side:'PositionType', gap_x:int, gap_width:int) -> None: ...
def do_draw_slider(self, cr:'gi.repository.cairo.Context', state_type:'StateType', shadow_type:'ShadowType', widget:'Widget', detail:str, x:int, y:int, width:int, height:int, orientation:'Orientation') -> None: ...
def do_draw_spinner(self, cr:'gi.repository.cairo.Context', state_type:'StateType', widget:'Widget', detail:str, step:int, x:int, y:int, width:int, height:int) -> None: ...
def do_draw_tab(self, cr:'gi.repository.cairo.Context', state_type:'StateType', shadow_type:'ShadowType', widget:'Widget', detail:str, x:int, y:int, width:int, height:int) -> None: ...
def do_draw_vline(self, cr:'gi.repository.cairo.Context', state_type:'StateType', widget:'Widget', detail:str, y1_:int, y2_:int, x:int) -> None: ...
def do_init_from_rc(self, rc_style:'RcStyle') -> None: ...
def do_realize(self) -> None: ...
def do_render_icon(self, source:'IconSource', direction:'TextDirection', state:'StateType', size:int, widget:'Widget', detail:str) -> 'gi.repository.GdkPixbuf.Pixbuf': ...
def do_set_background(self, window:'gi.repository.Gdk.Window', state_type:'StateType') -> None: ...
def do_unrealize(self) -> None: ...
fg = ... # type: typing.List[gi.repository.Gdk.Color]
font_desc = ... # type: gi.repository.Pango.FontDescription
def get_style_property(self, widget_type:'gi.repository.GObject.GType', property_name:str) -> 'typing.Tuple[gi.repository.GObject.Value]': ...
def has_context(self) -> bool: ...
icon_factories = ... # type: typing.List[typing.Any]
light = ... # type: typing.List[gi.repository.Gdk.Color]
def lookup_color(self, color_name:str) -> 'typing.Tuple[bool, gi.repository.Gdk.Color]': ...
def lookup_icon_set(self, stock_id:str) -> 'IconSet': ...
mid = ... # type: typing.List[gi.repository.Gdk.Color]
parent_instance = ... # type: gi.repository.GObject.GObject
private_font_desc = ... # type: gi.repository.Pango.FontDescription
property_cache = ... # type: typing.List[typing.Any]
rc_style = ... # type: RcStyle
def render_icon(self, source:'IconSource', direction:'TextDirection', state:'StateType', size:int, widget:'Widget', detail:str) -> 'gi.repository.GdkPixbuf.Pixbuf': ...
def set_background(self, window:'gi.repository.Gdk.Window', state_type:'StateType') -> None: ...
styles = ... # type: typing.List[typing.Any]
text = ... # type: typing.List[gi.repository.Gdk.Color]
text_aa = ... # type: typing.List[gi.repository.Gdk.Color]
visual = ... # type: gi.repository.Gdk.Visual
white = ... # type: gi.repository.Gdk.Color
xthickness = ... # type: int
ythickness = ... # type: int
...
class StyleContext(gi.repository.GObject.GObject):
def add_class(self, class_name:str) -> None: ...
def add_provider(self, provider:'StyleProvider', priority:int) -> None: ...
@staticmethod
def add_provider_for_screen(screen:'gi.repository.Gdk.Screen', provider:'StyleProvider', priority:int) -> None: ...
def add_region(self, region_name:str, flags:'RegionFlags') -> None: ...
def cancel_animations(self, region_id:'typing.Any') -> None: ...
def do_changed(self) -> None: ...
def get_background_color(self, state:'StateFlags') -> 'typing.Tuple[gi.repository.Gdk.RGBA]': ...
def get_border(self, state:'StateFlags') -> 'typing.Tuple[Border]': ...
def get_border_color(self, state:'StateFlags') -> 'typing.Tuple[gi.repository.Gdk.RGBA]': ...
def get_color(self, state:'StateFlags') -> 'typing.Tuple[gi.repository.Gdk.RGBA]': ...
def get_direction(self) -> 'TextDirection': ...
def get_font(self, state:'StateFlags') -> 'gi.repository.Pango.FontDescription': ...
def get_frame_clock(self) -> 'gi.repository.Gdk.FrameClock': ...
def get_junction_sides(self) -> 'JunctionSides': ...
def get_margin(self, state:'StateFlags') -> 'typing.Tuple[Border]': ...
def get_padding(self, state:'StateFlags') -> 'typing.Tuple[Border]': ...
def get_parent(self) -> 'StyleContext': ...
def get_path(self) -> 'WidgetPath': ...
def get_property(self, property:str, state:'StateFlags') -> 'typing.Tuple[gi.repository.GObject.Value]': ...
def get_scale(self) -> int: ...
def get_screen(self) -> 'gi.repository.Gdk.Screen': ...
def get_section(self, property:str) -> 'CssSection': ...
def get_state(self) -> 'StateFlags': ...
def get_style_property(self, property_name:str, value:'gi.repository.GObject.Value') -> None: ...
def has_class(self, class_name:str) -> bool: ...
def has_region(self, region_name:str) -> 'typing.Tuple[bool, RegionFlags]': ...
def invalidate(self) -> None: ...
def list_classes(self) -> 'typing.List[str]': ...
def list_regions(self) -> 'typing.List[str]': ...
def lookup_color(self, color_name:str) -> 'typing.Tuple[bool, gi.repository.Gdk.RGBA]': ...
def lookup_icon_set(self, stock_id:str) -> 'IconSet': ...
def notify_state_change(self, window:'gi.repository.Gdk.Window', region_id:'typing.Any', state:'StateType', state_value:bool) -> None: ...
parent_object = ... # type: gi.repository.GObject.GObject
def pop_animatable_region(self) -> None: ...
def push_animatable_region(self, region_id:'typing.Any') -> None: ...
def remove_class(self, class_name:str) -> None: ...
def remove_provider(self, provider:'StyleProvider') -> None: ...
@staticmethod
def remove_provider_for_screen(screen:'gi.repository.Gdk.Screen', provider:'StyleProvider') -> None: ...
def remove_region(self, region_name:str) -> None: ...
@staticmethod
def reset_widgets(screen:'gi.repository.Gdk.Screen') -> None: ...
def restore(self) -> None: ...
def save(self) -> None: ...
def scroll_animations(self, window:'gi.repository.Gdk.Window', dx:int, dy:int) -> None: ...
def set_background(self, window:'gi.repository.Gdk.Window') -> None: ...
def set_direction(self, direction:'TextDirection') -> None: ...
def set_frame_clock(self, frame_clock:'gi.repository.Gdk.FrameClock') -> None: ...
def set_junction_sides(self, sides:'JunctionSides') -> None: ...
def set_parent(self, parent:'StyleContext') -> None: ...
def set_path(self, path:'WidgetPath') -> None: ...
def set_scale(self, scale:int) -> None: ...
def set_screen(self, screen:'gi.repository.Gdk.Screen') -> None: ...
def set_state(self, flags:'StateFlags') -> None: ...
def state_is_running(self, state:'StateType') -> 'typing.Tuple[bool, float]': ...
def to_string(self, flags:'StyleContextPrintFlags') -> str: ...
...
class StyleContextPrintFlags:
NONE = ... # type: StyleContextPrintFlags
RECURSE = ... # type: StyleContextPrintFlags
SHOW_STYLE = ... # type: StyleContextPrintFlags
...
class StyleProperties(gi.repository.GObject.GObject):
def clear(self) -> None: ...
def get_property(self, property:str, state:'StateFlags') -> 'typing.Tuple[bool, gi.repository.GObject.Value]': ...
def lookup_color(self, name:str) -> 'SymbolicColor': ...
def map_color(self, name:str, color:'SymbolicColor') -> None: ...
def merge(self, props_to_merge:'StyleProperties', replace:bool) -> None: ...
parent_object = ... # type: gi.repository.GObject.GObject
def set_property(self, property:str, state:'StateFlags', value:'gi.repository.GObject.Value') -> None: ...
def unset_property(self, property:str, state:'StateFlags') -> None: ...
...
class StyleProvider:
def get_icon_factory(self, path:'WidgetPath') -> 'IconFactory': ...
def get_style(self, path:'WidgetPath') -> 'StyleProperties': ...
def get_style_property(self, path:'WidgetPath', state:'StateFlags', pspec:'gi.repository.GObject.ParamSpec') -> 'typing.Tuple[bool, gi.repository.GObject.Value]': ...
...
class StyleProviderIface:
g_iface = ... # type: gi.repository.GObject.TypeInterface
get_icon_factory = ... # type: typing.Callable[[StyleProvider, WidgetPath], IconFactory]
get_style = ... # type: typing.Callable[[StyleProvider, WidgetPath], StyleProperties]
get_style_property = ... # type: typing.Callable[[StyleProvider, WidgetPath, StateFlags, gi.repository.GObject.ParamSpec], typing.Tuple[bool, gi.repository.GObject.Value]]
...
class Switch(Widget):
def do_activate(self) -> None: ...
def do_state_set(self, state:bool) -> bool: ...
def get_active(self) -> bool: ...
def get_state(self) -> bool: ...
parent_instance = ... # type: Widget
def set_active(self, is_active:bool) -> None: ...
def set_state(self, state:bool) -> None: ...
...
class SwitchAccessible(WidgetAccessible):
parent = ... # type: WidgetAccessible
...
class SymbolicColor:
@staticmethod
def new_alpha(color:'SymbolicColor', factor:float) -> 'SymbolicColor': ...
@staticmethod
def new_literal(color:'gi.repository.Gdk.RGBA') -> 'SymbolicColor': ...
@staticmethod
def new_mix(color1:'SymbolicColor', color2:'SymbolicColor', factor:float) -> 'SymbolicColor': ...
@staticmethod
def new_name(name:str) -> 'SymbolicColor': ...
@staticmethod
def new_shade(color:'SymbolicColor', factor:float) -> 'SymbolicColor': ...
@staticmethod
def new_win32(theme_class:str, id:int) -> 'SymbolicColor': ...
def ref(self) -> 'SymbolicColor': ...
def resolve(self, props:'StyleProperties') -> 'typing.Tuple[bool, gi.repository.Gdk.RGBA]': ...
def to_string(self) -> str: ...
def unref(self) -> None: ...
...
TEXT_VIEW_PRIORITY_VALIDATE = ... # type: int
TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID = ... # type: int
TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID = ... # type: int
class Table(Container):
def attach(self, child, left_attach, right_attach, top_attach, bottom_attach, xoptions, yoptions, xpadding=0, ypadding=0): ...
def attach_defaults(self, widget:'Widget', left_attach:int, right_attach:int, top_attach:int, bottom_attach:int) -> None: ...
container = ... # type: Container
def get_col_spacing(self, column:int) -> int: ...
def get_default_col_spacing(self) -> int: ...
def get_default_row_spacing(self) -> int: ...
def get_homogeneous(self) -> bool: ...
def get_row_spacing(self, row:int) -> int: ...
def get_size(self) -> 'typing.Tuple[int, int]': ...
def resize(self, rows:int, columns:int) -> None: ...
def set_col_spacing(self, column:int, spacing:int) -> None: ...
def set_col_spacings(self, spacing:int) -> None: ...
def set_homogeneous(self, homogeneous:bool) -> None: ...
def set_row_spacing(self, row:int, spacing:int) -> None: ...
def set_row_spacings(self, spacing:int) -> None: ...
...
class TableChild:
bottom_attach = ... # type: int
left_attach = ... # type: int
right_attach = ... # type: int
top_attach = ... # type: int
xexpand = ... # type: int
xfill = ... # type: int
xpadding = ... # type: int
xshrink = ... # type: int
yexpand = ... # type: int
yfill = ... # type: int
ypadding = ... # type: int
yshrink = ... # type: int
...
class TableRowCol:
allocation = ... # type: int
empty = ... # type: int
expand = ... # type: int
need_expand = ... # type: int
need_shrink = ... # type: int
requisition = ... # type: int
shrink = ... # type: int
spacing = ... # type: int
...
class TargetEntry:
def copy(self) -> 'TargetEntry': ...
flags = ... # type: int
def free(self) -> None: ...
info = ... # type: int
target = ... # type: str
...
class TargetFlags:
OTHER_APP = ... # type: TargetFlags
OTHER_WIDGET = ... # type: TargetFlags
SAME_APP = ... # type: TargetFlags
SAME_WIDGET = ... # type: TargetFlags
...
class TargetList:
def add(self, target:'gi.repository.Gdk.Atom', flags:int, info:int) -> None: ...
def add_image_targets(self, info:int, writable:bool) -> None: ...
def add_rich_text_targets(self, info:int, deserializable:bool, buffer:'TextBuffer') -> None: ...
def add_table(self, targets:'typing.List[TargetEntry]', ntargets:int) -> None: ...
def add_text_targets(self, info:int) -> None: ...
def add_uri_targets(self, info:int) -> None: ...
def find(self, target:'gi.repository.Gdk.Atom') -> 'typing.Tuple[bool, int]': ...
def ref(self) -> 'TargetList': ...
def remove(self, target:'gi.repository.Gdk.Atom') -> None: ...
def unref(self) -> None: ...
...
class TargetPair:
flags = ... # type: int
info = ... # type: int
target = ... # type: gi.repository.Gdk.Atom
...
class TearoffMenuItem(MenuItem):
menu_item = ... # type: MenuItem
...
class Template:
...
class TextAppearance:
bg_color = ... # type: gi.repository.Gdk.Color
draw_bg = ... # type: int
fg_color = ... # type: gi.repository.Gdk.Color
inside_selection = ... # type: int
is_text = ... # type: int
rise = ... # type: int
strikethrough = ... # type: int
underline = ... # type: int
...
class TextAttributes:
appearance = ... # type: TextAppearance
bg_full_height = ... # type: int
def copy(self) -> 'TextAttributes': ...
def copy_values(self, dest:'TextAttributes') -> None: ...
direction = ... # type: TextDirection
editable = ... # type: int
font = ... # type: gi.repository.Pango.FontDescription
font_scale = ... # type: float
indent = ... # type: int
invisible = ... # type: int
justification = ... # type: Justification
language = ... # type: gi.repository.Pango.Language
left_margin = ... # type: int
letter_spacing = ... # type: int
no_fallback = ... # type: int
pg_bg_color = ... # type: gi.repository.Gdk.Color
pg_bg_rgba = ... # type: gi.repository.Gdk.RGBA
pixels_above_lines = ... # type: int
pixels_below_lines = ... # type: int
pixels_inside_wrap = ... # type: int
def ref(self) -> 'TextAttributes': ...
refcount = ... # type: int
right_margin = ... # type: int
tabs = ... # type: gi.repository.Pango.TabArray
def unref(self) -> None: ...
wrap_mode = ... # type: WrapMode
...
class TextBTree:
...
class TextBuffer(gi.repository.GObject.GObject):
def _get_or_create_tag_table(self): ...
def add_mark(self, mark:'TextMark', where:'TextIter') -> None: ...
def add_selection_clipboard(self, clipboard:'Clipboard') -> None: ...
def apply_tag(self, tag:'TextTag', start:'TextIter', end:'TextIter') -> None: ...
def apply_tag_by_name(self, name:str, start:'TextIter', end:'TextIter') -> None: ...
def backspace(self, iter:'TextIter', interactive:bool, default_editable:bool) -> bool: ...
def begin_user_action(self) -> None: ...
def copy_clipboard(self, clipboard:'Clipboard') -> None: ...
def create_child_anchor(self, iter:'TextIter') -> 'TextChildAnchor': ...
def create_mark(self, mark_name, where, left_gravity=False): ...
def create_tag(self, tag_name=None, **properties): ...
def cut_clipboard(self, clipboard:'Clipboard', default_editable:bool) -> None: ...
def delete(self, start:'TextIter', end:'TextIter') -> None: ...
def delete_interactive(self, start_iter:'TextIter', end_iter:'TextIter', default_editable:bool) -> bool: ...
def delete_mark(self, mark:'TextMark') -> None: ...
def delete_mark_by_name(self, name:str) -> None: ...
def delete_selection(self, interactive:bool, default_editable:bool) -> bool: ...
def deserialize(self, content_buffer:'TextBuffer', format:'gi.repository.Gdk.Atom', iter:'TextIter', data:'typing.List[int]', length:int) -> bool: ...
def deserialize_get_can_create_tags(self, format:'gi.repository.Gdk.Atom') -> bool: ...
def deserialize_set_can_create_tags(self, format:'gi.repository.Gdk.Atom', can_create_tags:bool) -> None: ...
def do_apply_tag(self, tag:'TextTag', start:'TextIter', end:'TextIter') -> None: ...
def do_begin_user_action(self) -> None: ...
def do_changed(self) -> None: ...
def do_delete_range(self, start:'TextIter', end:'TextIter') -> None: ...
def do_end_user_action(self) -> None: ...
def do_insert_child_anchor(self, iter:'TextIter', anchor:'TextChildAnchor') -> None: ...
def do_insert_pixbuf(self, iter:'TextIter', pixbuf:'gi.repository.GdkPixbuf.Pixbuf') -> None: ...
def do_insert_text(self, pos:'TextIter', new_text:str, new_text_length:int) -> None: ...
def do_mark_deleted(self, mark:'TextMark') -> None: ...
def do_mark_set(self, location:'TextIter', mark:'TextMark') -> None: ...
def do_modified_changed(self) -> None: ...
def do_paste_done(self, clipboard:'Clipboard') -> None: ...
def do_remove_tag(self, tag:'TextTag', start:'TextIter', end:'TextIter') -> None: ...
def end_user_action(self) -> None: ...
def get_bounds(self) -> 'typing.Tuple[TextIter, TextIter]': ...
def get_char_count(self) -> int: ...
def get_copy_target_list(self) -> 'TargetList': ...
def get_deserialize_formats(self) -> 'typing.Tuple[typing.List[gi.repository.Gdk.Atom], int]': ...
def get_end_iter(self) -> 'typing.Tuple[TextIter]': ...
def get_has_selection(self) -> bool: ...
def get_insert(self) -> 'TextMark': ...
def get_iter_at_child_anchor(self, anchor:'TextChildAnchor') -> 'typing.Tuple[TextIter]': ...
def get_iter_at_line(self, line_number:int) -> 'typing.Tuple[TextIter]': ...
def get_iter_at_line_index(self, line_number:int, byte_index:int) -> 'typing.Tuple[TextIter]': ...
def get_iter_at_line_offset(self, line_number:int, char_offset:int) -> 'typing.Tuple[TextIter]': ...
def get_iter_at_mark(self, mark:'TextMark') -> 'typing.Tuple[TextIter]': ...
def get_iter_at_offset(self, char_offset:int) -> 'typing.Tuple[TextIter]': ...
def get_line_count(self) -> int: ...
def get_mark(self, name:str) -> 'TextMark': ...
def get_modified(self) -> bool: ...
def get_paste_target_list(self) -> 'TargetList': ...
def get_selection_bound(self) -> 'TextMark': ...
def get_selection_bounds(self) -> 'typing.Tuple[TextIter, TextIter]': ...
def get_serialize_formats(self) -> 'typing.Tuple[typing.List[gi.repository.Gdk.Atom], int]': ...
def get_slice(self, start:'TextIter', end:'TextIter', include_hidden_chars:bool) -> str: ...
def get_start_iter(self) -> 'typing.Tuple[TextIter]': ...
def get_tag_table(self) -> 'TextTagTable': ...
def get_text(self, start:'TextIter', end:'TextIter', include_hidden_chars:bool) -> str: ...
def insert(self, iter, text, length=-1): ...
def insert_at_cursor(self, text, length=-1): ...
def insert_child_anchor(self, iter:'TextIter', anchor:'TextChildAnchor') -> None: ...
def insert_interactive(self, iter:'TextIter', text:str, len:int, default_editable:bool) -> bool: ...
def insert_interactive_at_cursor(self, text:str, len:int, default_editable:bool) -> bool: ...
def insert_markup(self, iter:'TextIter', markup:str, len:int) -> None: ...
def insert_pixbuf(self, iter:'TextIter', pixbuf:'gi.repository.GdkPixbuf.Pixbuf') -> None: ...
def insert_range(self, iter:'TextIter', start:'TextIter', end:'TextIter') -> None: ...
def insert_range_interactive(self, iter:'TextIter', start:'TextIter', end:'TextIter', default_editable:bool) -> bool: ...
def insert_with_tags(self, iter, text, *tags): ...
def insert_with_tags_by_name(self, iter, text, *tags): ...
def move_mark(self, mark:'TextMark', where:'TextIter') -> None: ...
def move_mark_by_name(self, name:str, where:'TextIter') -> None: ...
parent_instance = ... # type: gi.repository.GObject.GObject
def paste_clipboard(self, clipboard:'Clipboard', override_location:'TextIter', default_editable:bool) -> None: ...
def place_cursor(self, where:'TextIter') -> None: ...
def register_deserialize_format(self, mime_type:str, function:'typing.Callable[[TextBuffer, TextBuffer, TextIter, typing.List[int], int, bool, typing.Any], bool]', user_data:'typing.Any', user_data_destroy:'typing.Callable[[typing.Any], typing.Any]') -> 'gi.repository.Gdk.Atom': ...
def register_deserialize_tagset(self, tagset_name:str) -> 'gi.repository.Gdk.Atom': ...
def register_serialize_format(self, mime_type:str, function:'typing.Callable[[TextBuffer, TextBuffer, TextIter, TextIter, int, typing.Any], int]', user_data:'typing.Any', user_data_destroy:'typing.Callable[[typing.Any], typing.Any]') -> 'gi.repository.Gdk.Atom': ...
def register_serialize_tagset(self, tagset_name:str) -> 'gi.repository.Gdk.Atom': ...
def remove_all_tags(self, start:'TextIter', end:'TextIter') -> None: ...
def remove_selection_clipboard(self, clipboard:'Clipboard') -> None: ...
def remove_tag(self, tag:'TextTag', start:'TextIter', end:'TextIter') -> None: ...
def remove_tag_by_name(self, name:str, start:'TextIter', end:'TextIter') -> None: ...
def select_range(self, ins:'TextIter', bound:'TextIter') -> None: ...
def serialize(self, content_buffer:'TextBuffer', format:'gi.repository.Gdk.Atom', start:'TextIter', end:'TextIter') -> 'typing.Tuple[typing.List[int], int]': ...
def set_modified(self, setting:bool) -> None: ...
def set_text(self, text, length=-1): ...
def unregister_deserialize_format(self, format:'gi.repository.Gdk.Atom') -> None: ...
def unregister_serialize_format(self, format:'gi.repository.Gdk.Atom') -> None: ...
...
class TextBufferTargetInfo:
BUFFER_CONTENTS = ... # type: TextBufferTargetInfo
RICH_TEXT = ... # type: TextBufferTargetInfo
TEXT = ... # type: TextBufferTargetInfo
...
class TextCellAccessible(RendererCellAccessible):
parent = ... # type: RendererCellAccessible
...
class TextChildAnchor(gi.repository.GObject.GObject):
def get_deleted(self) -> bool: ...
def get_widgets(self) -> 'typing.List[Widget]': ...
parent_instance = ... # type: gi.repository.GObject.GObject
segment = ... # type: typing.Any
...
class TextDirection:
LTR = ... # type: TextDirection
NONE = ... # type: TextDirection
RTL = ... # type: TextDirection
...
class TextExtendSelection:
LINE = ... # type: TextExtendSelection
WORD = ... # type: TextExtendSelection
...
class TextIter:
def assign(self, other:'TextIter') -> None: ...
def backward_char(self) -> bool: ...
def backward_chars(self, count:int) -> bool: ...
def backward_cursor_position(self) -> bool: ...
def backward_cursor_positions(self, count:int) -> bool: ...
def backward_find_char(self, pred:'typing.Callable[[str, typing.Any], bool]', user_data:'typing.Any', limit:'TextIter') -> bool: ...
def backward_line(self) -> bool: ...
def backward_lines(self, count:int) -> bool: ...
def backward_search(self, str:str, flags:'TextSearchFlags', limit:'TextIter') -> 'typing.Tuple[bool, TextIter, TextIter]': ...
def backward_sentence_start(self) -> bool: ...
def backward_sentence_starts(self, count:int) -> bool: ...
def backward_to_tag_toggle(self, tag:'TextTag') -> bool: ...
def backward_visible_cursor_position(self) -> bool: ...
def backward_visible_cursor_positions(self, count:int) -> bool: ...
def backward_visible_line(self) -> bool: ...
def backward_visible_lines(self, count:int) -> bool: ...
def backward_visible_word_start(self) -> bool: ...
def backward_visible_word_starts(self, count:int) -> bool: ...
def backward_word_start(self) -> bool: ...
def backward_word_starts(self, count:int) -> bool: ...
def begins_tag(self, tag:'TextTag') -> bool: ...
def can_insert(self, default_editability:bool) -> bool: ...
def compare(self, rhs:'TextIter') -> int: ...
def copy(self) -> 'TextIter': ...
dummy1 = ... # type: typing.Any
dummy10 = ... # type: typing.Any
dummy11 = ... # type: int
dummy12 = ... # type: int
dummy13 = ... # type: int
dummy14 = ... # type: typing.Any
dummy2 = ... # type: typing.Any
dummy3 = ... # type: int
dummy4 = ... # type: int
dummy5 = ... # type: int
dummy6 = ... # type: int
dummy7 = ... # type: int
dummy8 = ... # type: int
dummy9 = ... # type: typing.Any
def editable(self, default_setting:bool) -> bool: ...
def ends_line(self) -> bool: ...
def ends_sentence(self) -> bool: ...
def ends_tag(self, tag:'TextTag') -> bool: ...
def ends_word(self) -> bool: ...
def equal(self, rhs:'TextIter') -> bool: ...
def forward_char(self) -> bool: ...
def forward_chars(self, count:int) -> bool: ...
def forward_cursor_position(self) -> bool: ...
def forward_cursor_positions(self, count:int) -> bool: ...
def forward_find_char(self, pred:'typing.Callable[[str, typing.Any], bool]', user_data:'typing.Any', limit:'TextIter') -> bool: ...
def forward_line(self) -> bool: ...
def forward_lines(self, count:int) -> bool: ...
def forward_search(self, str:str, flags:'TextSearchFlags', limit:'TextIter') -> 'typing.Tuple[bool, TextIter, TextIter]': ...
def forward_sentence_end(self) -> bool: ...
def forward_sentence_ends(self, count:int) -> bool: ...
def forward_to_end(self) -> None: ...
def forward_to_line_end(self) -> bool: ...
def forward_to_tag_toggle(self, tag:'TextTag') -> bool: ...
def forward_visible_cursor_position(self) -> bool: ...
def forward_visible_cursor_positions(self, count:int) -> bool: ...
def forward_visible_line(self) -> bool: ...
def forward_visible_lines(self, count:int) -> bool: ...
def forward_visible_word_end(self) -> bool: ...
def forward_visible_word_ends(self, count:int) -> bool: ...
def forward_word_end(self) -> bool: ...
def forward_word_ends(self, count:int) -> bool: ...
def free(self) -> None: ...
def get_attributes(self) -> 'typing.Tuple[bool, TextAttributes]': ...
def get_buffer(self) -> 'TextBuffer': ...
def get_bytes_in_line(self) -> int: ...
def get_char(self) -> str: ...
def get_chars_in_line(self) -> int: ...
def get_child_anchor(self) -> 'TextChildAnchor': ...
def get_language(self) -> 'gi.repository.Pango.Language': ...
def get_line(self) -> int: ...
def get_line_index(self) -> int: ...
def get_line_offset(self) -> int: ...
def get_marks(self) -> 'typing.List[TextMark]': ...
def get_offset(self) -> int: ...
def get_pixbuf(self) -> 'gi.repository.GdkPixbuf.Pixbuf': ...
def get_slice(self, end:'TextIter') -> str: ...
def get_tags(self) -> 'typing.List[TextTag]': ...
def get_text(self, end:'TextIter') -> str: ...
def get_toggled_tags(self, toggled_on:bool) -> 'typing.List[TextTag]': ...
def get_visible_line_index(self) -> int: ...
def get_visible_line_offset(self) -> int: ...
def get_visible_slice(self, end:'TextIter') -> str: ...
def get_visible_text(self, end:'TextIter') -> str: ...
def has_tag(self, tag:'TextTag') -> bool: ...
def in_range(self, start:'TextIter', end:'TextIter') -> bool: ...
def inside_sentence(self) -> bool: ...
def inside_word(self) -> bool: ...
def is_cursor_position(self) -> bool: ...
def is_end(self) -> bool: ...
def is_start(self) -> bool: ...
def order(self, second:'TextIter') -> None: ...
def set_line(self, line_number:int) -> None: ...
def set_line_index(self, byte_on_line:int) -> None: ...
def set_line_offset(self, char_on_line:int) -> None: ...
def set_offset(self, char_offset:int) -> None: ...
def set_visible_line_index(self, byte_on_line:int) -> None: ...
def set_visible_line_offset(self, char_on_line:int) -> None: ...
def starts_line(self) -> bool: ...
def starts_sentence(self) -> bool: ...
def starts_tag(self, tag:'TextTag') -> bool: ...
def starts_word(self) -> bool: ...
def toggles_tag(self, tag:'TextTag') -> bool: ...
...
class TextMark(gi.repository.GObject.GObject):
def get_buffer(self) -> 'TextBuffer': ...
def get_deleted(self) -> bool: ...
def get_left_gravity(self) -> bool: ...
def get_name(self) -> str: ...
def get_visible(self) -> bool: ...
parent_instance = ... # type: gi.repository.GObject.GObject
segment = ... # type: typing.Any
def set_visible(self, setting:bool) -> None: ...
...
class TextSearchFlags:
CASE_INSENSITIVE = ... # type: TextSearchFlags
TEXT_ONLY = ... # type: TextSearchFlags
VISIBLE_ONLY = ... # type: TextSearchFlags
...
class TextTag(gi.repository.GObject.GObject):
def changed(self, size_changed:bool) -> None: ...
def do_event(self, event_object:'gi.repository.GObject.GObject', event:'gi.repository.Gdk.Event', iter:'TextIter') -> bool: ...
def event(self, event_object:'gi.repository.GObject.GObject', event:'gi.repository.Gdk.Event', iter:'TextIter') -> bool: ...
def get_priority(self) -> int: ...
parent_instance = ... # type: gi.repository.GObject.GObject
def set_priority(self, priority:int) -> None: ...
...
class TextTagTable(gi.repository.GObject.GObject):
def add(self, tag:'TextTag') -> bool: ...
def do_tag_added(self, tag:'TextTag') -> None: ...
def do_tag_changed(self, tag:'TextTag', size_changed:bool) -> None: ...
def do_tag_removed(self, tag:'TextTag') -> None: ...
def foreach(self, func:'typing.Callable[[TextTag, typing.Any], typing.Any]', data:'typing.Any') -> None: ...
def get_size(self) -> int: ...
def lookup(self, name:str) -> 'TextTag': ...
parent_instance = ... # type: gi.repository.GObject.GObject
def remove(self, tag:'TextTag') -> None: ...
...
class TextView(Container):
def add_child_at_anchor(self, child:'Widget', anchor:'TextChildAnchor') -> None: ...
def add_child_in_window(self, child:'Widget', which_window:'TextWindowType', xpos:int, ypos:int) -> None: ...
def backward_display_line(self, iter:'TextIter') -> bool: ...
def backward_display_line_start(self, iter:'TextIter') -> bool: ...
def buffer_to_window_coords(self, win:'TextWindowType', buffer_x:int, buffer_y:int) -> 'typing.Tuple[int, int]': ...
def do_backspace(self) -> None: ...
def do_copy_clipboard(self) -> None: ...
def do_cut_clipboard(self) -> None: ...
def do_delete_from_cursor(self, type:'DeleteType', count:int) -> None: ...
def do_draw_layer(self, layer:'TextViewLayer', cr:'gi.repository.cairo.Context') -> None: ...
def do_extend_selection(self, granularity:'TextExtendSelection', location:'TextIter', start:'TextIter', end:'TextIter') -> bool: ...
def do_insert_at_cursor(self, str:str) -> None: ...
def do_insert_emoji(self) -> None: ...
def do_move_cursor(self, step:'MovementStep', count:int, extend_selection:bool) -> None: ...
def do_paste_clipboard(self) -> None: ...
def do_populate_popup(self, popup:'Widget') -> None: ...
def do_set_anchor(self) -> None: ...
def do_toggle_overwrite(self) -> None: ...
def forward_display_line(self, iter:'TextIter') -> bool: ...
def forward_display_line_end(self, iter:'TextIter') -> bool: ...
def get_accepts_tab(self) -> bool: ...
def get_border_window_size(self, type:'TextWindowType') -> int: ...
def get_bottom_margin(self) -> int: ...
def get_buffer(self) -> 'TextBuffer': ...
def get_cursor_locations(self, iter:'TextIter') -> 'typing.Tuple[gi.repository.Gdk.Rectangle, gi.repository.Gdk.Rectangle]': ...
def get_cursor_visible(self) -> bool: ...
def get_default_attributes(self) -> 'TextAttributes': ...
def get_editable(self) -> bool: ...
def get_hadjustment(self) -> 'Adjustment': ...
def get_indent(self) -> int: ...
def get_input_hints(self) -> 'InputHints': ...
def get_input_purpose(self) -> 'InputPurpose': ...
def get_iter_at_location(self, x:int, y:int) -> 'typing.Tuple[bool, TextIter]': ...
def get_iter_at_position(self, x:int, y:int) -> 'typing.Tuple[bool, TextIter, int]': ...
def get_iter_location(self, iter:'TextIter') -> 'typing.Tuple[gi.repository.Gdk.Rectangle]': ...
def get_justification(self) -> 'Justification': ...
def get_left_margin(self) -> int: ...
def get_line_at_y(self, y:int) -> 'typing.Tuple[TextIter, int]': ...
def get_line_yrange(self, iter:'TextIter') -> 'typing.Tuple[int, int]': ...
def get_monospace(self) -> bool: ...
def get_overwrite(self) -> bool: ...
def get_pixels_above_lines(self) -> int: ...
def get_pixels_below_lines(self) -> int: ...
def get_pixels_inside_wrap(self) -> int: ...
def get_right_margin(self) -> int: ...
def get_tabs(self) -> 'gi.repository.Pango.TabArray': ...
def get_top_margin(self) -> int: ...
def get_vadjustment(self) -> 'Adjustment': ...
def get_visible_rect(self) -> 'typing.Tuple[gi.repository.Gdk.Rectangle]': ...
def get_window(self, win:'TextWindowType') -> 'gi.repository.Gdk.Window': ...
def get_window_type(self, window:'gi.repository.Gdk.Window') -> 'TextWindowType': ...
def get_wrap_mode(self) -> 'WrapMode': ...
def im_context_filter_keypress(self, event:'gi.repository.Gdk.EventKey') -> bool: ...
def move_child(self, child:'Widget', xpos:int, ypos:int) -> None: ...
def move_mark_onscreen(self, mark:'TextMark') -> bool: ...
def move_visually(self, iter:'TextIter', count:int) -> bool: ...
@staticmethod
def new_with_buffer(buffer:'TextBuffer') -> 'Widget': ...
parent_instance = ... # type: Container
def place_cursor_onscreen(self) -> bool: ...
def reset_cursor_blink(self) -> None: ...
def reset_im_context(self) -> None: ...
def scroll_mark_onscreen(self, mark:'TextMark') -> None: ...
def scroll_to_iter(self, iter:'TextIter', within_margin:float, use_align:bool, xalign:float, yalign:float) -> bool: ...
def scroll_to_mark(self, mark:'TextMark', within_margin:float, use_align:bool, xalign:float, yalign:float) -> None: ...
def set_accepts_tab(self, accepts_tab:bool) -> None: ...
def set_border_window_size(self, type:'TextWindowType', size:int) -> None: ...
def set_bottom_margin(self, bottom_margin:int) -> None: ...
def set_buffer(self, buffer:'TextBuffer') -> None: ...
def set_cursor_visible(self, setting:bool) -> None: ...
def set_editable(self, setting:bool) -> None: ...
def set_indent(self, indent:int) -> None: ...
def set_input_hints(self, hints:'InputHints') -> None: ...
def set_input_purpose(self, purpose:'InputPurpose') -> None: ...
def set_justification(self, justification:'Justification') -> None: ...
def set_left_margin(self, left_margin:int) -> None: ...
def set_monospace(self, monospace:bool) -> None: ...
def set_overwrite(self, overwrite:bool) -> None: ...
def set_pixels_above_lines(self, pixels_above_lines:int) -> None: ...
def set_pixels_below_lines(self, pixels_below_lines:int) -> None: ...
def set_pixels_inside_wrap(self, pixels_inside_wrap:int) -> None: ...
def set_right_margin(self, right_margin:int) -> None: ...
def set_tabs(self, tabs:'gi.repository.Pango.TabArray') -> None: ...
def set_top_margin(self, top_margin:int) -> None: ...
def set_wrap_mode(self, wrap_mode:'WrapMode') -> None: ...
def starts_display_line(self, iter:'TextIter') -> bool: ...
def window_to_buffer_coords(self, win:'TextWindowType', window_x:int, window_y:int) -> 'typing.Tuple[int, int]': ...
...
class TextViewAccessible(ContainerAccessible):
parent = ... # type: ContainerAccessible
...
class TextViewLayer:
ABOVE = ... # type: TextViewLayer
ABOVE_TEXT = ... # type: TextViewLayer
BELOW = ... # type: TextViewLayer
BELOW_TEXT = ... # type: TextViewLayer
...
class TextWindowType:
BOTTOM = ... # type: TextWindowType
LEFT = ... # type: TextWindowType
PRIVATE = ... # type: TextWindowType
RIGHT = ... # type: TextWindowType
TEXT = ... # type: TextWindowType
TOP = ... # type: TextWindowType
WIDGET = ... # type: TextWindowType
...
class ThemeEngine:
...
class ThemingEngine(gi.repository.GObject.GObject):
def do_render_activity(self, cr:'gi.repository.cairo.Context', x:float, y:float, width:float, height:float) -> None: ...
def do_render_arrow(self, cr:'gi.repository.cairo.Context', angle:float, x:float, y:float, size:float) -> None: ...
def do_render_background(self, cr:'gi.repository.cairo.Context', x:float, y:float, width:float, height:float) -> None: ...
def do_render_check(self, cr:'gi.repository.cairo.Context', x:float, y:float, width:float, height:float) -> None: ...
def do_render_expander(self, cr:'gi.repository.cairo.Context', x:float, y:float, width:float, height:float) -> None: ...
def do_render_extension(self, cr:'gi.repository.cairo.Context', x:float, y:float, width:float, height:float, gap_side:'PositionType') -> None: ...
def do_render_focus(self, cr:'gi.repository.cairo.Context', x:float, y:float, width:float, height:float) -> None: ...
def do_render_frame(self, cr:'gi.repository.cairo.Context', x:float, y:float, width:float, height:float) -> None: ...
def do_render_frame_gap(self, cr:'gi.repository.cairo.Context', x:float, y:float, width:float, height:float, gap_side:'PositionType', xy0_gap:float, xy1_gap:float) -> None: ...
def do_render_handle(self, cr:'gi.repository.cairo.Context', x:float, y:float, width:float, height:float) -> None: ...
def do_render_icon(self, cr:'gi.repository.cairo.Context', pixbuf:'gi.repository.GdkPixbuf.Pixbuf', x:float, y:float) -> None: ...
def do_render_icon_surface(self, cr:'gi.repository.cairo.Context', surface:'gi.repository.cairo.Surface', x:float, y:float) -> None: ...
def do_render_layout(self, cr:'gi.repository.cairo.Context', x:float, y:float, layout:'gi.repository.Pango.Layout') -> None: ...
def do_render_line(self, cr:'gi.repository.cairo.Context', x0:float, y0:float, x1:float, y1:float) -> None: ...
def do_render_option(self, cr:'gi.repository.cairo.Context', x:float, y:float, width:float, height:float) -> None: ...
def do_render_slider(self, cr:'gi.repository.cairo.Context', x:float, y:float, width:float, height:float, orientation:'Orientation') -> None: ...
def get_background_color(self, state:'StateFlags') -> 'typing.Tuple[gi.repository.Gdk.RGBA]': ...
def get_border(self, state:'StateFlags') -> 'typing.Tuple[Border]': ...
def get_border_color(self, state:'StateFlags') -> 'typing.Tuple[gi.repository.Gdk.RGBA]': ...
def get_color(self, state:'StateFlags') -> 'typing.Tuple[gi.repository.Gdk.RGBA]': ...
def get_direction(self) -> 'TextDirection': ...
def get_font(self, state:'StateFlags') -> 'gi.repository.Pango.FontDescription': ...
def get_junction_sides(self) -> 'JunctionSides': ...
def get_margin(self, state:'StateFlags') -> 'typing.Tuple[Border]': ...
def get_padding(self, state:'StateFlags') -> 'typing.Tuple[Border]': ...
def get_path(self) -> 'WidgetPath': ...
def get_property(self, property:str, state:'StateFlags') -> 'typing.Tuple[gi.repository.GObject.Value]': ...
def get_screen(self) -> 'gi.repository.Gdk.Screen': ...
def get_state(self) -> 'StateFlags': ...
def get_style_property(self, property_name:str) -> 'typing.Tuple[gi.repository.GObject.Value]': ...
def has_class(self, style_class:str) -> bool: ...
def has_region(self, style_region:str) -> 'typing.Tuple[bool, RegionFlags]': ...
@staticmethod
def load(name:str) -> 'ThemingEngine': ...
def lookup_color(self, color_name:str) -> 'typing.Tuple[bool, gi.repository.Gdk.RGBA]': ...
parent_object = ... # type: gi.repository.GObject.GObject
def state_is_running(self, state:'StateType') -> 'typing.Tuple[bool, float]': ...
...
class ToggleAction(Action):
def do_toggled(self) -> None: ...
def get_active(self) -> bool: ...
def get_draw_as_radio(self) -> bool: ...
parent = ... # type: Action
private_data = ... # type: ToggleActionPrivate
def set_active(self, is_active:bool) -> None: ...
def set_draw_as_radio(self, draw_as_radio:bool) -> None: ...
def toggled(self) -> None: ...
...
class ToggleActionEntry:
accelerator = ... # type: str
callback = ... # type: typing.Callable[[], typing.Any]
is_active = ... # type: bool
label = ... # type: str
name = ... # type: str
stock_id = ... # type: str
tooltip = ... # type: str
...
class ToggleButton(Button):
button = ... # type: Button
def do_toggled(self) -> None: ...
def get_active(self) -> bool: ...
def get_inconsistent(self) -> bool: ...
def get_mode(self) -> bool: ...
@staticmethod
def new_with_label(label:str) -> 'Widget': ...
@staticmethod
def new_with_mnemonic(label:str) -> 'Widget': ...
def set_active(self, is_active:bool) -> None: ...
def set_inconsistent(self, setting:bool) -> None: ...
def set_mode(self, draw_indicator:bool) -> None: ...
def toggled(self) -> None: ...
...
class ToggleButtonAccessible(ButtonAccessible):
parent = ... # type: ButtonAccessible
...
class ToggleToolButton(ToolButton):
def do_toggled(self) -> None: ...
def get_active(self) -> bool: ...
@staticmethod
def new_from_stock(stock_id:str) -> 'ToolItem': ...
parent = ... # type: ToolButton
def set_active(self, is_active:bool) -> None: ...
...
class ToolButton(ToolItem):
def do_clicked(self) -> None: ...
def get_icon_name(self) -> str: ...
def get_icon_widget(self) -> 'Widget': ...
def get_label(self) -> str: ...
def get_label_widget(self) -> 'Widget': ...
def get_stock_id(self) -> str: ...
def get_use_underline(self) -> bool: ...
@staticmethod
def new_from_stock(stock_id:str) -> 'ToolItem': ...
parent = ... # type: ToolItem
def set_icon_name(self, icon_name:str) -> None: ...
def set_icon_widget(self, icon_widget:'Widget') -> None: ...
def set_label(self, label:str) -> None: ...
def set_label_widget(self, label_widget:'Widget') -> None: ...
def set_stock_id(self, stock_id:str) -> None: ...
def set_use_underline(self, use_underline:bool) -> None: ...
...
class ToolItem(Bin):
def do_create_menu_proxy(self) -> bool: ...
def do_toolbar_reconfigured(self) -> None: ...
def get_ellipsize_mode(self) -> 'gi.repository.Pango.EllipsizeMode': ...
def get_expand(self) -> bool: ...
def get_homogeneous(self) -> bool: ...
def get_icon_size(self) -> int: ...
def get_is_important(self) -> bool: ...
def get_orientation(self) -> 'Orientation': ...
def get_proxy_menu_item(self, menu_item_id:str) -> 'Widget': ...
def get_relief_style(self) -> 'ReliefStyle': ...
def get_text_alignment(self) -> float: ...
def get_text_orientation(self) -> 'Orientation': ...
def get_text_size_group(self) -> 'SizeGroup': ...
def get_toolbar_style(self) -> 'ToolbarStyle': ...
def get_use_drag_window(self) -> bool: ...
def get_visible_horizontal(self) -> bool: ...
def get_visible_vertical(self) -> bool: ...
parent = ... # type: Bin
def rebuild_menu(self) -> None: ...
def retrieve_proxy_menu_item(self) -> 'Widget': ...
def set_expand(self, expand:bool) -> None: ...
def set_homogeneous(self, homogeneous:bool) -> None: ...
def set_is_important(self, is_important:bool) -> None: ...
def set_proxy_menu_item(self, menu_item_id:str, menu_item:'Widget') -> None: ...
def set_tooltip_markup(self, markup:str) -> None: ...
def set_tooltip_text(self, text:str) -> None: ...
def set_use_drag_window(self, use_drag_window:bool) -> None: ...
def set_visible_horizontal(self, visible_horizontal:bool) -> None: ...
def set_visible_vertical(self, visible_vertical:bool) -> None: ...
def toolbar_reconfigured(self) -> None: ...
...
class ToolItemGroup(Container):
def get_collapsed(self) -> bool: ...
def get_drop_item(self, x:int, y:int) -> 'ToolItem': ...
def get_ellipsize(self) -> 'gi.repository.Pango.EllipsizeMode': ...
def get_header_relief(self) -> 'ReliefStyle': ...
def get_item_position(self, item:'ToolItem') -> int: ...
def get_label(self) -> str: ...
def get_label_widget(self) -> 'Widget': ...
def get_n_items(self) -> int: ...
def get_nth_item(self, index:int) -> 'ToolItem': ...
def insert(self, item:'ToolItem', position:int) -> None: ...
parent_instance = ... # type: Container
def set_collapsed(self, collapsed:bool) -> None: ...
def set_ellipsize(self, ellipsize:'gi.repository.Pango.EllipsizeMode') -> None: ...
def set_header_relief(self, style:'ReliefStyle') -> None: ...
def set_item_position(self, item:'ToolItem', position:int) -> None: ...
def set_label(self, label:str) -> None: ...
def set_label_widget(self, label_widget:'Widget') -> None: ...
...
class ToolPalette(Container):
def add_drag_dest(self, widget:'Widget', flags:'DestDefaults', targets:'ToolPaletteDragTargets', actions:'gi.repository.Gdk.DragAction') -> None: ...
def get_drag_item(self, selection:'SelectionData') -> 'Widget': ...
@staticmethod
def get_drag_target_group() -> 'TargetEntry': ...
@staticmethod
def get_drag_target_item() -> 'TargetEntry': ...
def get_drop_group(self, x:int, y:int) -> 'ToolItemGroup': ...
def get_drop_item(self, x:int, y:int) -> 'ToolItem': ...
def get_exclusive(self, group:'ToolItemGroup') -> bool: ...
def get_expand(self, group:'ToolItemGroup') -> bool: ...
def get_group_position(self, group:'ToolItemGroup') -> int: ...
def get_hadjustment(self) -> 'Adjustment': ...
def get_icon_size(self) -> int: ...
def get_style(self) -> 'ToolbarStyle': ...
def get_vadjustment(self) -> 'Adjustment': ...
parent_instance = ... # type: Container
def set_drag_source(self, targets:'ToolPaletteDragTargets') -> None: ...
def set_exclusive(self, group:'ToolItemGroup', exclusive:bool) -> None: ...
def set_expand(self, group:'ToolItemGroup', expand:bool) -> None: ...
def set_group_position(self, group:'ToolItemGroup', position:int) -> None: ...
def set_icon_size(self, icon_size:int) -> None: ...
def set_style(self, style:'ToolbarStyle') -> None: ...
def unset_icon_size(self) -> None: ...
def unset_style(self) -> None: ...
...
class ToolPaletteDragTargets:
GROUPS = ... # type: ToolPaletteDragTargets
ITEMS = ... # type: ToolPaletteDragTargets
...
class ToolShell:
def get_ellipsize_mode(self) -> 'gi.repository.Pango.EllipsizeMode': ...
def get_icon_size(self) -> int: ...
def get_orientation(self) -> 'Orientation': ...
def get_relief_style(self) -> 'ReliefStyle': ...
def get_style(self) -> 'ToolbarStyle': ...
def get_text_alignment(self) -> float: ...
def get_text_orientation(self) -> 'Orientation': ...
def get_text_size_group(self) -> 'SizeGroup': ...
def rebuild_menu(self) -> None: ...
...
class ToolShellIface:
g_iface = ... # type: gi.repository.GObject.TypeInterface
get_ellipsize_mode = ... # type: typing.Callable[[ToolShell], gi.repository.Pango.EllipsizeMode]
get_icon_size = ... # type: typing.Callable[[ToolShell], IconSize]
get_orientation = ... # type: typing.Callable[[ToolShell], Orientation]
get_relief_style = ... # type: typing.Callable[[ToolShell], ReliefStyle]
get_style = ... # type: typing.Callable[[ToolShell], ToolbarStyle]
get_text_alignment = ... # type: typing.Callable[[ToolShell], float]
get_text_orientation = ... # type: typing.Callable[[ToolShell], Orientation]
get_text_size_group = ... # type: typing.Callable[[ToolShell], SizeGroup]
rebuild_menu = ... # type: typing.Callable[[ToolShell], typing.Any]
...
class Toolbar(Container):
container = ... # type: Container
def do_orientation_changed(self, orientation:'Orientation') -> None: ...
def do_popup_context_menu(self, x:int, y:int, button_number:int) -> bool: ...
def do_style_changed(self, style:'ToolbarStyle') -> None: ...
def get_drop_index(self, x:int, y:int) -> int: ...
def get_icon_size(self) -> 'IconSize': ...
def get_item_index(self, item:'ToolItem') -> int: ...
def get_n_items(self) -> int: ...
def get_nth_item(self, n:int) -> 'ToolItem': ...
def get_relief_style(self) -> 'ReliefStyle': ...
def get_show_arrow(self) -> bool: ...
def get_style(self) -> 'ToolbarStyle': ...
def insert(self, item:'ToolItem', pos:int) -> None: ...
def set_drop_highlight_item(self, tool_item:'ToolItem', index_:int) -> None: ...
def set_icon_size(self, icon_size:'IconSize') -> None: ...
def set_show_arrow(self, show_arrow:bool) -> None: ...
def set_style(self, style:'ToolbarStyle') -> None: ...
def unset_icon_size(self) -> None: ...
def unset_style(self) -> None: ...
...
class ToolbarSpaceStyle:
EMPTY = ... # type: ToolbarSpaceStyle
LINE = ... # type: ToolbarSpaceStyle
...
class ToolbarStyle:
BOTH = ... # type: ToolbarStyle
BOTH_HORIZ = ... # type: ToolbarStyle
ICONS = ... # type: ToolbarStyle
TEXT = ... # type: ToolbarStyle
...
class Tooltip(gi.repository.GObject.GObject):
def set_custom(self, custom_widget:'Widget') -> None: ...
def set_icon(self, pixbuf:'gi.repository.GdkPixbuf.Pixbuf') -> None: ...
def set_icon_from_gicon(self, gicon:'gi.repository.Gio.Icon', size:int) -> None: ...
def set_icon_from_icon_name(self, icon_name:str, size:int) -> None: ...
def set_icon_from_stock(self, stock_id:str, size:int) -> None: ...
def set_markup(self, markup:str) -> None: ...
def set_text(self, text:str) -> None: ...
def set_tip_area(self, rect:'gi.repository.Gdk.Rectangle') -> None: ...
@staticmethod
def trigger_tooltip_query(display:'gi.repository.Gdk.Display') -> None: ...
...
class ToplevelAccessible(gi.repository.Atk.Object):
def get_children(self) -> 'typing.List[Window]': ...
parent = ... # type: gi.repository.Atk.Object
...
class TreeDragDest:
def drag_data_received(self, dest:'TreePath', selection_data:'SelectionData') -> bool: ...
def row_drop_possible(self, dest_path:'TreePath', selection_data:'SelectionData') -> bool: ...
...
class TreeDragDestIface:
drag_data_received = ... # type: typing.Callable[[TreeDragDest, TreePath, SelectionData], bool]
g_iface = ... # type: gi.repository.GObject.TypeInterface
row_drop_possible = ... # type: typing.Callable[[TreeDragDest, TreePath, SelectionData], bool]
...
class TreeDragSource:
def drag_data_delete(self, path:'TreePath') -> bool: ...
def drag_data_get(self, path:'TreePath', selection_data:'SelectionData') -> bool: ...
def row_draggable(self, path:'TreePath') -> bool: ...
...
class TreeDragSourceIface:
drag_data_delete = ... # type: typing.Callable[[TreeDragSource, TreePath], bool]
drag_data_get = ... # type: typing.Callable[[TreeDragSource, TreePath, SelectionData], bool]
g_iface = ... # type: gi.repository.GObject.TypeInterface
row_draggable = ... # type: typing.Callable[[TreeDragSource, TreePath], bool]
...
class TreeIter:
def copy(self) -> 'TreeIter': ...
def free(self) -> None: ...
stamp = ... # type: int
user_data = ... # type: typing.Any
user_data2 = ... # type: typing.Any
user_data3 = ... # type: typing.Any
...
class TreeModel:
def _coerce_path(self, path): ...
def _convert_row(self, row): ...
def _convert_value(self, column, value): ...
def _getiter(self, key): ...
def filter_new(self, root:'TreePath') -> 'TreeModel': ...
def foreach(self, func:'typing.Callable[[TreeModel, TreePath, TreeIter, typing.Any], bool]', user_data:'typing.Any') -> None: ...
def get(self, treeiter, *columns): ...
def get_column_type(self, index_:int) -> 'gi.repository.GObject.GType': ...
def get_flags(self) -> 'TreeModelFlags': ...
def get_iter(self, path): ...
def get_iter_first(self) -> 'TreeIter': ...
def get_iter_from_string(self, path_string:str) -> 'TreeIter': ...
def get_n_columns(self) -> int: ...
def get_path(self, iter:'TreeIter') -> 'TreePath': ...
def get_string_from_iter(self, iter:'TreeIter') -> str: ...
def get_value(self, iter:'TreeIter', column:int) -> 'typing.Tuple[gi.repository.GObject.Value]': ...
def iter_children(self, parent:'TreeIter') -> 'TreeIter': ...
def iter_has_child(self, iter:'TreeIter') -> bool: ...
def iter_n_children(self, iter:'TreeIter') -> int: ...
def iter_next(self, aiter): ...
def iter_nth_child(self, parent:'TreeIter', n:int) -> 'TreeIter': ...
def iter_parent(self, child:'TreeIter') -> 'TreeIter': ...
def iter_previous(self, aiter): ...
def ref_node(self, iter:'TreeIter') -> None: ...
def row_changed(self, path, iter): ...
def row_deleted(self, path): ...
def row_has_child_toggled(self, path, iter): ...
def row_inserted(self, path, iter): ...
def rows_reordered(self, path, iter, new_order): ...
def set_row(self, treeiter, row): ...
def sort_new_with_model(self) -> 'TreeModel': ...
def unref_node(self, iter:'TreeIter') -> None: ...
...
class TreeModelFilter(gi.repository.GObject.GObject):
def clear_cache(self) -> None: ...
def convert_child_iter_to_iter(self, child_iter:'TreeIter') -> 'typing.Tuple[bool, TreeIter]': ...
def convert_child_path_to_path(self, child_path:'TreePath') -> 'TreePath': ...
def convert_iter_to_child_iter(self, filter_iter:'TreeIter') -> 'typing.Tuple[TreeIter]': ...
def convert_path_to_child_path(self, filter_path:'TreePath') -> 'TreePath': ...
def do_modify(self, child_model:'TreeModel', iter:'TreeIter', value:'gi.repository.GObject.Value', column:int) -> None: ...
def do_visible(self, child_model:'TreeModel', iter:'TreeIter') -> bool: ...
def get_model(self) -> 'TreeModel': ...
parent = ... # type: gi.repository.GObject.GObject
def refilter(self) -> None: ...
def set_modify_func(self, n_columns:int, types:'typing.List[gi.repository.GObject.GType]', func:'typing.Callable[[TreeModel, TreeIter, int, typing.Any], typing.Tuple[gi.repository.GObject.Value]]', data:'typing.Any', destroy:'typing.Callable[[typing.Any], typing.Any]') -> None: ...
def set_value(self, iter, column, value): ...
def set_visible_column(self, column:int) -> None: ...
def set_visible_func(self, func, data=None): ...
...
class TreeModelFlags:
ITERS_PERSIST = ... # type: TreeModelFlags
LIST_ONLY = ... # type: TreeModelFlags
...
class TreeModelIface:
g_iface = ... # type: gi.repository.GObject.TypeInterface
get_column_type = ... # type: typing.Callable[[TreeModel, int], gi.repository.GObject.GType]
get_flags = ... # type: typing.Callable[[TreeModel], TreeModelFlags]
get_iter = ... # type: typing.Callable[[TreeModel, TreePath], typing.Tuple[bool, TreeIter]]
get_n_columns = ... # type: typing.Callable[[TreeModel], int]
get_path = ... # type: typing.Callable[[TreeModel, TreeIter], TreePath]
get_value = ... # type: typing.Callable[[TreeModel, TreeIter, int], typing.Tuple[gi.repository.GObject.Value]]
iter_children = ... # type: typing.Callable[[TreeModel, TreeIter], typing.Tuple[bool, TreeIter]]
iter_has_child = ... # type: typing.Callable[[TreeModel, TreeIter], bool]
iter_n_children = ... # type: typing.Callable[[TreeModel, TreeIter], int]
iter_next = ... # type: typing.Callable[[TreeModel, TreeIter], bool]
iter_nth_child = ... # type: typing.Callable[[TreeModel, TreeIter, int], typing.Tuple[bool, TreeIter]]
iter_parent = ... # type: typing.Callable[[TreeModel, TreeIter], typing.Tuple[bool, TreeIter]]
iter_previous = ... # type: typing.Callable[[TreeModel, TreeIter], bool]
ref_node = ... # type: typing.Callable[[TreeModel, TreeIter], typing.Any]
row_changed = ... # type: typing.Callable[[TreeModel, TreePath, TreeIter], typing.Any]
row_deleted = ... # type: typing.Callable[[TreeModel, TreePath], typing.Any]
row_has_child_toggled = ... # type: typing.Callable[[TreeModel, TreePath, TreeIter], typing.Any]
row_inserted = ... # type: typing.Callable[[TreeModel, TreePath, TreeIter], typing.Any]
rows_reordered = ... # type: typing.Callable[[TreeModel, TreePath, TreeIter, int], typing.Any]
unref_node = ... # type: typing.Callable[[TreeModel, TreeIter], typing.Any]
...
class TreeModelRow:
def _convert_negative_index(self, index): ...
def get_next(self): ...
def get_parent(self): ...
def get_previous(self): ...
def iterchildren(self): ...
next = ... # type: typing.Any
parent = ... # type: typing.Any
path = ... # type: typing.Any
previous = ... # type: typing.Any
...
class TreeModelRowIter:
def next(self): ...
...
class TreeModelSort(gi.repository.GObject.GObject):
def clear_cache(self) -> None: ...
def convert_child_iter_to_iter(self, child_iter:'TreeIter') -> 'typing.Tuple[bool, TreeIter]': ...
def convert_child_path_to_path(self, child_path:'TreePath') -> 'TreePath': ...
def convert_iter_to_child_iter(self, sorted_iter:'TreeIter') -> 'typing.Tuple[TreeIter]': ...
def convert_path_to_child_path(self, sorted_path:'TreePath') -> 'TreePath': ...
def get_model(self) -> 'TreeModel': ...
def iter_is_valid(self, iter:'TreeIter') -> bool: ...
parent = ... # type: gi.repository.GObject.GObject
def reset_default_sort_func(self) -> None: ...
...
class TreePath:
def append_index(self, index_:int) -> None: ...
def compare(self, b:'TreePath') -> int: ...
def copy(self) -> 'TreePath': ...
def down(self) -> None: ...
def free(self) -> None: ...
def get_depth(self) -> int: ...
def get_indices(self) -> 'typing.Tuple[typing.List[int], int]': ...
def is_ancestor(self, descendant:'TreePath') -> bool: ...
def is_descendant(self, ancestor:'TreePath') -> bool: ...
@staticmethod
def new_first() -> 'TreePath': ...
@staticmethod
def new_from_indices(indices:'typing.List[int]', length:int) -> 'TreePath': ...
@staticmethod
def new_from_string(path:str) -> 'TreePath': ...
def next(self) -> None: ...
def prepend_index(self, index_:int) -> None: ...
def prev(self) -> bool: ...
def to_string(self) -> str: ...
def up(self) -> bool: ...
...
class TreeRowReference:
def copy(self) -> 'TreeRowReference': ...
@staticmethod
def deleted(proxy:'gi.repository.GObject.GObject', path:'TreePath') -> None: ...
def free(self) -> None: ...
def get_model(self) -> 'TreeModel': ...
def get_path(self) -> 'TreePath': ...
@staticmethod
def inserted(proxy:'gi.repository.GObject.GObject', path:'TreePath') -> None: ...
@staticmethod
def new_proxy(proxy:'gi.repository.GObject.GObject', model:'TreeModel', path:'TreePath') -> 'TreeRowReference': ...
def valid(self) -> bool: ...
...
class TreeSelection(gi.repository.GObject.GObject):
def count_selected_rows(self) -> int: ...
def do_changed(self) -> None: ...
def get_mode(self) -> 'SelectionMode': ...
def get_selected(self): ...
def get_selected_rows(self): ...
def get_tree_view(self) -> 'TreeView': ...
def iter_is_selected(self, iter:'TreeIter') -> bool: ...
parent = ... # type: gi.repository.GObject.GObject
def path_is_selected(self, path:'TreePath') -> bool: ...
def select_all(self) -> None: ...
def select_iter(self, iter:'TreeIter') -> None: ...
def select_path(self, path): ...
def select_range(self, start_path:'TreePath', end_path:'TreePath') -> None: ...
def selected_foreach(self, func:'typing.Callable[[TreeModel, TreePath, TreeIter, typing.Any], typing.Any]', data:'typing.Any') -> None: ...
def set_mode(self, type:'SelectionMode') -> None: ...
def set_select_function(self, func:'typing.Callable[[TreeSelection, TreeModel, TreePath, bool, typing.Any], bool]', data:'typing.Any', destroy:'typing.Callable[[typing.Any], typing.Any]') -> None: ...
def unselect_all(self) -> None: ...
def unselect_iter(self, iter:'TreeIter') -> None: ...
def unselect_path(self, path:'TreePath') -> None: ...
def unselect_range(self, start_path:'TreePath', end_path:'TreePath') -> None: ...
...
class TreeSortable:
def get_sort_column_id(self) -> 'typing.Tuple[int, SortType]': ...
def has_default_sort_func(self) -> bool: ...
def set_default_sort_func(self, sort_func, user_data=None): ...
def set_sort_column_id(self, sort_column_id:int, order:'SortType') -> None: ...
def set_sort_func(self, sort_column_id, sort_func, user_data=None): ...
def sort_column_changed(self) -> None: ...
...
class TreeSortableIface:
g_iface = ... # type: gi.repository.GObject.TypeInterface
get_sort_column_id = ... # type: typing.Callable[[TreeSortable], typing.Tuple[bool, int, SortType]]
has_default_sort_func = ... # type: typing.Callable[[TreeSortable], bool]
set_default_sort_func = ... # type: typing.Callable[[TreeSortable, typing.Callable[[TreeModel, TreeIter, TreeIter, typing.Any], int], typing.Any, typing.Callable[[typing.Any], typing.Any]], typing.Any]
set_sort_column_id = ... # type: typing.Callable[[TreeSortable, int, SortType], typing.Any]
set_sort_func = ... # type: typing.Callable[[TreeSortable, int, typing.Callable[[TreeModel, TreeIter, TreeIter, typing.Any], int], typing.Any, typing.Callable[[typing.Any], typing.Any]], typing.Any]
sort_column_changed = ... # type: typing.Callable[[TreeSortable], typing.Any]
...
class TreeStore(gi.repository.GObject.GObject):
def _do_insert(self, parent, position, row): ...
def append(self, parent, row=None): ...
def clear(self) -> None: ...
def insert(self, parent, position, row=None): ...
def insert_after(self, parent, sibling, row=None): ...
def insert_before(self, parent, sibling, row=None): ...
def insert_with_values(self, parent:'TreeIter', position:int, columns:'typing.List[int]', values:'typing.List[gi.repository.GObject.Value]', n_values:int) -> 'typing.Tuple[TreeIter]': ...
def is_ancestor(self, iter:'TreeIter', descendant:'TreeIter') -> bool: ...
def iter_depth(self, iter:'TreeIter') -> int: ...
def iter_is_valid(self, iter:'TreeIter') -> bool: ...
def move_after(self, iter:'TreeIter', position:'TreeIter') -> None: ...
def move_before(self, iter:'TreeIter', position:'TreeIter') -> None: ...
parent = ... # type: gi.repository.GObject.GObject
def prepend(self, parent, row=None): ...
def remove(self, iter:'TreeIter') -> bool: ...
def set(self, treeiter, *args): ...
def set_column_types(self, n_columns:int, types:'typing.List[gi.repository.GObject.GType]') -> None: ...
def set_value(self, treeiter, column, value): ...
def swap(self, a:'TreeIter', b:'TreeIter') -> None: ...
...
class TreeView(Container):
def append_column(self, column:'TreeViewColumn') -> int: ...
def collapse_all(self) -> None: ...
def collapse_row(self, path:'TreePath') -> bool: ...
def columns_autosize(self) -> None: ...
def convert_bin_window_to_tree_coords(self, bx:int, by:int) -> 'typing.Tuple[int, int]': ...
def convert_bin_window_to_widget_coords(self, bx:int, by:int) -> 'typing.Tuple[int, int]': ...
def convert_tree_to_bin_window_coords(self, tx:int, ty:int) -> 'typing.Tuple[int, int]': ...
def convert_tree_to_widget_coords(self, tx:int, ty:int) -> 'typing.Tuple[int, int]': ...
def convert_widget_to_bin_window_coords(self, wx:int, wy:int) -> 'typing.Tuple[int, int]': ...
def convert_widget_to_tree_coords(self, wx:int, wy:int) -> 'typing.Tuple[int, int]': ...
def create_row_drag_icon(self, path:'TreePath') -> 'gi.repository.cairo.Surface': ...
def do_columns_changed(self) -> None: ...
def do_cursor_changed(self) -> None: ...
def do_expand_collapse_cursor_row(self, logical:bool, expand:bool, open_all:bool) -> bool: ...
def do_move_cursor(self, step:'MovementStep', count:int) -> bool: ...
def do_row_activated(self, path:'TreePath', column:'TreeViewColumn') -> None: ...
def do_row_collapsed(self, iter:'TreeIter', path:'TreePath') -> None: ...
def do_row_expanded(self, iter:'TreeIter', path:'TreePath') -> None: ...
def do_select_all(self) -> bool: ...
def do_select_cursor_parent(self) -> bool: ...
def do_select_cursor_row(self, start_editing:bool) -> bool: ...
def do_start_interactive_search(self) -> bool: ...
def do_test_collapse_row(self, iter:'TreeIter', path:'TreePath') -> bool: ...
def do_test_expand_row(self, iter:'TreeIter', path:'TreePath') -> bool: ...
def do_toggle_cursor_row(self) -> bool: ...
def do_unselect_all(self) -> bool: ...
def enable_model_drag_dest(self, targets, actions): ...
def enable_model_drag_source(self, start_button_mask, targets, actions): ...
def expand_all(self) -> None: ...
def expand_row(self, path:'TreePath', open_all:bool) -> bool: ...
def expand_to_path(self, path:'TreePath') -> None: ...
def get_activate_on_single_click(self) -> bool: ...
def get_background_area(self, path:'TreePath', column:'TreeViewColumn') -> 'typing.Tuple[gi.repository.Gdk.Rectangle]': ...
def get_bin_window(self) -> 'gi.repository.Gdk.Window': ...
def get_cell_area(self, path, column=None): ...
def get_column(self, n:int) -> 'TreeViewColumn': ...
def get_columns(self) -> 'typing.List[TreeViewColumn]': ...
def get_cursor(self) -> 'typing.Tuple[TreePath, TreeViewColumn]': ...
def get_dest_row_at_pos(self, drag_x:int, drag_y:int) -> 'typing.Tuple[TreePath, TreeViewDropPosition]': ...
def get_drag_dest_row(self) -> 'typing.Tuple[TreePath, TreeViewDropPosition]': ...
def get_enable_search(self) -> bool: ...
def get_enable_tree_lines(self) -> bool: ...
def get_expander_column(self) -> 'TreeViewColumn': ...
def get_fixed_height_mode(self) -> bool: ...
def get_grid_lines(self) -> 'TreeViewGridLines': ...
def get_hadjustment(self) -> 'Adjustment': ...
def get_headers_clickable(self) -> bool: ...
def get_headers_visible(self) -> bool: ...
def get_hover_expand(self) -> bool: ...
def get_hover_selection(self) -> bool: ...
def get_level_indentation(self) -> int: ...
def get_model(self) -> 'TreeModel': ...
def get_n_columns(self) -> int: ...
def get_path_at_pos(self, x:int, y:int) -> 'typing.Tuple[TreePath, TreeViewColumn, int, int]': ...
def get_reorderable(self) -> bool: ...
def get_rubber_banding(self) -> bool: ...
def get_rules_hint(self) -> bool: ...
def get_search_column(self) -> int: ...
def get_search_entry(self) -> 'Entry': ...
def get_selection(self) -> 'TreeSelection': ...
def get_show_expanders(self) -> bool: ...
def get_tooltip_column(self) -> int: ...
def get_tooltip_context(self, x:int, y:int, keyboard_tip:bool) -> 'typing.Tuple[bool, TreeModel, TreePath, TreeIter]': ...
def get_vadjustment(self) -> 'Adjustment': ...
def get_visible_range(self) -> 'typing.Tuple[TreePath, TreePath]': ...
def get_visible_rect(self) -> 'typing.Tuple[gi.repository.Gdk.Rectangle]': ...
def insert_column(self, column:'TreeViewColumn', position:int) -> int: ...
def insert_column_with_attributes(self, position, title, cell, **kwargs): ...
def insert_column_with_data_func(self, position:int, title:str, cell:'CellRenderer', func:'typing.Callable[[TreeViewColumn, CellRenderer, TreeModel, TreeIter, typing.Any], typing.Any]', data:'typing.Any', dnotify:'typing.Callable[[typing.Any], typing.Any]') -> int: ...
def is_blank_at_pos(self, x:int, y:int) -> 'typing.Tuple[bool, TreePath, TreeViewColumn, int, int]': ...
def is_rubber_banding_active(self) -> bool: ...
def map_expanded_rows(self, func:'typing.Callable[[TreeView, TreePath, typing.Any], typing.Any]', data:'typing.Any') -> None: ...
def move_column_after(self, column:'TreeViewColumn', base_column:'TreeViewColumn') -> None: ...
@staticmethod
def new_with_model(model:'TreeModel') -> 'Widget': ...
parent = ... # type: Container
def remove_column(self, column:'TreeViewColumn') -> int: ...
def row_activated(self, path:'TreePath', column:'TreeViewColumn') -> None: ...
def row_expanded(self, path:'TreePath') -> bool: ...
def scroll_to_cell(self, path, column=None, use_align=False, row_align=0.0, col_align=0.0): ...
def scroll_to_point(self, tree_x:int, tree_y:int) -> None: ...
def set_activate_on_single_click(self, single:bool) -> None: ...
def set_column_drag_function(self, func:'typing.Callable[[TreeView, TreeViewColumn, TreeViewColumn, TreeViewColumn, typing.Any], bool]', user_data:'typing.Any', destroy:'typing.Callable[[typing.Any], typing.Any]') -> None: ...
def set_cursor(self, path, column=None, start_editing=False): ...
def set_cursor_on_cell(self, path:'TreePath', focus_column:'TreeViewColumn', focus_cell:'CellRenderer', start_editing:bool) -> None: ...
def set_destroy_count_func(self, func:'typing.Callable[[TreeView, TreePath, int, typing.Any], typing.Any]', data:'typing.Any', destroy:'typing.Callable[[typing.Any], typing.Any]') -> None: ...
def set_drag_dest_row(self, path:'TreePath', pos:'TreeViewDropPosition') -> None: ...
def set_enable_search(self, enable_search:bool) -> None: ...
def set_enable_tree_lines(self, enabled:bool) -> None: ...
def set_expander_column(self, column:'TreeViewColumn') -> None: ...
def set_fixed_height_mode(self, enable:bool) -> None: ...
def set_grid_lines(self, grid_lines:'TreeViewGridLines') -> None: ...
def set_hadjustment(self, adjustment:'Adjustment') -> None: ...
def set_headers_clickable(self, setting:bool) -> None: ...
def set_headers_visible(self, headers_visible:bool) -> None: ...
def set_hover_expand(self, expand:bool) -> None: ...
def set_hover_selection(self, hover:bool) -> None: ...
def set_level_indentation(self, indentation:int) -> None: ...
def set_model(self, model:'TreeModel') -> None: ...
def set_reorderable(self, reorderable:bool) -> None: ...
def set_row_separator_func(self, func:'typing.Callable[[TreeModel, TreeIter, typing.Any], bool]', data:'typing.Any', destroy:'typing.Callable[[typing.Any], typing.Any]') -> None: ...
def set_rubber_banding(self, enable:bool) -> None: ...
def set_rules_hint(self, setting:bool) -> None: ...
def set_search_column(self, column:int) -> None: ...
def set_search_entry(self, entry:'Entry') -> None: ...
def set_search_equal_func(self, search_equal_func:'typing.Callable[[TreeModel, int, str, TreeIter, typing.Any], bool]', search_user_data:'typing.Any', search_destroy:'typing.Callable[[typing.Any], typing.Any]') -> None: ...
def set_search_position_func(self, func:'typing.Callable[[TreeView, Widget, typing.Any], typing.Any]', data:'typing.Any', destroy:'typing.Callable[[typing.Any], typing.Any]') -> None: ...
def set_show_expanders(self, enabled:bool) -> None: ...
def set_tooltip_cell(self, tooltip:'Tooltip', path:'TreePath', column:'TreeViewColumn', cell:'CellRenderer') -> None: ...
def set_tooltip_column(self, column:int) -> None: ...
def set_tooltip_row(self, tooltip:'Tooltip', path:'TreePath') -> None: ...
def set_vadjustment(self, adjustment:'Adjustment') -> None: ...
def unset_rows_drag_dest(self) -> None: ...
def unset_rows_drag_source(self) -> None: ...
...
class TreeViewAccessible(ContainerAccessible):
parent = ... # type: ContainerAccessible
...
class TreeViewColumn(gi.repository.GObject.InitiallyUnowned):
def add_attribute(self, cell_renderer:'CellRenderer', attribute:str, column:int) -> None: ...
def cell_get_position(self, cell_renderer:'CellRenderer') -> 'typing.Tuple[int, int]': ...
def cell_get_size(self, cell_area:'gi.repository.Gdk.Rectangle') -> 'typing.Tuple[int, int, int, int]': ...
def cell_is_visible(self) -> bool: ...
def cell_set_cell_data(self, tree_model:'TreeModel', iter:'TreeIter', is_expander:bool, is_expanded:bool) -> None: ...
def clear(self) -> None: ...
def clear_attributes(self, cell_renderer:'CellRenderer') -> None: ...
def clicked(self) -> None: ...
def do_clicked(self) -> None: ...
def focus_cell(self, cell:'CellRenderer') -> None: ...
def get_alignment(self) -> float: ...
def get_button(self) -> 'Widget': ...
def get_clickable(self) -> bool: ...
def get_expand(self) -> bool: ...
def get_fixed_width(self) -> int: ...
def get_max_width(self) -> int: ...
def get_min_width(self) -> int: ...
def get_reorderable(self) -> bool: ...
def get_resizable(self) -> bool: ...
def get_sizing(self) -> 'TreeViewColumnSizing': ...
def get_sort_column_id(self) -> int: ...
def get_sort_indicator(self) -> bool: ...
def get_sort_order(self) -> 'SortType': ...
def get_spacing(self) -> int: ...
def get_title(self) -> str: ...
def get_tree_view(self) -> 'Widget': ...
def get_visible(self) -> bool: ...
def get_widget(self) -> 'Widget': ...
def get_width(self) -> int: ...
def get_x_offset(self) -> int: ...
@staticmethod
def new_with_area(area:'CellArea') -> 'TreeViewColumn': ...
def pack_end(self, cell:'CellRenderer', expand:bool) -> None: ...
def pack_start(self, cell:'CellRenderer', expand:bool) -> None: ...
parent_instance = ... # type: gi.repository.GObject.InitiallyUnowned
def queue_resize(self) -> None: ...
def set_alignment(self, xalign:float) -> None: ...
def set_attributes(self, cell_renderer, **attributes): ...
def set_cell_data_func(self, cell_renderer, func, func_data=None): ...
def set_clickable(self, clickable:bool) -> None: ...
def set_expand(self, expand:bool) -> None: ...
def set_fixed_width(self, fixed_width:int) -> None: ...
def set_max_width(self, max_width:int) -> None: ...
def set_min_width(self, min_width:int) -> None: ...
def set_reorderable(self, reorderable:bool) -> None: ...
def set_resizable(self, resizable:bool) -> None: ...
def set_sizing(self, type:'TreeViewColumnSizing') -> None: ...
def set_sort_column_id(self, sort_column_id:int) -> None: ...
def set_sort_indicator(self, setting:bool) -> None: ...
def set_sort_order(self, order:'SortType') -> None: ...
def set_spacing(self, spacing:int) -> None: ...
def set_title(self, title:str) -> None: ...
def set_visible(self, visible:bool) -> None: ...
def set_widget(self, widget:'Widget') -> None: ...
...
class TreeViewColumnSizing:
AUTOSIZE = ... # type: TreeViewColumnSizing
FIXED = ... # type: TreeViewColumnSizing
GROW_ONLY = ... # type: TreeViewColumnSizing
...
class TreeViewDropPosition:
AFTER = ... # type: TreeViewDropPosition
BEFORE = ... # type: TreeViewDropPosition
INTO_OR_AFTER = ... # type: TreeViewDropPosition
INTO_OR_BEFORE = ... # type: TreeViewDropPosition
...
class TreeViewGridLines:
BOTH = ... # type: TreeViewGridLines
HORIZONTAL = ... # type: TreeViewGridLines
NONE = ... # type: TreeViewGridLines
VERTICAL = ... # type: TreeViewGridLines
...
class UIManager(gi.repository.GObject.GObject):
def add_ui(self, merge_id:int, path:str, name:str, action:str, type:'UIManagerItemType', top:bool) -> None: ...
def add_ui_from_file(self, filename:str) -> int: ...
def add_ui_from_resource(self, resource_path:str) -> int: ...
def add_ui_from_string(self, buffer): ...
def do_actions_changed(self) -> None: ...
def do_add_widget(self, widget:'Widget') -> None: ...
def do_connect_proxy(self, action:'Action', proxy:'Widget') -> None: ...
def do_disconnect_proxy(self, action:'Action', proxy:'Widget') -> None: ...
def do_get_action(self, path:str) -> 'Action': ...
def do_get_widget(self, path:str) -> 'Widget': ...
def do_post_activate(self, action:'Action') -> None: ...
def do_pre_activate(self, action:'Action') -> None: ...
def ensure_update(self) -> None: ...
def get_accel_group(self) -> 'AccelGroup': ...
def get_action(self, path:str) -> 'Action': ...
def get_action_groups(self) -> 'typing.List[ActionGroup]': ...
def get_add_tearoffs(self) -> bool: ...
def get_toplevels(self, types:'UIManagerItemType') -> 'typing.List[Widget]': ...
def get_ui(self) -> str: ...
def get_widget(self, path:str) -> 'Widget': ...
def insert_action_group(self, buffer, length=-1): ...
def new_merge_id(self) -> int: ...
parent = ... # type: gi.repository.GObject.GObject
private_data = ... # type: UIManagerPrivate
def remove_action_group(self, action_group:'ActionGroup') -> None: ...
def remove_ui(self, merge_id:int) -> None: ...
def set_add_tearoffs(self, add_tearoffs:bool) -> None: ...
...
class UIManagerItemType:
ACCELERATOR = ... # type: UIManagerItemType
AUTO = ... # type: UIManagerItemType
MENU = ... # type: UIManagerItemType
MENUBAR = ... # type: UIManagerItemType
MENUITEM = ... # type: UIManagerItemType
PLACEHOLDER = ... # type: UIManagerItemType
POPUP = ... # type: UIManagerItemType
POPUP_WITH_ACCELS = ... # type: UIManagerItemType
SEPARATOR = ... # type: UIManagerItemType
TOOLBAR = ... # type: UIManagerItemType
TOOLITEM = ... # type: UIManagerItemType
...
class Unit:
INCH = ... # type: Unit
MM = ... # type: Unit
NONE = ... # type: Unit
POINTS = ... # type: Unit
...
class VBox(Box):
box = ... # type: Box
...
class VButtonBox(ButtonBox):
button_box = ... # type: ButtonBox
...
class VPaned(Paned):
paned = ... # type: Paned
...
class VScale(Scale):
@staticmethod
def new_with_range(min:float, max:float, step:float) -> 'Widget': ...
scale = ... # type: Scale
...
class VScrollbar(Scrollbar):
scrollbar = ... # type: Scrollbar
...
class VSeparator(Separator):
separator = ... # type: Separator
...
class Viewport(Bin):
bin = ... # type: Bin
def get_bin_window(self) -> 'gi.repository.Gdk.Window': ...
def get_hadjustment(self) -> 'Adjustment': ...
def get_shadow_type(self) -> 'ShadowType': ...
def get_vadjustment(self) -> 'Adjustment': ...
def get_view_window(self) -> 'gi.repository.Gdk.Window': ...
def set_hadjustment(self, adjustment:'Adjustment') -> None: ...
def set_shadow_type(self, type:'ShadowType') -> None: ...
def set_vadjustment(self, adjustment:'Adjustment') -> None: ...
...
class VolumeButton(ScaleButton):
parent = ... # type: ScaleButton
...
class Widget(gi.repository.GObject.InitiallyUnowned):
def activate(self) -> bool: ...
def add_accelerator(self, accel_signal:str, accel_group:'AccelGroup', accel_key:int, accel_mods:'gi.repository.Gdk.ModifierType', accel_flags:'AccelFlags') -> None: ...
def add_device_events(self, device:'gi.repository.Gdk.Device', events:'gi.repository.Gdk.EventMask') -> None: ...
def add_events(self, events:int) -> None: ...
def add_mnemonic_label(self, label:'Widget') -> None: ...
def add_tick_callback(self, callback:'typing.Callable[[Widget, gi.repository.Gdk.FrameClock, typing.Any], bool]', user_data:'typing.Any', notify:'typing.Callable[[typing.Any], typing.Any]') -> int: ...
def can_activate_accel(self, signal_id:int) -> bool: ...
def child_focus(self, direction:'DirectionType') -> bool: ...
def child_notify(self, child_property:str) -> None: ...
def class_path(self) -> 'typing.Tuple[int, str, str]': ...
def compute_expand(self, orientation:'Orientation') -> bool: ...
def create_pango_context(self) -> 'gi.repository.Pango.Context': ...
def create_pango_layout(self, text:str) -> 'gi.repository.Pango.Layout': ...
def destroy(self) -> None: ...
def destroyed(self, widget_pointer:'Widget') -> None: ...
def device_is_shadowed(self, device:'gi.repository.Gdk.Device') -> bool: ...
def do_adjust_baseline_allocation(self, baseline:int) -> None: ...
def do_adjust_baseline_request(self, minimum_baseline:int, natural_baseline:int) -> None: ...
def do_adjust_size_allocation(self, orientation:'Orientation', minimum_size:int, natural_size:int, allocated_pos:int, allocated_size:int) -> None: ...
def do_adjust_size_request(self, orientation:'Orientation', minimum_size:int, natural_size:int) -> None: ...
def do_button_press_event(self, event:'gi.repository.Gdk.EventButton') -> bool: ...
def do_button_release_event(self, event:'gi.repository.Gdk.EventButton') -> bool: ...
def do_can_activate_accel(self, signal_id:int) -> bool: ...
def do_child_notify(self, child_property:'gi.repository.GObject.ParamSpec') -> None: ...
def do_composited_changed(self) -> None: ...
def do_compute_expand(self, hexpand_p:bool, vexpand_p:bool) -> None: ...
def do_configure_event(self, event:'gi.repository.Gdk.EventConfigure') -> bool: ...
def do_damage_event(self, event:'gi.repository.Gdk.EventExpose') -> bool: ...
def do_delete_event(self, event:'gi.repository.Gdk.EventAny') -> bool: ...
def do_destroy(self) -> None: ...
def do_destroy_event(self, event:'gi.repository.Gdk.EventAny') -> bool: ...
def do_direction_changed(self, previous_direction:'TextDirection') -> None: ...
def do_dispatch_child_properties_changed(self, n_pspecs:int, pspecs:'gi.repository.GObject.ParamSpec') -> None: ...
def do_drag_begin(self, context:'gi.repository.Gdk.DragContext') -> None: ...
def do_drag_data_delete(self, context:'gi.repository.Gdk.DragContext') -> None: ...
def do_drag_data_get(self, context:'gi.repository.Gdk.DragContext', selection_data:'SelectionData', info:int, time_:int) -> None: ...
def do_drag_data_received(self, context:'gi.repository.Gdk.DragContext', x:int, y:int, selection_data:'SelectionData', info:int, time_:int) -> None: ...
def do_drag_drop(self, context:'gi.repository.Gdk.DragContext', x:int, y:int, time_:int) -> bool: ...
def do_drag_end(self, context:'gi.repository.Gdk.DragContext') -> None: ...
def do_drag_failed(self, context:'gi.repository.Gdk.DragContext', result:'DragResult') -> bool: ...
def do_drag_leave(self, context:'gi.repository.Gdk.DragContext', time_:int) -> None: ...
def do_drag_motion(self, context:'gi.repository.Gdk.DragContext', x:int, y:int, time_:int) -> bool: ...
def do_draw(self, cr:'gi.repository.cairo.Context') -> bool: ...
def do_enter_notify_event(self, event:'gi.repository.Gdk.EventCrossing') -> bool: ...
def do_event(self, event:'gi.repository.Gdk.Event') -> bool: ...
def do_focus(self, direction:'DirectionType') -> bool: ...
def do_focus_in_event(self, event:'gi.repository.Gdk.EventFocus') -> bool: ...
def do_focus_out_event(self, event:'gi.repository.Gdk.EventFocus') -> bool: ...
def do_get_accessible(self) -> 'gi.repository.Atk.Object': ...
def do_get_preferred_height(self) -> 'typing.Tuple[int, int]': ...
def do_get_preferred_height_and_baseline_for_width(self, width:int) -> 'typing.Tuple[int, int, int, int]': ...
def do_get_preferred_height_for_width(self, width:int) -> 'typing.Tuple[int, int]': ...
def do_get_preferred_width(self) -> 'typing.Tuple[int, int]': ...
def do_get_preferred_width_for_height(self, height:int) -> 'typing.Tuple[int, int]': ...
def do_get_request_mode(self) -> 'SizeRequestMode': ...
def do_grab_broken_event(self, event:'gi.repository.Gdk.EventGrabBroken') -> bool: ...
def do_grab_focus(self) -> None: ...
def do_grab_notify(self, was_grabbed:bool) -> None: ...
def do_hide(self) -> None: ...
def do_hierarchy_changed(self, previous_toplevel:'Widget') -> None: ...
def do_key_press_event(self, event:'gi.repository.Gdk.EventKey') -> bool: ...
def do_key_release_event(self, event:'gi.repository.Gdk.EventKey') -> bool: ...
def do_keynav_failed(self, direction:'DirectionType') -> bool: ...
def do_leave_notify_event(self, event:'gi.repository.Gdk.EventCrossing') -> bool: ...
def do_map(self) -> None: ...
def do_map_event(self, event:'gi.repository.Gdk.EventAny') -> bool: ...
def do_mnemonic_activate(self, group_cycling:bool) -> bool: ...
def do_motion_notify_event(self, event:'gi.repository.Gdk.EventMotion') -> bool: ...
def do_move_focus(self, direction:'DirectionType') -> None: ...
def do_parent_set(self, previous_parent:'Widget') -> None: ...
def do_popup_menu(self) -> bool: ...
def do_property_notify_event(self, event:'gi.repository.Gdk.EventProperty') -> bool: ...
def do_proximity_in_event(self, event:'gi.repository.Gdk.EventProximity') -> bool: ...
def do_proximity_out_event(self, event:'gi.repository.Gdk.EventProximity') -> bool: ...
def do_query_tooltip(self, x:int, y:int, keyboard_tooltip:bool, tooltip:'Tooltip') -> bool: ...
def do_queue_draw_region(self, region:'gi.repository.cairo.Region') -> None: ...
def do_realize(self) -> None: ...
def do_screen_changed(self, previous_screen:'gi.repository.Gdk.Screen') -> None: ...
def do_scroll_event(self, event:'gi.repository.Gdk.EventScroll') -> bool: ...
def do_selection_clear_event(self, event:'gi.repository.Gdk.EventSelection') -> bool: ...
def do_selection_get(self, selection_data:'SelectionData', info:int, time_:int) -> None: ...
def do_selection_notify_event(self, event:'gi.repository.Gdk.EventSelection') -> bool: ...
def do_selection_received(self, selection_data:'SelectionData', time_:int) -> None: ...
def do_selection_request_event(self, event:'gi.repository.Gdk.EventSelection') -> bool: ...
def do_show(self) -> None: ...
def do_show_all(self) -> None: ...
def do_show_help(self, help_type:'WidgetHelpType') -> bool: ...
def do_size_allocate(self, allocation:'gi.repository.Gdk.Rectangle') -> None: ...
def do_state_changed(self, previous_state:'StateType') -> None: ...
def do_state_flags_changed(self, previous_state_flags:'StateFlags') -> None: ...
def do_style_set(self, previous_style:'Style') -> None: ...
def do_style_updated(self) -> None: ...
def do_touch_event(self, event:'gi.repository.Gdk.EventTouch') -> bool: ...
def do_unmap(self) -> None: ...
def do_unmap_event(self, event:'gi.repository.Gdk.EventAny') -> bool: ...
def do_unrealize(self) -> None: ...
def do_visibility_notify_event(self, event:'gi.repository.Gdk.EventVisibility') -> bool: ...
def do_window_state_event(self, event:'gi.repository.Gdk.EventWindowState') -> bool: ...
def drag_begin(self, targets:'TargetList', actions:'gi.repository.Gdk.DragAction', button:int, event:'gi.repository.Gdk.Event') -> 'gi.repository.Gdk.DragContext': ...
def drag_begin_with_coordinates(self, targets:'TargetList', actions:'gi.repository.Gdk.DragAction', button:int, event:'gi.repository.Gdk.Event', x:int, y:int) -> 'gi.repository.Gdk.DragContext': ...
def drag_check_threshold(self, start_x:int, start_y:int, current_x:int, current_y:int) -> bool: ...
def drag_dest_add_image_targets(self) -> None: ...
def drag_dest_add_text_targets(self) -> None: ...
def drag_dest_add_uri_targets(self) -> None: ...
def drag_dest_find_target(self, context:'gi.repository.Gdk.DragContext', target_list:'TargetList') -> 'gi.repository.Gdk.Atom': ...
def drag_dest_get_target_list(self) -> 'TargetList': ...
def drag_dest_get_track_motion(self) -> bool: ...
def drag_dest_set(self, flags:'DestDefaults', targets:'typing.List[TargetEntry]', n_targets:int, actions:'gi.repository.Gdk.DragAction') -> None: ...
def drag_dest_set_proxy(self, proxy_window:'gi.repository.Gdk.Window', protocol:'gi.repository.Gdk.DragProtocol', use_coordinates:bool) -> None: ...
def drag_dest_set_target_list(self, target_list): ...
def drag_dest_set_track_motion(self, track_motion:bool) -> None: ...
def drag_dest_unset(self) -> None: ...
def drag_get_data(self, context:'gi.repository.Gdk.DragContext', target:'gi.repository.Gdk.Atom', time_:int) -> None: ...
def drag_highlight(self) -> None: ...
def drag_source_add_image_targets(self) -> None: ...
def drag_source_add_text_targets(self) -> None: ...
def drag_source_add_uri_targets(self) -> None: ...
def drag_source_get_target_list(self) -> 'TargetList': ...
def drag_source_set(self, start_button_mask:'gi.repository.Gdk.ModifierType', targets:'typing.List[TargetEntry]', n_targets:int, actions:'gi.repository.Gdk.DragAction') -> None: ...
def drag_source_set_icon_gicon(self, icon:'gi.repository.Gio.Icon') -> None: ...
def drag_source_set_icon_name(self, icon_name:str) -> None: ...
def drag_source_set_icon_pixbuf(self, pixbuf:'gi.repository.GdkPixbuf.Pixbuf') -> None: ...
def drag_source_set_icon_stock(self, stock_id:str) -> None: ...
def drag_source_set_target_list(self, target_list): ...
def drag_source_unset(self) -> None: ...
def drag_unhighlight(self) -> None: ...
def draw(self, cr:'gi.repository.cairo.Context') -> None: ...
def ensure_style(self) -> None: ...
def error_bell(self) -> None: ...
def event(self, event:'gi.repository.Gdk.Event') -> bool: ...
def freeze_child_notify(self): ...
def get_accessible(self) -> 'gi.repository.Atk.Object': ...
def get_action_group(self, prefix:str) -> 'gi.repository.Gio.ActionGroup': ...
def get_allocated_baseline(self) -> int: ...
def get_allocated_height(self) -> int: ...
def get_allocated_size(self) -> 'typing.Tuple[gi.repository.Gdk.Rectangle, int]': ...
def get_allocated_width(self) -> int: ...
def get_allocation(self) -> 'typing.Tuple[gi.repository.Gdk.Rectangle]': ...
def get_ancestor(self, widget_type:'gi.repository.GObject.GType') -> 'Widget': ...
def get_app_paintable(self) -> bool: ...
def get_can_default(self) -> bool: ...
def get_can_focus(self) -> bool: ...
def get_child_requisition(self) -> 'typing.Tuple[Requisition]': ...
def get_child_visible(self) -> bool: ...
def get_clip(self) -> 'typing.Tuple[gi.repository.Gdk.Rectangle]': ...
def get_clipboard(self, selection:'gi.repository.Gdk.Atom') -> 'Clipboard': ...
def get_composite_name(self) -> str: ...
@staticmethod
def get_default_direction() -> 'TextDirection': ...
@staticmethod
def get_default_style() -> 'Style': ...
def get_device_enabled(self, device:'gi.repository.Gdk.Device') -> bool: ...
def get_device_events(self, device:'gi.repository.Gdk.Device') -> 'gi.repository.Gdk.EventMask': ...
def get_direction(self) -> 'TextDirection': ...
def get_display(self) -> 'gi.repository.Gdk.Display': ...
def get_double_buffered(self) -> bool: ...
def get_events(self) -> int: ...
def get_focus_on_click(self) -> bool: ...
def get_font_map(self) -> 'gi.repository.Pango.FontMap': ...
def get_font_options(self) -> 'gi.repository.cairo.FontOptions': ...
def get_frame_clock(self) -> 'gi.repository.Gdk.FrameClock': ...
def get_halign(self) -> 'Align': ...
def get_has_tooltip(self) -> bool: ...
def get_has_window(self) -> bool: ...
def get_hexpand(self) -> bool: ...
def get_hexpand_set(self) -> bool: ...
def get_mapped(self) -> bool: ...
def get_margin_bottom(self) -> int: ...
def get_margin_end(self) -> int: ...
def get_margin_left(self) -> int: ...
def get_margin_right(self) -> int: ...
def get_margin_start(self) -> int: ...
def get_margin_top(self) -> int: ...
def get_modifier_mask(self, intent:'gi.repository.Gdk.ModifierIntent') -> 'gi.repository.Gdk.ModifierType': ...
def get_modifier_style(self) -> 'RcStyle': ...
def get_name(self) -> str: ...
def get_no_show_all(self) -> bool: ...
def get_opacity(self) -> float: ...
def get_pango_context(self) -> 'gi.repository.Pango.Context': ...
def get_parent(self) -> 'Widget': ...
def get_parent_window(self) -> 'gi.repository.Gdk.Window': ...
def get_path(self) -> 'WidgetPath': ...
def get_pointer(self) -> 'typing.Tuple[int, int]': ...
def get_preferred_height(self) -> 'typing.Tuple[int, int]': ...
def get_preferred_height_and_baseline_for_width(self, width:int) -> 'typing.Tuple[int, int, int, int]': ...
def get_preferred_height_for_width(self, width:int) -> 'typing.Tuple[int, int]': ...
def get_preferred_size(self) -> 'typing.Tuple[Requisition, Requisition]': ...
def get_preferred_width(self) -> 'typing.Tuple[int, int]': ...
def get_preferred_width_for_height(self, height:int) -> 'typing.Tuple[int, int]': ...
def get_realized(self) -> bool: ...
def get_receives_default(self) -> bool: ...
def get_request_mode(self) -> 'SizeRequestMode': ...
def get_requisition(self) -> 'typing.Tuple[Requisition]': ...
def get_root_window(self) -> 'gi.repository.Gdk.Window': ...
def get_scale_factor(self) -> int: ...
def get_screen(self) -> 'gi.repository.Gdk.Screen': ...
def get_sensitive(self) -> bool: ...
def get_settings(self) -> 'Settings': ...
def get_size_request(self) -> 'typing.Tuple[int, int]': ...
def get_state(self) -> 'StateType': ...
def get_state_flags(self) -> 'StateFlags': ...
def get_style(self) -> 'Style': ...
def get_style_context(self) -> 'StyleContext': ...
def get_support_multidevice(self) -> bool: ...
def get_template_child(self, widget_type:'gi.repository.GObject.GType', name:str) -> 'gi.repository.GObject.GObject': ...
def get_tooltip_markup(self) -> str: ...
def get_tooltip_text(self) -> str: ...
def get_tooltip_window(self) -> 'Window': ...
def get_toplevel(self) -> 'Widget': ...
def get_valign(self) -> 'Align': ...
def get_valign_with_baseline(self) -> 'Align': ...
def get_vexpand(self) -> bool: ...
def get_vexpand_set(self) -> bool: ...
def get_visible(self) -> bool: ...
def get_visual(self) -> 'gi.repository.Gdk.Visual': ...
def get_window(self) -> 'gi.repository.Gdk.Window': ...
def grab_add(self) -> None: ...
def grab_default(self) -> None: ...
def grab_focus(self) -> None: ...
def grab_remove(self) -> None: ...
def has_default(self) -> bool: ...
def has_focus(self) -> bool: ...
def has_grab(self) -> bool: ...
def has_rc_style(self) -> bool: ...
def has_screen(self) -> bool: ...
def has_visible_focus(self) -> bool: ...
def hide(self) -> None: ...
def hide_on_delete(self) -> bool: ...
def in_destruction(self) -> bool: ...
def init_template(self) -> None: ...
def input_shape_combine_region(self, region:'gi.repository.cairo.Region') -> None: ...
def insert_action_group(self, name:str, group:'gi.repository.Gio.ActionGroup') -> None: ...
def intersect(self, area:'gi.repository.Gdk.Rectangle') -> 'typing.Tuple[bool, gi.repository.Gdk.Rectangle]': ...
def is_ancestor(self, ancestor:'Widget') -> bool: ...
def is_composited(self) -> bool: ...
def is_drawable(self) -> bool: ...
def is_focus(self) -> bool: ...
def is_sensitive(self) -> bool: ...
def is_toplevel(self) -> bool: ...
def is_visible(self) -> bool: ...
def keynav_failed(self, direction:'DirectionType') -> bool: ...
def list_accel_closures(self) -> 'typing.List[gi.repository.GObject.Closure]': ...
def list_action_prefixes(self) -> 'typing.List[str]': ...
def list_mnemonic_labels(self) -> 'typing.List[Widget]': ...
def map(self) -> None: ...
def mnemonic_activate(self, group_cycling:bool) -> bool: ...
def modify_base(self, state:'StateType', color:'gi.repository.Gdk.Color') -> None: ...
def modify_bg(self, state:'StateType', color:'gi.repository.Gdk.Color') -> None: ...
def modify_cursor(self, primary:'gi.repository.Gdk.Color', secondary:'gi.repository.Gdk.Color') -> None: ...
def modify_fg(self, state:'StateType', color:'gi.repository.Gdk.Color') -> None: ...
def modify_font(self, font_desc:'gi.repository.Pango.FontDescription') -> None: ...
def modify_style(self, style:'RcStyle') -> None: ...
def modify_text(self, state:'StateType', color:'gi.repository.Gdk.Color') -> None: ...
def override_background_color(self, state:'StateFlags', color:'gi.repository.Gdk.RGBA') -> None: ...
def override_color(self, state:'StateFlags', color:'gi.repository.Gdk.RGBA') -> None: ...
def override_cursor(self, cursor:'gi.repository.Gdk.RGBA', secondary_cursor:'gi.repository.Gdk.RGBA') -> None: ...
def override_font(self, font_desc:'gi.repository.Pango.FontDescription') -> None: ...
def override_symbolic_color(self, name:str, color:'gi.repository.Gdk.RGBA') -> None: ...
parent_instance = ... # type: gi.repository.GObject.InitiallyUnowned
def path(self) -> 'typing.Tuple[int, str, str]': ...
@staticmethod
def pop_composite_child() -> None: ...
@staticmethod
def push_composite_child() -> None: ...
def queue_allocate(self) -> None: ...
def queue_compute_expand(self) -> None: ...
def queue_draw(self) -> None: ...
def queue_draw_area(self, x:int, y:int, width:int, height:int) -> None: ...
def queue_draw_region(self, region:'gi.repository.cairo.Region') -> None: ...
def queue_resize(self) -> None: ...
def queue_resize_no_redraw(self) -> None: ...
def realize(self) -> None: ...
def region_intersect(self, region:'gi.repository.cairo.Region') -> 'gi.repository.cairo.Region': ...
def register_window(self, window:'gi.repository.Gdk.Window') -> None: ...
def remove_accelerator(self, accel_group:'AccelGroup', accel_key:int, accel_mods:'gi.repository.Gdk.ModifierType') -> bool: ...
def remove_mnemonic_label(self, label:'Widget') -> None: ...
def remove_tick_callback(self, id:int) -> None: ...
def render_icon(self, stock_id:str, size:int, detail:str) -> 'gi.repository.GdkPixbuf.Pixbuf': ...
def render_icon_pixbuf(self, stock_id:str, size:int) -> 'gi.repository.GdkPixbuf.Pixbuf': ...
def reparent(self, new_parent:'Widget') -> None: ...
def reset_rc_styles(self) -> None: ...
def reset_style(self) -> None: ...
def send_expose(self, event:'gi.repository.Gdk.Event') -> int: ...
def send_focus_change(self, event:'gi.repository.Gdk.Event') -> bool: ...
def set_accel_path(self, accel_path:str, accel_group:'AccelGroup') -> None: ...
def set_allocation(self, allocation:'gi.repository.Gdk.Rectangle') -> None: ...
def set_app_paintable(self, app_paintable:bool) -> None: ...
def set_can_default(self, can_default:bool) -> None: ...
def set_can_focus(self, can_focus:bool) -> None: ...
def set_child_visible(self, is_visible:bool) -> None: ...
def set_clip(self, clip:'gi.repository.Gdk.Rectangle') -> None: ...
def set_composite_name(self, name:str) -> None: ...
@staticmethod
def set_default_direction(dir:'TextDirection') -> None: ...
def set_device_enabled(self, device:'gi.repository.Gdk.Device', enabled:bool) -> None: ...
def set_device_events(self, device:'gi.repository.Gdk.Device', events:'gi.repository.Gdk.EventMask') -> None: ...
def set_direction(self, dir:'TextDirection') -> None: ...
def set_double_buffered(self, double_buffered:bool) -> None: ...
def set_events(self, events:int) -> None: ...
def set_focus_on_click(self, focus_on_click:bool) -> None: ...
def set_font_map(self, font_map:'gi.repository.Pango.FontMap') -> None: ...
def set_font_options(self, options:'gi.repository.cairo.FontOptions') -> None: ...
def set_halign(self, align:'Align') -> None: ...
def set_has_tooltip(self, has_tooltip:bool) -> None: ...
def set_has_window(self, has_window:bool) -> None: ...
def set_hexpand(self, expand:bool) -> None: ...
def set_hexpand_set(self, set:bool) -> None: ...
def set_mapped(self, mapped:bool) -> None: ...
def set_margin_bottom(self, margin:int) -> None: ...
def set_margin_end(self, margin:int) -> None: ...
def set_margin_left(self, margin:int) -> None: ...
def set_margin_right(self, margin:int) -> None: ...
def set_margin_start(self, margin:int) -> None: ...
def set_margin_top(self, margin:int) -> None: ...
def set_name(self, name:str) -> None: ...
def set_no_show_all(self, no_show_all:bool) -> None: ...
def set_opacity(self, opacity:float) -> None: ...
def set_parent(self, parent:'Widget') -> None: ...
def set_parent_window(self, parent_window:'gi.repository.Gdk.Window') -> None: ...
def set_realized(self, realized:bool) -> None: ...
def set_receives_default(self, receives_default:bool) -> None: ...
def set_redraw_on_allocate(self, redraw_on_allocate:bool) -> None: ...
def set_sensitive(self, sensitive:bool) -> None: ...
def set_size_request(self, width:int, height:int) -> None: ...
def set_state(self, state:'StateType') -> None: ...
def set_state_flags(self, flags:'StateFlags', clear:bool) -> None: ...
def set_style(self, style:'Style') -> None: ...
def set_support_multidevice(self, support_multidevice:bool) -> None: ...
def set_tooltip_markup(self, markup:str) -> None: ...
def set_tooltip_text(self, text:str) -> None: ...
def set_tooltip_window(self, custom_window:'Window') -> None: ...
def set_valign(self, align:'Align') -> None: ...
def set_vexpand(self, expand:bool) -> None: ...
def set_vexpand_set(self, set:bool) -> None: ...
def set_visible(self, visible:bool) -> None: ...
def set_visual(self, visual:'gi.repository.Gdk.Visual') -> None: ...
def set_window(self, window:'gi.repository.Gdk.Window') -> None: ...
def shape_combine_region(self, region:'gi.repository.cairo.Region') -> None: ...
def show(self) -> None: ...
def show_all(self) -> None: ...
def show_now(self) -> None: ...
def size_allocate(self, allocation:'gi.repository.Gdk.Rectangle') -> None: ...
def size_allocate_with_baseline(self, allocation:'gi.repository.Gdk.Rectangle', baseline:int) -> None: ...
def size_request(self) -> 'typing.Tuple[Requisition]': ...
def style_attach(self) -> None: ...
def style_get_property(self, property_name, value=None): ...
def thaw_child_notify(self) -> None: ...
def translate_coordinates(self, dest_widget:'Widget', src_x:int, src_y:int) -> 'typing.Tuple[int, int]': ...
def trigger_tooltip_query(self) -> None: ...
def unmap(self) -> None: ...
def unparent(self) -> None: ...
def unrealize(self) -> None: ...
def unregister_window(self, window:'gi.repository.Gdk.Window') -> None: ...
def unset_state_flags(self, flags:'StateFlags') -> None: ...
...
class WidgetAccessible(Accessible):
parent = ... # type: Accessible
...
class WidgetHelpType:
TOOLTIP = ... # type: WidgetHelpType
WHATS_THIS = ... # type: WidgetHelpType
...
class WidgetPath:
def append_for_widget(self, widget:'Widget') -> int: ...
def append_type(self, type:'gi.repository.GObject.GType') -> int: ...
def append_with_siblings(self, siblings:'WidgetPath', sibling_index:int) -> int: ...
def copy(self) -> 'WidgetPath': ...
def free(self) -> None: ...
def get_object_type(self) -> 'gi.repository.GObject.GType': ...
def has_parent(self, type:'gi.repository.GObject.GType') -> bool: ...
def is_type(self, type:'gi.repository.GObject.GType') -> bool: ...
def iter_add_class(self, pos:int, name:str) -> None: ...
def iter_add_region(self, pos:int, name:str, flags:'RegionFlags') -> None: ...
def iter_clear_classes(self, pos:int) -> None: ...
def iter_clear_regions(self, pos:int) -> None: ...
def iter_get_name(self, pos:int) -> str: ...
def iter_get_object_name(self, pos:int) -> str: ...
def iter_get_object_type(self, pos:int) -> 'gi.repository.GObject.GType': ...
def iter_get_sibling_index(self, pos:int) -> int: ...
def iter_get_siblings(self, pos:int) -> 'WidgetPath': ...
def iter_get_state(self, pos:int) -> 'StateFlags': ...
def iter_has_class(self, pos:int, name:str) -> bool: ...
def iter_has_name(self, pos:int, name:str) -> bool: ...
def iter_has_qclass(self, pos:int, qname:int) -> bool: ...
def iter_has_qname(self, pos:int, qname:int) -> bool: ...
def iter_has_qregion(self, pos:int, qname:int) -> 'typing.Tuple[bool, RegionFlags]': ...
def iter_has_region(self, pos:int, name:str) -> 'typing.Tuple[bool, RegionFlags]': ...
def iter_list_classes(self, pos:int) -> 'typing.List[str]': ...
def iter_list_regions(self, pos:int) -> 'typing.List[str]': ...
def iter_remove_class(self, pos:int, name:str) -> None: ...
def iter_remove_region(self, pos:int, name:str) -> None: ...
def iter_set_name(self, pos:int, name:str) -> None: ...
def iter_set_object_name(self, pos:int, name:str) -> None: ...
def iter_set_object_type(self, pos:int, type:'gi.repository.GObject.GType') -> None: ...
def iter_set_state(self, pos:int, state:'StateFlags') -> None: ...
def length(self) -> int: ...
def prepend_type(self, type:'gi.repository.GObject.GType') -> None: ...
def ref(self) -> 'WidgetPath': ...
def to_string(self) -> str: ...
def unref(self) -> None: ...
...
class Window(Bin):
def activate_default(self) -> bool: ...
def activate_focus(self) -> bool: ...
def activate_key(self, event:'gi.repository.Gdk.EventKey') -> bool: ...
def add_accel_group(self, accel_group:'AccelGroup') -> None: ...
def add_mnemonic(self, keyval:int, target:'Widget') -> None: ...
def begin_move_drag(self, button:int, root_x:int, root_y:int, timestamp:int) -> None: ...
def begin_resize_drag(self, edge:'gi.repository.Gdk.WindowEdge', button:int, root_x:int, root_y:int, timestamp:int) -> None: ...
bin = ... # type: Bin
def close(self) -> None: ...
def deiconify(self) -> None: ...
def do_activate_default(self) -> None: ...
def do_activate_focus(self) -> None: ...
def do_enable_debugging(self, toggle:bool) -> bool: ...
def do_keys_changed(self) -> None: ...
def do_set_focus(self, focus:'Widget') -> None: ...
def fullscreen(self) -> None: ...
def fullscreen_on_monitor(self, screen:'gi.repository.Gdk.Screen', monitor:int) -> None: ...
def get_accept_focus(self) -> bool: ...
def get_application(self) -> 'Application': ...
def get_attached_to(self) -> 'Widget': ...
def get_decorated(self) -> bool: ...
@staticmethod
def get_default_icon_list() -> 'typing.List[gi.repository.GdkPixbuf.Pixbuf]': ...
@staticmethod
def get_default_icon_name() -> str: ...
def get_default_size(self) -> 'typing.Tuple[int, int]': ...
def get_default_widget(self) -> 'Widget': ...
def get_deletable(self) -> bool: ...
def get_destroy_with_parent(self) -> bool: ...
def get_focus(self) -> 'Widget': ...
def get_focus_on_map(self) -> bool: ...
def get_focus_visible(self) -> bool: ...
def get_gravity(self) -> 'gi.repository.Gdk.Gravity': ...
def get_group(self) -> 'WindowGroup': ...
def get_has_resize_grip(self) -> bool: ...
def get_hide_titlebar_when_maximized(self) -> bool: ...
def get_icon(self) -> 'gi.repository.GdkPixbuf.Pixbuf': ...
def get_icon_list(self) -> 'typing.List[gi.repository.GdkPixbuf.Pixbuf]': ...
def get_icon_name(self) -> str: ...
def get_mnemonic_modifier(self) -> 'gi.repository.Gdk.ModifierType': ...
def get_mnemonics_visible(self) -> bool: ...
def get_modal(self) -> bool: ...
def get_opacity(self) -> float: ...
def get_position(self) -> 'typing.Tuple[int, int]': ...
def get_resizable(self) -> bool: ...
def get_resize_grip_area(self) -> 'typing.Tuple[bool, gi.repository.Gdk.Rectangle]': ...
def get_role(self) -> str: ...
def get_screen(self) -> 'gi.repository.Gdk.Screen': ...
def get_size(self) -> 'typing.Tuple[int, int]': ...
def get_skip_pager_hint(self) -> bool: ...
def get_skip_taskbar_hint(self) -> bool: ...
def get_title(self) -> str: ...
def get_titlebar(self) -> 'Widget': ...
def get_transient_for(self) -> 'Window': ...
def get_type_hint(self) -> 'gi.repository.Gdk.WindowTypeHint': ...
def get_urgency_hint(self) -> bool: ...
def get_window_type(self) -> 'WindowType': ...
def has_group(self) -> bool: ...
def has_toplevel_focus(self) -> bool: ...
def iconify(self) -> None: ...
def is_active(self) -> bool: ...
def is_maximized(self) -> bool: ...
@staticmethod
def list_toplevels() -> 'typing.List[Widget]': ...
def maximize(self) -> None: ...
def mnemonic_activate(self, keyval:int, modifier:'gi.repository.Gdk.ModifierType') -> bool: ...
def move(self, x:int, y:int) -> None: ...
def parse_geometry(self, geometry:str) -> bool: ...
def present(self) -> None: ...
def present_with_time(self, timestamp:int) -> None: ...
def propagate_key_event(self, event:'gi.repository.Gdk.EventKey') -> bool: ...
def remove_accel_group(self, accel_group:'AccelGroup') -> None: ...
def remove_mnemonic(self, keyval:int, target:'Widget') -> None: ...
def reshow_with_initial_size(self) -> None: ...
def resize(self, width:int, height:int) -> None: ...
def resize_grip_is_visible(self) -> bool: ...
def resize_to_geometry(self, width:int, height:int) -> None: ...
def set_accept_focus(self, setting:bool) -> None: ...
def set_application(self, application:'Application') -> None: ...
def set_attached_to(self, attach_widget:'Widget') -> None: ...
@staticmethod
def set_auto_startup_notification(setting:bool) -> None: ...
def set_decorated(self, setting:bool) -> None: ...
def set_default(self, default_widget:'Widget') -> None: ...
def set_default_geometry(self, width:int, height:int) -> None: ...
@staticmethod
def set_default_icon(icon:'gi.repository.GdkPixbuf.Pixbuf') -> None: ...
@staticmethod
def set_default_icon_from_file(filename:str) -> bool: ...
@staticmethod
def set_default_icon_list(list:'typing.List[gi.repository.GdkPixbuf.Pixbuf]') -> None: ...
@staticmethod
def set_default_icon_name(name:str) -> None: ...
def set_default_size(self, width:int, height:int) -> None: ...
def set_deletable(self, setting:bool) -> None: ...
def set_destroy_with_parent(self, setting:bool) -> None: ...
def set_focus(self, focus:'Widget') -> None: ...
def set_focus_on_map(self, setting:bool) -> None: ...
def set_focus_visible(self, setting:bool) -> None: ...
def set_geometry_hints(self, geometry_widget:'Widget', geometry:'gi.repository.Gdk.Geometry', geom_mask:'gi.repository.Gdk.WindowHints') -> None: ...
def set_gravity(self, gravity:'gi.repository.Gdk.Gravity') -> None: ...
def set_has_resize_grip(self, value:bool) -> None: ...
def set_has_user_ref_count(self, setting:bool) -> None: ...
def set_hide_titlebar_when_maximized(self, setting:bool) -> None: ...
def set_icon(self, icon:'gi.repository.GdkPixbuf.Pixbuf') -> None: ...
def set_icon_from_file(self, filename:str) -> bool: ...
def set_icon_list(self, list:'typing.List[gi.repository.GdkPixbuf.Pixbuf]') -> None: ...
def set_icon_name(self, name:str) -> None: ...
@staticmethod
def set_interactive_debugging(enable:bool) -> None: ...
def set_keep_above(self, setting:bool) -> None: ...
def set_keep_below(self, setting:bool) -> None: ...
def set_mnemonic_modifier(self, modifier:'gi.repository.Gdk.ModifierType') -> None: ...
def set_mnemonics_visible(self, setting:bool) -> None: ...
def set_modal(self, modal:bool) -> None: ...
def set_opacity(self, opacity:float) -> None: ...
def set_position(self, position:'WindowPosition') -> None: ...
def set_resizable(self, resizable:bool) -> None: ...
def set_role(self, role:str) -> None: ...
def set_screen(self, screen:'gi.repository.Gdk.Screen') -> None: ...
def set_skip_pager_hint(self, setting:bool) -> None: ...
def set_skip_taskbar_hint(self, setting:bool) -> None: ...
def set_startup_id(self, startup_id:str) -> None: ...
def set_title(self, title:str) -> None: ...
def set_titlebar(self, titlebar:'Widget') -> None: ...
def set_transient_for(self, parent:'Window') -> None: ...
def set_type_hint(self, hint:'gi.repository.Gdk.WindowTypeHint') -> None: ...
def set_urgency_hint(self, setting:bool) -> None: ...
def set_wmclass(self, wmclass_name:str, wmclass_class:str) -> None: ...
def stick(self) -> None: ...
def unfullscreen(self) -> None: ...
def unmaximize(self) -> None: ...
def unstick(self) -> None: ...
...
class WindowAccessible(ContainerAccessible):
parent = ... # type: ContainerAccessible
...
class WindowGeometryInfo:
...
class WindowGroup(gi.repository.GObject.GObject):
def add_window(self, window:'Window') -> None: ...
def get_current_device_grab(self, device:'gi.repository.Gdk.Device') -> 'Widget': ...
def get_current_grab(self) -> 'Widget': ...
def list_windows(self) -> 'typing.List[Window]': ...
parent_instance = ... # type: gi.repository.GObject.GObject
def remove_window(self, window:'Window') -> None: ...
...
class WindowPosition:
CENTER = ... # type: WindowPosition
CENTER_ALWAYS = ... # type: WindowPosition
CENTER_ON_PARENT = ... # type: WindowPosition
MOUSE = ... # type: WindowPosition
NONE = ... # type: WindowPosition
...
class WindowType:
POPUP = ... # type: WindowType
TOPLEVEL = ... # type: WindowType
...
class WrapMode:
CHAR = ... # type: WrapMode
NONE = ... # type: WrapMode
WORD = ... # type: WrapMode
WORD_CHAR = ... # type: WrapMode
...
def _construct_target_list(targets): ...
def _extract_handler_and_args(obj_or_map, handler_name): ...
_namespace = ... # type: str
_version = ... # type: str
def accel_groups_activate(object:'gi.repository.GObject.GObject', accel_key:int, accel_mods:'gi.repository.Gdk.ModifierType') -> bool: ...
def accel_groups_from_object(object:'gi.repository.GObject.GObject') -> 'typing.List[AccelGroup]': ...
def accelerator_get_default_mod_mask() -> 'gi.repository.Gdk.ModifierType': ...
def accelerator_get_label(accelerator_key:int, accelerator_mods:'gi.repository.Gdk.ModifierType') -> str: ...
def accelerator_get_label_with_keycode(display:'gi.repository.Gdk.Display', accelerator_key:int, keycode:int, accelerator_mods:'gi.repository.Gdk.ModifierType') -> str: ...
def accelerator_name(accelerator_key:int, accelerator_mods:'gi.repository.Gdk.ModifierType') -> str: ...
def accelerator_name_with_keycode(display:'gi.repository.Gdk.Display', accelerator_key:int, keycode:int, accelerator_mods:'gi.repository.Gdk.ModifierType') -> str: ...
def accelerator_parse(accelerator:str) -> 'typing.Tuple[int, gi.repository.Gdk.ModifierType]': ...
def accelerator_parse_with_keycode(accelerator:str) -> 'typing.Tuple[int, typing.List[int], gi.repository.Gdk.ModifierType]': ...
def accelerator_set_default_mod_mask(default_mod_mask:'gi.repository.Gdk.ModifierType') -> None: ...
def accelerator_valid(keyval:int, modifiers:'gi.repository.Gdk.ModifierType') -> bool: ...
def alternative_dialog_button_order(screen:'gi.repository.Gdk.Screen') -> bool: ...
def binding_entry_add_signal_from_string(binding_set:'BindingSet', signal_desc:str) -> 'gi.repository.GLib.TokenType': ...
def binding_entry_add_signall(binding_set:'BindingSet', keyval:int, modifiers:'gi.repository.Gdk.ModifierType', signal_name:str, binding_args:'typing.List[BindingArg]') -> None: ...
def binding_entry_remove(binding_set:'BindingSet', keyval:int, modifiers:'gi.repository.Gdk.ModifierType') -> None: ...
def binding_entry_skip(binding_set:'BindingSet', keyval:int, modifiers:'gi.repository.Gdk.ModifierType') -> None: ...
def binding_set_find(set_name:str) -> 'BindingSet': ...
def bindings_activate(object:'gi.repository.GObject.GObject', keyval:int, modifiers:'gi.repository.Gdk.ModifierType') -> bool: ...
def bindings_activate_event(object:'gi.repository.GObject.GObject', event:'gi.repository.Gdk.EventKey') -> bool: ...
def builder_error_quark() -> int: ...
def cairo_should_draw_window(cr:'gi.repository.cairo.Context', window:'gi.repository.Gdk.Window') -> bool: ...
def cairo_transform_to_window(cr:'gi.repository.cairo.Context', widget:'Widget', window:'gi.repository.Gdk.Window') -> None: ...
def check_version(required_major:int, required_minor:int, required_micro:int) -> str: ...
def css_provider_error_quark() -> int: ...
def device_grab_add(widget:'Widget', device:'gi.repository.Gdk.Device', block_others:bool) -> None: ...
def device_grab_remove(widget:'Widget', device:'gi.repository.Gdk.Device') -> None: ...
def disable_setlocale() -> None: ...
def distribute_natural_allocation(extra_space:int, n_requested_sizes:int, sizes:'RequestedSize') -> int: ...
def drag_cancel(context:'gi.repository.Gdk.DragContext') -> None: ...
def drag_finish(context:'gi.repository.Gdk.DragContext', success:bool, del_:bool, time_:int) -> None: ...
def drag_get_source_widget(context:'gi.repository.Gdk.DragContext') -> 'Widget': ...
def drag_set_icon_default(context:'gi.repository.Gdk.DragContext') -> None: ...
def drag_set_icon_gicon(context:'gi.repository.Gdk.DragContext', icon:'gi.repository.Gio.Icon', hot_x:int, hot_y:int) -> None: ...
def drag_set_icon_name(context:'gi.repository.Gdk.DragContext', icon_name:str, hot_x:int, hot_y:int) -> None: ...
def drag_set_icon_pixbuf(context:'gi.repository.Gdk.DragContext', pixbuf:'gi.repository.GdkPixbuf.Pixbuf', hot_x:int, hot_y:int) -> None: ...
def drag_set_icon_stock(context:'gi.repository.Gdk.DragContext', stock_id:str, hot_x:int, hot_y:int) -> None: ...
def drag_set_icon_surface(context:'gi.repository.Gdk.DragContext', surface:'gi.repository.cairo.Surface') -> None: ...
def drag_set_icon_widget(context:'gi.repository.Gdk.DragContext', widget:'Widget', hot_x:int, hot_y:int) -> None: ...
def draw_insertion_cursor(widget:'Widget', cr:'gi.repository.cairo.Context', location:'gi.repository.Gdk.Rectangle', is_primary:bool, direction:'TextDirection', draw_arrow:bool) -> None: ...
def events_pending() -> bool: ...
def false() -> bool: ...
def file_chooser_error_quark() -> int: ...
def get_binary_age() -> int: ...
def get_current_event() -> 'gi.repository.Gdk.Event': ...
def get_current_event_device() -> 'gi.repository.Gdk.Device': ...
def get_current_event_state() -> 'typing.Tuple[bool, gi.repository.Gdk.ModifierType]': ...
def get_current_event_time() -> int: ...
def get_debug_flags() -> int: ...
def get_default_language() -> 'gi.repository.Pango.Language': ...
def get_event_widget(event:'gi.repository.Gdk.Event') -> 'Widget': ...
def get_interface_age() -> int: ...
def get_locale_direction() -> 'TextDirection': ...
def get_major_version() -> int: ...
def get_micro_version() -> int: ...
def get_minor_version() -> int: ...
def get_option_group(open_default_display:bool) -> 'gi.repository.GLib.OptionGroup': ...
def grab_get_current() -> 'Widget': ...
def icon_size_from_name(name:str) -> int: ...
def icon_size_get_name(size:int) -> str: ...
def icon_size_lookup(size:int) -> 'typing.Tuple[bool, int, int]': ...
def icon_size_lookup_for_settings(settings:'Settings', size:int) -> 'typing.Tuple[bool, int, int]': ...
def icon_size_register(name:str, width:int, height:int) -> int: ...
def icon_size_register_alias(alias:str, target:int) -> None: ...
def icon_theme_error_quark() -> int: ...
def init(argc:int, argv:'typing.List[str]') -> None: ...
def init_check(argc:int, argv:'typing.List[str]') -> bool: ...
def init_with_args(argc:int, argv:'typing.List[str]', parameter_string:str, entries:'typing.List[gi.repository.GLib.OptionEntry]', translation_domain:str) -> bool: ...
def key_snooper_remove(snooper_handler_id:int) -> None: ...
def main(*args, **kwargs): ...
def main_do_event(event:'gi.repository.Gdk.Event') -> None: ...
def main_iteration() -> bool: ...
def main_iteration_do(blocking:bool) -> bool: ...
def main_level() -> int: ...
def main_quit(*args): ...
def paint_arrow(style:'Style', cr:'gi.repository.cairo.Context', state_type:'StateType', shadow_type:'ShadowType', widget:'Widget', detail:str, arrow_type:'ArrowType', fill:bool, x:int, y:int, width:int, height:int) -> None: ...
def paint_box(style:'Style', cr:'gi.repository.cairo.Context', state_type:'StateType', shadow_type:'ShadowType', widget:'Widget', detail:str, x:int, y:int, width:int, height:int) -> None: ...
def paint_box_gap(style:'Style', cr:'gi.repository.cairo.Context', state_type:'StateType', shadow_type:'ShadowType', widget:'Widget', detail:str, x:int, y:int, width:int, height:int, gap_side:'PositionType', gap_x:int, gap_width:int) -> None: ...
def paint_check(style:'Style', cr:'gi.repository.cairo.Context', state_type:'StateType', shadow_type:'ShadowType', widget:'Widget', detail:str, x:int, y:int, width:int, height:int) -> None: ...
def paint_diamond(style:'Style', cr:'gi.repository.cairo.Context', state_type:'StateType', shadow_type:'ShadowType', widget:'Widget', detail:str, x:int, y:int, width:int, height:int) -> None: ...
def paint_expander(style:'Style', cr:'gi.repository.cairo.Context', state_type:'StateType', widget:'Widget', detail:str, x:int, y:int, expander_style:'ExpanderStyle') -> None: ...
def paint_extension(style:'Style', cr:'gi.repository.cairo.Context', state_type:'StateType', shadow_type:'ShadowType', widget:'Widget', detail:str, x:int, y:int, width:int, height:int, gap_side:'PositionType') -> None: ...
def paint_flat_box(style:'Style', cr:'gi.repository.cairo.Context', state_type:'StateType', shadow_type:'ShadowType', widget:'Widget', detail:str, x:int, y:int, width:int, height:int) -> None: ...
def paint_focus(style:'Style', cr:'gi.repository.cairo.Context', state_type:'StateType', widget:'Widget', detail:str, x:int, y:int, width:int, height:int) -> None: ...
def paint_handle(style:'Style', cr:'gi.repository.cairo.Context', state_type:'StateType', shadow_type:'ShadowType', widget:'Widget', detail:str, x:int, y:int, width:int, height:int, orientation:'Orientation') -> None: ...
def paint_hline(style:'Style', cr:'gi.repository.cairo.Context', state_type:'StateType', widget:'Widget', detail:str, x1:int, x2:int, y:int) -> None: ...
def paint_layout(style:'Style', cr:'gi.repository.cairo.Context', state_type:'StateType', use_text:bool, widget:'Widget', detail:str, x:int, y:int, layout:'gi.repository.Pango.Layout') -> None: ...
def paint_option(style:'Style', cr:'gi.repository.cairo.Context', state_type:'StateType', shadow_type:'ShadowType', widget:'Widget', detail:str, x:int, y:int, width:int, height:int) -> None: ...
def paint_resize_grip(style:'Style', cr:'gi.repository.cairo.Context', state_type:'StateType', widget:'Widget', detail:str, edge:'gi.repository.Gdk.WindowEdge', x:int, y:int, width:int, height:int) -> None: ...
def paint_shadow(style:'Style', cr:'gi.repository.cairo.Context', state_type:'StateType', shadow_type:'ShadowType', widget:'Widget', detail:str, x:int, y:int, width:int, height:int) -> None: ...
def paint_shadow_gap(style:'Style', cr:'gi.repository.cairo.Context', state_type:'StateType', shadow_type:'ShadowType', widget:'Widget', detail:str, x:int, y:int, width:int, height:int, gap_side:'PositionType', gap_x:int, gap_width:int) -> None: ...
def paint_slider(style:'Style', cr:'gi.repository.cairo.Context', state_type:'StateType', shadow_type:'ShadowType', widget:'Widget', detail:str, x:int, y:int, width:int, height:int, orientation:'Orientation') -> None: ...
def paint_spinner(style:'Style', cr:'gi.repository.cairo.Context', state_type:'StateType', widget:'Widget', detail:str, step:int, x:int, y:int, width:int, height:int) -> None: ...
def paint_tab(style:'Style', cr:'gi.repository.cairo.Context', state_type:'StateType', shadow_type:'ShadowType', widget:'Widget', detail:str, x:int, y:int, width:int, height:int) -> None: ...
def paint_vline(style:'Style', cr:'gi.repository.cairo.Context', state_type:'StateType', widget:'Widget', detail:str, y1_:int, y2_:int, x:int) -> None: ...
def paper_size_get_default() -> str: ...
def paper_size_get_paper_sizes(include_custom:bool) -> 'typing.List[PaperSize]': ...
def parse_args(argc:int, argv:'typing.List[str]') -> bool: ...
def print_error_quark() -> int: ...
def print_run_page_setup_dialog(parent:'Window', page_setup:'PageSetup', settings:'PrintSettings') -> 'PageSetup': ...
def print_run_page_setup_dialog_async(parent:'Window', page_setup:'PageSetup', settings:'PrintSettings', done_cb:'typing.Callable[[PageSetup, typing.Any], typing.Any]', data:'typing.Any') -> None: ...
def propagate_event(widget:'Widget', event:'gi.repository.Gdk.Event') -> None: ...
def rc_add_default_file(filename:str) -> None: ...
def rc_find_module_in_path(module_file:str) -> str: ...
def rc_find_pixmap_in_path(settings:'Settings', scanner:'gi.repository.GLib.Scanner', pixmap_file:str) -> str: ...
def rc_get_default_files() -> 'typing.List[str]': ...
def rc_get_im_module_file() -> str: ...
def rc_get_im_module_path() -> str: ...
def rc_get_module_dir() -> str: ...
def rc_get_style(widget:'Widget') -> 'Style': ...
def rc_get_style_by_paths(settings:'Settings', widget_path:str, class_path:str, type:'gi.repository.GObject.GType') -> 'Style': ...
def rc_get_theme_dir() -> str: ...
def rc_parse(filename:str) -> None: ...
def rc_parse_color(scanner:'gi.repository.GLib.Scanner') -> 'typing.Tuple[int, gi.repository.Gdk.Color]': ...
def rc_parse_color_full(scanner:'gi.repository.GLib.Scanner', style:'RcStyle') -> 'typing.Tuple[int, gi.repository.Gdk.Color]': ...
def rc_parse_priority(scanner:'gi.repository.GLib.Scanner', priority:'PathPriorityType') -> int: ...
def rc_parse_state(scanner:'gi.repository.GLib.Scanner') -> 'typing.Tuple[int, StateType]': ...
def rc_parse_string(rc_string:str) -> None: ...
def rc_property_parse_border(pspec:'gi.repository.GObject.ParamSpec', gstring:'gi.repository.GLib.String', property_value:'gi.repository.GObject.Value') -> bool: ...
def rc_property_parse_color(pspec:'gi.repository.GObject.ParamSpec', gstring:'gi.repository.GLib.String', property_value:'gi.repository.GObject.Value') -> bool: ...
def rc_property_parse_enum(pspec:'gi.repository.GObject.ParamSpec', gstring:'gi.repository.GLib.String', property_value:'gi.repository.GObject.Value') -> bool: ...
def rc_property_parse_flags(pspec:'gi.repository.GObject.ParamSpec', gstring:'gi.repository.GLib.String', property_value:'gi.repository.GObject.Value') -> bool: ...
def rc_property_parse_requisition(pspec:'gi.repository.GObject.ParamSpec', gstring:'gi.repository.GLib.String', property_value:'gi.repository.GObject.Value') -> bool: ...
def rc_reparse_all() -> bool: ...
def rc_reparse_all_for_settings(settings:'Settings', force_load:bool) -> bool: ...
def rc_reset_styles(settings:'Settings') -> None: ...
def rc_set_default_files(filenames:'typing.List[str]') -> None: ...
def recent_chooser_error_quark() -> int: ...
def recent_manager_error_quark() -> int: ...
def render_activity(context:'StyleContext', cr:'gi.repository.cairo.Context', x:float, y:float, width:float, height:float) -> None: ...
def render_arrow(context:'StyleContext', cr:'gi.repository.cairo.Context', angle:float, x:float, y:float, size:float) -> None: ...
def render_background(context:'StyleContext', cr:'gi.repository.cairo.Context', x:float, y:float, width:float, height:float) -> None: ...
def render_background_get_clip(context:'StyleContext', x:float, y:float, width:float, height:float) -> 'typing.Tuple[gi.repository.Gdk.Rectangle]': ...
def render_check(context:'StyleContext', cr:'gi.repository.cairo.Context', x:float, y:float, width:float, height:float) -> None: ...
def render_expander(context:'StyleContext', cr:'gi.repository.cairo.Context', x:float, y:float, width:float, height:float) -> None: ...
def render_extension(context:'StyleContext', cr:'gi.repository.cairo.Context', x:float, y:float, width:float, height:float, gap_side:'PositionType') -> None: ...
def render_focus(context:'StyleContext', cr:'gi.repository.cairo.Context', x:float, y:float, width:float, height:float) -> None: ...
def render_frame(context:'StyleContext', cr:'gi.repository.cairo.Context', x:float, y:float, width:float, height:float) -> None: ...
def render_frame_gap(context:'StyleContext', cr:'gi.repository.cairo.Context', x:float, y:float, width:float, height:float, gap_side:'PositionType', xy0_gap:float, xy1_gap:float) -> None: ...
def render_handle(context:'StyleContext', cr:'gi.repository.cairo.Context', x:float, y:float, width:float, height:float) -> None: ...
def render_icon(context:'StyleContext', cr:'gi.repository.cairo.Context', pixbuf:'gi.repository.GdkPixbuf.Pixbuf', x:float, y:float) -> None: ...
def render_icon_pixbuf(context:'StyleContext', source:'IconSource', size:int) -> 'gi.repository.GdkPixbuf.Pixbuf': ...
def render_icon_surface(context:'StyleContext', cr:'gi.repository.cairo.Context', surface:'gi.repository.cairo.Surface', x:float, y:float) -> None: ...
def render_insertion_cursor(context:'StyleContext', cr:'gi.repository.cairo.Context', x:float, y:float, layout:'gi.repository.Pango.Layout', index:int, direction:'gi.repository.Pango.Direction') -> None: ...
def render_layout(context:'StyleContext', cr:'gi.repository.cairo.Context', x:float, y:float, layout:'gi.repository.Pango.Layout') -> None: ...
def render_line(context:'StyleContext', cr:'gi.repository.cairo.Context', x0:float, y0:float, x1:float, y1:float) -> None: ...
def render_option(context:'StyleContext', cr:'gi.repository.cairo.Context', x:float, y:float, width:float, height:float) -> None: ...
def render_slider(context:'StyleContext', cr:'gi.repository.cairo.Context', x:float, y:float, width:float, height:float, orientation:'Orientation') -> None: ...
def rgb_to_hsv(r:float, g:float, b:float) -> 'typing.Tuple[float, float, float]': ...
def selection_add_target(widget:'Widget', selection:'gi.repository.Gdk.Atom', target:'gi.repository.Gdk.Atom', info:int) -> None: ...
def selection_add_targets(widget:'Widget', selection:'gi.repository.Gdk.Atom', targets:'typing.List[TargetEntry]', ntargets:int) -> None: ...
def selection_clear_targets(widget:'Widget', selection:'gi.repository.Gdk.Atom') -> None: ...
def selection_convert(widget:'Widget', selection:'gi.repository.Gdk.Atom', target:'gi.repository.Gdk.Atom', time_:int) -> bool: ...
def selection_owner_set(widget:'Widget', selection:'gi.repository.Gdk.Atom', time_:int) -> bool: ...
def selection_owner_set_for_display(display:'gi.repository.Gdk.Display', widget:'Widget', selection:'gi.repository.Gdk.Atom', time_:int) -> bool: ...
def selection_remove_all(widget:'Widget') -> None: ...
def set_debug_flags(flags:int) -> None: ...
def show_uri(screen:'gi.repository.Gdk.Screen', uri:str, timestamp:int) -> bool: ...
def show_uri_on_window(parent:'Window', uri:str, timestamp:int) -> bool: ...
def stock_add(items:'typing.List[StockItem]', n_items:int) -> None: ...
def stock_add_static(items:'typing.List[StockItem]', n_items:int) -> None: ...
def stock_list_ids() -> 'typing.List[str]': ...
def stock_lookup(stock_id:str) -> 'StockItem': ...
def stock_set_translate_func(domain:str, func:'typing.Callable[[str, typing.Any], str]', data:'typing.Any', notify:'typing.Callable[[typing.Any], typing.Any]') -> None: ...
def target_table_free(targets:'typing.List[TargetEntry]', n_targets:int) -> None: ...
def target_table_new_from_list(list:'TargetList') -> 'typing.Tuple[typing.List[TargetEntry], int]': ...
def targets_include_image(targets:'typing.List[gi.repository.Gdk.Atom]', n_targets:int, writable:bool) -> bool: ...
def targets_include_rich_text(targets:'typing.List[gi.repository.Gdk.Atom]', n_targets:int, buffer:'TextBuffer') -> bool: ...
def targets_include_text(targets:'typing.List[gi.repository.Gdk.Atom]', n_targets:int) -> bool: ...
def targets_include_uri(targets:'typing.List[gi.repository.Gdk.Atom]', n_targets:int) -> bool: ...
def test_create_simple_window(window_title:str, dialog_text:str) -> 'Widget': ...
def test_find_label(widget:'Widget', label_pattern:str) -> 'Widget': ...
def test_find_sibling(base_widget:'Widget', widget_type:'gi.repository.GObject.GType') -> 'Widget': ...
def test_find_widget(widget:'Widget', label_pattern:str, widget_type:'gi.repository.GObject.GType') -> 'Widget': ...
def test_list_all_types() -> 'typing.Tuple[typing.List[gi.repository.GObject.GType], int]': ...
def test_register_all_types() -> None: ...
def test_slider_get_value(widget:'Widget') -> float: ...
def test_slider_set_perc(widget:'Widget', percentage:float) -> None: ...
def test_spin_button_click(spinner:'SpinButton', button:int, upwards:bool) -> bool: ...
def test_text_get(widget:'Widget') -> str: ...
def test_text_set(widget:'Widget', string:str) -> None: ...
def test_widget_click(widget:'Widget', button:int, modifiers:'gi.repository.Gdk.ModifierType') -> bool: ...
def test_widget_send_key(widget:'Widget', keyval:int, modifiers:'gi.repository.Gdk.ModifierType') -> bool: ...
def test_widget_wait_for_draw(widget:'Widget') -> None: ...
def tree_get_row_drag_data(selection_data:'SelectionData') -> 'typing.Tuple[bool, TreeModel, TreePath]': ...
def tree_row_reference_deleted(proxy:'gi.repository.GObject.GObject', path:'TreePath') -> None: ...
def tree_row_reference_inserted(proxy:'gi.repository.GObject.GObject', path:'TreePath') -> None: ...
def tree_set_row_drag_data(selection_data:'SelectionData', tree_model:'TreeModel', path:'TreePath') -> bool: ...
def true() -> bool: ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment