|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Widget | |
org.gnu.gtk | |
org.gnu.gtk.event |
Uses of Widget in org.gnu.gtk |
Subclasses of Widget in org.gnu.gtk | |
class |
AccelLabel
The AccelLabel widget is a subclass of Label that also displays an accelerator key on the right side of the label text, e.g. |
class |
Alignment
This is a container widget that is capable of controlling the size of a single child widget. |
class |
Arrow
This is a simple arrowhead widget that points up, down, left, or right. |
class |
AspectFrame
This container widget wraps a single widget in a frame with a label, and imposes an aspect ratio on the child widget. |
class |
Bin
This is a base class for a container widget that has only one child. |
class |
Box
This is the base class of HBox and VBox. |
class |
Button
A widget that creates a signal when clicked on. |
class |
ButtonBox
This is the base class that holds the common functions for GtkHButtonBox and GtkVButtonBox. |
class |
Calendar
A Calendar is a widget that displays a calendar one month at a time. |
class |
CheckButton
A CheckButton widget displays a small button with a label next to it. |
class |
CheckMenuItem
The CheckMenuItem is a menu item that maintains the state of a boolean value in addition to the MenuItem's usual role of activating applicaiton code. |
class |
ColorSelection
This widget displays color information in such a way that the user can specify, with the mouse, any available color. |
class |
ColorSelectionDialog
The ColorSelectionDialog provides a standard dialog which allows the user to select a color much like the FileSelectionDialog
provides a standard dialog for file selection. |
class |
Combo
The Combo box displays a single item and provides a pull-down list of items that can be selected. |
class |
Container
The Container widget is a base class for container widgets. |
class |
Curve
This widget displays a grid and traces a graph on it following a set of points. |
class |
Dialog
Dialog boxes are a convenient way to prompt the user for a small amount of input, eg. |
class |
DrawingArea
The DrawingArea widget is used for creating custom user interface elements. |
class |
Editable
The Editable class is the base class for widgets for editing text, such as Entry. |
class |
Entry
A single line text entry widget. |
class |
EventBox
The EventBox widget is a container with a seethrough window that can recieve events for the container widget - normally one that cannot recvieve its own. |
class |
FileSelection
The FileSelection widget lists all the files and directories in the current working directory and enables the user to select one of the file names. |
class |
Fixed
The Fixed container enables your program to place widgets at a fixed location with fixed sizes in pixels and to move widgets from one location to another. |
class |
FontSelection
A widget that lists the available fonts, styles and sizes, allowing the user to select a font. |
class |
FontSelectionDialog
The FontSelectionDialog widget is a dialog for selecting a font. |
class |
Frame
The Frame widget is a Bin that surrounds its child with a decorative frame and an optional label. |
class |
GammaCurve
The GammaCurve widget displays an interactive window that enables the mouse to insert and move points. |
class |
HandleBox
The HandleBox widget allows a portion of the window to be "torn-off". |
class |
HBox
HBox is a container widget that organizes its contained widgets horizontally side by side. |
class |
HButtonBox
HButtonBox is a container designed to display a collection of buttons horizontally. |
class |
HPaned
The HPaned widget is a container widget with two children arranged horizontally. |
class |
HRuler
HRuler displays a horizontally-oriented scale that optionally can contain the marks and a current-position pointer. |
class |
HScale
This widget is a horizontal slot containing a slider that can be moved by the mouse. |
class |
HScrollBar
The HScrollBar displays a horizontal scrollbar with a slider and a pair of arrow buttons. |
class |
HSeparator
The HSeparator widget is a horizontal separator, used to group the widgets within a window. |
class |
Image
The Image widget displays an image. |
class |
ImageMenuItem
This is a MenuItem that displays an Image. |
class |
InputDialog
The InputDialog window is designed specifically to be used in software that controls access to XInput defices - input devices other than the mouse and keyboard. |
class |
Invisible
The Invisible widget displays a blank window. |
class |
Item
This widget is designed to be a base class for widgets that can be selected and deselected. |
class |
Label
The Label widget displays a small amount of text. |
class |
Layout
This widget is similar to DrawingArea in that it's a "blank slate" and doesn't do anything but paint a blank background by default. |
class |
Menu
A Menu is a MenuShell that implements a drop down menu consisting of a list of MenuItem objects which can be navigated and activated by the user to perform application functions. |
class |
MenuBar
The MenuBar is a subclass of MenuShell which contains one to many MenuItem. |
class |
MenuItem
The MenuItem widget and derived widgets are the only valid children for Menus. |
class |
MenuShell
The MenuShell class is an abstract base class used to derive the Menu and MenuBar subclasses. |
class |
MessageDialog
MessageDialog presents a dialog with an image representing the type of message (Error, Question, etc.) alongside some message text. |
class |
Misc
This is a base class providing allignment and padding to a number of displayable widgets. |
class |
Notebook
A Notebook widget is a container whose children are pages that can be switched between using tab labels along one edge. |
class |
OptionMenu
An OptionMenu is a widget that allows the user to choose from a list of valid choices. |
class |
Paned
Paned is the base class for widgets with two panes arranged either horizontally (HPaned) or vertically (VPaned). |
class |
Plug
A GtkPlug window is a top-level window that can be made available to a separate process from the one that created it. |
class |
Progress
The Progress widget is the base class of ProgressBar . |
class |
ProgressBar
The ProgressBar is typically used to display the progress of a long running operation. |
class |
RadioButton
A single RadioButton performs the same basic function as a CheckButton ,
as it's position in the object hierarchy reflects. |
class |
RadioMenuItem
A RadioMenuItem is a CheckMenuItem that belongs to a group. |
class |
Range
This is the base class for the group of widgets that involve graphic display and manipulation of a vale bounded within a specific minumumand maximum value. |
class |
Ruler
This widget is the base class for GtkHRuler and GtkVRuler. |
class |
Scale
A Scale is a slider control used to select a numeric value. |
class |
ScrollBar
The ScrollBar widget is an abstract base class for HScrollBar
and VScrollBar . |
class |
ScrolledWindow
A ScrolledWindow is a Bin subclass; it's a container that accepts a single child widget. |
class |
Separator
The Separator class is the base class for HSeparator and
VSeparator . |
class |
SeparatorMenuItem
The SeparatorMenuItem is a separator used to group items within a menu. |
class |
SimpleList
This is a widget which contains a list of strings. |
class |
SpinButton
A SpinButton widget displays a single numeric value that you can change by using the two arrow buttons to its right, or by editing the number directly. |
class |
StatusBar
A Statusbar is usually placed along the bottom of an application's main Window . |
class |
Table
A container that creates a grid of flexible static rectangles that you can use to position and size widgets. |
class |
TearoffMenuItem
|
class |
TextView
Conceptual Overview |
class |
ToggleButton
A ToggleButton is a button that changes and retains its on or off state each time it is selected with the mouse. |
class |
ToolBar
The ToolBar is used to construct a toolbar. |
class |
TreeView
The TreeView object is a widget for displaying trees and lists. |
class |
VBox
VBox is a container widget that organizes its contained widgets vertically. |
class |
VButtonBox
GtkVButtonBox is a container desinged to display a collection of buttons vertically. |
class |
Viewport
A Viewport is a container that does not resize to fit in the space allocated to it. |
class |
VPaned
The VPaned widget is a container widget with two children arranged vertically. |
class |
VRuler
GtkVRuler displays a vertically-oriented scale that optionally can contain tic marcs and a current-position pointer. |
class |
VScale
The VScale widget is a vertically slot containing a slider that can be moved by the mouse. |
class |
VScrollBar
The VScrollbar displays a vertical scrollbar with a slider and a pair of arror buttons. |
class |
VSeparator
A vertical separator, used to group the widgets within a window. |
class |
Window
A Window is a window that can be displayed on the screen. |
Methods in org.gnu.gtk that return Widget | |
Widget |
Frame.getLabelWidget()
Returns the widget being used as the label of the frame. |
Widget |
ItemFactory.getItem(java.lang.String path)
Obtain the menu item that corresponds to path. |
Widget |
ItemFactory.getWidget(java.lang.String path)
Obtain the widget that corresponds to path. |
Widget |
Widget.getParent()
Returns the parent container for this widget |
Widget |
Widget.getToplevel()
Returns the topmost widget in the container hierarchy. |
static Widget |
Widget.makeWidget(int handle)
Create a Java-GNOME Widget subclass from an existing native GTK+ handle. |
Widget |
AccelLabel.getAccelWidget()
Retrieve the widget for this AccelLabel |
Widget |
TextChildAnchor.getWidget()
Returns the associated widget |
Widget |
Bin.getChild()
Retruns the child of this Bin or null if the bin contains no child. |
Widget |
FileSelection.getDirList()
Return the directory list for this widget |
Widget |
FileSelection.getFileList()
Returns the the file list for this widget |
Widget |
FileSelection.getSelectionEntry()
Returns the selection entry |
Widget |
Accessible.getWidget()
|
Widget |
Window.getFocusWidget()
Retrieves the current focused Widget within the window. |
Widget |
Label.getMnemonicWidget()
Retrieves the target of the mnemonic (keyboard shortcut) of this label |
Widget |
Notebook.getPage(int pageNum)
Returns the child Widget contained int he page number pageNum . |
Methods in org.gnu.gtk with parameters of type Widget | |
void |
Frame.setLabelWidget(Widget labelWidget)
Sets the widget to use as the label for the frame. |
static ItemFactory |
ItemFactory.fromWidget(Widget widget)
Obtain the item factory from which a widget was created. |
void |
Widget.reparent(Widget newParent)
Moves a widget from one Container to another. |
boolean |
Widget.isAncestor(Widget ancestor)
Determines whether this widget is somewhere inside of ancestor. |
void |
AccelLabel.setAccelWidget(Widget accelWidget)
Set the widget for this AccelLabel |
void |
TreeViewColumn.setWidget(Widget widget)
Sets the widget in the header to be widget |
void |
Box.packStart(Widget child)
Adds child to the box, packed with reference to the start of box. |
void |
Box.packStart(Widget child,
boolean expand,
boolean fill,
int padding)
Adds child to the box, packed with reference to the start of box. |
void |
Box.packEnd(Widget child)
Adds child to the box, packed with reference to the end of box. |
void |
Box.packEnd(Widget child,
boolean expand,
boolean fill,
int padding)
Adds child to the box, packed with reference to the end of box. |
void |
Box.reorderChild(Widget child,
int position)
Moves child to a new position in the list of box children. |
void |
SizeGroup.addWidget(Widget widget)
Adds a widget to the SizeGroup. |
void |
SizeGroup.removeWidget(Widget widget)
Removes a widget from the group |
void |
Dialog.addWidget(Widget child,
int responseId)
Adds an activatable widget to the action area of the Dialog, connecting a signal handler that will emit the "response" signal on the dialog when the widget is activated. |
void |
ScrolledWindow.addWithViewport(Widget child)
Used to add children without native scrolling capability. |
void |
TextView.addChild(Widget child,
TextChildAnchor anchor)
Adds a child widget in the text buffer, at the given anchor. |
void |
ToolTips.setTip(Widget widget,
java.lang.String tipText,
java.lang.String additionalInfo)
Adds a tooltip to a Widget. |
void |
Fixed.putWidget(Widget widget,
int x,
int y)
Add a Widget to the Fixed at the specified location. |
void |
Fixed.moveWidget(Widget widget,
int x,
int y)
Move a widget to a new location. |
void |
Paned.add1(Widget child)
Add a child to the top or left pane with default parameters. |
void |
Paned.add2(Widget child)
Add a child to the bottom or right pane with default parameters. |
void |
Paned.pack1(Widget child,
boolean resize,
boolean shrink)
Adds a child to the top or left pane. |
void |
Paned.pack2(Widget child,
boolean resize,
boolean shrink)
Adds a child to the bottom or right pane. |
void |
ToolBar.appendWidget(Widget widget,
java.lang.String tooltip,
java.lang.String helpText)
Add a widget to the end of the toolbar. |
void |
ToolBar.prependWidget(Widget widget,
java.lang.String tooltip,
java.lang.String helpText)
Add a widget to the beginning of the toolbar. |
void |
ToolBar.insertWidget(Widget widget,
java.lang.String tooltip,
java.lang.String helpText,
int index)
Insert a Widget in the ToolBar at the given position |
void |
Window.setGeometryHints(Widget geometryWidget,
Geometry geometry,
WindowHints geomMask)
This method sets up hints about how a Window can be resized by the user. |
void |
Window.setFocusWidget(Widget focus)
If focus is not the current focus widget and is focusable, set it as the
focus widget for the window. |
void |
Window.setDefaultWidget(Widget defaultWidget)
The default widget is the widget that is activated when the user presses the Enter key. |
void |
Label.setMnemonicWidget(Widget widget)
If the label has been set so that it has an mnemonic key, the label can be associated with a widget that is the target of the mnemonic. |
void |
Notebook.appendPage(Widget child,
Widget tabLabel)
Append a page to the Notebook. |
void |
Notebook.appendPage(Widget child,
Widget tabLabel)
Append a page to the Notebook. |
void |
Notebook.appendPage(Widget child,
Widget tabLabel,
Widget menuLabel)
Append a page to the Notebook. |
void |
Notebook.appendPage(Widget child,
Widget tabLabel,
Widget menuLabel)
Append a page to the Notebook. |
void |
Notebook.appendPage(Widget child,
Widget tabLabel,
Widget menuLabel)
Append a page to the Notebook. |
void |
Notebook.prependPage(Widget child,
Widget tabLabel)
Prepend a page to the Notebook. |
void |
Notebook.prependPage(Widget child,
Widget tabLabel)
Prepend a page to the Notebook. |
void |
Notebook.prependPage(Widget child,
Widget tabLabel,
Widget menuLabel)
Prepend a page to the Notebook. |
void |
Notebook.prependPage(Widget child,
Widget tabLabel,
Widget menuLabel)
Prepend a page to the Notebook. |
void |
Notebook.prependPage(Widget child,
Widget tabLabel,
Widget menuLabel)
Prepend a page to the Notebook. |
void |
Notebook.insertPage(Widget child,
Widget tabLabel,
int position)
Insert a page into the Notebook at the given position. |
void |
Notebook.insertPage(Widget child,
Widget tabLabel,
int position)
Insert a page into the Notebook at the given position. |
void |
Notebook.insertPage(Widget child,
Widget tabLabel,
Widget menuLabel,
int position)
Insert a page into the Notebook at the given position. |
void |
Notebook.insertPage(Widget child,
Widget tabLabel,
Widget menuLabel,
int position)
Insert a page into the Notebook at the given position. |
void |
Notebook.insertPage(Widget child,
Widget tabLabel,
Widget menuLabel,
int position)
Insert a page into the Notebook at the given position. |
int |
Notebook.pageNum(Widget child)
Finds the index of the page which contains the given child. |
void |
Notebook.reorderChild(Widget child,
int position)
Reorders the page containing child , so that it appears in position
position. |
void |
Notebook.setMenuLabel(Widget child,
Widget menuLabel)
Changes the menu label for the page containing child . |
void |
Notebook.setMenuLabel(Widget child,
Widget menuLabel)
Changes the menu label for the page containing child . |
void |
Notebook.setMenuLabel(Widget child,
java.lang.String menuText)
Creates a new label and sets it as the menu label of child . |
void |
Notebook.setTabLabel(Widget child,
Widget tabLabel)
Changes the tab label for child . |
void |
Notebook.setTabLabel(Widget child,
Widget tabLabel)
Changes the tab label for child . |
void |
Notebook.setTabLabel(Widget child,
java.lang.String tabText)
Creates a new label and sets it as the labelf or the page containing child . |
void |
Notebook.setTabLabelPacking(Widget child,
boolean expand,
boolean fill,
PackType packType)
Sets the packing parameters for the tab label of the page containing child . |
void |
Table.attach(Widget child,
int leftAttach,
int rightAttach,
int topAttach,
int bottomAttach,
AttachOptions xOptions,
AttachOptions yOptions,
int xPadding,
int yPadding)
Attaches a child widget to a position in the table |
void |
Table.attach(Widget child,
int leftAttach,
int rightAttach,
int topAttach,
int bottomAttach)
Attaches a child widget to a position in the table. |
void |
ButtonBox.setChildSecondary(Widget child,
boolean isSecondary)
Sets whether child should appear in a secondary group of children. |
void |
Layout.addChild(Widget child,
int x,
int y)
Add a child Widget to this Layout. |
void |
Layout.moveChild(Widget child,
int x,
int y)
Move a child Widget to a new position |
void |
Container.add(Widget widget)
Adds widget to the Container. |
void |
Container.remove(Widget widget)
Remove a Widget from the Container. |
Uses of Widget in org.gnu.gtk.event |
Methods in org.gnu.gtk.event that return Widget | |
Widget |
ContainerEvent.getChild()
Return the child widget associated with this ContainerEvent, or null if no child is involved. |
Methods in org.gnu.gtk.event with parameters of type Widget | |
void |
DragDestinationListener.dragDataReceived(Widget widget,
DragContext context,
int x,
int y,
SelectionData selectionData,
int id,
int time)
|
void |
DragSourceListener.dragDataRequest(Widget widget,
DragContext context,
SelectionData selectionData,
int id,
int time)
A drop has been made. |
Constructors in org.gnu.gtk.event with parameters of type Widget | |
ContainerEvent(java.lang.Object source,
ContainerEvent.Type type,
Widget child)
Construct a ContainerEvent object with a specified child. |
|
Please send any bug reports, comments, or suggestions for the API or documentation to java-gnome-developer@lists.sf.net | ||||||||||
PREV NEXT | FRAMES NO FRAMES |