Class: Glimmer::LibUI::DatePickerProxy

Inherits:
DateTimePickerProxy show all
Defined in:
lib/glimmer/libui/date_picker_proxy.rb

Overview

Proxy for LibUI date picker objects

Follows the Proxy Design Pattern

Constant Summary

Constants inherited from ControlProxy

ControlProxy::BOOLEAN_PROPERTIES, ControlProxy::STRING_PROPERTIES

Instance Attribute Summary

Attributes inherited from ControlProxy

#args, #keyword, #libui, #parent_proxy

Instance Method Summary collapse

Methods inherited from DateTimePickerProxy

#destroy, #libui_api_keyword

Methods inherited from ControlProxy

all_control_proxies, #append_properties, #append_property, boolean_to_integer, #can_handle_listener?, control_exists?, create, #default_destroy, #destroy, #destroy_child, #enabled, #handle_listener, #initialize, integer_to_boolean, #libui_api_keyword, main_window_proxy, menu_proxies, #method_missing, new_control, #post_add_content, #post_initialize_child, #respond_to?, #respond_to_libui?, #send_to_libui, #visible, widget_proxy_class, #window_proxy

Constructor Details

This class inherits a constructor from Glimmer::LibUI::ControlProxy

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Glimmer::LibUI::ControlProxy

Instance Method Details

#time(value = nil) ⇒ Object



30
31
32
33
34
35
36
# File 'lib/glimmer/libui/date_picker_proxy.rb', line 30

def time(value = nil)
  if value.nil?
    super.slice(:mday, :mon, :year, :wday, :yday)
  else
    super
  end
end