Notebook
Class
constructor
parent_
class
name
change_
current_
page
focus_
tab
insert_
page
move_
focus_
out
page_
added
page_
removed
page_
reordered
reorder_
tab
select_
page
switch_
page
GJS API Reference
Gtk-3.0
Gtk
NotebookClass
Class NotebookClass
Hierarchy
NotebookClass
Index
Constructors
constructor
Properties
parent_
class
name
Methods
change_
current_
page
focus_
tab
insert_
page
move_
focus_
out
page_
added
page_
removed
page_
reordered
reorder_
tab
select_
page
switch_
page
Constructors
constructor
new
Notebook
Class
(
)
:
Gtk
.
NotebookClass
Returns
Gtk
.
NotebookClass
Properties
parent_
class
parent_
class
:
Gtk
.
ContainerClass
Static
name
name
:
string
Methods
change_
current_
page
change_
current_
page
(
notebook
:
Gtk
.
Notebook
, offset
:
number
)
:
boolean
Parameters
notebook:
Gtk
.
Notebook
offset:
number
Returns
boolean
focus_
tab
focus_
tab
(
notebook
:
Gtk
.
Notebook
, type
:
Gtk
.
NotebookTab
)
:
boolean
Parameters
notebook:
Gtk
.
Notebook
type:
Gtk
.
NotebookTab
Returns
boolean
insert_
page
insert_
page
(
notebook
:
Gtk
.
Notebook
, child
:
Gtk
.
Widget
, tab_label
:
Gtk
.
Widget
, menu_label
:
Gtk
.
Widget
, position
:
number
)
:
number
Parameters
notebook:
Gtk
.
Notebook
child:
Gtk
.
Widget
tab_label:
Gtk
.
Widget
menu_label:
Gtk
.
Widget
position:
number
Returns
number
move_
focus_
out
move_
focus_
out
(
notebook
:
Gtk
.
Notebook
, direction
:
Gtk
.
DirectionType
)
:
void
Parameters
notebook:
Gtk
.
Notebook
direction:
Gtk
.
DirectionType
Returns
void
page_
added
page_
added
(
notebook
:
Gtk
.
Notebook
, child
:
Gtk
.
Widget
, page_num
:
number
)
:
void
Parameters
notebook:
Gtk
.
Notebook
child:
Gtk
.
Widget
page_num:
number
Returns
void
page_
removed
page_
removed
(
notebook
:
Gtk
.
Notebook
, child
:
Gtk
.
Widget
, page_num
:
number
)
:
void
Parameters
notebook:
Gtk
.
Notebook
child:
Gtk
.
Widget
page_num:
number
Returns
void
page_
reordered
page_
reordered
(
notebook
:
Gtk
.
Notebook
, child
:
Gtk
.
Widget
, page_num
:
number
)
:
void
Parameters
notebook:
Gtk
.
Notebook
child:
Gtk
.
Widget
page_num:
number
Returns
void
reorder_
tab
reorder_
tab
(
notebook
:
Gtk
.
Notebook
, direction
:
Gtk
.
DirectionType
, move_to_last
:
boolean
)
:
boolean
Parameters
notebook:
Gtk
.
Notebook
direction:
Gtk
.
DirectionType
move_to_last:
boolean
Returns
boolean
select_
page
select_
page
(
notebook
:
Gtk
.
Notebook
, move_focus
:
boolean
)
:
boolean
Parameters
notebook:
Gtk
.
Notebook
move_focus:
boolean
Returns
boolean
switch_
page
switch_
page
(
notebook
:
Gtk
.
Notebook
, page
:
Gtk
.
Widget
, page_num
:
number
)
:
void
Parameters
notebook:
Gtk
.
Notebook
page:
Gtk
.
Widget
page_num:
number
Returns
void
Notebook
Class
constructor
parent_
class
name
change_
current_
page
focus_
tab
insert_
page
move_
focus_
out
page_
added
page_
removed
page_
reordered
reorder_
tab
select_
page
switch_
page
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHdGtfM18wLkd0ay5Ob3RlYm9va0NsYXNzLmh0bWwjY29uc3RydWN0b3IiLCJuYW1lIjoiY29uc3RydWN0b3IiLCJjaGlsZHJlbiI6W10sImlzRXh0ZXJuIjpmYWxzZSwiaXNJbnRlcm4iOnRydWV9LHsiY2xhc3NOYW1lcyI6InRzZC1raW5kLXByb3BlcnR5IHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHdGtfM18wLkd0ay5Ob3RlYm9va0NsYXNzLmh0bWwjcGFyZW50X2NsYXNzIiwibmFtZSI6InBhcmVudF9jbGFzcyIsImNoaWxkcmVuIjpbXSwiaXNFeHRlcm4iOmZhbHNlLCJpc0ludG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