Displaying 4 results from an estimated 4 matches for "mygui".
Did you mean:
mgui
2010 Sep 23
3
Please add MyGUI and WxWidgets license exception
Please add WxWidgets+MyGui license exceptions so that you keep copyleft a reasonable one.
2009 Feb 05
4
wxRuby - Segmentation fault
...9.10, I''d be happy to run
this and a few other tests. Also, if I should be posting bugs
somewhere else, please let me know.
Here''s a bit of code to reproduce a seg fault:
-----------------------------------------------------------
require ''wx''
include Wx
class MyGui < App
def on_init
frame = Frame.new(nil, -1, ''Seg fault'')
panel = Panel.new(frame, -1)
500.times { Window.new(frame) }
frame.show()
end
end
MyGui.new.main_loop()
-----------------------------------------------------------
If the number is 64 (ins...
2008 Aug 19
1
Open directory within a menu in tcltk
Hello,
I am trying to setup a menu to open files and directories. I have the following code:
opendir<-function() {
dirname<<-tclvalue(tkchooseDirectory())
}
openfile<-function() {
filename<<-tclvalue(tkgetOpenFile())
}
require(tcltk)
t1<-tktoplevel()
topMenu<-tkmenu(t1)
tkconfigure(t1,menu=topMenu)
plotMenu<-tkmenu(topMenu, tearoff=FALSE)
2010 Nov 13
2
Scrolling / wxPanel / wxFlexGridSizer
...g:
...
wxStaticBoxSizer (horizontal, stretch factor 1, expanded vertically)
wxPanel (stretch factor 1, expanded vertically)
...
In the ruby file invoking the interface I have:
require ''wx''
require ''loadgui.rb'' # from xrcise
class MyApp < MyGUI
def on_init
# Sizer holding key value pairs
@settings_sizer = Wx::FlexGridSizer.new(2)
@settings_sizer.add_growable_col(1, 1)
# wxPanel holding the sizer above
@panel = @finder.call( ''ID_SETTINGS'' )
@panel.sizer = @settings_sizer
@labels = {}...