Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

gs(3erl) [linux man page]

gs(3erl)						     Erlang Module Definition							  gs(3erl)

NAME
gs - The Graphics System for Erlang. DESCRIPTION
Warning: GS is not recommended for use in new applications. Instead we recommend WX for applications that need a graphical user interface. GS is not maintained and we plan to deprecate and remove it from the distribution as soon as possible, maybe already in the next major release (R15). The Graphics System, GS, is easy to learn and designed to be portable to many different platforms. In the description below, the type gsobj() denotes a reference to a graphical object created with GS. Such a reference is either a GS object identifier or the name of the object (an atom), if such a name exists. The functions all return the specified values or {error,Rea- son} if an error occurs. Please refer to the GS User's Guide for a description of the different object types and possible options. EXPORTS
config(GSObj, Options) -> ok Types GSOBj = gsobj() Options = [Option] | Option Option = {Key,Value} Configures a graphical object according to the specified options. create(ObjType, Parent) -> ObjId create(ObjType, Parent, Options) -> ObjId create(ObjType, Name, Parent, Options) -> ObjId Types ObjType = atom() Parent = gsobj() Name = atom() Options = [Option] | Option Option = {Key,Value} Creates a new graphical object of the specified type as a child to the specified parent object. The object is configured according to the options and its identifier is returned. If no options are provided, default option values are used. If a name is provided, this name can be used to reference the object instead of the object identifier. The name is local to the process which creates the object. The following object types exist: window | button | radiobutton | checkbutton | label | frame | entry | listbox | canvas | arc | image | line | oval | polygon | rectangle | text | menubar | menubutton | menu | menuitem | grid | gridline | editor | scale create_tree(Parent, Tree) -> ok Types Parent = gsobj() Tree = [Object] Object = {ObjType,Options} | {ObjType,Options,Tree} | {ObjType,Name,Options,Tree} Creates a hierarchy of graphical objects. destroy(GSObj) -> void() Types GSObj = gsobj() Destroys a graphical object and all its children. ObjType(Parent) ObjType(Parent, Options) ObjType(Name, Parent, Options) These functions are shorthand equivalents of create/2 , create/3 , and create/4 , respectively. read(GSObj, Key) -> Value Types GSObj = gsobj() Key = atom() Value = term() Returns the value of an option key for the specified graphical object. start() -> ObjId Starts GS, unless it is already started, and returns its object identifier. stop() -> void() Stops GS and closes all windows. This function is not the opposite of start/0 as it will cause all applications to lose their GS objects. Ericsson AB gs 1.5.13 gs(3erl)

Check Out this Related Man Page

wxMDIChildFrame(3erl)					     Erlang Module Definition					     wxMDIChildFrame(3erl)

NAME
wxMDIChildFrame - See external documentation: wxMDIChildFrame. DESCRIPTION
See external documentation: wxMDIChildFrame . This class is derived (and can use functions) from: wxFrame wxTopLevelWindow wxWindow wxEvtHandler DATA TYPES
wxMDIChildFrame() : An object reference, The representation is internal and can be changed without notice. It can't be used for comparsion stored on disc or distributed for use on other nodes. EXPORTS
new() -> wxMDIChildFrame() See external documentation . new(Parent::wxMDIParentFrame() (see module wxMDIParentFrame), Id::integer(), Title::string()) -> wxMDIChildFrame() Equivalent to new(Parent, Id, Title, []) . new(Parent::wxMDIParentFrame() (see module wxMDIParentFrame), Id::integer(), Title::string(), Options::[Option]) -> wxMDIChildFrame() Types Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} See external documentation . activate(This::wxMDIChildFrame()) -> ok See external documentation . create(This::wxMDIChildFrame(), Parent::wxMDIParentFrame() (see module wxMDIParentFrame), Id::integer(), Title::string()) -> bool() Equivalent to create(This, Parent, Id, Title, []) . create(This::wxMDIChildFrame(), Parent::wxMDIParentFrame() (see module wxMDIParentFrame), Id::integer(), Title::string(), Options::[Option]) -> bool() Types Option = {pos, {X::integer(), Y::integer()}} | {size, {W::integer(), H::integer()}} | {style, integer()} See external documentation . maximize(This::wxMDIChildFrame()) -> ok Equivalent to maximize(This, []) . maximize(This::wxMDIChildFrame(), Options::[Option]) -> ok Types Option = {maximize, bool()} See external documentation . restore(This::wxMDIChildFrame()) -> ok See external documentation . destroy(This::wxMDIChildFrame()) -> ok Destroys this object, do not use object again AUTHORS
<> wxErlang 0.98.9 wxMDIChildFrame(3erl)
Man Page