Diferencia entre revisiones de «Gambas/Elementos de la GUI»

Contenido eliminado Contenido añadido
Sin resumen de edición
Sin resumen de edición
Línea 8:
 
== '''Componentes comunes de la GUI''' ==
{{Consejo | Puesto que Gambas ofrece independencia de GUI y de escritorio las descripciones en esta sección son muy generales, tratando de amoldarse en los mas posible a los posibles manejadores de escritorio.}}
{{Consejo | Since Gambas offers GUI and desktop independence the descriptions of this section are in a very general sense, trying to fit the possible desktops managers.}}
El componente mas común, pero al mismo tiempo el mas ignorado, es el '''apuntador o cursor'''. Por definición el cursor es la imagen gráfica sobre la pantalla que indica la localización del dispositivo apuntador, y puede ser usado para seleccionar y ''arrastrar'' objetos o indicar comandos sobre la pantalla. El apuntador típico es una flecha inclinada, pero puede variar según los diferentes estatus, operaciones, programas o sistemas operativos. La mayoría de las operaciones con el cursor son disparadas al presionar los botones del raton, tarea que es conocida como ''hacer click''. El click que se hace con el botón izquierdo es llamado solamente ''click''; el click que se hace usando el botón derecho es llamado ''click derecho''.
The most common component, but at the same time the most ignored, is the pointer or cursor. By definition the cursor is the graphical image on the screen that indicates the location of the pointing device, and can be used to select and drag objects or to indicate commands on the screen. The typical pointer is an angled arrow, but it can vary within different status, operations, programs or operating systems. Most of the operations with the cursor are triggered by pressing the buttons of the mouse, task also known as click. The clicks with the left button are called just clicks; the clicks using the right button are called right-clicks (this is kind of unfair for the lefties, but you know, life isn’t fair).
{{Consejo | TheLa dragacción actionde isarrastrar performedes byrealizada clickingal inhacer certainclick areaen ofcierta anárea objectde un objeto (iconya sea un icono, windowuna ventana, etc) andy keepingmanteniendo theel buttonbotón pressedpresionado, the movingmover theel cursor toa theotra desiredárea areadeseada.}}
 
La '''ventana''' es el área sobre la pantalla sobre la que se muestra información, con su contenido siendo mostrada independientemente del resto de la pantalla. Un ejemplo de ventana es la que aparece en la pantalla cuando haces click en el icono de tu navegador de internet favorito. Es fácil manipular una ventana: puede ser abierta o cerrada con un simple click; pude moverse a cualquier area mediante arrastrarla; puede cambiarse su tamaño o minimizarse; puede colocarse enfrente o detrás de otra ventana, como las molestas ventanas en esos sitios que visitas; sus barras de desplazamiento pueden ser usadas para navegar las secciones que contiene; multiples ventanas pueden ser abiertas al mismo tiempo con diferentes aplicaciones, etc.
The window is the area on the screen that displays information, whit its contents being displayed independently from the rest of the screen. An example of a window is what appears on the screen when you clicked the icon of your favorite web browser. It is easy for a user to manipulate a window: it can be opened or closed with a single click; it can be moved to any area by dragging it; it can be resized or minimized; it can be placed in front or behind another window, like the annoying popup windows of the sites you visit; its scrollbars can be used to navigate the sections within it; multiple windows can be open at one time with different applications, etc.
 
Menus allow the user to execute commands by selecting from a list of choices. The available options can be selected with the mouse or the keyboard. The use of menus minimizes the learning curve of the new user to understand the application.
Los '''menús''' permiten al usuario ejecutar comandos seleccionándolos de una lista de opciones. Las opciones disponibles pueden seleccionarse usando el ratón o el teclado. El uso de menús acelera la curva de aprendizaje de un nuevo usuario para entender una aplicación.
* A menu bar is displayed mostly horizontal across the top of the windows. A pull-down menu is commonly associated with this type of menu. When the user clicks on a menu option the pull-down menu appears.
* La '''barra de menu''' es mostrada horizontalmente a lo largo de la parte superior de la ventana. El menú desplegable es comúnmente asociado con este tipo de menús. Cuando el usuario hace click sobre la opción el menú desplegable aparece.
* A tool bar is a kind of menu bar that displays mostly icons instead of text.
* La '''barra de herramientas''' es un tipo de menú que muestra mayormente iconos en vez de texto.
* A menu has a visible title within the menu bar. Its contents are only shown when the user selects it with a click. The user is the able to select the items with in the pull-down menu. Normally, when the user clicks elsewhere the content of the menu disappears.
* El '''menú''' tiene un titulo visible dentro de la barra de menú. Su contenido solo es mostrado cuando el usuario lo selecciona con un click. El usuario puede seleccionar los elementos dentro del menú desplegable. Normalmente, cuando el usuario hace click en cualquier otra parte del contenido el menu desaparece.
* A context menu is invisible until the user right-clicks over the object, or by moves the cursor over the object and presses the context-menu-key on the keyboard, then the context menu will appear near the cursor,
* El '''menú contextual''' es invisible hasta que el usuario hace click derecho sobre el objeto, o al mover el cursor sobre el objeto y presionar la tecla de menú contextual del teclado, entonces el menú contextual aparecerá cerca del cursor.
The menu extras are individual items within or at the side of a menu.
* Los extras son elementos individuales dentro o al lado de un menú.
* An icon is a small picture that represents objects such a file, program, web page, or command. They are a quick way to execute commands, open documents, run programs, etcetera. The icon is designed in such way that no more explanation is required to understand what the small picture means.
* Un icono es una pequeña imagen que representa objetos como archivos, programas, paginas web, o comandos. Estos son una manera rápida de ejecutar comandos, abrir documentos, ejecutar programas, etc. Los iconos están diseñados de tal manera que no se requiera mayor explicación para entender que significa la pequeña imagen.
 
== '''Controles de entrada''' ==