Logo Search packages:      
Sourcecode: mago version File versions  Download package

def mago::application::main::Application::__init__ (   self,
  name = None,
  close_type = None,
  close_name = None 
)

@type close_type: string
@param close_type: The type of close widget of the application. Types: menu, button.
@type close_name: string
@param close_name: The name of the close widget of the application. If not mentioned the default will be used ("Quit")

Definition at line 24 of file main.py.

00024                                                                        :
        """
        @type close_type: string
        @param close_type: The type of close widget of the application. Types: menu, button.
        @type close_name: string
        @param close_name: The name of the close widget of the application. If not mentioned the default will be used ("Quit")
        """
        if name:
            self.name = name
        else:
            self.name = self.WINDOW

        if close_type:
            self.close_type = close_type
        else:
            self.close_type = self.CLOSE_TYPE

        if close_name:
            self.close_name = close_name
        else:
            self.close_name = self.CLOSE_NAME


    def set_name(self, name):


Generated by  Doxygen 1.6.0   Back to index