xemacs style notebook tabs (gtk 1.3.x)



The new version of xemacs (approx. 21.4), uses something like a notebook
widget to switch between buffers.  What is the best way to implement
this in gtk 1.3.x?

The simple approach is to create a unique GtkTextView for every page.
However, this leads to noticable flicker.  During a page switch,
there is an unnecessary unmap/map of GtkTextViews instead of simply
gtk_text_view_set_buffer.

i'd prefer to use the same GtkTextView on every page, but GtkNotebook
expects each page to be a unique widget.  i spent a few hours looking
at the source code for GtkNotebook, but it seems fairly complex.
i didn't find an easy solution.

Any ideas?

-- 
Get self-realization at <http://sahajayoga.org> ... <http://why-compete.org> ?
  Victory to the Divine Mother!!




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