Class: Fox::FXComboBox

Inherits:
Object
  • Object
show all
Includes:
Enumerable
Defined in:
lib/fox16/aliases.rb,
lib/fox16/iterators.rb

Instance Method Summary collapse

Instance Method Details

#comboStyle(*args) ⇒ Object

:nodoc:



648
649
650
# File 'lib/fox16/aliases.rb', line 648

def comboStyle(*args) # :nodoc:
  getComboStyle(*args)
end

#comboStyle=(*args) ⇒ Object

:nodoc:



645
646
647
# File 'lib/fox16/aliases.rb', line 645

def comboStyle=(*args) # :nodoc:
  setComboStyle(*args)
end

#currentItem(*args) ⇒ Object

:nodoc:



636
637
638
# File 'lib/fox16/aliases.rb', line 636

def currentItem(*args) # :nodoc:
  getCurrentItem(*args)
end

#currentItem=(*args) ⇒ Object

:nodoc:



633
634
635
# File 'lib/fox16/aliases.rb', line 633

def currentItem=(*args) # :nodoc:
  setCurrentItem(*args)
end

#eachObject

Calls block once for each item in the list, passing the item's text and user data as parameters.



18
19
20
21
22
23
# File 'lib/fox16/iterators.rb', line 18

def each # :yields: itemText, itemData
  0.upto(numItems - 1) do |i|
    yield getItemText(i), getItemData(i)
  end
  self
end

#editable=(*args) ⇒ Object

:nodoc:



606
607
608
# File 'lib/fox16/aliases.rb', line 606

def editable=(*args) # :nodoc:
  setEditable(*args)
end

#editable?(*args) ⇒ Boolean

:nodoc:



603
604
605
# File 'lib/fox16/aliases.rb', line 603

def editable?(*args) # :nodoc:
  isEditable(*args)
end

#firstObject

Override Enumerable#first with FXWindow#first for backwards compatibility.



10
11
12
# File 'lib/fox16/iterators.rb', line 10

def first
  getFirst
end

#font(*args) ⇒ Object

:nodoc:



642
643
644
# File 'lib/fox16/aliases.rb', line 642

def font(*args) # :nodoc:
  getFont(*args)
end

#font=(*args) ⇒ Object

:nodoc:



639
640
641
# File 'lib/fox16/aliases.rb', line 639

def font=(*args) # :nodoc:
  setFont(*args)
end

#helpText(*args) ⇒ Object

:nodoc:



672
673
674
# File 'lib/fox16/aliases.rb', line 672

def helpText(*args) # :nodoc:
  getHelpText(*args)
end

#helpText=(*args) ⇒ Object

:nodoc:



669
670
671
# File 'lib/fox16/aliases.rb', line 669

def helpText=(*args) # :nodoc:
  setHelpText(*args)
end

#itemCurrent?(*args) ⇒ Boolean

:nodoc:



681
682
683
# File 'lib/fox16/aliases.rb', line 681

def itemCurrent?(*args) # :nodoc:
  isItemCurrent(*args)
end

#numColumns(*args) ⇒ Object

:nodoc:



621
622
623
# File 'lib/fox16/aliases.rb', line 621

def numColumns(*args) # :nodoc:
  getNumColumns(*args)
end

#numColumns=(*args) ⇒ Object

:nodoc:



618
619
620
# File 'lib/fox16/aliases.rb', line 618

def numColumns=(*args) # :nodoc:
  setNumColumns(*args)
end

#numItems(*args) ⇒ Object

:nodoc:



624
625
626
# File 'lib/fox16/aliases.rb', line 624

def numItems(*args) # :nodoc:
  getNumItems(*args)
end

#numVisible(*args) ⇒ Object

:nodoc:



627
628
629
# File 'lib/fox16/aliases.rb', line 627

def numVisible(*args) # :nodoc:
  getNumVisible(*args)
end

#numVisible=(*args) ⇒ Object

:nodoc:



630
631
632
# File 'lib/fox16/aliases.rb', line 630

def numVisible=(*args) # :nodoc:
  setNumVisible(*args)
end

#selBackColor(*args) ⇒ Object

:nodoc:



660
661
662
# File 'lib/fox16/aliases.rb', line 660

def selBackColor(*args) # :nodoc:
  getSelBackColor(*args)
end

#selBackColor=(*args) ⇒ Object

:nodoc:



657
658
659
# File 'lib/fox16/aliases.rb', line 657

def selBackColor=(*args) # :nodoc:
  setSelBackColor(*args)
end

#selTextColor(*args) ⇒ Object

:nodoc:



666
667
668
# File 'lib/fox16/aliases.rb', line 666

def selTextColor(*args) # :nodoc:
  getSelTextColor(*args)
end

#selTextColor=(*args) ⇒ Object

:nodoc:



663
664
665
# File 'lib/fox16/aliases.rb', line 663

def selTextColor=(*args) # :nodoc:
  setSelTextColor(*args)
end

#text(*args) ⇒ Object

:nodoc:



612
613
614
# File 'lib/fox16/aliases.rb', line 612

def text(*args) # :nodoc:
  getText(*args)
end

#text=(*args) ⇒ Object

:nodoc:



609
610
611
# File 'lib/fox16/aliases.rb', line 609

def text=(*args) # :nodoc:
  setText(*args)
end

#textColor(*args) ⇒ Object

:nodoc:



654
655
656
# File 'lib/fox16/aliases.rb', line 654

def textColor(*args) # :nodoc:
  getTextColor(*args)
end

#textColor=(*args) ⇒ Object

:nodoc:



651
652
653
# File 'lib/fox16/aliases.rb', line 651

def textColor=(*args) # :nodoc:
  setTextColor(*args)
end

#tipText(*args) ⇒ Object

:nodoc:



678
679
680
# File 'lib/fox16/aliases.rb', line 678

def tipText(*args) # :nodoc:
  getTipText(*args)
end

#tipText=(*args) ⇒ Object

:nodoc:



675
676
677
# File 'lib/fox16/aliases.rb', line 675

def tipText=(*args) # :nodoc:
  setTipText(*args)
end

#to_s(*args) ⇒ Object

:nodoc:



615
616
617
# File 'lib/fox16/aliases.rb', line 615

def to_s(*args) # :nodoc:
  getText(*args)
end