*** jcater has quit IRC *** reinhard has joined #gnuenterprise *** dimas has quit IRC *** btami has joined #gnuenterprise good morning all good morning *** yure has joined #gnuenterprise *** kilo has joined #gnuenterprise *** Amorphous has joined #gnuenterprise good morning *** erkki has joined #gnuenterprise hello gnue-designer produces a traceback when saving a new, "empty", form DB000: Traceback (most recent call last): DB000: File "/usr/lib/gnue/designer/base/ToolBar.py", line 123, in OnButtonSelected DB000: self.instance.dispatchEvent(evt) DB000: File "/usr/lib/gnue/common/events/EventController.py", line 107, in dispatchEvent DB000: handler(event) DB000: File "/usr/lib/gnue/designer/base/Instance.py", line 598, in OnSaveAs DB000: self.save() DB000: File "/usr/lib/gnue/designer/base/Instance.py", line 509, in save DB000: if self.preSave(): DB000: File "/usr/lib/gnue/designer/forms/Instance.py", line 321, in preSave DB000: _("Incomplete Form Definition"), wxYES_NO|wxICON_QUESTION ).ShowModal() == wxID_NO: DB000: File "/usr/lib/python2.4/site-packages/wx-2.4-gtk2-unicode/wxPython/cmndlgs.py", line 368, in __init__ DB000: self.this = cmndlgsc.new_wxMessageDialog(*_args,**_kwargs) DB000: TypeError: Type error in argument 1 of new_wxMessageDialog. Expected _wxWindow_p. *** yure_ has joined #gnuenterprise erkki: cahge the first self parameter to None btami: yeah, it worked like that.. now someone will have to do the same with /usr/lib/gnue/designer/forms/Instance.py line 316 done ok, I'll try to find something new then:p :9 you find another the saved form has no requird "block" tag but it's another story... yeah, I noticed that from the code I can live with that:p got a interesting response from forms when I had no elements, only empty block.. "no navigable elements" or something like that.. I suppose that might get changed someday also yep that is known, you might want to put a hidden entry on the page and voilá... *** btami has quit IRC *** kilo has quit IRC *** jamest has joined #gnuenterprise *** kilo has joined #gnuenterprise is there a way to force forms window to be maximized? not from the form itself so it has to be specified through the windows manager somehow? window* it would ok .. if I get more familiar with gnue code, a 'GUI:START:MAXIMIZED' feature would be cool:P bad thing is that the form itself won't adjust layout depending upon form size um yeah, since the form is character based, that would be kinda hard? .. just that in some use cases, a maximized windows would be better, even if the form itself is not centered/maximized for example I'm thinking about creating a pos system with gnue.. the window should start maximized rightaway.. (maybe even should have the window controls disabled:P) *** sjc has joined #gnuenterprise *** kilo has quit IRC *** btami has joined #gnuenterprise *** klasstek has joined #gnuenterprise *** jcater has joined #gnuenterprise *** derek has joined #gnuenterprise would something like http://erkki.itech.ee/gnue/gnue_forms_gui_maximize.patch be considered adding into forms? *** Jave27 has joined #gnuenterprise erkki: it might be of interest to you then that we are heavily aiming at non-character based forms in the near future (we = johannes + reinhard) I think a feature like that would make much sense then reinhard: ok *** derek has quit IRC I might but that in my private repository then for now.. I'm quite sure I'll need something like that in a month or so .. now I'm exploring the option of firing triggers by keyboard events:p might ask a ton of questions about it soon *** derek has joined #gnuenterprise *** dimas has joined #gnuenterprise *** dimas has quit IRC *** dimas_ has joined #gnuenterprise *** dimas_ has quit IRC *** dimas has joined #gnuenterprise *** btami has quit IRC *** yure has quit IRC cu all *** reinhard has quit IRC *** sjc_ has joined #gnuenterprise *** sjc has quit IRC *** sjc_ is now known as sjc is there a easy way to tie keyboard events (gnue KEYPRESS event?) to triggers in forms? was thinking about defining a custom eventaware class in a form's on-start trigger & catching the events from there, but perhaps there's a easier way... *** kilo has joined #gnuenterprise not that I can think of as one time I was interested in passing unused control keys (F1, CTRL-F1, etc) back and having forms search for a trigger to fire on those events but it never got implemented ok, did my idea of catching keyboard events make any sense? are you wanting all keypresses? or just keys to trigger special triggers? basically I want to map certain keys/keysequences to one or more triggers well i think unknown key presses are passed back to forms from the UI so I would think it wouldn't be too painful to just add that functionality to forms itself but it's been too long since i've been in that code bad thing would be that sequences of keys would really complicate things as it's going to take lmnop as input text um yeah, might do without sequences though I think that sequences like gnue has right now would be enough for most cases but ctrl-T i'm pretty sure it gets it just doesn't know what to do with it so that just the alt,ctrl,shift are special keys or something.. so basically I should try to add new filters to forms itself to do what I want? IIRC the key pressed is passed back along with the key modifiers pressed at the time (ctrl, alt, shift) do you need this today? no i can try to look at where forms is at tonight more like this month:p.. I'm just playing around with gnue for a week or so.. before my actual work spec is cleared:p s/this month/ in a month/ as it's either that or work and I'm a bit sick of work atm hahaha time to play?:p something like that :) well, if you'd try to figure something out, I'd be glad, but if not, I'd be glad to play by myself & ask pointers:p i'm pretty rusty but i need to dig back in gotcha uhoh jamest is coming out of gnue retirement i've tried a new times in the past who knows if it'll stick this time *** Jave27 has quit IRC *** jamest has left #gnuenterprise *** klasstek has quit IRC *** derek has quit IRC *** jcater has quit IRC *** kilo has quit IRC *** ajmitch_ has joined #gnuenterprise *** jcater has joined #gnuenterprise *** ajmitch has quit IRC *** ajmitch_ is now known as ajmitch *** sjc has quit IRC *** jamest has joined #gnuenterprise *** jamest has quit IRC *** SachaS has joined #gnuenterprise *** derek has joined #gnuenterprise