mirror of
https://github.com/taigrr/wails.git
synced 2026-04-17 04:05:12 -07:00
Get it compiling again!
This commit is contained in:
@@ -116,23 +116,11 @@
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<div class="col-sm-10">
|
||||
<button type="button" onclick="window.scripts.sendEvent()" class="btn btn-primary">Emit
|
||||
<button type="button" onclick="window.scripts.sendEvent()" placholder="testevent" class="btn btn-primary">Emit
|
||||
Event</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
<form>
|
||||
<div class="form-group row">
|
||||
<label for="message" class="col-sm-2 col-form-label">Listening to Event 'oneoffevent'</label>
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<div class="col-sm-10">
|
||||
<div class="col-sm-10">
|
||||
<div id="oneoffeventoutput"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div id="calls">
|
||||
<h1>Calls</h1>
|
||||
|
||||
@@ -51,6 +51,11 @@ func (r *RuntimeTest) Fullscreen() {
|
||||
r.runtime.Window.Fullscreen()
|
||||
}
|
||||
|
||||
// SetTitle will call the SetTitle method
|
||||
func (r *RuntimeTest) SetTitle(title string) {
|
||||
r.runtime.Window.SetTitle(title)
|
||||
}
|
||||
|
||||
// UnFullscreen will call the Runtime.UnFullscreen method
|
||||
func (r *RuntimeTest) UnFullscreen() {
|
||||
r.runtime.Window.UnFullscreen()
|
||||
|
||||
Reference in New Issue
Block a user