Learn R Programming

traitr (version 0.14)

An interface for creating GUIs modeled in part after traits UI module for python.

Description

An interface for creating GUIs modeled in part after the traits UI module for python. The basic design takes advantage of the model-view-controller design pattern. The interface makes basic dialogs quite easy to produce.

Copy Link

Version

Install

install.packages('traitr')

Monthly Downloads

111

Version

0.14

License

GPL (>= 2)

Maintainer

Last Published

September 1st, 2014

Functions in traitr (0.14)

fileItem

A file selection item
Item

Base Trait for an Item
tableItem

List editor -- list <-> tree, must have special structure to list? XXX This needs writing An item to display a table of data (given as a matrix or data.frame)
get_with_default

Function to return value or an object (or default if value is null, NA or "")
choiceItem

Item for choosing one of several values
stringItem

A string item
itemList

An itemList is used to store a list of similar items or itemgroups with a means to edit individually
Adapter

Trait for Adapter object An adapter is a simple controller connecting one model property with a widget in a view by default the adapter synchronizes changes
aGroup

A box container. Packs in items left to right or top to bottom
traitR-package

An interface for GUI creation using gWidgets
aContext

A container to give a different context than the default for a set of items
Container

Base Trait for Container objects. Containers are used to make views.
expressionItem

Item for typing in R expressions. These are eval-parsed in .GlobalEnv prior to return
dataframeItem

Item to select a data frame from the available data frames in .GlobalEnv
View

Trait for View objects.
variableSelectorItem

Item to select a variable (or variables) from a selected data frame
Dialog

A Dialog wraps a top-level window around a collection of items which may be item groups
imageItem

Display an image specified by its filename.
aController

Constructor for a Controller proto objects
ItemGroup

Base Trait to group items together to form a model. ItemGroups may be viewed as a model, view and controller bundled together in a tidy package.
buttonItem

Button item to initiate an action
aContainer

A container to give a different context than the default for a set of items
Controller

Trait for Controller objects
BooleanEditor

Trait for Editor for TRUE/FALSE selection
labelItem

Simple label item
aFrame

Box container with label and visual separator to indicate grouping
Editor

Base Trait for Editor.
anItemGroup

Constructor for ItemGroup instances
aTableLayout

A container for tabular layout
dfEditItem

data frame editor item. Needs writing
anExpandGroup

Expanding group. Has trigger to show/hide its children
ItemListEditor

trait for editor for itemList
aView

Constructor for a View proto object
formulaItem

A formula Item
integerItem

Item for integers
BaseTrait

Base Trait to place common properties and methods
aNotebook

A notebook container.
dialogMaker

Automatically create a dialog for a function
separatorItem

Visual separator item
aDialog

Create a Dialog instance
wrap_in_tag

write values in paired tags with optional class
aModel

Constructor for a Model proto objects
graphicDeviceItem

A graphic device item. (Only with RGtk2 and cairoDevice!)
numericItem

Item for numbers
Model

Trait for a model object.
dateItem

A calendar date selection item
trueFalseItem

Item for Boolean values
aNotebookPage

A page in a notebook
aPanedGroup

A two panel paned group container.
rangeItem

A range selection item