#linuxcnc-devel | Logs for 2016-10-02

Back
[11:36:26] <seb_kuzminsky> andypugh's lathe is looking awesome
[11:36:35] <seb_kuzminsky> ... someone should make a showcase out of it
[11:56:30] <andypugh> If I have a GtkDialog object with a GtkEntry textbox, how do I refer to the GtkEntry (entry1)
[11:56:47] <seb_kuzminsky> hi andypugh, the holbrook looks good!
[11:56:54] <andypugh> In Visual Basic it is easy, it is Dialog1.entry1
[11:57:12] <andypugh> Yes, I am rather plaeased with how it turned out
[11:57:23] <cradek> uh-oh, now I'm out of my league helping tero
[11:57:32] <seb_kuzminsky> i dont know much about gtk...
[11:57:35] <andypugh> Do you actually have to use the builde objectt o find every object?
[11:59:36] <seb_kuzminsky> that's how i've always done it
[12:00:25] <andypugh> Seems unwieldy…
[12:00:26] <andypugh> self.builder.get_object('entry1').set_text(self.builder.get_object('entry2').get_text())
[12:01:15] <andypugh> (In VBA that would be dialog1.entry1.text = dialo1.entry2.text )
[12:05:08] <seb_kuzminsky> andypugh: some random sentient being on the internet says to call gtk_container_get_children() on your dialog
[12:06:12] <seb_kuzminsky> cradek: he's running into the same kind of problem we all run into when working in the guts :-/
[12:06:15] <andypugh> That seems no different to using the builder?
[12:07:49] <seb_kuzminsky> i dont know what a builder is so i think i'll back away from this conversation ;-)
[12:13:27] <andypugh> seb_kuzminsky: thought you were saying that you always use a builder object? So when you say “That is how Ihave always done it” what did you mean?
[13:42:37] <seb_kuzminsky> andypugh: maybe i dont know what "builder object" means
[13:43:05] <seb_kuzminsky> the few times i've written gtk programs and i've wanted to use a widget later in my program, i've kept track of it "by hand" rather than accessing it through the gtk object hierarchy
[13:43:32] <andypugh> Ah, right. Not so easy when using Glade
[14:06:04] <jepler> seb_kuzminsky: I think it did get showcased already
[14:06:47] <jepler> http://linuxcnc.org/showcase/2016-07-13-holbrook-cnc-conversion.html
[14:14:37] <kirk_wallace> Maybe?
[14:14:38] <kirk_wallace> # glade setup
[14:14:38] <kirk_wallace> gladefile = os.path.join(GLADE_DIR, 'my_ui.glade')
[14:14:38] <kirk_wallace> self.builder = gtk.Builder()
[14:14:38] <kirk_wallace> self.builder.add_from_file(gladefile)
[14:14:38] <kirk_wallace> self.builder.connect_signals(self)
[14:14:38] <kirk_wallace> entry1 = self.builder.get_object('entry1')
[14:14:38] <kirk_wallace> entry2 = self.builder.get_object('entry2')
[14:14:39] <kirk_wallace> entry_text = entry2.get_text()
[14:14:39] <kirk_wallace> entry1.set_text(entry_text)
[14:15:54] <kirk_wallace> Then reuse entry1 and entry2 as needed.
[14:46:45] <andypugh> kirk_wallace: That is what I ended up doing.
[17:10:18] <KGB-linuxcnc> 03Robert W. Ellenberg 05feature/nominal-vel-during-sync cf8975b 06linuxcnc 10src/emc/nml_intf/interpl.hh Add a missing forward declaration * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=cf8975b
[17:10:18] <KGB-linuxcnc> 03Robert W. Ellenberg 05feature/nominal-vel-during-sync 22dd83c 06linuxcnc 10src/emc/task/emccanon.cc Minor whitespace cleanup in canon * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=22dd83c
[17:10:18] <KGB-linuxcnc> 03Robert W. Ellenberg 05feature/nominal-vel-during-sync bd15cb9 06linuxcnc 10src/emc/task/emccanon.cc Replace unit conversion macro with a function * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=bd15cb9
[17:10:21] <KGB-linuxcnc> 03Robert W. Ellenberg 05feature/nominal-vel-during-sync 2c39776 06linuxcnc 10src/emc/task/emccanon.cc Enable smarter blending in spindle-synchronized motion. * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=2c39776
[17:10:25] <KGB-linuxcnc> 03Robert W. Ellenberg 05feature/nominal-vel-during-sync b530606 06linuxcnc 10src/emc/tp/tp.c 03tests/trajectory-planner/circular-arcs/nc_files/spindle/g33_blend.ngc 03tests/trajectory-planner/circular-arcs/nc_files/spindle/g95_blend.ngc tp: disallow blending when entering position-synch mode * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=b530606
[17:10:30] <KGB-linuxcnc> 03Robert W. Ellenberg 05feature/nominal-vel-during-sync e98d853 06linuxcnc 10src/emc/tp/tp.c Limit max feed scale in blends with position-synch motion to reduce blend arc size * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=e98d853
[17:10:34] <KGB-linuxcnc> 03Robert W. Ellenberg 05feature/nominal-vel-during-sync 6dba3a0 06linuxcnc 10src/emc/task/emccanon.cc Automatically limit spindle speed in spindle-sync motion. * 14http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=6dba3a0
[17:24:48] <linuxcnc-build> build #4536 of 1201.rip-lucid-rtai-i386 is complete: Failure [4failed compile] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/1201.rip-lucid-rtai-i386/builds/4536 blamelist: Robert W. Ellenberg <rwe24g@gmail.com>
[17:25:11] <linuxcnc-build> build #3735 of 1301.rip-precise-rtai-i386 is complete: Failure [4failed compile] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/1301.rip-precise-rtai-i386/builds/3735 blamelist: Robert W. Ellenberg <rwe24g@gmail.com>
[17:26:23] <linuxcnc-build> build #2350 of 1401.rip-wheezy-rtai-i386 is complete: Failure [4failed compile] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/1401.rip-wheezy-rtai-i386/builds/2350 blamelist: Robert W. Ellenberg <rwe24g@gmail.com>
[17:30:40] -linuxcnc-github:#linuxcnc-devel- [13linuxcnc] 15robEllenberg opened issue #167: Warn users that spindle is too fast in G33 / G95 02https://github.com/LinuxCNC/linuxcnc/issues/167
[17:31:42] <linuxcnc-build> build #1677 of 1902.clang-wheezy-rtai-i386 is complete: Failure [4failed compile] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/1902.clang-wheezy-rtai-i386/builds/1677 blamelist: Robert W. Ellenberg <rwe24g@gmail.com>
[17:35:00] -linuxcnc-github:#linuxcnc-devel- [13linuxcnc] 15robEllenberg commented on issue #167: I have a fix in progress here:... 02https://github.com/LinuxCNC/linuxcnc/issues/167#issuecomment-250999411
[18:12:40] <linuxcnc-build> build #4540 of 0000.checkin is complete: Failure [4failed] Build details are at http://buildbot.linuxcnc.org/buildbot/builders/0000.checkin/builds/4540 blamelist: Robert W. Ellenberg <rwe24g@gmail.com>