EZ
Up Prev Next Contents


4.14 Notebook Page

A notebook page behaves like a regular frame. It looks like a file folder, with a tab positioned somewhere over the top edge. When mouse button 1 is pressed and released over the tab, the corresponding page (frame) is activated and the current active page is de-activated.

Notebook page is a special composite widget. It is made from a button (tab) and a frame (page).

Widget Info

Symbolic widget type EZ_WIDGET_NOTEBOOK_PAGE
Default class name "NotebookPage"
Default instance name "notebookPage"

Subwidgets Info

A notebook page can only be the child of a notebook widget. The subwidgets of a notebook page, a button and a frame, are subwidgets of the notebook.


             ( topFrame--> notebookPageTab
  notebook-->(
             ( bottomFrame--> notebookPage


Widget Interface Routines

void EZ_ActivateNoteBookPage(EZ_Widget *widget);

activate the specified page on a notebook widget.

EZ_Widget *EZ_GetNoteBookPageTab(EZ_Widget *widget);

return the tab (a normal button) of a notebook page.

Resources

Config_Option ResourceName DefaultValue
EZ_CLASS class "NotebookPage"
EZ_NAME name "notebookPage"

EZ_BORDER_WIDTH borderWidth 2
EZ_BORDER_TYPE borderType raised
EZ_FOCUS_PAD focusPad 2 or 0

EZ_PADX padx 8
EZ_PADY pady 6
EZ_IPADX iPadx 0
EZ_IPADY iPady 0

EZ_ORIENTATION orientation horizontal
EZ_FILL_MODE fillMode fillNone
EZ_SIDE side center

EZ_CURSOR cursor "XC_left_ptr"
EZ_BUBBLE_STRING bubbleString null

EZ_FOREGROUND foreground "black"
EZ_BACKGROUND background "gray74
EZ_BG_IMAGE_FILE bgImageFile null
EZ_BG_PIXMAP N/A none
EZ_HIGHLIGHT_FOREGROUND highlightForeground
EZ_HIGHLIGHT_BACKGROUND highlightBackground


Up Prev Next Contents

HTML Documentation Maintainance:Arturo Espinosa <arturo@nuclecu.unam.mx>