# Path: modules/monitors.py
# def get_monitors():
# 
# Path: modules/paths.py
# def get_image_path(lib, game_name, *args):
# def get_setup_script_path(lib, game_name):


import sys, os, subprocess, re
import gi
import gettext
    import sys
from gi.repository import Gtk, Gdk, GdkPixbuf
    from ConfigParser import ConfigParser as ConfigParser
    from configparser import ConfigParser as ConfigParser
from modules import monitors, paths
        self.grid.attach(self.label_launcher, 0, 4, 1, 1)
        self.grid.attach(self.radiobutton_gog_launcher, 1, 4, 1, 1)
        self.grid.attach(self.radiobutton_gn_launcher, 1, 5, 1, 1)
        self.grid.attach(self.button_settings, 0, 6, 2, 1)
        self.grid.attach(self.button_game, 0, 7, 2, 1)
        self.grid.attach(self.checkbutton_show_launcher, 0, 8, 2, 1)
        self.main_window.add(self.grid)

        if self.launcher == True:
            self.main_window.show_all()
        else:
            self.launch_game()

    def cb_combobox_monitor(self, combobox):
        self.monitor = combobox.get_active()

    def cb_button_game(self, button):
        self.launch_game()

    def launch_game(self):

        self.switch_monitor('ON')

        self.main_window.hide()

        while Gtk.events_pending():
            Gtk.main_iteration()

        if self.launcher_type == 'gog':
            launch_command = self.install_dir + '/' + self.game_name + '/start_gog.sh'

# Path: modules/monitors.py
# def get_monitors():
# 
# Path: modules/paths.py
# def get_image_path(lib, game_name, *args):
# def get_setup_script_path(lib, game_name):


# Path: launcher_native.py
import sys, os, subprocess, re
import gi
import gettext
    import sys
from gi.repository import Gtk, Gdk, GdkPixbuf
    from ConfigParser import ConfigParser as ConfigParser
    from configparser import ConfigParser as ConfigParser
from modules import monitors, paths

        self.grid.attach(self.label_launcher, 0, 4, 1, 1)
        self.grid.attach(self.radiobutton_gog_launcher, 1, 4, 1, 1)
        self.grid.attach(self.radiobutton_gn_launcher, 1, 5, 1, 1)
        self.grid.attach(self.button_settings, 0, 6, 2, 1)
        self.grid.attach(self.button_game, 0, 7, 2, 1)
        self.grid.attach(self.checkbutton_show_launcher, 0, 8, 2, 1)
        self.main_window.add(self.grid)

        if self.launcher == True:
            self.main_window.show_all()
        else:
            self.launch_game()

    def cb_combobox_monitor(self, combobox):
        self.monitor = combobox.get_active()

    def cb_button_game(self, button):
        self.launch_game()

    def launch_game(self):

        self.switch_monitor('ON')

        self.main_window.hide()

        while Gtk.events_pending():
            Gtk.main_iteration()

        if self.launcher_type == 'gog':
            launch_command = self.install_dir + '/' + self.game_name + '/start_gog.sh'

        else: