All Projects → haxeui → haxeui-hxwidgets

haxeui / haxeui-hxwidgets

Licence: MIT license
The hxWidgets backend of the HaxeUI framework -

Programming Languages

haxe
709 projects
CSS
56736 projects

Projects that are alternatives of or similar to haxeui-hxwidgets

wxWidgetsTemplate
A template project for wxWidgets C++, with pre-set files and IDE projects, and allows for easy updates to wxWidgets
Stars: ✭ 13 (-35%)
Mutual labels:  native, wxwidgets
fabric-samples-nodocker
🌱 Deploy fabric-samples without docker. Currently support v1.4.x & 2.0.x .
Stars: ✭ 35 (+75%)
Mutual labels:  native
react-native-uuid-generator
UUID generator for React Native utilizing native iOS and Android UUID classes
Stars: ✭ 88 (+340%)
Mutual labels:  native
ESP32-CAM-MJPEG-Stream-Decoder-and-Control-Library
The library is MJPEG stream decoder based on libcurl and OpenCV, and written in C/C++.
Stars: ✭ 40 (+100%)
Mutual labels:  wxwidgets
regln
Windows Rregistry Linking Utility
Stars: ✭ 38 (+90%)
Mutual labels:  native
titanium-speech
Use the iOS 10 SFSpeechRecognizer API in JavaScript with Appcelerator Hyperloop.
Stars: ✭ 21 (+5%)
Mutual labels:  native
production-ready-react-native
React Native Currency Converter App built for Production Ready React Native
Stars: ✭ 44 (+120%)
Mutual labels:  native
scala-native-starter
A starter for scala-native.
Stars: ✭ 27 (+35%)
Mutual labels:  native
react-native-screen-keyboard
On-screen keyboard with customisable keys and tactile / UI feedback 📱
Stars: ✭ 22 (+10%)
Mutual labels:  native
app-monorepo
Secure, open source and community driven crypto wallet runs on all platforms and trusted by millions.
Stars: ✭ 1,282 (+6310%)
Mutual labels:  native
MarkdownView
Native markdown rendering on top of Xamarin.Forms & Markdig.
Stars: ✭ 126 (+530%)
Mutual labels:  native
react-native-simple-download-manager
A react native module to schedule downloads on native download manager
Stars: ✭ 35 (+75%)
Mutual labels:  native
node-webrtc
🔌 WebRTC bindings for Node, written according to the W3C specification.
Stars: ✭ 23 (+15%)
Mutual labels:  native
titanium-calendar
An easy to use iOS modal calendar for selecting dates. Based on the awesome PDTSimpleCalendar library.
Stars: ✭ 15 (-25%)
Mutual labels:  native
kafka-consumer-lag-monitoring
Client tool that exports the consumer lag of Kafka consumer groups to Prometheus or your terminal
Stars: ✭ 45 (+125%)
Mutual labels:  native
sqlite3
The fastest and correct module for SQLite3 in Deno.
Stars: ✭ 143 (+615%)
Mutual labels:  native
wombag
Wombag is the alternative, lightweight backend for your Wallabag apps. Wombag supports the Wallabag API.
Stars: ✭ 42 (+110%)
Mutual labels:  native
wallet
DeFiChain Wallet. The DeFi Blockchain Light Wallet for iOS, Android & Web. + Desktop Coming Soon
Stars: ✭ 112 (+460%)
Mutual labels:  native
microui-odin
A tiny immediate-mode UI library for The Odin Programming Language
Stars: ✭ 24 (+20%)
Mutual labels:  native
abifestival-app
Cross-platform festival-app built with the Appcelerator Titanium framework
Stars: ✭ 16 (-20%)
Mutual labels:  native

build status build status build status

haxeui-hxwidgets

haxeui-hxwidgets is the wxWidgets backend for HaxeUI.

Installation

  • haxeui-hxwidgets requires at least Haxe 3.4.0.
  • haxeui-hxwidgets has a dependency to haxeui-core, and so that too must be installed.
  • haxeui-hxwidgets also has a dependency to hxWidgets (the wxWidgets Haxe externs), please refer to the installation instructions on their site.
  • You will also need a copy of the wxWidgets libraries which can be obtained here. The easiest way to install and setup the libraries is to follow the instructions here.

Installation of the haxeui can be performed by using haxelib, you will need a the haxeui-core haxelib as well as the haxeui-hxwidgets backend:

haxelib install haxeui-core
haxelib install haxeui-hxwidgets

Usage

The simplest method to create a new hxWidgets application that is HaxeUI ready is to use the CLI to create a skeleton project:

haxelib run haxeui-core create hxwidgets

If however you already have an existing application, then incorporating HaxeUI into that application is straightforward:

haxelibs

As well as the haxeui-core and haxeui-hxwidgets haxelibs, you must also include (in either the IDE or your .hxml) the haxelib hxWidgets.

Toolkit initialisation and usage

The hxWidgets application itself must be initialised and an event loop started. This can be done by using code similar to:

static function main() {
	var app = new App();
    app.init();
    
    var frame:Frame = new Frame(null, "My App");
    frame.resize(800, 600);

    frame.show();
    app.run();
    app.exit();
}

Initialising the toolkit requires you to add these lines somewhere before you start to actually use HaxeUI in your application and after the hxWidgets frame has been created:

Toolkit.init({
	frame: frame      // the frame on which 'Screen' will place components
});

Once the toolkit is initialised you can add components using the methods specified here.

hxWidgets specifics

Components in haxeui-hxwidgets expose a special window property that allows you to access the hxWidgets Window, this could then be used in other UIs that arent using HaxeUI components.

Initialisation options

The configuration options that may be passed to Tookit.init() are as follows:

Toolkit.init({
	frame: frame      // the frame on which 'Screen' will place components
});

Addtional resources

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].