function varargout = PopUp(varargin)
% POPUP M-file for PopUp.fig

% Last Modified by GUIDE v2.5 29-Jan-2007 12:21:31

% Begin initialization code - DO NOT EDIT
   gui_Singleton = 1;
   gui_State = struct('gui_Name',       mfilename, ...
                      'gui_Singleton',  gui_Singleton, ...
                      'gui_OpeningFcn', @PopUp_OpeningFcn, ...
                      'gui_OutputFcn',  @PopUp_OutputFcn, ...
                      'gui_LayoutFcn',  [] , ...
                      'gui_Callback',   []);
   if nargin && ischar(varargin{1})
       gui_State.gui_Callback = str2func(varargin{1});
   end

   if nargout
       [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
   else
       gui_mainfcn(gui_State, varargin{:});
   end
% End initialization code - DO NOT EDIT


% --- Executes just before PopUp is made visible.
function PopUp_OpeningFcn(hObject, eventdata, handles, varargin)

   % Daten in Pop-Up setzen
   set( handles.popupmenu1, 'String', ... 
           {'1. Eintrag', '2. Eintrag', 'keine Lust mehr' } );
        
   % Choose default command line output for PopUp
   handles.output = hObject;

   % Update handles structure
   guidata(hObject, handles);

   % UIWAIT makes PopUp wait for user response (see UIRESUME)
   % uiwait(handles.figure1);


% --- Outputs from this function are returned to the command line.
function varargout = PopUp_OutputFcn(hObject, eventdata, handles) 
   % Get default command line output from handles structure
   varargout{1} = handles.output;

% --- Executes on selection change in popupmenu1.
function popupmenu1_Callback(hObject, eventdata, handles)
   % Hints: contents = get(hObject,'String') returns popupmenu1 contents as cell array
   %        contents{get(hObject,'Value')} returns selected item from popupmenu1

% --- Executes during object creation, after setting all properties.
function popupmenu1_CreateFcn(hObject, eventdata, handles)
   % Hint: popupmenu controls usually have a white background on Windows.
   %       See ISPC and COMPUTER.
   if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
       set(hObject,'BackgroundColor','white');
   end
