GXml.Event – GXml-0.20 – Vala Binding Reference

GXml.Event – GXml-0.20 Reference Manual

# Event

## Object Hierarchy:

## Description:

public class Event : Object, DomEvent

DOM4 An event handler, powered by libxml2 library.

All known sub-classes:

- CustomEvent

Namespace: GXml
Package: GXml-0.20

## Content:

### Properties:

- public bool bubbles { get; }
- public bool cancelable { get; }
- public DomEventTarget? current_target { get; }
- public bool default_prevented { get; }
- public string etype { get; }
- public Phase event_phase { get; }
- public DomEventTarget? event_target { get; }
- public bool is_trusted { get; }
- public DomTimeStamp time_stamp { get; }

### Creation methods:

- public Event ()

### Methods:

- public void init_event (string type, bool bubbles, bool cancelable)
- public void prevent_default ()
- public void stop_immediate_propagation ()
- public void stop_propagation ()

### Fields:

- protected bool _bubbles
- protected bool _cancelable
- protected DomEventTarget _current_target
- protected bool _default_prevented
- protected string _etype
- protected Phase _event_phase
- protected DomEventTarget _event_target
- protected Flags _flags
- protected bool _is_trusted
- protected DomTimeStamp _time_stamp

### Inherited Members:

All known members inherited from class GLib.Object

- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data

- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer

- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref

All known members inherited from interface GXml.DomEvent

- bubbles
- cancelable
- current_target
- default_prevented
- etype

- event_phase
- event_target
- init_event
- is_trusted

- prevent_default
- stop_immediate_propagation
- stop_propagation
- time_stamp