gtk2 0.20.0
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +6664 -0
- data/README +33 -0
- data/Rakefile +71 -0
- data/extconf.rb +116 -0
- data/src/global.h +33 -0
- data/src/init.c +39 -0
- data/src/lib/gtk2.rb +13 -0
- data/src/lib/gtk2/base.rb +95 -0
- data/src/makeinits.rb +57 -0
- data/src/makekeysyms.rb +5 -0
- data/src/rbgdk.c +395 -0
- data/src/rbgdk.h +50 -0
- data/src/rbgdkatom.c +122 -0
- data/src/rbgdkcairo.c +100 -0
- data/src/rbgdkcolor.c +151 -0
- data/src/rbgdkcolormap.c +142 -0
- data/src/rbgdkconst.c +29 -0
- data/src/rbgdkconversions.h +18 -0
- data/src/rbgdkcursor.c +115 -0
- data/src/rbgdkdevice.c +235 -0
- data/src/rbgdkdisplay.c +634 -0
- data/src/rbgdkdisplaymanager.c +50 -0
- data/src/rbgdkdragcontext.c +280 -0
- data/src/rbgdkdraw.c +487 -0
- data/src/rbgdkevent.c +1020 -0
- data/src/rbgdkgc.c +456 -0
- data/src/rbgdkgeometry.c +272 -0
- data/src/rbgdkimage.c +155 -0
- data/src/rbgdkinput.c +70 -0
- data/src/rbgdkkeymap.c +153 -0
- data/src/rbgdkkeysyms.h +2174 -0
- data/src/rbgdkkeyval.c +105 -0
- data/src/rbgdkpango.c +171 -0
- data/src/rbgdkpangorenderer.c +132 -0
- data/src/rbgdkpixbuf.c +178 -0
- data/src/rbgdkpixmap.c +255 -0
- data/src/rbgdkproperty.c +342 -0
- data/src/rbgdkrectangle.c +146 -0
- data/src/rbgdkregion.c +242 -0
- data/src/rbgdkrgb.c +197 -0
- data/src/rbgdkscreen.c +535 -0
- data/src/rbgdkselection.c +161 -0
- data/src/rbgdkthreads.c +68 -0
- data/src/rbgdktimecoord.c +118 -0
- data/src/rbgdkvisual.c +273 -0
- data/src/rbgdkwindow.c +1302 -0
- data/src/rbgdkwindowattr.c +213 -0
- data/src/rbgdkx11.c +256 -0
- data/src/rbgtk.c +93 -0
- data/src/rbgtk.h +121 -0
- data/src/rbgtkaboutdialog.c +195 -0
- data/src/rbgtkaccelerator.c +78 -0
- data/src/rbgtkaccelgroup.c +216 -0
- data/src/rbgtkaccelgroupentry.c +85 -0
- data/src/rbgtkaccelkey.c +116 -0
- data/src/rbgtkaccellabel.c +46 -0
- data/src/rbgtkaccelmap.c +162 -0
- data/src/rbgtkaccessible.c +29 -0
- data/src/rbgtkaction.c +277 -0
- data/src/rbgtkactiongroup.c +377 -0
- data/src/rbgtkadjustment.c +153 -0
- data/src/rbgtkalignment.c +71 -0
- data/src/rbgtkallocation.c +171 -0
- data/src/rbgtkarrow.c +47 -0
- data/src/rbgtkaspectframe.c +46 -0
- data/src/rbgtkassistant.c +230 -0
- data/src/rbgtkbbox.c +47 -0
- data/src/rbgtkbin.c +31 -0
- data/src/rbgtkbindingset.c +192 -0
- data/src/rbgtkborder.c +80 -0
- data/src/rbgtkbox.c +142 -0
- data/src/rbgtkbuildable.c +115 -0
- data/src/rbgtkbuilder.c +154 -0
- data/src/rbgtkbutton.c +151 -0
- data/src/rbgtkcalendar.c +159 -0
- data/src/rbgtkcelleditable.c +49 -0
- data/src/rbgtkcelllayout.c +144 -0
- data/src/rbgtkcellrenderer.c +139 -0
- data/src/rbgtkcellrendereraccel.c +42 -0
- data/src/rbgtkcellrenderercombo.c +37 -0
- data/src/rbgtkcellrendererpixbuf.c +33 -0
- data/src/rbgtkcellrendererprogress.c +37 -0
- data/src/rbgtkcellrendererspin.c +38 -0
- data/src/rbgtkcellrenderertext.c +45 -0
- data/src/rbgtkcellrenderertoggle.c +32 -0
- data/src/rbgtkcellview.c +134 -0
- data/src/rbgtkcheckbutton.c +55 -0
- data/src/rbgtkcheckmenuitem.c +56 -0
- data/src/rbgtkclipboard.c +473 -0
- data/src/rbgtkcolorbutton.c +63 -0
- data/src/rbgtkcolorsel.c +175 -0
- data/src/rbgtkcolorselectiondialog.c +72 -0
- data/src/rbgtkcombo.c +117 -0
- data/src/rbgtkcombobox.c +240 -0
- data/src/rbgtkcomboboxentry.c +60 -0
- data/src/rbgtkconst.c +163 -0
- data/src/rbgtkcontainer.c +776 -0
- data/src/rbgtkconversions.h +26 -0
- data/src/rbgtkcurve.c +105 -0
- data/src/rbgtkdialog.c +244 -0
- data/src/rbgtkdrag.c +436 -0
- data/src/rbgtkdrawingarea.c +31 -0
- data/src/rbgtkeditable.c +152 -0
- data/src/rbgtkentry.c +161 -0
- data/src/rbgtkentrycompletion.c +167 -0
- data/src/rbgtkeventbox.c +31 -0
- data/src/rbgtkexpander.c +67 -0
- data/src/rbgtkfilechooser.c +403 -0
- data/src/rbgtkfilechooserbutton.c +72 -0
- data/src/rbgtkfilechooserdialog.c +58 -0
- data/src/rbgtkfilechooserwidget.c +50 -0
- data/src/rbgtkfilefilter.c +139 -0
- data/src/rbgtkfilesel.c +155 -0
- data/src/rbgtkfixed.c +72 -0
- data/src/rbgtkfontbutton.c +69 -0
- data/src/rbgtkfontselection.c +30 -0
- data/src/rbgtkfontselectiondialog.c +106 -0
- data/src/rbgtkframe.c +64 -0
- data/src/rbgtkgamma.c +47 -0
- data/src/rbgtkhandlebox.c +42 -0
- data/src/rbgtkhbbox.c +31 -0
- data/src/rbgtkhbox.c +38 -0
- data/src/rbgtkhpaned.c +31 -0
- data/src/rbgtkhruler.c +31 -0
- data/src/rbgtkhscale.c +45 -0
- data/src/rbgtkhscrollbar.c +38 -0
- data/src/rbgtkhseparator.c +30 -0
- data/src/rbgtkiconfactory.c +80 -0
- data/src/rbgtkiconinfo.c +118 -0
- data/src/rbgtkiconset.c +87 -0
- data/src/rbgtkiconsize.c +90 -0
- data/src/rbgtkiconsource.c +176 -0
- data/src/rbgtkicontheme.c +309 -0
- data/src/rbgtkiconview.c +351 -0
- data/src/rbgtkimage.c +152 -0
- data/src/rbgtkimagemenuitem.c +52 -0
- data/src/rbgtkimcontext.c +134 -0
- data/src/rbgtkimcontextsimple.c +48 -0
- data/src/rbgtkimmulticontext.c +38 -0
- data/src/rbgtkinits.c +473 -0
- data/src/rbgtkinputdialog.c +30 -0
- data/src/rbgtkinvisible.c +68 -0
- data/src/rbgtkitem.c +51 -0
- data/src/rbgtkitemfactory.c +312 -0
- data/src/rbgtklabel.c +168 -0
- data/src/rbgtklayout.c +91 -0
- data/src/rbgtklinkbutton.c +68 -0
- data/src/rbgtkliststore.c +412 -0
- data/src/rbgtkmacros.h +26 -0
- data/src/rbgtkmain.c +532 -0
- data/src/rbgtkmenu.c +272 -0
- data/src/rbgtkmenubar.c +48 -0
- data/src/rbgtkmenuitem.c +171 -0
- data/src/rbgtkmenushell.c +128 -0
- data/src/rbgtkmenutoolbutton.c +74 -0
- data/src/rbgtkmessagedialog.c +102 -0
- data/src/rbgtkmisc.c +63 -0
- data/src/rbgtknotebook.c +484 -0
- data/src/rbgtkobject.c +186 -0
- data/src/rbgtkoptionmenu.c +65 -0
- data/src/rbgtkpagesetup.c +196 -0
- data/src/rbgtkpagesetupunixdialog.c +80 -0
- data/src/rbgtkpaned.c +114 -0
- data/src/rbgtkpapersize.c +186 -0
- data/src/rbgtkplug.c +84 -0
- data/src/rbgtkprintcontext.c +124 -0
- data/src/rbgtkprinter.c +155 -0
- data/src/rbgtkprintjob.c +151 -0
- data/src/rbgtkprintoperation.c +152 -0
- data/src/rbgtkprintoperationpreview.c +54 -0
- data/src/rbgtkprintsettings.c +794 -0
- data/src/rbgtkprintunixdialog.c +98 -0
- data/src/rbgtkprogress.c +21 -0
- data/src/rbgtkprogressbar.c +72 -0
- data/src/rbgtkradioaction.c +102 -0
- data/src/rbgtkradiobutton.c +83 -0
- data/src/rbgtkradiomenuitem.c +115 -0
- data/src/rbgtkradiotoolbutton.c +99 -0
- data/src/rbgtkrange.c +98 -0
- data/src/rbgtkrc.c +228 -0
- data/src/rbgtkrcstyle.c +184 -0
- data/src/rbgtkrecentaction.c +52 -0
- data/src/rbgtkrecentchooser.c +276 -0
- data/src/rbgtkrecentchooserdialog.c +59 -0
- data/src/rbgtkrecentchoosermenu.c +55 -0
- data/src/rbgtkrecentchooserwidget.c +45 -0
- data/src/rbgtkrecentdata.c +152 -0
- data/src/rbgtkrecentfilter.c +180 -0
- data/src/rbgtkrecentfilterinfo.c +197 -0
- data/src/rbgtkrecentinfo.c +232 -0
- data/src/rbgtkrecentmanager.c +164 -0
- data/src/rbgtkruler.c +82 -0
- data/src/rbgtkscale.c +47 -0
- data/src/rbgtkscalebutton.c +115 -0
- data/src/rbgtkscrollbar.c +21 -0
- data/src/rbgtkscrolledwindow.c +160 -0
- data/src/rbgtkselection.c +171 -0
- data/src/rbgtkselectiondata.c +333 -0
- data/src/rbgtkseparator.c +21 -0
- data/src/rbgtkseparatormenuitem.c +28 -0
- data/src/rbgtkseparatortoolitem.c +40 -0
- data/src/rbgtksettings.c +225 -0
- data/src/rbgtksizegroup.c +74 -0
- data/src/rbgtksocket.c +72 -0
- data/src/rbgtkspinbutton.c +138 -0
- data/src/rbgtkstatusbar.c +90 -0
- data/src/rbgtkstatusicon.c +120 -0
- data/src/rbgtkstock.c +264 -0
- data/src/rbgtkstyle.c +722 -0
- data/src/rbgtktable.c +190 -0
- data/src/rbgtktargetlist.c +148 -0
- data/src/rbgtktearoffmenuitem.c +30 -0
- data/src/rbgtktextappearance.c +173 -0
- data/src/rbgtktextattributes.c +209 -0
- data/src/rbgtktextbuffer.c +993 -0
- data/src/rbgtktextchild.c +49 -0
- data/src/rbgtktextiter.c +553 -0
- data/src/rbgtktextmark.c +87 -0
- data/src/rbgtktexttag.c +66 -0
- data/src/rbgtktexttagtable.c +94 -0
- data/src/rbgtktextview.c +351 -0
- data/src/rbgtktoggleaction.c +76 -0
- data/src/rbgtktogglebutton.c +84 -0
- data/src/rbgtktoggletoolbutton.c +70 -0
- data/src/rbgtktoolbar.c +373 -0
- data/src/rbgtktoolbutton.c +75 -0
- data/src/rbgtktoolitem.c +184 -0
- data/src/rbgtktooltip.c +76 -0
- data/src/rbgtktooltips.c +107 -0
- data/src/rbgtktreedragdest.c +19 -0
- data/src/rbgtktreedragsource.c +19 -0
- data/src/rbgtktreeiter.c +259 -0
- data/src/rbgtktreemodel.c +256 -0
- data/src/rbgtktreemodelfilter.c +214 -0
- data/src/rbgtktreemodelsort.c +113 -0
- data/src/rbgtktreepath.c +195 -0
- data/src/rbgtktreerowreference.c +168 -0
- data/src/rbgtktreeselection.c +235 -0
- data/src/rbgtktreesortable.c +127 -0
- data/src/rbgtktreestore.c +379 -0
- data/src/rbgtktreeview.c +881 -0
- data/src/rbgtktreeviewcolumn.c +331 -0
- data/src/rbgtkuimanager.c +210 -0
- data/src/rbgtkvbbox.c +31 -0
- data/src/rbgtkvbox.c +38 -0
- data/src/rbgtkviewport.c +33 -0
- data/src/rbgtkvolumebutton.c +36 -0
- data/src/rbgtkvpaned.c +31 -0
- data/src/rbgtkvruler.c +30 -0
- data/src/rbgtkvscale.c +45 -0
- data/src/rbgtkvscrollbar.c +38 -0
- data/src/rbgtkvseparator.c +30 -0
- data/src/rbgtkwidget.c +1414 -0
- data/src/rbgtkwindow.c +822 -0
- data/src/rbgtkwindowgroup.c +48 -0
- data/test/gtk-test-utils.rb +15 -0
- data/test/run-test.rb +30 -0
- data/test/test_gc.rb +25 -0
- data/test/test_gdk.rb +18 -0
- data/test/test_gdk_color.rb +10 -0
- data/test/test_gdk_display.rb +37 -0
- data/test/test_gdk_event.rb +11 -0
- data/test/test_gdk_gc.rb +7 -0
- data/test/test_gdk_keymap.rb +8 -0
- data/test/test_gdk_pango.rb +9 -0
- data/test/test_gdk_selection_data.rb +17 -0
- data/test/test_gdk_window.rb +29 -0
- data/test/test_gdk_window_attribute.rb +9 -0
- data/test/test_gtk_about_dialog.rb +14 -0
- data/test/test_gtk_buildable.rb +66 -0
- data/test/test_gtk_builder.rb +188 -0
- data/test/test_gtk_entry.rb +18 -0
- data/test/test_gtk_icon_theme.rb +30 -0
- data/test/test_gtk_image.rb +8 -0
- data/test/test_gtk_list_store.rb +65 -0
- data/test/test_gtk_menu_item.rb +13 -0
- data/test/test_gtk_rc_style.rb +14 -0
- data/test/test_gtk_tree_path.rb +20 -0
- data/test/test_gtk_unix_print.rb +14 -0
- data/test/test_gtk_widget.rb +32 -0
- metadata +393 -0
@@ -0,0 +1,18 @@
|
|
1
|
+
class TestGtkEntry < Test::Unit::TestCase
|
2
|
+
include GtkTestUtils
|
3
|
+
|
4
|
+
def setup
|
5
|
+
@entry = Gtk::Entry.new
|
6
|
+
end
|
7
|
+
|
8
|
+
def test_cursor_hadjustment
|
9
|
+
only_gtk_version(2, 12)
|
10
|
+
|
11
|
+
assert_nil(@entry.cursor_hadjustment)
|
12
|
+
adjustment = Gtk::Adjustment.new(0.0, 0.0,
|
13
|
+
100.0, 100.0,
|
14
|
+
1.0, 1.0)
|
15
|
+
@entry.cursor_hadjustment = adjustment
|
16
|
+
assert_equal(adjustment, @entry.cursor_hadjustment)
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
class TestGtkIconTheme < Test::Unit::TestCase
|
2
|
+
include GtkTestUtils
|
3
|
+
|
4
|
+
def setup
|
5
|
+
@theme = Gtk::IconTheme.default
|
6
|
+
end
|
7
|
+
|
8
|
+
def test_choose_icon
|
9
|
+
only_gtk_version(2, 12)
|
10
|
+
|
11
|
+
assert_nil(@theme.choose_icon("non-existent", 100))
|
12
|
+
|
13
|
+
icon = @theme.choose_icon("undo", 10)
|
14
|
+
assert_not_nil(icon)
|
15
|
+
assert_match(/undo/, icon.filename)
|
16
|
+
|
17
|
+
assert_not_nil(@theme.choose_icon("undo", 29, [:use_builtin, :no_svg]))
|
18
|
+
end
|
19
|
+
|
20
|
+
def test_contexts
|
21
|
+
only_gtk_version(2, 12)
|
22
|
+
|
23
|
+
assert_operator(@theme.contexts, :include?, "MimeTypes")
|
24
|
+
end
|
25
|
+
|
26
|
+
def test_icons
|
27
|
+
assert_operator(@theme.icons, :include?, "undo")
|
28
|
+
assert_operator(@theme.icons("Actions"), :include?, "remove")
|
29
|
+
end
|
30
|
+
end
|
@@ -0,0 +1,65 @@
|
|
1
|
+
class TestGtkListStore < Test::Unit::TestCase
|
2
|
+
include GtkTestUtils
|
3
|
+
|
4
|
+
ID = 0
|
5
|
+
NAME = 1
|
6
|
+
|
7
|
+
COLUMNS = {
|
8
|
+
ID => Integer,
|
9
|
+
NAME => String,
|
10
|
+
}
|
11
|
+
|
12
|
+
def setup
|
13
|
+
columns = COLUMNS.keys.sort.collect do |key|
|
14
|
+
COLUMNS[key]
|
15
|
+
end
|
16
|
+
@store = Gtk::ListStore.new(*columns)
|
17
|
+
end
|
18
|
+
|
19
|
+
def test_set_values
|
20
|
+
only_gtk_version(2, 12)
|
21
|
+
|
22
|
+
iter = @store.append
|
23
|
+
assert_nothing_raised do
|
24
|
+
@store.set_values(iter, [0, '1'])
|
25
|
+
end
|
26
|
+
assert_equal([0, '1'], [iter[0], iter[1]])
|
27
|
+
|
28
|
+
iter = @store.append
|
29
|
+
assert_nothing_raised do
|
30
|
+
@store.set_values(iter, [2, '3'])
|
31
|
+
end
|
32
|
+
assert_equal([2, '3'], [iter[0], iter[1]])
|
33
|
+
|
34
|
+
assert_nothing_raised do
|
35
|
+
@store.set_values(iter, [])
|
36
|
+
end
|
37
|
+
assert_equal([2, '3'], [iter[0], iter[1]])
|
38
|
+
end
|
39
|
+
|
40
|
+
def test_set_values_with_hash
|
41
|
+
only_gtk_version(2, 12)
|
42
|
+
|
43
|
+
iter = @store.append
|
44
|
+
assert_nothing_raised do
|
45
|
+
@store.set_values(iter, {ID => 0, NAME => 'me'})
|
46
|
+
end
|
47
|
+
assert_equal([0, 'me'], [iter[ID], iter[NAME]])
|
48
|
+
|
49
|
+
iter = @store.append
|
50
|
+
assert_nothing_raised do
|
51
|
+
@store.set_values(iter, {NAME => 'you', ID => 2})
|
52
|
+
end
|
53
|
+
assert_equal([2, 'you'], [iter[ID], iter[NAME]])
|
54
|
+
|
55
|
+
assert_nothing_raised do
|
56
|
+
@store.set_values(iter, {NAME => "she"})
|
57
|
+
end
|
58
|
+
assert_equal([2, 'she'], [iter[ID], iter[NAME]])
|
59
|
+
|
60
|
+
assert_nothing_raised do
|
61
|
+
@store.set_values(iter, {})
|
62
|
+
end
|
63
|
+
assert_equal([2, 'she'], [iter[ID], iter[NAME]])
|
64
|
+
end
|
65
|
+
end
|
@@ -0,0 +1,13 @@
|
|
1
|
+
class TestGtkMenuItem < Test::Unit::TestCase
|
2
|
+
include GtkTestUtils
|
3
|
+
|
4
|
+
def test_new_with_label
|
5
|
+
item = Gtk::MenuItem.new("Label")
|
6
|
+
assert_equal("Label", item.label)
|
7
|
+
end
|
8
|
+
|
9
|
+
def test_new_with_nil_label
|
10
|
+
item = Gtk::MenuItem.new(nil)
|
11
|
+
assert_equal("", item.label)
|
12
|
+
end
|
13
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
class TestGtkRcStyle < Test::Unit::TestCase
|
2
|
+
include GtkTestUtils
|
3
|
+
|
4
|
+
def setup
|
5
|
+
@style = Gtk::RcStyle.new
|
6
|
+
end
|
7
|
+
|
8
|
+
def test_color_flags
|
9
|
+
assert_equal(Gtk::RC::Flags.new, @style.color_flags(:normal))
|
10
|
+
@style.set_color_flags(:normal, [:fg, :bg])
|
11
|
+
assert_equal(Gtk::RC::Flags::FG | Gtk::RC::Flags::BG,
|
12
|
+
@style.color_flags(:normal))
|
13
|
+
end
|
14
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
class TestGtkTreePath < Test::Unit::TestCase
|
2
|
+
include GtkTestUtils
|
3
|
+
|
4
|
+
def test_compare
|
5
|
+
assert_equal(-1, tree_path("0") <=> tree_path("1"))
|
6
|
+
assert_equal(0, tree_path("0") <=> tree_path("0"))
|
7
|
+
assert_equal(1, tree_path("1") <=> tree_path("0"))
|
8
|
+
end
|
9
|
+
|
10
|
+
def test_equal
|
11
|
+
assert_equal(tree_path("0"), tree_path("0"))
|
12
|
+
assert_not_equal(tree_path("0"), tree_path("1"))
|
13
|
+
assert_not_equal(tree_path("0"), "0")
|
14
|
+
end
|
15
|
+
|
16
|
+
private
|
17
|
+
def tree_path(path)
|
18
|
+
Gtk::TreePath.new(path)
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
class TestGtkUnixPrint < Test::Unit::TestCase
|
2
|
+
def test_classes
|
3
|
+
if GLib.os_unix?
|
4
|
+
assertion = :assert_const_defined
|
5
|
+
else
|
6
|
+
assertion = :assert_not_const_defined
|
7
|
+
end
|
8
|
+
send(assertion, Gtk, :PageSetupUnixDialog)
|
9
|
+
send(assertion, Gtk, :Printer)
|
10
|
+
send(assertion, Gtk, :PrintCapabilities)
|
11
|
+
send(assertion, Gtk, :PrintJob)
|
12
|
+
send(assertion, Gtk, :PrintUnixDialog)
|
13
|
+
end
|
14
|
+
end
|
@@ -0,0 +1,32 @@
|
|
1
|
+
class TestGtkWidget < Test::Unit::TestCase
|
2
|
+
include GtkTestUtils
|
3
|
+
|
4
|
+
def setup
|
5
|
+
@widget = Gtk::Invisible.new
|
6
|
+
end
|
7
|
+
|
8
|
+
def test_set_window
|
9
|
+
attrs = Gdk::WindowAttr.new(100, 100, :only, :temp)
|
10
|
+
window = Gdk::Window.new(nil, attrs, 0)
|
11
|
+
@widget.window = window
|
12
|
+
assert_equal(window, @widget.window)
|
13
|
+
end
|
14
|
+
|
15
|
+
def test_modify_color_component_with_nil_color
|
16
|
+
assert_nothing_raised do
|
17
|
+
@widget.modify_base(:normal, nil)
|
18
|
+
end
|
19
|
+
|
20
|
+
assert_nothing_raised do
|
21
|
+
@widget.modify_text(:normal, nil)
|
22
|
+
end
|
23
|
+
|
24
|
+
assert_nothing_raised do
|
25
|
+
@widget.modify_fg(:normal, nil)
|
26
|
+
end
|
27
|
+
|
28
|
+
assert_nothing_raised do
|
29
|
+
@widget.modify_bg(:normal, nil)
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
metadata
ADDED
@@ -0,0 +1,393 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: gtk2
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 20
|
8
|
+
- 0
|
9
|
+
version: 0.20.0
|
10
|
+
platform: ruby
|
11
|
+
authors:
|
12
|
+
- ruby-gnome2/AUTHORS
|
13
|
+
autorequire:
|
14
|
+
bindir: bin
|
15
|
+
cert_chain: []
|
16
|
+
|
17
|
+
date: 2010-07-11 00:00:00 -04:00
|
18
|
+
default_executable:
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
21
|
+
name: glib2
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
+
none: false
|
25
|
+
requirements:
|
26
|
+
- - ">="
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
segments:
|
29
|
+
- 0
|
30
|
+
version: "0"
|
31
|
+
type: :runtime
|
32
|
+
version_requirements: *id001
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: pango
|
35
|
+
prerelease: false
|
36
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
37
|
+
none: false
|
38
|
+
requirements:
|
39
|
+
- - ">="
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
segments:
|
42
|
+
- 0
|
43
|
+
version: "0"
|
44
|
+
type: :runtime
|
45
|
+
version_requirements: *id002
|
46
|
+
description: Ruby/GTK2 is a Ruby binding of GTK+-2.0.x.
|
47
|
+
email: todd.fisher@gmail.com
|
48
|
+
executables: []
|
49
|
+
|
50
|
+
extensions:
|
51
|
+
- extconf.rb
|
52
|
+
extra_rdoc_files:
|
53
|
+
- README
|
54
|
+
files:
|
55
|
+
- ChangeLog
|
56
|
+
- README
|
57
|
+
- Rakefile
|
58
|
+
- extconf.rb
|
59
|
+
- src/lib/gtk2/base.rb
|
60
|
+
- src/lib/gtk2.rb
|
61
|
+
- src/makeinits.rb
|
62
|
+
- src/makekeysyms.rb
|
63
|
+
- src/init.c
|
64
|
+
- src/rbgdk.c
|
65
|
+
- src/rbgdkatom.c
|
66
|
+
- src/rbgdkcairo.c
|
67
|
+
- src/rbgdkcolor.c
|
68
|
+
- src/rbgdkcolormap.c
|
69
|
+
- src/rbgdkconst.c
|
70
|
+
- src/rbgdkcursor.c
|
71
|
+
- src/rbgdkdevice.c
|
72
|
+
- src/rbgdkdisplay.c
|
73
|
+
- src/rbgdkdisplaymanager.c
|
74
|
+
- src/rbgdkdragcontext.c
|
75
|
+
- src/rbgdkdraw.c
|
76
|
+
- src/rbgdkevent.c
|
77
|
+
- src/rbgdkgc.c
|
78
|
+
- src/rbgdkgeometry.c
|
79
|
+
- src/rbgdkimage.c
|
80
|
+
- src/rbgdkinput.c
|
81
|
+
- src/rbgdkkeymap.c
|
82
|
+
- src/rbgdkkeyval.c
|
83
|
+
- src/rbgdkpango.c
|
84
|
+
- src/rbgdkpangorenderer.c
|
85
|
+
- src/rbgdkpixbuf.c
|
86
|
+
- src/rbgdkpixmap.c
|
87
|
+
- src/rbgdkproperty.c
|
88
|
+
- src/rbgdkrectangle.c
|
89
|
+
- src/rbgdkregion.c
|
90
|
+
- src/rbgdkrgb.c
|
91
|
+
- src/rbgdkscreen.c
|
92
|
+
- src/rbgdkselection.c
|
93
|
+
- src/rbgdkthreads.c
|
94
|
+
- src/rbgdktimecoord.c
|
95
|
+
- src/rbgdkvisual.c
|
96
|
+
- src/rbgdkwindow.c
|
97
|
+
- src/rbgdkwindowattr.c
|
98
|
+
- src/rbgdkx11.c
|
99
|
+
- src/rbgtk.c
|
100
|
+
- src/rbgtkaboutdialog.c
|
101
|
+
- src/rbgtkaccelerator.c
|
102
|
+
- src/rbgtkaccelgroup.c
|
103
|
+
- src/rbgtkaccelgroupentry.c
|
104
|
+
- src/rbgtkaccelkey.c
|
105
|
+
- src/rbgtkaccellabel.c
|
106
|
+
- src/rbgtkaccelmap.c
|
107
|
+
- src/rbgtkaccessible.c
|
108
|
+
- src/rbgtkaction.c
|
109
|
+
- src/rbgtkactiongroup.c
|
110
|
+
- src/rbgtkadjustment.c
|
111
|
+
- src/rbgtkalignment.c
|
112
|
+
- src/rbgtkallocation.c
|
113
|
+
- src/rbgtkarrow.c
|
114
|
+
- src/rbgtkaspectframe.c
|
115
|
+
- src/rbgtkassistant.c
|
116
|
+
- src/rbgtkbbox.c
|
117
|
+
- src/rbgtkbin.c
|
118
|
+
- src/rbgtkbindingset.c
|
119
|
+
- src/rbgtkborder.c
|
120
|
+
- src/rbgtkbox.c
|
121
|
+
- src/rbgtkbuildable.c
|
122
|
+
- src/rbgtkbuilder.c
|
123
|
+
- src/rbgtkbutton.c
|
124
|
+
- src/rbgtkcalendar.c
|
125
|
+
- src/rbgtkcelleditable.c
|
126
|
+
- src/rbgtkcelllayout.c
|
127
|
+
- src/rbgtkcellrenderer.c
|
128
|
+
- src/rbgtkcellrendereraccel.c
|
129
|
+
- src/rbgtkcellrenderercombo.c
|
130
|
+
- src/rbgtkcellrendererpixbuf.c
|
131
|
+
- src/rbgtkcellrendererprogress.c
|
132
|
+
- src/rbgtkcellrendererspin.c
|
133
|
+
- src/rbgtkcellrenderertext.c
|
134
|
+
- src/rbgtkcellrenderertoggle.c
|
135
|
+
- src/rbgtkcellview.c
|
136
|
+
- src/rbgtkcheckbutton.c
|
137
|
+
- src/rbgtkcheckmenuitem.c
|
138
|
+
- src/rbgtkclipboard.c
|
139
|
+
- src/rbgtkcolorbutton.c
|
140
|
+
- src/rbgtkcolorsel.c
|
141
|
+
- src/rbgtkcolorselectiondialog.c
|
142
|
+
- src/rbgtkcombo.c
|
143
|
+
- src/rbgtkcombobox.c
|
144
|
+
- src/rbgtkcomboboxentry.c
|
145
|
+
- src/rbgtkconst.c
|
146
|
+
- src/rbgtkcontainer.c
|
147
|
+
- src/rbgtkcurve.c
|
148
|
+
- src/rbgtkdialog.c
|
149
|
+
- src/rbgtkdrag.c
|
150
|
+
- src/rbgtkdrawingarea.c
|
151
|
+
- src/rbgtkeditable.c
|
152
|
+
- src/rbgtkentry.c
|
153
|
+
- src/rbgtkentrycompletion.c
|
154
|
+
- src/rbgtkeventbox.c
|
155
|
+
- src/rbgtkexpander.c
|
156
|
+
- src/rbgtkfilechooser.c
|
157
|
+
- src/rbgtkfilechooserbutton.c
|
158
|
+
- src/rbgtkfilechooserdialog.c
|
159
|
+
- src/rbgtkfilechooserwidget.c
|
160
|
+
- src/rbgtkfilefilter.c
|
161
|
+
- src/rbgtkfilesel.c
|
162
|
+
- src/rbgtkfixed.c
|
163
|
+
- src/rbgtkfontbutton.c
|
164
|
+
- src/rbgtkfontselection.c
|
165
|
+
- src/rbgtkfontselectiondialog.c
|
166
|
+
- src/rbgtkframe.c
|
167
|
+
- src/rbgtkgamma.c
|
168
|
+
- src/rbgtkhandlebox.c
|
169
|
+
- src/rbgtkhbbox.c
|
170
|
+
- src/rbgtkhbox.c
|
171
|
+
- src/rbgtkhpaned.c
|
172
|
+
- src/rbgtkhruler.c
|
173
|
+
- src/rbgtkhscale.c
|
174
|
+
- src/rbgtkhscrollbar.c
|
175
|
+
- src/rbgtkhseparator.c
|
176
|
+
- src/rbgtkiconfactory.c
|
177
|
+
- src/rbgtkiconinfo.c
|
178
|
+
- src/rbgtkiconset.c
|
179
|
+
- src/rbgtkiconsize.c
|
180
|
+
- src/rbgtkiconsource.c
|
181
|
+
- src/rbgtkicontheme.c
|
182
|
+
- src/rbgtkiconview.c
|
183
|
+
- src/rbgtkimage.c
|
184
|
+
- src/rbgtkimagemenuitem.c
|
185
|
+
- src/rbgtkimcontext.c
|
186
|
+
- src/rbgtkimcontextsimple.c
|
187
|
+
- src/rbgtkimmulticontext.c
|
188
|
+
- src/rbgtkinits.c
|
189
|
+
- src/rbgtkinputdialog.c
|
190
|
+
- src/rbgtkinvisible.c
|
191
|
+
- src/rbgtkitem.c
|
192
|
+
- src/rbgtkitemfactory.c
|
193
|
+
- src/rbgtklabel.c
|
194
|
+
- src/rbgtklayout.c
|
195
|
+
- src/rbgtklinkbutton.c
|
196
|
+
- src/rbgtkliststore.c
|
197
|
+
- src/rbgtkmain.c
|
198
|
+
- src/rbgtkmenu.c
|
199
|
+
- src/rbgtkmenubar.c
|
200
|
+
- src/rbgtkmenuitem.c
|
201
|
+
- src/rbgtkmenushell.c
|
202
|
+
- src/rbgtkmenutoolbutton.c
|
203
|
+
- src/rbgtkmessagedialog.c
|
204
|
+
- src/rbgtkmisc.c
|
205
|
+
- src/rbgtknotebook.c
|
206
|
+
- src/rbgtkobject.c
|
207
|
+
- src/rbgtkoptionmenu.c
|
208
|
+
- src/rbgtkpagesetup.c
|
209
|
+
- src/rbgtkpagesetupunixdialog.c
|
210
|
+
- src/rbgtkpaned.c
|
211
|
+
- src/rbgtkpapersize.c
|
212
|
+
- src/rbgtkplug.c
|
213
|
+
- src/rbgtkprintcontext.c
|
214
|
+
- src/rbgtkprinter.c
|
215
|
+
- src/rbgtkprintjob.c
|
216
|
+
- src/rbgtkprintoperation.c
|
217
|
+
- src/rbgtkprintoperationpreview.c
|
218
|
+
- src/rbgtkprintsettings.c
|
219
|
+
- src/rbgtkprintunixdialog.c
|
220
|
+
- src/rbgtkprogress.c
|
221
|
+
- src/rbgtkprogressbar.c
|
222
|
+
- src/rbgtkradioaction.c
|
223
|
+
- src/rbgtkradiobutton.c
|
224
|
+
- src/rbgtkradiomenuitem.c
|
225
|
+
- src/rbgtkradiotoolbutton.c
|
226
|
+
- src/rbgtkrange.c
|
227
|
+
- src/rbgtkrc.c
|
228
|
+
- src/rbgtkrcstyle.c
|
229
|
+
- src/rbgtkrecentaction.c
|
230
|
+
- src/rbgtkrecentchooser.c
|
231
|
+
- src/rbgtkrecentchooserdialog.c
|
232
|
+
- src/rbgtkrecentchoosermenu.c
|
233
|
+
- src/rbgtkrecentchooserwidget.c
|
234
|
+
- src/rbgtkrecentdata.c
|
235
|
+
- src/rbgtkrecentfilter.c
|
236
|
+
- src/rbgtkrecentfilterinfo.c
|
237
|
+
- src/rbgtkrecentinfo.c
|
238
|
+
- src/rbgtkrecentmanager.c
|
239
|
+
- src/rbgtkruler.c
|
240
|
+
- src/rbgtkscale.c
|
241
|
+
- src/rbgtkscalebutton.c
|
242
|
+
- src/rbgtkscrollbar.c
|
243
|
+
- src/rbgtkscrolledwindow.c
|
244
|
+
- src/rbgtkselection.c
|
245
|
+
- src/rbgtkselectiondata.c
|
246
|
+
- src/rbgtkseparator.c
|
247
|
+
- src/rbgtkseparatormenuitem.c
|
248
|
+
- src/rbgtkseparatortoolitem.c
|
249
|
+
- src/rbgtksettings.c
|
250
|
+
- src/rbgtksizegroup.c
|
251
|
+
- src/rbgtksocket.c
|
252
|
+
- src/rbgtkspinbutton.c
|
253
|
+
- src/rbgtkstatusbar.c
|
254
|
+
- src/rbgtkstatusicon.c
|
255
|
+
- src/rbgtkstock.c
|
256
|
+
- src/rbgtkstyle.c
|
257
|
+
- src/rbgtktable.c
|
258
|
+
- src/rbgtktargetlist.c
|
259
|
+
- src/rbgtktearoffmenuitem.c
|
260
|
+
- src/rbgtktextappearance.c
|
261
|
+
- src/rbgtktextattributes.c
|
262
|
+
- src/rbgtktextbuffer.c
|
263
|
+
- src/rbgtktextchild.c
|
264
|
+
- src/rbgtktextiter.c
|
265
|
+
- src/rbgtktextmark.c
|
266
|
+
- src/rbgtktexttag.c
|
267
|
+
- src/rbgtktexttagtable.c
|
268
|
+
- src/rbgtktextview.c
|
269
|
+
- src/rbgtktoggleaction.c
|
270
|
+
- src/rbgtktogglebutton.c
|
271
|
+
- src/rbgtktoggletoolbutton.c
|
272
|
+
- src/rbgtktoolbar.c
|
273
|
+
- src/rbgtktoolbutton.c
|
274
|
+
- src/rbgtktoolitem.c
|
275
|
+
- src/rbgtktooltip.c
|
276
|
+
- src/rbgtktooltips.c
|
277
|
+
- src/rbgtktreedragdest.c
|
278
|
+
- src/rbgtktreedragsource.c
|
279
|
+
- src/rbgtktreeiter.c
|
280
|
+
- src/rbgtktreemodel.c
|
281
|
+
- src/rbgtktreemodelfilter.c
|
282
|
+
- src/rbgtktreemodelsort.c
|
283
|
+
- src/rbgtktreepath.c
|
284
|
+
- src/rbgtktreerowreference.c
|
285
|
+
- src/rbgtktreeselection.c
|
286
|
+
- src/rbgtktreesortable.c
|
287
|
+
- src/rbgtktreestore.c
|
288
|
+
- src/rbgtktreeview.c
|
289
|
+
- src/rbgtktreeviewcolumn.c
|
290
|
+
- src/rbgtkuimanager.c
|
291
|
+
- src/rbgtkvbbox.c
|
292
|
+
- src/rbgtkvbox.c
|
293
|
+
- src/rbgtkviewport.c
|
294
|
+
- src/rbgtkvolumebutton.c
|
295
|
+
- src/rbgtkvpaned.c
|
296
|
+
- src/rbgtkvruler.c
|
297
|
+
- src/rbgtkvscale.c
|
298
|
+
- src/rbgtkvscrollbar.c
|
299
|
+
- src/rbgtkvseparator.c
|
300
|
+
- src/rbgtkwidget.c
|
301
|
+
- src/rbgtkwindow.c
|
302
|
+
- src/rbgtkwindowgroup.c
|
303
|
+
- src/global.h
|
304
|
+
- src/rbgdk.h
|
305
|
+
- src/rbgdkconversions.h
|
306
|
+
- src/rbgdkkeysyms.h
|
307
|
+
- src/rbgtk.h
|
308
|
+
- src/rbgtkconversions.h
|
309
|
+
- src/rbgtkmacros.h
|
310
|
+
- test/gtk-test-utils.rb
|
311
|
+
- test/run-test.rb
|
312
|
+
- test/test_gc.rb
|
313
|
+
- test/test_gdk.rb
|
314
|
+
- test/test_gdk_color.rb
|
315
|
+
- test/test_gdk_display.rb
|
316
|
+
- test/test_gdk_event.rb
|
317
|
+
- test/test_gdk_gc.rb
|
318
|
+
- test/test_gdk_keymap.rb
|
319
|
+
- test/test_gdk_pango.rb
|
320
|
+
- test/test_gdk_selection_data.rb
|
321
|
+
- test/test_gdk_window.rb
|
322
|
+
- test/test_gdk_window_attribute.rb
|
323
|
+
- test/test_gtk_about_dialog.rb
|
324
|
+
- test/test_gtk_buildable.rb
|
325
|
+
- test/test_gtk_builder.rb
|
326
|
+
- test/test_gtk_entry.rb
|
327
|
+
- test/test_gtk_icon_theme.rb
|
328
|
+
- test/test_gtk_image.rb
|
329
|
+
- test/test_gtk_list_store.rb
|
330
|
+
- test/test_gtk_menu_item.rb
|
331
|
+
- test/test_gtk_rc_style.rb
|
332
|
+
- test/test_gtk_tree_path.rb
|
333
|
+
- test/test_gtk_unix_print.rb
|
334
|
+
- test/test_gtk_widget.rb
|
335
|
+
has_rdoc: true
|
336
|
+
homepage: http://ruby-gnome2.sourceforge.jp/
|
337
|
+
licenses: []
|
338
|
+
|
339
|
+
post_install_message:
|
340
|
+
rdoc_options:
|
341
|
+
- --main
|
342
|
+
- README
|
343
|
+
require_paths:
|
344
|
+
- src
|
345
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
346
|
+
none: false
|
347
|
+
requirements:
|
348
|
+
- - ">="
|
349
|
+
- !ruby/object:Gem::Version
|
350
|
+
segments:
|
351
|
+
- 0
|
352
|
+
version: "0"
|
353
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
354
|
+
none: false
|
355
|
+
requirements:
|
356
|
+
- - ">="
|
357
|
+
- !ruby/object:Gem::Version
|
358
|
+
segments:
|
359
|
+
- 0
|
360
|
+
version: "0"
|
361
|
+
requirements: []
|
362
|
+
|
363
|
+
rubyforge_project: gtk2
|
364
|
+
rubygems_version: 1.3.7
|
365
|
+
signing_key:
|
366
|
+
specification_version: 3
|
367
|
+
summary: Ruby gtk2 bindings
|
368
|
+
test_files:
|
369
|
+
- test/gtk-test-utils.rb
|
370
|
+
- test/run-test.rb
|
371
|
+
- test/test_gc.rb
|
372
|
+
- test/test_gdk.rb
|
373
|
+
- test/test_gdk_color.rb
|
374
|
+
- test/test_gdk_display.rb
|
375
|
+
- test/test_gdk_event.rb
|
376
|
+
- test/test_gdk_gc.rb
|
377
|
+
- test/test_gdk_keymap.rb
|
378
|
+
- test/test_gdk_pango.rb
|
379
|
+
- test/test_gdk_selection_data.rb
|
380
|
+
- test/test_gdk_window.rb
|
381
|
+
- test/test_gdk_window_attribute.rb
|
382
|
+
- test/test_gtk_about_dialog.rb
|
383
|
+
- test/test_gtk_buildable.rb
|
384
|
+
- test/test_gtk_builder.rb
|
385
|
+
- test/test_gtk_entry.rb
|
386
|
+
- test/test_gtk_icon_theme.rb
|
387
|
+
- test/test_gtk_image.rb
|
388
|
+
- test/test_gtk_list_store.rb
|
389
|
+
- test/test_gtk_menu_item.rb
|
390
|
+
- test/test_gtk_rc_style.rb
|
391
|
+
- test/test_gtk_tree_path.rb
|
392
|
+
- test/test_gtk_unix_print.rb
|
393
|
+
- test/test_gtk_widget.rb
|