Skip to content

Commit

Permalink
chore: removed GTK Objects section from stubs files
Browse files Browse the repository at this point in the history
  • Loading branch information
Dzheremi2 committed Dec 28, 2024
1 parent ffedd49 commit 1dc33d8
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 55 deletions.
7 changes: 0 additions & 7 deletions chronograph/ui/BoxDialog.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,6 @@ class BoxDialog(Adw.Dialog):
Label of the dialog
lines_content : tuple
titles and subtitles of `Adw.ActionRow(s)`. Like `(("1st Title", "1st subtitle"), ("2nd title", "2nd subtitle"), ...)`
GTK Objects
----------
::
diaglog_title_label : Gtk.Label -> Label of the dialog
props_list : Gtk.ListBox -> ListBox with `Adw.ActionRow(s)` with provided data
"""

dialog_title_label: Gtk.Label
Expand Down
13 changes: 0 additions & 13 deletions chronograph/ui/SongCard.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,6 @@ class SongCard(Gtk.Box):
----------
file : Union[FileID3, FileVorbis]
File of `.ogg`, `.flac`, `.mp3` and `.wav` formats
GTK Objects
----------
::
buttons_revealer: Gtk.Revealer -> Revealer for Play and Edit buttons
play_button: Gtk.Button -> Play button
metadata_editor_button: Gtk.Button -> Metadata editor button
info_button: Gtk.Button -> File info button
cover_button: Gtk.Button -> Clickable cover of song
cover: Gtk.Image -> Cover image of song
title_label: Gtk.Label -> Title of song
artist_label: Gtk.Label -> Artist of song
"""

buttons_revealer: Gtk.Revealer
Expand Down
36 changes: 1 addition & 35 deletions chronograph/window.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -3,41 +3,7 @@ from gi.repository import Adw, Gtk
from chronograph.ui.SongCard import SongCard # type: ignore

class ChronographWindow(Adw.ApplicationWindow):
"""App window class
GTK Objects
----------
::
# Status pages
no_source_opened: Adw.StatusPage -> Status page> displayed when no items in library
# Library view widgets
navigation_view: Adw.NavigationView -> Main Navigation view
library_nav_page: Adw.NavigationPage -> Library Navigation page
overlay_split_view: Adw.OverlaySplitView -> Split view for Sidebar and Library
search_bar: Gtk.SearchBar -> Search bar
search_entry: Gtk.SearchEntry -> Search field
library_overlay: Gtk.Overlay -> Library overlay
library_scrolled_window: Gtk.ScrolledWindow -> Library scroll possibility
library: Gtk.FlowBox -> Library itself
# Syncing page widgets
sync_navigation_page: Adw.NavigationPage
controls: Gtk.MediaControls
controls_shrinked: Gtk.MediaControls
sync_page_cover: Gtk.Image
sync_page_title: Gtk.Inscription
sync_page_artist: Gtk.Inscription
toggle_repeat_button: Gtk.ToggleButton
sync_line_button: Gtk.Button
replay_line_button: Gtk.Button
rew100_button: Gtk.Button
forw100_button: Gtk.Button
info_button: Gtk.Button
sync_lines: Gtk.ListBox
add_line_button: Gtk.Button
"""
"""App window class"""

# Status pages
no_source_opened: Adw.StatusPage
Expand Down

0 comments on commit 1dc33d8

Please sign in to comment.