[Lazarus] gtk2 notebooks

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Fri Jul 29 14:20:33 CEST 2011


On Fri, Jul 29, 2011 at 1:19 AM, Hans-Peter Diettrich
<DrDiettrich1 at aol.com> wrote:
> Concrete questions:
>
> - What's the purpose of the page widget, required in many gtk_notebook
> procedures?

Could you show the concrete place in our code base which you are talking about?

By gtk_notebook* do you mean Gtk rountines?

> - How is the page Handle defined and managed?
> Is it the address of the associated gtk widget?

The Handle is usually a PGtkWidget pointing to the widget representing
the client area if I am not mistaken. There is a function
GetFixedWidget, or something like that, to obtain the top-level widget
for the control, when it is composed by multiple widgets. For pages
I'd guess that they are composed by only 1 widget.

-- 
Felipe Monteiro de Carvalho




More information about the Lazarus mailing list