Class: GLib::Type
- Inherits:
-
Object
- Object
- GLib::Type
- Defined in:
- lib/glib2.rb,
ext/glib2/rbgobj_type.c
Constant Summary collapse
- FUNDAMENTAL_MAX =
INT2FIX(G_TYPE_FUNDAMENTAL_MAX)
- FUNDAMENTAL_TYPES =
better name
FIXME
Instance Method Summary collapse
- #< ⇒ Object
- #<= ⇒ Object
- #<=> ⇒ Object
- #== ⇒ Object
- #> ⇒ Object
- #>= ⇒ Object
- #abstract? ⇒ Boolean
- #ancestors ⇒ Object
- #children ⇒ Object
- #class_size ⇒ Object
- #classed? ⇒ Boolean
- #decendants ⇒ Object
- #deep_derivable? ⇒ Boolean
- #depth ⇒ Object
- #derivable? ⇒ Boolean
- #derived? ⇒ Boolean
- #eql? ⇒ Boolean
- #fundamental ⇒ Object
- #fundamental? ⇒ Boolean
- #has_value_table ⇒ Object
- #hash ⇒ Object
- #initialize ⇒ Object constructor
- #inspect ⇒ Object
- #instance_size ⇒ Object
- #instantiatable? ⇒ Boolean
- #interface? ⇒ Boolean
- #interfaces ⇒ Object
- #name ⇒ Object
- #next_base ⇒ Object
- #parent ⇒ Object
- #to_class ⇒ Object
- #to_i ⇒ Object
- #to_int ⇒ Object
- #to_s ⇒ Object
- #type_is_a? ⇒ Boolean
- #value_abstract? ⇒ Boolean
- #value_type? ⇒ Boolean
Constructor Details
#initialize ⇒ Object
431 432 433 |
# File 'ext/glib2/rbgobj_type.c', line 431 static VALUE type_initialize(self, type) VALUE self, type; |
Instance Method Details
#< ⇒ Object
529 530 531 |
# File 'ext/glib2/rbgobj_type.c', line 529 static VALUE type_lt(self, other) VALUE self, other; |
#<= ⇒ Object
503 504 505 |
# File 'ext/glib2/rbgobj_type.c', line 503 static VALUE type_lt_eq(self, other) VALUE self, other; |
#<=> ⇒ Object
469 470 471 |
# File 'ext/glib2/rbgobj_type.c', line 469 static VALUE type_compare(self, other) VALUE self, other; |
#== ⇒ Object
490 491 492 |
# File 'ext/glib2/rbgobj_type.c', line 490 static VALUE type_eq(self, other) VALUE self, other; |
#> ⇒ Object
542 543 544 |
# File 'ext/glib2/rbgobj_type.c', line 542 static VALUE type_gt(self, other) VALUE self, other; |
#>= ⇒ Object
516 517 518 |
# File 'ext/glib2/rbgobj_type.c', line 516 static VALUE type_gt_eq(self, other) VALUE self, other; |
#abstract? ⇒ Boolean
625 626 627 |
# File 'ext/glib2/rbgobj_type.c', line 625 static VALUE type_is_abstract(self) VALUE self; |
#ancestors ⇒ Object
100 101 102 103 |
# File 'lib/glib2.rb', line 100 def ancestors # ([self] + interfaces + (parent ? parent.ancestors : [])).reverse.uniq.reverse [self] + (parent ? parent.ancestors : []) end |
#children ⇒ Object
701 702 703 |
# File 'ext/glib2/rbgobj_type.c', line 701 static VALUE type_children(self) VALUE self; |
#class_size ⇒ Object
737 738 739 |
# File 'ext/glib2/rbgobj_type.c', line 737 static VALUE type_class_size(self) VALUE self; |
#classed? ⇒ Boolean
597 598 599 |
# File 'ext/glib2/rbgobj_type.c', line 597 static VALUE type_is_classed(self) VALUE self; |
#decendants ⇒ Object
96 97 98 |
# File 'lib/glib2.rb', line 96 def decendants [self] + children.map{|t| t.decendants }.flatten end |
#deep_derivable? ⇒ Boolean
618 619 620 |
# File 'ext/glib2/rbgobj_type.c', line 618 static VALUE type_is_deep_derivable(self) VALUE self; |
#depth ⇒ Object
668 669 670 |
# File 'ext/glib2/rbgobj_type.c', line 668 static VALUE type_depth(self) VALUE self; |
#derivable? ⇒ Boolean
611 612 613 |
# File 'ext/glib2/rbgobj_type.c', line 611 static VALUE type_is_derivable(self) VALUE self; |
#derived? ⇒ Boolean
583 584 585 |
# File 'ext/glib2/rbgobj_type.c', line 583 static VALUE type_is_derived(self) VALUE self; |
#eql? ⇒ Boolean
490 491 492 |
# File 'ext/glib2/rbgobj_type.c', line 490 static VALUE type_eq(self, other) VALUE self, other; |
#fundamental ⇒ Object
569 570 571 |
# File 'ext/glib2/rbgobj_type.c', line 569 static VALUE type_fundamental(self) VALUE self; |
#fundamental? ⇒ Boolean
576 577 578 |
# File 'ext/glib2/rbgobj_type.c', line 576 static VALUE type_is_fundamental(self) VALUE self; |
#has_value_table ⇒ Object
646 647 648 |
# File 'ext/glib2/rbgobj_type.c', line 646 static VALUE type_has_value_table(self) VALUE self; |
#hash ⇒ Object
555 556 557 |
# File 'ext/glib2/rbgobj_type.c', line 555 static VALUE type_to_int(self) VALUE self; |
#inspect ⇒ Object
454 455 456 |
# File 'ext/glib2/rbgobj_type.c', line 454 static VALUE type_inspect(self) VALUE self; |
#instance_size ⇒ Object
746 747 748 |
# File 'ext/glib2/rbgobj_type.c', line 746 static VALUE type_instance_size(self) VALUE self; |
#instantiatable? ⇒ Boolean
604 605 606 |
# File 'ext/glib2/rbgobj_type.c', line 604 static VALUE type_is_instantiatable(self) VALUE self; |
#interface? ⇒ Boolean
590 591 592 |
# File 'ext/glib2/rbgobj_type.c', line 590 static VALUE type_is_interface(self) VALUE self; |
#interfaces ⇒ Object
719 720 721 |
# File 'ext/glib2/rbgobj_type.c', line 719 static VALUE type_interfaces(self) VALUE self; |
#name ⇒ Object
653 654 655 |
# File 'ext/glib2/rbgobj_type.c', line 653 static VALUE type_name(self) VALUE self; |
#next_base ⇒ Object
675 676 677 |
# File 'ext/glib2/rbgobj_type.c', line 675 static VALUE type_next_base(leaf_type, root_type) VALUE leaf_type, root_type; |
#parent ⇒ Object
660 661 662 |
# File 'ext/glib2/rbgobj_type.c', line 660 static VALUE type_parent(self) VALUE self; |
#to_class ⇒ Object
562 563 564 |
# File 'ext/glib2/rbgobj_type.c', line 562 static VALUE type_to_class(self) VALUE self; |
#to_i ⇒ Object
555 556 557 |
# File 'ext/glib2/rbgobj_type.c', line 555 static VALUE type_to_int(self) VALUE self; |
#to_int ⇒ Object
555 556 557 |
# File 'ext/glib2/rbgobj_type.c', line 555 static VALUE type_to_int(self) VALUE self; |
#to_s ⇒ Object
653 654 655 |
# File 'ext/glib2/rbgobj_type.c', line 653 static VALUE type_name(self) VALUE self; |
#type_is_a? ⇒ Boolean
684 685 686 |
# File 'ext/glib2/rbgobj_type.c', line 684 static VALUE type_is_a(self, is_a_type) VALUE self, is_a_type; |
#value_abstract? ⇒ Boolean
632 633 634 |
# File 'ext/glib2/rbgobj_type.c', line 632 static VALUE type_is_value_abstract(self) VALUE self; |
#value_type? ⇒ Boolean
639 640 641 |
# File 'ext/glib2/rbgobj_type.c', line 639 static VALUE type_is_value_type(self) VALUE self; |