Skip to content

Instantly share code, notes, and snippets.

@katsyoshi
Created December 31, 2015 14:17
Show Gist options
  • Save katsyoshi/b991d5763ad78cece279 to your computer and use it in GitHub Desktop.
Save katsyoshi/b991d5763ad78cece279 to your computer and use it in GitHub Desktop.
From: /home/katsu/Program/Mikutter/mikutter/core/mui/gtk_userlist.rb @ line 17 Gtk::UserList#initialize:
12: def initialize
13: super
14: @listview = Gtk::InnerUserList.new(self)
15: scrollbar = ::Gtk::VScrollbar.new(@listview.vadjustment)
16: require 'pry'
=> 17: binding.pry
18: add Gtk::HBox.new(false, 0).add(@listview).closeup(scrollbar)
19: end
[1] pry(#<Plugin::DirectMessage::UserList>)> Gtk::H
Gtk::HBox Gtk::HPaned Gtk::HSVPrivate Gtk::HScrollbar Gtk::HandleBox Gtk::HeaderBar
Gtk::HButtonBox Gtk::HSV Gtk::HScale Gtk::HSeparator Gtk::HandleBoxPrivate Gtk::HeaderBarPrivate
[1] pry(#<Plugin::DirectMessage::UserList>)> g_hb=Gtk::HBox.new(false,0)
=> #<Gtk::Box:0x5643541eec48 ptr=0x564356270660>
[2] pry(#<Plugin::DirectMessage::UserList>)> g_hb.add(@listview)
=> {}
[3] pry(#<Plugin::DirectMessage::UserList>)> @listview
=> #<Gtk::InnerUserList:0x564354e44920 ptr=0x564355af27d0>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment