Class: Alexandria::UI::ProviderPreferencesBaseDialog
- Inherits:
-
Object
- Object
- Alexandria::UI::ProviderPreferencesBaseDialog
- Defined in:
- lib/alexandria/ui/provider_preferences_base_dialog.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#dialog ⇒ Object
readonly
Returns the value of attribute dialog.
Instance Method Summary collapse
-
#initialize(title:, parent:, flags:, buttons:) ⇒ ProviderPreferencesBaseDialog
constructor
A new instance of ProviderPreferencesBaseDialog.
Constructor Details
#initialize(title:, parent:, flags:, buttons:) ⇒ ProviderPreferencesBaseDialog
Returns a new instance of ProviderPreferencesBaseDialog.
20 21 22 23 24 25 26 27 28 |
# File 'lib/alexandria/ui/provider_preferences_base_dialog.rb', line 20 def initialize(title:, parent:, flags:, buttons:) @dialog = Gtk::Dialog.new(title: title, parent: parent, flags: flags, buttons: ) @dialog.resizable = false @dialog.child.border_width = 12 @controls = [] end |
Instance Attribute Details
#dialog ⇒ Object (readonly)
Returns the value of attribute dialog.
18 19 20 |
# File 'lib/alexandria/ui/provider_preferences_base_dialog.rb', line 18 def dialog @dialog end |