Class
Llabel
Home
In: locana/l_label.rb
Parent: Lobject

This class displays text in a window or frame or container. It is based on the Lobject class. Labels trigger an :on_click event when the user clicks the left mouse button over the label.

Methods

can_have_focus?, ipadx, ipady, on_mouse_lup, paint_normal, pixel_height, pixel_width,
Public Instance methods
can_have_focus?() src

Returns false. Llabel objects should never get the focus.

paint_normal() src

Paints the text on the display.

on_mouse_lup(levent=nil, &block) src

Triggers the :on_click event.

pixel_width() src

Returns the pixel width of the text in the object. This should take into consideration the font, size, and style of the object and its parents. This is used to calculate width of the object when needed.

pixel_height() src

Returns the pixel height of the text in the object. This should take into consideration the font, size, and style of the object and its parents. This is used to calculate height of the object when needed.

ipadx() src

Let’s pad a little. The default is 2.

ipady() src

Let’s pad a little. The default is 3 to enhance the appearance of labels next to Ltextbox objects.


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