Re: [Gambas-user] Trying to use libmpv, but got Segmentation faults on exit

2015-01-20 Thread Koko
Benoît Minisini wrote: > Le 19/01/2015 08:05, Koko a écrit : >> >> Undesrtood and thank you for explaining that. >> Any hope this would be possible by a user choice in the future? >> >> >> -- >> Antonio >> > > In revision #6842, the GB_X11_INIT_THREADS environment variable can be > defined to "1"

Re: [Gambas-user] Getting the "source string" for a picture

2015-01-20 Thread adamn...@gmail.com
On Wed, 21 Jan 2015 01:59:25 +0100 Benoît Minisini wrote: > Le 21/01/2015 01:26, adamn...@gmail.com a écrit : > > > > Hmmm, bugger! > > > > I know it is in the form configuration file, but that's of little use > > to me in this instance. > > > > I was trying to implement a "Style" property for to

Re: [Gambas-user] Trying to use libmpv, but got Segmentation faults on exit

2015-01-20 Thread Benoît Minisini
Le 19/01/2015 08:05, Koko a écrit : > > Undesrtood and thank you for explaining that. > Any hope this would be possible by a user choice in the future? > > > -- > Antonio > In revision #6842, the GB_X11_INIT_THREADS environment variable can be defined to "1" to enable thread initialization in gui

Re: [Gambas-user] Getting the "source string" for a picture

2015-01-20 Thread Benoît Minisini
Le 21/01/2015 01:26, adamn...@gmail.com a écrit : > > Hmmm, bugger! > > I know it is in the form configuration file, but that's of little use > to me in this instance. > > I was trying to implement a "Style" property for toolbars, i.e. > {Default}, IconOnly, Icon+Text, TextOnly. I can handle the f

Re: [Gambas-user] Issue 595 in gambas: GNU support

2015-01-20 Thread gambas
Updates: Status: Fixed Comment #7 on issue 595 by benoit.m...@gmail.com: GNU support https://code.google.com/p/gambas/issues/detail?id=595 I have merged your patch in revision #6847, except that I defined OS_HURD and OS_GNU for the added test. Next time, please use the mailing-list for

Re: [Gambas-user] Getting the "source string" for a picture

2015-01-20 Thread adamn...@gmail.com
On Tue, 20 Jan 2015 23:24:58 +0100 Tobias Boege wrote: > On Wed, 21 Jan 2015, adamn...@gmail.com wrote: > > I need to get the "source string" for a control's Picture property > > (specifically a ToolButton control). However, the control's Picture > > property returns a picture. > > > > Is ther

Re: [Gambas-user] Use of db.Begin, db.Commit and db.Rollback with a

2015-01-20 Thread T Lee Davidson
Well, looks like I was wrong again. Despite the documentation for DataSource.Update saying, "Reload the DataSource data and update all bound child controls accordingly," it apparently tries to write to the database. The .Cancel method is the one to use to, uh, cancel any current modifications. D

Re: [Gambas-user] Getting the "source string" for a picture

2015-01-20 Thread Tobias Boege
On Wed, 21 Jan 2015, adamn...@gmail.com wrote: > I need to get the "source string" for a control's Picture property > (specifically a ToolButton control). However, the control's Picture property > returns a picture. > > Is there any way of determining what that source string e.g. > "icon:/22/co

[Gambas-user] Getting the "source string" for a picture

2015-01-20 Thread adamn...@gmail.com
I need to get the "source string" for a control's Picture property (specifically a ToolButton control). However, the control's Picture property returns a picture. Is there any way of determining what that source string e.g. "icon:/22/connect.png" or "img/somepic.png" is? tia Bruce -- B Bruen

Re: [Gambas-user] Use of db.Begin, db.Commit and db.Rollback with a datasource and datacontrols

2015-01-20 Thread Lewis Balentine
Nope, you did not mislead me I was already been looking at these methods, but I had only tried the update function on a dataview control where the data was modified by an external program (that works nicely). I believe that I have tried every combination of: DataSource.Cancel, DataSource1

Re: [Gambas-user] Use of db.Begin, db.Commit and db.Rollback with a datasource and datacontrols

2015-01-20 Thread T Lee Davidson
I believe I have mislead you too, Lewis. My apologies. Look at DataSource.Update. Lee __ "Artificial Intelligence is no match for natural stupidity." On 01/20/2015 01:03 PM, Lewis Balentine wrote: > Mr. Speaker, > I request permission to revise and extend my previous remarks ... > > Pl

Re: [Gambas-user] Use of db.Begin, db.Commit and db.Rollback with a

2015-01-20 Thread T Lee Davidson
Martin, I must apologize for slightly misleading you. The .Update method is the more appropriate one to use to reload the data in the event of a canceled edit. The .Update method can be applied to the DataSource and it will update all bound children. And, yes, logically, if you create a record

Re: [Gambas-user] Use of db.Begin, db.Commit and db.Rollback with a datasource and datacontrols

2015-01-20 Thread Lewis Balentine
Mr. Speaker, I request permission to revise and extend my previous remarks ... Please see the attached sample application and data base. I used a SQlite Database but in theory these function should operate the same. I tried five ways to cancel the edits to a set of data controls. via Contr

Re: [Gambas-user] Use of db.Begin, db.Commit and db.Rollback with a

2015-01-20 Thread Martin McGlensey
Lee, Thanks for your response. Yes I'm working with only one record at a time. I'm unclear as to where to use the refresh method. The form is used to input data including name, address , phone and state. There is the possibility that multiple datacontrols may be changed at one time. Must I use

Re: [Gambas-user] Issue 595 in gambas: GNU support

2015-01-20 Thread gambas
Comment #6 on issue 595 by costamag...@gmail.com: GNU support https://code.google.com/p/gambas/issues/detail?id=595 sorry I copy-paster the wrong line... http://www.gnu.org/software/hurd/hurd/porting/guidelines.html tells it to you :) "When using GNU autotools to configure a package config.gue

Re: [Gambas-user] Issue 595 in gambas: GNU support

2015-01-20 Thread gambas
Comment #5 on issue 595 by costamag...@gmail.com: GNU support https://code.google.com/p/gambas/issues/detail?id=595 http://www.gnu.org/software/hurd/hurd/porting/guidelines.html tells it to you :) quoting some parts: "because else -gnu would catch i386-pc-linux-gnu for instance..." since noth

Re: [Gambas-user] Issue 595 in gambas: GNU support

2015-01-20 Thread gambas
Comment #4 on issue 595 by benoit.m...@gmail.com: GNU support https://code.google.com/p/gambas/issues/detail?id=595 No problem, but how can "*-gnu* )" necessarily match GNU/Hurd? -- You received this message because this project is configured to send all issue notifications to this address. Y

Re: [Gambas-user] Issue 596 in gambas: GNU support

2015-01-20 Thread gambas
Comment #2 on issue 596 by costamag...@gmail.com: GNU support https://code.google.com/p/gambas/issues/detail?id=596 Closed because I opened two issues: https://code.google.com/p/gambas/issues/detail?id=595 -- You received this message because this project is configured to send all issue noti

Re: [Gambas-user] Issue 595 in gambas: GNU support

2015-01-20 Thread gambas
Comment #3 on issue 595 by costamag...@gmail.com: GNU support https://code.google.com/p/gambas/issues/detail?id=595 ok this is the patch that makes it build correctly. Index: gambas3/acinclude.m4 === --- gambas3.orig/acinclude.m4