# Path: kano_avatar/paths.py
# CSS_PATH = '/usr/share/kano-profile/media/CSS/avatar_generator.css'


from gi import require_version
from gi.repository import Gtk
from kano.gtk3.apply_styles import apply_styling_to_screen
from kano_avatar.paths import CSS_PATH
from kano.logging import logger
#
# SelectMenu.py
#
# Copyright (C) 2015 - 2018 Kano Computing Ltd.
# License: http://www.gnu.org/licenses/gpl-2.0.txt GNU GPL v2
#

require_version('Gtk', '3.0')




# TODO: try and replace the current structure with the parser?
# the selected functions would then be redundant
# However, the parser doesn't have a selected category section, so it may not
# work for the selcted categories.
class SelectMenu(Gtk.EventBox):
    def __init__(self, list_of_names, signal_name):

        Gtk.EventBox.__init__(self)

# Path: kano_avatar/paths.py
# CSS_PATH = '/usr/share/kano-profile/media/CSS/avatar_generator.css'


# Path: kano_avatar_gui/SelectMenu.py
from gi import require_version
from gi.repository import Gtk
from kano.gtk3.apply_styles import apply_styling_to_screen
from kano_avatar.paths import CSS_PATH
from kano.logging import logger

#
# SelectMenu.py
#
# Copyright (C) 2015 - 2018 Kano Computing Ltd.
# License: http://www.gnu.org/licenses/gpl-2.0.txt GNU GPL v2
#

require_version('Gtk', '3.0')




# TODO: try and replace the current structure with the parser?
# the selected functions would then be redundant
# However, the parser doesn't have a selected category section, so it may not
# work for the selcted categories.
class SelectMenu(Gtk.EventBox):
    def __init__(self, list_of_names, signal_name):

        Gtk.EventBox.__init__(self)

        apply_styling_to_screen(CSS_PATH)