Re: Notebook widget with unequal page sizes in Scrolled_Window

On Mon, 2014-02-17 at 16:00 +0100, Stefan Salewski wrote:
One solution may be: Do not put the whole notebook widget into a
scrolled_window, but put each page of the notebook into its own
scrolled_window. Will that work, and is that the the recommended way?

Seems to work fine indeed -- I simply defined

class Gtk::Notebook
  def append_page_scrolled(w, l)
    h =
    self.append_page(h, l)

and used it like


instead of formerly


That gives me the desired behaviour -- maybe it will consume some more
memory, but that should be not a problem.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]