137
140
ctx = self.get_style_context()
138
142
size = ctx.get_property("font-size", Gtk.StateFlags.NORMAL)
139
143
width = dpi / 72 * size * num_em
140
144
self.set_size_request(width, -1)
142
147
def on_initial_focus_in(self, widget, event):
143
148
"""callback run on initial focus-in (if started unmapped)"""