#![crate_name = "rgdk"]
#![crate_type = "lib"]
#![crate_type = "rlib"]
#![allow(dead_code)] #![allow(raw_pointer_derive)]
#![feature(unsafe_destructor, rustc_private, libc, hash, collections)]
extern crate libc;
extern crate c_str;
extern crate c_vec;
#[macro_use] extern crate rustc_bitflags;
pub use self::rt::{
init,
get_display_arg_name,
notify_startup_complete,
notify_startup_complete_with_id,
set_allowed_backends,
get_program_class,
set_program_class,
flush,
screen_width,
screen_height,
screen_width_mm,
screen_height_mm,
beep,
error_trap_push,
error_trap_pop,
error_trap_pop_ignored
};
pub use self::events::{
EventType,
Event,
EventAny,
EventExpose,
EventVisibility,
EventMotion,
EventButton,
EventTouch,
EventScroll,
EventKey,
EventCrossing,
EventFocus,
EventConfigure,
EventProperty,
EventSelection,
EventOwnerChange,
EventProximity,
EventSetting,
EventWindowState,
EventGrabBroken,
EventDND,
VisibilityState,
ScrollDirection,
NotifyType,
CrossingMode,
PropertyState,
SettingAction,
OwnerChange
};
pub use self::enums::modifier_intent::ModifierIntent;
pub use self::enums::modifier_type::ModifierType;
pub use self::enums::{
WindowType,
WindowState,
WindowEdge,
WindowHints,
WindowTypeHint,
FullscreenMode,
WMDecoration,
EventMask,
InputSource,
InputMode,
AxisUse,
DeviceType,
GrabOwnership,
GrabStatus,
key,
CursorType,
PixbufAlphaMode,
PixbufError,
ColorSpace,
FrameClockPhase,
WindowWindowClass,
Gravity,
WMFunction,
DragAction,
DragProtocol
};
pub use self::widgets::{
Color,
RGBA,
Device,
Display,
Atom,
Screen,
Rectangle,
Key,
Window,
Visual,
DeviceManager,
Cursor,
Pixbuf,
Point,
DisplayManager,
FrameClock,
FrameTimings,
WindowAttr,
Geometry,
DragContext,
AppLaunchContext
};
mod events;
mod rt;
mod macros;
pub mod enums;
pub mod widgets;
#[doc(hidden)]
pub mod ffi;
#[doc(hidden)]
#[cfg(target_os="macos")]
mod platform {
#[link(name = "gobject-2.0")]
#[link(name = "gdk-3.0")]
extern{}
}
#[doc(hidden)]
#[cfg(target_os="linux")]
mod platform {
#[link(name = "gobject-2.0")]
#[link(name = "gdk-3")]
extern{}
}
#[doc(hidden)]
#[cfg(target_os="windows")]
mod platform {
#[link(name = "gobject-2.0")]
#[link(name = "gdk-3")]
extern{}
}