Sha256: beb90be3f481e1ae9e77f270e769c0ace3ca226739ae28f82d0f5efbb3aad5e6
Contents?: true
Size: 1.06 KB
Versions: 131
Compression:
Stored size: 1.06 KB
Contents
# Copyright (C) 2015 Ruby-GNOME2 Project Team # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either # version 2.1 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with this library; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA class TestGtkMenu < Test::Unit::TestCase include GtkTestUtils def setup @menu = Gtk::Menu.new end def test_popup only_gtk_version(3, 6, 0) @menu.popup(nil, nil, Gdk::BUTTON_PRIMARY, Gtk.current_event_time) do |menu, x, y| [x, y, true] end end end
Version data entries
131 entries across 123 versions & 2 rubygems