def before_show
      @flags[:title] = @flags[:title] ? @flags[:title] : @flags[:headline]
      @builder[:window1].title = @flags[:title] if @flags[:title]
      @builder[:window1].resize(@flags[:width],100) if @flags[:width].to_i > 100
      @builder[:headline].show if @flags[:headline]
    
      if @flags[:input_text]
        @flags[:button_yes] ||= "Save"
        @flags[:button_no] ||= "Cancel"
        @builder[:input_text].show
      elsif choices = @flags[:choices]
        @flags[:button_yes] ||= "Select"
        @flags[:button_no] ||= "Cancel"
        choices.each { |c| @builder[:choices_text].append_text(c) }
        @choices_text = choices[0]
        @builder[:choices_text].show 
      end 

      @builder[:button_no].show if @flags[:button_no]
      @builder[:button_cancel].show if @flags[:button_cancel]
      set_glade_hash(@flags)
    end
def before_show
      @flags[:title] = @flags[:title] ? @flags[:title] : @flags[:headline]
      @builder[:window1].title = @flags[:title] if @flags[:title]
      @builder[:window1].resize(@flags[:width],100) if @flags[:width].to_i > 100
      @builder[:headline].show if @flags[:headline]
    
      if @flags[:input_text]
        @flags[:button_yes] ||= "Save"
        @flags[:button_no] ||= "Cancel"
        @builder[:input_text].show
      elsif choices = @flags[:choices]
        @flags[:button_yes] ||= "Select"
        @flags[:button_no] ||= "Cancel"
        choices.each { |c| @builder[:choices_text].append_text(c) }
        @choices_text = choices[0]
        @builder[:choices_text].show 
      end 

      @builder[:button_no].show if @flags[:button_no]
      @builder[:button_cancel].show if @flags[:button_cancel]
      set_glade_hash(@flags)
    end
Just passes on values from #alert method.
 @see #alert