Class
Lline
Home
In: locana/l_menu.rb locana/l_others.rb
Parent: Lobject

This class displays a line in a window or group. Based on the Lobject class. The :border and :bwidth attributes are ignored.

Methods

bwidth, can_have_focus?, default_fg, on_paint_border, open, paint_normal,
Public Instance methods
open(parent) src

Checks to see if the line is horizontal or vertical and make appropriate adjustment so it is visible. This has only one outer frame.

paint_normal() src

Draws the line.

on_paint_border(levent=nil) src

We need to draw the line in paint_border because we only have an outer frame and no inner or client frame.

default_fg() src

Returns :black.

can_have_focus?() src

This object should never get the focus.

bwidth() src

The default thickness is 1.


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