generated from itdominator/Python-With-Gtk-Template
25 lines
547 B
Python
25 lines
547 B
Python
|
# Python imports
|
||
|
|
||
|
# Lib imports
|
||
|
import gi
|
||
|
gi.require_version('Gtk', '3.0')
|
||
|
from gi.repository import Gtk
|
||
|
|
||
|
# Application imports
|
||
|
from .template.tab_header_template import TabHeaderTemplate
|
||
|
|
||
|
|
||
|
|
||
|
class PagesTabWidget(TabHeaderTemplate):
|
||
|
""" docstring for PagesTabWidget """
|
||
|
|
||
|
ccount = 0
|
||
|
def __new__(cls, *args, **kwargs):
|
||
|
obj = super(PagesTabWidget, cls).__new__(cls)
|
||
|
cls.ccount += 1
|
||
|
return obj
|
||
|
|
||
|
|
||
|
def __init__(self, container, close_tab):
|
||
|
super(PagesTabWidget, self).__init__(container, close_tab)
|