Class: Fzeet::ProgressBar
- Includes:
- ProgressBarMethods
- Defined in:
- lib/fzeet/windows/comctl/ProgressBar.rb
Constant Summary collapse
- Prefix =
{ xstyle: [:ws_ex_], style: [:pbs_, :ws_], message: [:pbm_, :ccm_, :wm_], notification: [:nm_] }
Constants included from WindowMethods
Instance Attribute Summary
Attributes inherited from Control
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(parent, id, opts = {}, &block) ⇒ ProgressBar
constructor
A new instance of ProgressBar.
- #on(notification, &block) ⇒ Object
Methods included from ProgressBarMethods
#marquee=, #marquee?, #position=, #step!, #step=
Methods inherited from Control
Methods included from WindowMethods
#[], #capture=, #capture?, #dialog=, #dialog?, #dlgmsg?, #drawMenuBar, #eachChild, #enabled=, #enabled?, #focus=, #focus?, #invalidate, #location, #location=, #long, #menu, #menu=, #message, #paint, #position, #position=, #postmsg, #question, #rect, #reframe, #sendmsg, #show, #size, #size=, #style, #style?, #text, #text=, #textlen, #topmost=, #topmost?, #update, #visible=, #visible?, #xstyle, #xstyle?
Methods included from Toggle
Constructor Details
#initialize(parent, id, opts = {}, &block) ⇒ ProgressBar
Returns a new instance of ProgressBar.
54 55 56 57 58 59 60 |
# File 'lib/fzeet/windows/comctl/ProgressBar.rb', line 54 def initialize(parent, id, opts = {}, &block) super('msctls_progress32', parent, id, opts) @marquee = false @parent.on(:notify, @id, &block) if block end |
Class Method Details
.crackNotification(args) ⇒ Object
52 |
# File 'lib/fzeet/windows/comctl/ProgressBar.rb', line 52 def self.crackNotification(args) end |