# -*- coding: UTF-8 -*-
#
# generated by wxGlade
#

import wx

# begin wxGlade: dependencies
import gettext
# end wxGlade

# begin wxGlade: extracode
# end wxGlade


class wxgIncomingPluginPnl(wx.Panel):
	def __init__(self, *args, **kwds):
		# begin wxGlade: wxgIncomingPluginPnl.__init__
		kwds["style"] = kwds.get("style", 0) | wx.BORDER_NONE | wx.TAB_TRAVERSAL
		wx.Panel.__init__(self, *args, **kwds)

		__szr_main = wx.BoxSizer(wx.VERTICAL)

		self._BTN_load_file = wx.Button(self, wx.ID_ANY, _("Load from &file"))
		self._BTN_load_file.SetToolTip(_("Load a &file"))
		__szr_main.Add(self._BTN_load_file, 0, wx.ALIGN_CENTER_HORIZONTAL, 0)

		self._BTN_load_from_clipboard = wx.Button(self, wx.ID_ANY, _("Load from &clipboard"))
		self._BTN_load_from_clipboard.SetToolTip(_("Load from clipboard"))
		__szr_main.Add(self._BTN_load_from_clipboard, 0, wx.ALIGN_CENTER_HORIZONTAL | wx.TOP, 3)

		self._LBL_drop_target = wx.StaticText(self, wx.ID_ANY, _("Drag anything into this field."))
		self._LBL_drop_target.SetFont(wx.Font(10, wx.FONTFAMILY_DEFAULT, wx.FONTSTYLE_ITALIC, wx.FONTWEIGHT_NORMAL, 0, ""))
		__szr_main.Add(self._LBL_drop_target, 1, wx.BOTTOM | wx.EXPAND | wx.TOP, 3)

		__szr_main.Add((0, 0), 0, 0, 0)

		self.SetSizer(__szr_main)
		__szr_main.Fit(self)

		self.Layout()

		self.Bind(wx.EVT_BUTTON, self._on_load_file, self._BTN_load_file)
		self.Bind(wx.EVT_BUTTON, self._on_load_from_clipboard, self._BTN_load_from_clipboard)
		# end wxGlade

	def _on_load_file(self, event):  # wxGlade: wxgIncomingPluginPnl.<event_handler>
		print("Event handler '_on_load_file' not implemented!")
		event.Skip()

	def _on_load_from_clipboard(self, event):  # wxGlade: wxgIncomingPluginPnl.<event_handler>
		print("Event handler '_on_load_from_clipboard' not implemented!")
		event.Skip()

# end of class wxgIncomingPluginPnl
