Class
Ltabpage_button
Home
In: locana/l_tabgroup.rb
Parent: Lbutton

This is the button used by the Ltabpage. Every Ltabpage in a Ltabgroup adds one of these buttons to the Ltabgroup_buttonbar (the Ltabgroup button bar). Clicking on this button will bring it’s Ltabpage to the front of all other Ltabpage objects in the Ltabgroup. Based on the Lbutton class.

Methods

bg, border, default_border, default_border_highlight, fg, font, help, inherit_color_from, inherit_color_from_parent?, on_left_key, on_mouse_ldn, on_mouse_lup, on_right_key, process_event, toggle_highlight,
Public Instance methods
inherit_color_from() src

Inherits color from @parent (the Ltabgroup_buttonbar) and not the owner (Ltabpage).

inherit_color_from_parent?() src

Inherits color from the parent (the Ltabgroup object’s button bar) rather than the owner (Ltabpage).

border() src

Returns the border used by the Ltabpage_button object. Returns border_highlight if the Ltabpage is the topmost and visible tabpage. Otherwise returns the default border which is :raised.

default_border() src

Returns :raised.

default_border_highlight() src

Returns the border (as a symbol) to use as the border when the owner (Ltabpage) is the topmost or visible Ltabpage. Returns :tabpage_button_selected.

process_event(ievent, levent=nil) src

Eats all events for these objects.

on_left_key(levent=nil) src

Shows or makes the previous Ltabpage visible.

on_right_key(levent=nil) src

Shows or makes the next Ltabpage visible.

on_mouse_lup(levent=nil) src

Disables toggling the buttons border (disables the normal action for buttons).

on_mouse_ldn(levent=nil) src

Disables toggling the buttons border (disables the normal action for buttons). Also makes the owners (Ltabpage) visible, i.e. makes this tabpage the topmost tabpage.

help() src

Returns the owner’s (Ltabpage) help.

fg() src

If the owner (Ltabpage) has an explicit color (not an inherited color), we want to use it.

bg() src

If the owner (Ltabpage) has an explicit color (not an inherited color), we want to use it.

font() src

If the owner (Ltabpage) has an explicit font (not an inherited color), we want to use it.

toggle_highlight(new_value=nil) src

Disables toggling the button during on_mouse_over and on_mouse_out events (disables the normal action for buttons).


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