5.4 Attributes

5.4.1 Routines

5.4.1.1 store_attribute

include attributes.e
public procedure store_attribute(Ihandle ih, sequence name, object value,
        sequence data = {})

Store an attribute

Parameters:
  • ih - Widget handle
  • name - Attribute to set
  • value - Value of attribute
  • data - Optional data for sprintf() format of value
Notes:

Varies from IupStoreAttribute in that it can accept sprintf() type formatting via the value and data parameters.

5.4.1.2 set_attribute

include attributes.e
public procedure set_attribute(Ihandle ih, sequence name, atom pValue)

5.4.1.3 setf_attribute

include attributes.e
public procedure setf_attribute(Ihandle ih, sequence attribute,
        sequence data = {})

For naming only, please use store_attribute instead

5.4.1.4 set_attributes

include attributes.e
public procedure set_attributes(Ihandle ih, sequence attributes,
        sequence data = {})

Set many attributes for a given widget

Parameters:
  • ih - Widget handle
  • attributes - Attributes to set
  • data - Optional data to format attributes via sprintf() if needed.
Notes:

Varies from IupStoreAttribute in that it can accept sprintf() type formatting via the value and data parameters.

5.4.1.5 reset_attribute

include attributes.e
public procedure reset_attribute(Ihandle ih, sequence name)

5.4.1.6 set_att

include attributes.e
public function set_att(sequence handleName, Ihandle ih, sequence values)

5.4.1.7 set_attribute_handle

include attributes.e
public procedure set_attribute_handle(Ihandle ih, sequence name,
        Ihandle ih_named)

5.4.1.8 get_attribute

include attributes.e
public function get_attribute(Ihandle ih, sequence name)

5.4.1.9 get_all_attributes

include attributes.e
public function get_all_attributes(Ihandle ih, integer max_n = 128)

5.4.1.10 get_attribute_handle

include attributes.e
public function get_attribute_handle(Ihandle ih, sequence name)

5.4.1.11 get_attributes

include attributes.e
public function get_attributes(Ihandle ih)

5.4.1.12 get_float

include attributes.e
public function get_float(Ihandle ih, sequence name)

5.4.1.13 get_int

include attributes.e
public function get_int(Ihandle ih, sequence name)

5.4.1.14 store_global

include attributes.e
public procedure store_global(sequence name, object value)

5.4.1.15 set_global

include attributes.e
public procedure set_global(sequence name, atom pValue)

5.4.1.16 get_global

include attributes.e
public function get_global(sequence name)

About EuIup

EuIUP is an easy to use sizer based GUI toolkit boasting native widgets on Windows and Linux (OSX in alpha). Additionally native canvas, OpenGL canvas, advanced image manipulation and multi-touch device support.

Contacts