source
stringclasses
1 value
repo
stringlengths
5
63
repo_url
stringlengths
24
82
path
stringlengths
5
167
language
stringclasses
1 value
license
stringclasses
5 values
stars
int64
10
51.4k
ref
stringclasses
23 values
size_bytes
int64
200
258k
text
stringlengths
137
258k
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/pg/pg_property.rb
Ruby
mit
177
master
3,549
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # Wx::PG::PGProperty module Wx module PG NullProperty = nil PGChoicesEmptyData = nil PG_LABEL_STRING = '@!' unless self.const_defined?(:PG_LABEL_STRING) # disappeared >= wxWidgets 3.3.0 PG_LABE...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/pg/events.rb
Ruby
mit
177
master
460
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # Wx::PG sub package for wxRuby3 require_relative './events/evt_list' # add event handler missing from XML docs class Wx::EvtHandler # from wxPropertyGridEvent self.register_event_type EventType[ 'evt_pg...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/pg/keyword_defs.rb
Ruby
mit
177
master
707
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license # = WxSugar - Keyword Constructors Classes # Wx::PG sub package for wxRuby3 # wxPropertyGrid Wx::def...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/pg/pg_editor.rb
Ruby
mit
177
master
1,105
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. module Wx::PG Wx.add_delayed_constant(self, :PG_EDITOR_TEXT_CTRL) { Wx::PG::PropertyGrid.get_standard_editor_class('TextCtrl') } Wx.add_delayed_constant(self, :PG_EDITOR_TEXT_CTRL_AND_BUTTON) { Wx::PG::Propert...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/pg/require.rb
Ruby
mit
177
master
381
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # Wx::PG sub package for wxRuby3 require_relative './events' require_relative './keyword_defs' require_relative './property_grid_interface' require_relative './property_grid' require_relative './pg_property' requi...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/pg/property_grid.rb
Ruby
mit
177
master
2,379
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # Wx::PG::PropertyGrid module Wx::PG # since wxWidgets 3.3.0 unless const_defined?(:PG_VALIDATION_FAILURE_BEHAVIOR_FLAGS) module PG_VALIDATION_FAILURE_BEHAVIOR_FLAGS PG_VFB_NULL = PGVFBFlags::Null ...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/aui/auifloatframe.rb
Ruby
mit
177
master
612
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # Advanced User Interface Notebook - draggable panes etc class Wx::AUI::AuiFloatingFrame # Before wxWidgets 3.3 the AUI manager of this control would prevent # WindowDestroyEvent propagation so we 'patch' in ...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/aui/auinotebook.rb
Ruby
mit
177
master
1,046
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # Advanced User Interface Notebook - draggable panes etc module Wx module AUI if Wx.at_least_wxwidgets?('3.3.0') AuiDefaultTabArt = AuiFlatTabArt end class AuiNotebook # Before wxWidg...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/aui/auimanager.rb
Ruby
mit
177
master
1,498
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. module Wx module AUI class AuiManager wx_each_pane = instance_method(:each_pane) wx_redefine_method(:each_pane) do |&block| if block wx_each_pane.bind(self).call(&block) ...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/aui/require.rb
Ruby
mit
177
master
304
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # Wx::AUI sub package for wxRuby3 #require_relative './ext' require_relative './events/evt_list' require_relative './auimanager' require_relative './auinotebook' require_relative './auifloatframe'
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/rbn/ribbon_art_provider.rb
Ruby
mit
177
master
332
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. module Wx::RBN # TODO - set default for OSX art provider when implemented if Wx::PLATFORM == 'WXMSW' RibbonDefaultArtProvider = RibbonMSWArtProvider else RibbonDefaultArtProvider = RibbonAUIArtProvide...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/rbn/ribbon_tool_bar.rb
Ruby
mit
177
master
630
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. class Wx::RBN::RibbonToolBar def tool_client_data_store @tool_client_data ||= {} end private :tool_client_data_store def set_tool_client_data(tool, data) tool_client_data_store[tool] = data end ...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/rbn/ribbon_panel.rb
Ruby
mit
177
master
553
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. class Wx::RBN::RibbonPanel # manage RibbonArtProvider for GC wx_set_art_provider = instance_method :set_art_provider wx_redefine_method :set_art_provider do |prov| @art_provider = nil # clear any previou...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/rbn/ribbon_button_bar.rb
Ruby
mit
177
master
622
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. class Wx::RBN::RibbonButtonBar def item_client_data_store @item_client_data ||= {} end private :item_client_data_store def set_item_client_data(item, data) item_client_data_store[item] = data en...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/rbn/ribbon_control.rb
Ruby
mit
177
master
885
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. class Wx::RBN::RibbonControl # manage RibbonArtProvider for GC wx_set_art_provider = instance_method :set_art_provider wx_redefine_method :set_art_provider do |prov| @art_provider = nil # clear any previ...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/rbn/keyword_defs.rb
Ruby
mit
177
master
1,403
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license # = WxSugar - Keyword Constructors Classes # Wx::RBN sub package for wxRuby3 # wxRibbonControl Wx::d...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/rbn/ribbon_gallery.rb
Ruby
mit
177
master
300
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. class Wx::RBN::RibbonGallery def items if block_given? count.times { |i| yield item(i) } else ::Enumerator.new { |y| count.times { |i| y << item(i) } } end end end
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/rbn/require.rb
Ruby
mit
177
master
491
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # Wx::RBN sub package for wxRuby3 require_relative './events' require_relative './keyword_defs' require_relative './ribbon_art_provider' require_relative './ribbon_bar' require_relative './ribbon_control' require_...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/rbn/ribbon_page.rb
Ruby
mit
177
master
552
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. class Wx::RBN::RibbonPage # manage RibbonArtProvider for GC wx_set_art_provider = instance_method :set_art_provider wx_redefine_method :set_art_provider do |prov| @art_provider = nil # clear any previous...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/rbn/ribbon_bar.rb
Ruby
mit
177
master
306
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. class Wx::RBN::RibbonBar def pages if block_given? page_count.times { |i| yield page(i) } else ::Enumerator.new { |y| page_count.times { |i| y << page(i) } } end end end
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/rt/thread_event.rb
Ruby
mit
177
master
401
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # module Wx Wx::EvtHandler.register_event_type Wx::EvtHandler::EventType[ 'evt_thread', 1, Wx::RT::EVT_THREAD, ...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/rt/require.rb
Ruby
mit
177
master
211
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # Wx::RT sub package for wxRuby3 require_relative './events/evt_list' require_relative './thread_event'
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/evthandler.rb
Ruby
mit
177
master
14,403
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license # All classes which are capable of handling events inherit from # EvtHandler. This includes all Wx::W...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/acceleratortable.rb
Ruby
mit
177
master
1,206
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license class Wx::AcceleratorTable # Allow new to be called as [] class << self alias :[] :new end ...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/brush.rb
Ruby
mit
177
master
418
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license require_relative './enum' module Wx TheBrushList = Wx::Brush class BrushStyle < Wx::Enum ...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/hyperlink_ctrl.rb
Ruby
mit
177
master
351
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license module Wx if Wx::PLATFORM == 'WXOSX' # functionally identical for MacOS GenericHyperlinkCt...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/generic_validator.rb
Ruby
mit
177
master
8,631
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. module Wx if has_feature?(:USE_VALIDATORS) class GenericValidator < Wx::Validator class << self def handlers @handlers ||= ::Hash.new end def define_handler(klass, meth=nil, &b...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/hboxsizer.rb
Ruby
mit
177
master
1,910
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license # Just a shortcut version for creating a horizontal box sizer class Wx::HBoxSizer < Wx::BoxSizer d...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/paintdc.rb
Ruby
mit
177
master
428
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license module Wx class PaintDC def self.draw_on(win, &block) win.paint(&block) if block en...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/image.rb
Ruby
mit
177
master
4,657
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license # A platform-independent image; can be manipulated more extensively than # Bitmap, but must be conver...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/colour.rb
Ruby
mit
177
master
1,634
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license require_relative 'ext' module Wx Wx.add_delayed_constant(self, :TRANSPARENT_COLOUR, 'Wx::Colour.n...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/choicedlg.rb
Ruby
mit
177
master
2,115
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license module Wx # get the user selection as a string def self.get_single_choice(message, ...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/menu_bar.rb
Ruby
mit
177
master
1,352
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license class Wx::MenuBar alias :wx_initialize :initialize def initialize(*args, &block) wx_initial...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/notebook.rb
Ruby
mit
177
master
564
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license # Displays a set of pages in parallel using tabs module Wx class Notebook # Convenience method...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/persistent_window.rb
Ruby
mit
177
master
264
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. module Wx class PersistentWindowBase < PersistentObject alias :get :get_object end # class alias PersistentWindow = PersistentWindowBase end
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/functions.rb
Ruby
mit
177
master
1,499
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license # Tweaks to the global module functions module Wx class << self # Allow this to be called with...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/log.rb
Ruby
mit
177
master
4,364
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license module Wx class Log class << self alias :active_target= :set_active_target alias :...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/context_help.rb
Ruby
mit
177
master
232
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. module Wx class << self define_method :ContextHelp do |window = nil| context_help(window) end end end
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/region_iterator.rb
Ruby
mit
177
master
1,020
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license class Wx::RegionIterator alias :have_rects? :have_rects # Ruby like enumeration def each ...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/config.rb
Ruby
mit
177
master
19,119
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license module Wx class ConfigBase SEPARATOR = '/'.freeze module Interface # provide auto...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/file_dialog.rb
Ruby
mit
177
master
1,235
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license # WxRuby Extensions - Dialog functors for wxRuby3 module Wx class FileDialog wx_set_customize...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/dialog.rb
Ruby
mit
177
master
2,683
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license # WxRuby Extensions - Dialog functors for wxRuby3 class Wx::Dialog class << self wx_set_layo...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/combo_ctrl.rb
Ruby
mit
177
master
6,075
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. module Wx module ComboPopup def self.included(mod) unless mod == Wx::ComboPopupWx mod.class_eval { include Wx::ComboPopup::Methods } end end module Methods # Returns poin...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/simplehelpprovider.rb
Ruby
mit
177
master
1,189
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license # Pure-ruby implementation of the corresponding Wx class. Simply shows # the Window's help text in a ...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/artprovider.rb
Ruby
mit
177
master
1,059
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license # Class which can supply icons and bitmaps class Wx::ArtProvider # Keep a note of supplied ArtProv...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/controlwithitems.rb
Ruby
mit
177
master
1,959
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license # Superclass of a variety of controls that display lists of items (eg # Choice, ListBox, CheckListBox...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/treebook.rb
Ruby
mit
177
master
331
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. require_relative './book_ctrl_base' module Wx class Treebook # Creates PersistentObject for this treebook control instance. def create_persistent_object PersistentTreeBookCtrl.new(self) end ...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/toolbar.rb
Ruby
mit
177
master
1,325
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license # A set of buttons and controls attached to one edge of a Wx::Frame class Wx::ToolBar # Generic me...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/media_ctrl.rb
Ruby
mit
177
master
604
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. module Wx class MediaCtrl < Wx::Control if Wx::PLATFORM == 'WXMSW' wx_load = instance_method :load wx_redefine_method :load do |*args| uri_or_path = args.shift if args.empty? && uri_or_path.is_a?(:...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/listctrl.rb
Ruby
mit
177
master
1,237
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license # Multi-item control with numerous possible view styles class Wx::ListCtrl # Make these ruby enume...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/menu.rb
Ruby
mit
177
master
3,621
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license # A single labelled list within a drop-down menu, or a popup menu class Wx::Menu alias :wx_initia...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/listbox.rb
Ruby
mit
177
master
364
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license require_relative './controlwithitems' class Wx::ListBox alias :get_item_data :get_client_object ...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/rect.rb
Ruby
mit
177
master
2,190
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license # Class representing a rectangular shape class Wx::Rect # Nicely readable inspect output for Rect ...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/busycursor.rb
Ruby
mit
177
master
601
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license # Emulates the wxWidgets BusyCursor class, by providing a scope within # which a busy cursor will be ...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/event_blocker.rb
Ruby
mit
177
master
328
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license module Wx class EventBlocker class << self alias :block_for :blocked_for end e...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/data_object.rb
Ruby
mit
177
master
1,890
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license module Wx # Provide some default implementations of these to make life easier class DataObject ...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/pen.rb
Ruby
mit
177
master
554
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license require_relative './enum' module Wx ThePenList = Wx::Pen class PenStyle < Wx::Enum set_no...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/persistence_manager.rb
Ruby
mit
177
master
920
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. module Wx # Function used to create the correct persistent adapter for the given object. def self.create_persistent_object(obj) obj.create_persistent_object end # A shorter synonym for {Wx::Persistenc...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/owner_drawn_combobox.rb
Ruby
mit
177
master
1,213
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. module Wx class OwnerDrawnComboBox # make sure to honor the inherited common overloads wx_get_client_object = instance_method :get_client_object wx_redefine_method :get_client_object do |*args| ...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/helpprovider.rb
Ruby
mit
177
master
756
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license # Base class for providing context-sensitive help. The main definition # is in SWIG/C++ class Wx::He...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/collapsible_pane.rb
Ruby
mit
177
master
398
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license # WxRuby Extensions - CollapsiblePane platform dependent alias module Wx if Wx.has_feature?(:USE_...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/font.rb
Ruby
mit
177
master
1,167
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license require_relative './font/encoding' require_relative './enum' module Wx class Font class << sel...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/imagelist.rb
Ruby
mit
177
master
555
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license class Wx::ImageList # provide seamless support for adding icons on all platforms wx_add = instan...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/book_ctrl_base.rb
Ruby
mit
177
master
303
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. module Wx class BookCtrlBase # create PersistentObject for toplevel windows (incl. Dialog and Frame) def create_persistent_object PersistentBookCtrl.new(self) end end end
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/v_list_box.rb
Ruby
mit
177
master
510
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license class Wx::VListBox wx_each_selected = instance_method :each_selected wx_redefine_method :each_se...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/const.rb
Ruby
mit
177
master
3,491
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. module Wx =begin These constants are not documented in the wxWidgets interface headers although they are referenced in various argument defaults which *are* in the interface header declarations so. =end ...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/clientdc.rb
Ruby
mit
177
master
824
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license # Device Context to paint on a window outside an on_paint handler. It is # recommended that PaintDC i...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/position.rb
Ruby
mit
177
master
1,052
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license module Wx class Position include Comparable # make Position usable for parallel assignmen...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/standard_paths.rb
Ruby
mit
177
master
342
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. module Wx class StandardPaths class << self wx_get = instance_method :get wx_redefine_method :get do # cache the global singleton @instance ||= wx_get.bind(self).call end...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/menuitem.rb
Ruby
mit
177
master
436
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license # An individual item within a frame or popup menu class Wx::MenuItem # Get the Wx id, not Ruby's d...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/peristent_object.rb
Ruby
mit
177
master
237
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. module Wx class PersistentObject # make these protected protected :save_value protected :restore_value end end
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/task_bar_button.rb
Ruby
mit
177
master
465
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. module Wx if Wx::PLATFORM == 'WXMSW' class TaskBarButton wx_remove_thumb_bar_button = instance_method :remove_thumb_bar_button wx_redefine_method :remove_thumb_bar_button do |button| bu...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/object.rb
Ruby
mit
177
master
877
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license # The root class for most (not all) WxRuby classes module Wx class Object # Massage the outpu...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/platform_info.rb
Ruby
mit
177
master
434
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license module Wx class PlatformInfo # make all methods of the singleton accessible through the class...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/datetime.rb
Ruby
mit
177
master
299
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license module Wx DEFAULT_DATE_TIME = nil DefaultDateTime = DEFAULT_DATE_TIME end
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/pen_info.rb
Ruby
mit
177
master
413
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license class Wx::PenInfo # make Wx::PenInfo#dashes return self wx_dashes = instance_method :dashes wx...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/vboxsizer.rb
Ruby
mit
177
master
1,898
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license # Just a shortcut version for creating a vertical box sizer class Wx::VBoxSizer < Wx::BoxSizer def...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/window.rb
Ruby
mit
177
master
4,845
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license # Copyright 2004-2007 by Kevin Smith # Copyright 2022 by Martin Corino # released under the MIT(-styl...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/dataformat.rb
Ruby
mit
177
master
1,329
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license # Make this easier to use for multi-typed data objects. Comparison # doesn't work correctly in the SW...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/validator.rb
Ruby
mit
177
master
2,563
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. class Wx::Validator # Default implementation of clone, may need to be over-ridden if # custom subclasses should state variables that need to be copied # NOTE: There is no way to copy the bindings here so do ...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/variant.rb
Ruby
mit
177
master
2,577
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license require 'date' module Wx class Variant include ::Enumerable # add a proper enumerator me...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/locale.rb
Ruby
mit
177
master
2,655
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license class Wx::Locale class << self def get_system_language_name get_language_name( get_system...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/app.rb
Ruby
mit
177
master
3,738
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license # Copyright 2004-2006 by Kevin Smith # released under the MIT-style wxruby2 license require_relative...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/timer.rb
Ruby
mit
177
master
3,789
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license # Class allowing periodic or timed events to be fired class Wx::Timer # Convenience method to trig...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/helpcontroller.rb
Ruby
mit
177
master
310
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license class Wx::HelpController def self.instance(*args) @instance ||= new(*args) end end
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/tipwindow.rb
Ruby
mit
177
master
320
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license module Wx class TipWindow # import flattened Ref class Ref = Wx::TipWindow_Ref end end
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/size.rb
Ruby
mit
177
master
3,184
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license class Wx::Size include Comparable # provide compatibility methods alias :get_x :get_width a...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/gauge.rb
Ruby
mit
177
master
665
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license # Gauge : presents a progress bar # # On the C++ side, the actual class name of wxGauge under Windows...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/ext.rb
Ruby
mit
177
master
1,859
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license module Wx class << self private class Key def initialize(mod, sym) @mod = ...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/gdi_object.rb
Ruby
mit
177
master
420
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license module Wx class GDIObject < Object # GDIObjects have safe, working (and relatively cheap) copy...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/graphics_pen_info.rb
Ruby
mit
177
master
429
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license class Wx::GraphicsPenInfo # make Wx::GraphicsPenInfo#dashes return self wx_dashes = instance_met...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/genericdirctrl.rb
Ruby
mit
177
master
1,263
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license # Bottom-up implementation of a Directory lister class Wx::GenericDirCtrl module DirCtrlTree ...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/id_helper.rb
Ruby
mit
177
master
1,330
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license module Wx # Mixin module to provide convenience method for defining Windows/Control ids. # @exam...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/secret_store.rb
Ruby
mit
177
master
1,015
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. module Wx class SecretStore # Wipes the secret data. def self.wipe(secret) if ::String === secret secret.bytesize.times { |i| secret.setbyte(i, 0) } end end end class Secre...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/helpcontrollerhelpprovider.rb
Ruby
mit
177
master
1,145
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license # Pure-ruby implementation of the corresponding Wx class. Shows a # relevant section of help, if avai...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/real_point.rb
Ruby
mit
177
master
3,179
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license class Wx::RealPoint include Comparable # More informative output when converted to string def...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/bitmap.rb
Ruby
mit
177
master
4,146
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license # A platform-dependent image that can be drawn on the screen module Wx if Wx::PLATFORM == 'WXMSW'...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/combobox.rb
Ruby
mit
177
master
580
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license require_relative './controlwithitems' module Wx class ComboBox # redefine #clear method to t...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/tree_ctrl.rb
Ruby
mit
177
master
2,161
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license # Hierarchical control with items class Wx::TreeCtrl # Overload to provide Enumerator without blo...
github
mcorino/wxRuby3
https://github.com/mcorino/wxRuby3
lib/wx/core/clipboard.rb
Ruby
mit
177
master
1,696
# Copyright (c) 2023 M.J.N. Corino, The Netherlands # # This software is released under the MIT license. # # Some parts are # Copyright 2004-2007, wxRuby development team # released under the MIT-like wxRuby2 license class Wx::Clipboard class << self # This is provided internally by the SWIG interface file, but...