Sha256: 36621c8e266df05805fcdea90c79a9cffe1a681a29a9284cc1db60ebf19b9401

Contents?: true

Size: 853 Bytes

Versions: 3

Compression:

Stored size: 853 Bytes

Contents

Such::Parts.make('AbButtons', 'Box', :a_Button, :b_Button)
Such::Parts.make('AbcButtons', 'Box', :a_Button, :b_Button, :c_Button)
Such::Parts.make('PromptedEntryLabel', 'Box', :prompt_Label, :prompted_Entry, :prompted_Label)
Such::Parts.make('PromptedEntry', 'Box', :prompt_Label, :prompted_Entry)
Such::Parts.make('PromptedLabel', 'Box', :prompt_Label, :prompted_Label)
Such::Parts.make('PromptedCombo', 'Box', :prompt_Label, :prompted_ComboBoxText)

module Such
  class AbButtons
    def labels(a, b)
      self.a_Button.label = Gtk2PasswordApp::CONFIG[a]
      self.b_Button.label = Gtk2PasswordApp::CONFIG[b]
    end
  end
  class AbcButtons
    def labels(a, b, c)
      self.a_Button.label = Gtk2PasswordApp::CONFIG[a]
      self.b_Button.label = Gtk2PasswordApp::CONFIG[b]
      self.c_Button.label = Gtk2PasswordApp::CONFIG[c]
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gtk2passwordapp-5.2.1 lib/gtk2passwordapp/such_parts.rb
gtk2passwordapp-5.1.0 lib/gtk2passwordapp/such_parts.rb
gtk2passwordapp-5.0.0 lib/gtk2passwordapp/such_parts.rb