# Path: kano/gtk3/icons.py
# def set_from_name(name):
# 
# Path: kano/gtk3/cursor.py
# def attach_cursor_events(button):
#     button.connect('enter-notify-event', hand_cursor)
#     button.connect('leave-notify-event', arrow_cursor)
#     button.connect('button-press-event', arrow_cursor)
# 
# Path: kano/paths.py
# DNS_FILE = '/etc/resolvconf/resolv.conf.d/base'
# DNS_INTERFACES_FILE = '/etc/resolvconf/interface-order'
# DNS_INTERFACES_BACKUP_FILE = '/etc/resolvconf/interface-order.backup'
# SUPPLICANT_LOGFILE = '/var/log/kano_wpa.log'
# SUPPLICANT_CONFIG = '/etc/wpa_supplicant/wpa_supplicant.conf'
# INTERNET_UP_FILE = '/var/run/internet_monitor'
# KANO_CONNECT_PIDFILE = '/var/run/kano-connect.pid'


from gi import require_version
from gi.repository import Gtk
from kano.gtk3 import icons
from kano.gtk3.cursor import attach_cursor_events
from kano.paths import common_css_dir
import os
import sys
        styleContext.add_class('top_bar_container')
        self.add_style(self.header, "top_bar_title")

    def add_style(self, widget, app_class):
        style = widget.get_style_context()
        style.add_provider(self.cssProvider, Gtk.STYLE_PROVIDER_PRIORITY_USER)
        style.add_class(app_class)

    def disable_prev(self):
        if self.has_buttons:
            self.prev_button.set_sensitive(False)
            self.prev_button.set_image(self.pale_prev_arrow)

    def enable_prev(self):
        if self.has_buttons:
            self.prev_button.set_sensitive(True)
            self.prev_button.set_image(self.dark_prev_arrow)

    def disable_next(self):
        if self.has_buttons:
            self.next_button.set_sensitive(False)
            self.next_button.set_image(self.pale_next_arrow)

    def enable_next(self):
        if self.has_buttons:
            self.next_button.set_sensitive(True)
            self.next_button.set_image(self.dark_next_arrow)

    def set_prev_callback(self, callback):
        if self.has_buttons:

# Path: kano/gtk3/icons.py
# def set_from_name(name):
# 
# Path: kano/gtk3/cursor.py
# def attach_cursor_events(button):
#     button.connect('enter-notify-event', hand_cursor)
#     button.connect('leave-notify-event', arrow_cursor)
#     button.connect('button-press-event', arrow_cursor)
# 
# Path: kano/paths.py
# DNS_FILE = '/etc/resolvconf/resolv.conf.d/base'
# DNS_INTERFACES_FILE = '/etc/resolvconf/interface-order'
# DNS_INTERFACES_BACKUP_FILE = '/etc/resolvconf/interface-order.backup'
# SUPPLICANT_LOGFILE = '/var/log/kano_wpa.log'
# SUPPLICANT_CONFIG = '/etc/wpa_supplicant/wpa_supplicant.conf'
# INTERNET_UP_FILE = '/var/run/internet_monitor'
# KANO_CONNECT_PIDFILE = '/var/run/kano-connect.pid'


# Path: kano/gtk3/top_bar.py
from gi import require_version
from gi.repository import Gtk
from kano.gtk3 import icons
from kano.gtk3.cursor import attach_cursor_events
from kano.paths import common_css_dir
import os
import sys

        styleContext.add_class('top_bar_container')
        self.add_style(self.header, "top_bar_title")

    def add_style(self, widget, app_class):
        style = widget.get_style_context()
        style.add_provider(self.cssProvider, Gtk.STYLE_PROVIDER_PRIORITY_USER)
        style.add_class(app_class)

    def disable_prev(self):
        if self.has_buttons:
            self.prev_button.set_sensitive(False)
            self.prev_button.set_image(self.pale_prev_arrow)

    def enable_prev(self):
        if self.has_buttons:
            self.prev_button.set_sensitive(True)
            self.prev_button.set_image(self.dark_prev_arrow)

    def disable_next(self):
        if self.has_buttons:
            self.next_button.set_sensitive(False)
            self.next_button.set_image(self.pale_next_arrow)

    def enable_next(self):
        if self.has_buttons:
            self.next_button.set_sensitive(True)
            self.next_button.set_image(self.dark_next_arrow)

    def set_prev_callback(self, callback):
        if self.has_buttons:

            self.prev_button.connect("button_release_event", callback)