Class
Ltabpage
Home
In: locana/l_tabgroup.rb
Parent: Lframe

This object can be added only to Ltabgroup objects. It can contain any other Locana object that is based on the Lobject class. It automatically adds a button (Ltabpage_button object) to the tabgroups button bar (Ltabgroup_buttonbar). Clicking on the button will bring this tabpage to the front of other tabpages. Only one Ltabpage in a Ltabgroup is visible at a time. Most of the positioning attributes are ignored by this object. The tabpage basically spans it’s parent (Ltabgroup). This class is based on the Lframe class so scrollbars can be used if needed.

Methods

buttonbar, can_have_focus?, close, hide, include_objects, is_selected?, oattr_set, on_mouse_out, on_mouse_over, open, paint_focus?, show, show_tabpage, state=, sticky,
Public Instance methods
paint_focus?() src

The tabpage does not paint a focus.

sticky() src

Returns :news, tabpage objects always the span the height and width of the Ltabgroup.

include_objects() src

Creates several instance variables used by the tabpage.

can_have_focus?() src

Returns false because only the currently visible tabpage participates in tabbing.

open(parent) src

Also adds a Ltabpage_button object to the parents (Ltabgroup) button bar (Ltabgroup_buttonbar) and opens it. Raises LocanaError if the parent is not a Ltabgroup object. Triggers the on_enter event.

close() src

Closes the Ltabpage_button and triggers the on_close event.

show() src

Triggers the on_enter event.

hide() src

Triggers the on_exit event.

buttonbar() src

Returns the button_bar (Ltabgroup_buttonbar) in the parent (Ltabgroup).

oattr_set(attribute, new_value) src

Repaints the Ltabgroup_button incase one of our changes impacts it.

state=(new_value) src

Forwards this to the Ltabpage_button in the tabgroups button bar.

is_selected?() src

Returns true if this tabpage is visible and at the front of other tabpages.

show_tabpage(give_focus_to_child_object=nil) src

Makes this tabpage visible, it also changes the border of the Ltabpage_button so it looks like it has been selected.

on_mouse_over(levent=nil) src

Disables popup help on the tabpage itself, unfortunately, this means no on_mouse_over events for tabpages.

on_mouse_out(levent=nil) src

Disables popup help on the tabpage itself, unfortunately, this means no on_mouse_out events for tabpages.


Seva Software


Thank you for taking the time to visit this web page. I trust you found the information contained in this page useful.
Please email any questions, concerns, or issues with this web site to webmaster@sevasoftware.com.
Please remember Seva Software when your company would benefit from an experienced database architect and software engineer.

http://www.arunadb.org http://www.locana.org http://www.ruby-lang.org http://www.coolwell.org http://www.sevasoftware.com