File: entry_page_tag.py

package info (click to toggle)
secrets 11.0-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 3,744 kB
  • sloc: python: 6,509; xml: 7; makefile: 4
file content (15 lines) | stat: -rw-r--r-- 391 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# SPDX-License-Identifier: GPL-3.0-only
from gi.repository import Adw, Gtk


@Gtk.Template(resource_path="/org/gnome/World/Secrets/gtk/entry_page_tag.ui")
class EntryPageTag(Adw.Bin):
    __gtype_name__ = "EntryPageTag"

    _label = Gtk.Template.Child()
    remove_button = Gtk.Template.Child()

    def __init__(self, name):
        super().__init__()

        self._label.set_label(name)