|
@@ -530,92 +530,91 @@ public partial class MainWindow
|
530
|
530
|
this.table4.ColumnSpacing = ((uint)(6));
|
531
|
531
|
// Container child table4.Gtk.Table+TableChild
|
532
|
532
|
this.buttonDown = new global::Gtk.Button();
|
533
|
|
- global::Gtk.Tooltips w40 = new Gtk.Tooltips();
|
534
|
|
- w40.SetTip(this.buttonDown, "Move robot backward", "Move robot backward");
|
|
533
|
+ this.buttonDown.TooltipMarkup = "Move robot backward";
|
535
|
534
|
this.buttonDown.CanFocus = true;
|
536
|
535
|
this.buttonDown.Name = "buttonDown";
|
537
|
536
|
this.buttonDown.UseUnderline = true;
|
538
|
|
- global::Gtk.Image w41 = new global::Gtk.Image();
|
539
|
|
- w41.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("monitor.ressources.pan-down-symbolic.symbolic.png");
|
540
|
|
- this.buttonDown.Image = w41;
|
|
537
|
+ global::Gtk.Image w40 = new global::Gtk.Image();
|
|
538
|
+ w40.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("monitor.ressources.pan-down-symbolic.symbolic.png");
|
|
539
|
+ this.buttonDown.Image = w40;
|
541
|
540
|
this.table4.Add(this.buttonDown);
|
542
|
|
- global::Gtk.Table.TableChild w42 = ((global::Gtk.Table.TableChild)(this.table4[this.buttonDown]));
|
543
|
|
- w42.TopAttach = ((uint)(2));
|
544
|
|
- w42.BottomAttach = ((uint)(3));
|
545
|
|
- w42.LeftAttach = ((uint)(1));
|
546
|
|
- w42.RightAttach = ((uint)(2));
|
547
|
|
- w42.XOptions = ((global::Gtk.AttachOptions)(4));
|
548
|
|
- w42.YOptions = ((global::Gtk.AttachOptions)(4));
|
|
541
|
+ global::Gtk.Table.TableChild w41 = ((global::Gtk.Table.TableChild)(this.table4[this.buttonDown]));
|
|
542
|
+ w41.TopAttach = ((uint)(2));
|
|
543
|
+ w41.BottomAttach = ((uint)(3));
|
|
544
|
+ w41.LeftAttach = ((uint)(1));
|
|
545
|
+ w41.RightAttach = ((uint)(2));
|
|
546
|
+ w41.XOptions = ((global::Gtk.AttachOptions)(4));
|
|
547
|
+ w41.YOptions = ((global::Gtk.AttachOptions)(4));
|
549
|
548
|
// Container child table4.Gtk.Table+TableChild
|
550
|
549
|
this.buttonForward = new global::Gtk.Button();
|
551
|
|
- w40.SetTip(this.buttonForward, "Move robot forward", "Move robot forward");
|
|
550
|
+ this.buttonForward.TooltipMarkup = "Move robot forward";
|
552
|
551
|
this.buttonForward.CanFocus = true;
|
553
|
552
|
this.buttonForward.Name = "buttonForward";
|
554
|
553
|
this.buttonForward.UseUnderline = true;
|
555
|
|
- global::Gtk.Image w43 = new global::Gtk.Image();
|
556
|
|
- w43.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("monitor.ressources.pan-up-symbolic.symbolic.png");
|
557
|
|
- this.buttonForward.Image = w43;
|
|
554
|
+ global::Gtk.Image w42 = new global::Gtk.Image();
|
|
555
|
+ w42.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("monitor.ressources.pan-up-symbolic.symbolic.png");
|
|
556
|
+ this.buttonForward.Image = w42;
|
558
|
557
|
this.table4.Add(this.buttonForward);
|
559
|
|
- global::Gtk.Table.TableChild w44 = ((global::Gtk.Table.TableChild)(this.table4[this.buttonForward]));
|
560
|
|
- w44.LeftAttach = ((uint)(1));
|
561
|
|
- w44.RightAttach = ((uint)(2));
|
562
|
|
- w44.XOptions = ((global::Gtk.AttachOptions)(4));
|
563
|
|
- w44.YOptions = ((global::Gtk.AttachOptions)(4));
|
|
558
|
+ global::Gtk.Table.TableChild w43 = ((global::Gtk.Table.TableChild)(this.table4[this.buttonForward]));
|
|
559
|
+ w43.LeftAttach = ((uint)(1));
|
|
560
|
+ w43.RightAttach = ((uint)(2));
|
|
561
|
+ w43.XOptions = ((global::Gtk.AttachOptions)(4));
|
|
562
|
+ w43.YOptions = ((global::Gtk.AttachOptions)(4));
|
564
|
563
|
// Container child table4.Gtk.Table+TableChild
|
565
|
564
|
this.buttonLeft = new global::Gtk.Button();
|
566
|
|
- w40.SetTip(this.buttonLeft, "Turn robot to the left", "Turn robot to the left");
|
|
565
|
+ this.buttonLeft.TooltipMarkup = "Turn robot to the left";
|
567
|
566
|
this.buttonLeft.CanFocus = true;
|
568
|
567
|
this.buttonLeft.Name = "buttonLeft";
|
569
|
568
|
this.buttonLeft.UseUnderline = true;
|
570
|
|
- global::Gtk.Image w45 = new global::Gtk.Image();
|
571
|
|
- w45.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("monitor.ressources.pan-start-symbolic.symbolic.png");
|
572
|
|
- this.buttonLeft.Image = w45;
|
|
569
|
+ global::Gtk.Image w44 = new global::Gtk.Image();
|
|
570
|
+ w44.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("monitor.ressources.pan-start-symbolic.symbolic.png");
|
|
571
|
+ this.buttonLeft.Image = w44;
|
573
|
572
|
this.table4.Add(this.buttonLeft);
|
574
|
|
- global::Gtk.Table.TableChild w46 = ((global::Gtk.Table.TableChild)(this.table4[this.buttonLeft]));
|
575
|
|
- w46.TopAttach = ((uint)(1));
|
576
|
|
- w46.BottomAttach = ((uint)(2));
|
577
|
|
- w46.XOptions = ((global::Gtk.AttachOptions)(4));
|
578
|
|
- w46.YOptions = ((global::Gtk.AttachOptions)(4));
|
|
573
|
+ global::Gtk.Table.TableChild w45 = ((global::Gtk.Table.TableChild)(this.table4[this.buttonLeft]));
|
|
574
|
+ w45.TopAttach = ((uint)(1));
|
|
575
|
+ w45.BottomAttach = ((uint)(2));
|
|
576
|
+ w45.XOptions = ((global::Gtk.AttachOptions)(4));
|
|
577
|
+ w45.YOptions = ((global::Gtk.AttachOptions)(4));
|
579
|
578
|
// Container child table4.Gtk.Table+TableChild
|
580
|
579
|
this.buttonRight = new global::Gtk.Button();
|
581
|
|
- w40.SetTip(this.buttonRight, "Turn robot to the right", "Turn robot to the right");
|
|
580
|
+ this.buttonRight.TooltipMarkup = "Turn robot to the right";
|
582
|
581
|
this.buttonRight.CanFocus = true;
|
583
|
582
|
this.buttonRight.Name = "buttonRight";
|
584
|
583
|
this.buttonRight.UseUnderline = true;
|
585
|
|
- global::Gtk.Image w47 = new global::Gtk.Image();
|
586
|
|
- w47.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("monitor.ressources.pan-end-symbolic.symbolic.png");
|
587
|
|
- this.buttonRight.Image = w47;
|
|
584
|
+ global::Gtk.Image w46 = new global::Gtk.Image();
|
|
585
|
+ w46.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("monitor.ressources.pan-end-symbolic.symbolic.png");
|
|
586
|
+ this.buttonRight.Image = w46;
|
588
|
587
|
this.table4.Add(this.buttonRight);
|
589
|
|
- global::Gtk.Table.TableChild w48 = ((global::Gtk.Table.TableChild)(this.table4[this.buttonRight]));
|
590
|
|
- w48.TopAttach = ((uint)(1));
|
591
|
|
- w48.BottomAttach = ((uint)(2));
|
592
|
|
- w48.LeftAttach = ((uint)(2));
|
593
|
|
- w48.RightAttach = ((uint)(3));
|
594
|
|
- w48.XOptions = ((global::Gtk.AttachOptions)(4));
|
595
|
|
- w48.YOptions = ((global::Gtk.AttachOptions)(4));
|
|
588
|
+ global::Gtk.Table.TableChild w47 = ((global::Gtk.Table.TableChild)(this.table4[this.buttonRight]));
|
|
589
|
+ w47.TopAttach = ((uint)(1));
|
|
590
|
+ w47.BottomAttach = ((uint)(2));
|
|
591
|
+ w47.LeftAttach = ((uint)(2));
|
|
592
|
+ w47.RightAttach = ((uint)(3));
|
|
593
|
+ w47.XOptions = ((global::Gtk.AttachOptions)(4));
|
|
594
|
+ w47.YOptions = ((global::Gtk.AttachOptions)(4));
|
596
|
595
|
// Container child table4.Gtk.Table+TableChild
|
597
|
596
|
this.buttonStop = new global::Gtk.Button();
|
598
|
|
- w40.SetTip(this.buttonStop, "Stop robot movements", "Stop robot movements");
|
|
597
|
+ this.buttonStop.TooltipMarkup = "Stop robot movements";
|
599
|
598
|
this.buttonStop.CanFocus = true;
|
600
|
599
|
this.buttonStop.Name = "buttonStop";
|
601
|
600
|
this.buttonStop.UseUnderline = true;
|
602
|
|
- global::Gtk.Image w49 = new global::Gtk.Image();
|
603
|
|
- w49.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("monitor.ressources.hand-filled-32.png");
|
604
|
|
- this.buttonStop.Image = w49;
|
|
601
|
+ global::Gtk.Image w48 = new global::Gtk.Image();
|
|
602
|
+ w48.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("monitor.ressources.hand-filled-32.png");
|
|
603
|
+ this.buttonStop.Image = w48;
|
605
|
604
|
this.table4.Add(this.buttonStop);
|
606
|
|
- global::Gtk.Table.TableChild w50 = ((global::Gtk.Table.TableChild)(this.table4[this.buttonStop]));
|
607
|
|
- w50.TopAttach = ((uint)(1));
|
608
|
|
- w50.BottomAttach = ((uint)(2));
|
609
|
|
- w50.LeftAttach = ((uint)(1));
|
610
|
|
- w50.RightAttach = ((uint)(2));
|
611
|
|
- w50.XOptions = ((global::Gtk.AttachOptions)(4));
|
612
|
|
- w50.YOptions = ((global::Gtk.AttachOptions)(4));
|
|
605
|
+ global::Gtk.Table.TableChild w49 = ((global::Gtk.Table.TableChild)(this.table4[this.buttonStop]));
|
|
606
|
+ w49.TopAttach = ((uint)(1));
|
|
607
|
+ w49.BottomAttach = ((uint)(2));
|
|
608
|
+ w49.LeftAttach = ((uint)(1));
|
|
609
|
+ w49.RightAttach = ((uint)(2));
|
|
610
|
+ w49.XOptions = ((global::Gtk.AttachOptions)(4));
|
|
611
|
+ w49.YOptions = ((global::Gtk.AttachOptions)(4));
|
613
|
612
|
this.alignment8.Add(this.table4);
|
614
|
613
|
this.vbox9.Add(this.alignment8);
|
615
|
|
- global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.vbox9[this.alignment8]));
|
616
|
|
- w52.Position = 0;
|
617
|
|
- w52.Expand = false;
|
618
|
|
- w52.Fill = false;
|
|
614
|
+ global::Gtk.Box.BoxChild w51 = ((global::Gtk.Box.BoxChild)(this.vbox9[this.alignment8]));
|
|
615
|
+ w51.Position = 0;
|
|
616
|
+ w51.Expand = false;
|
|
617
|
+ w51.Fill = false;
|
619
|
618
|
// Container child vbox9.Gtk.Box+BoxChild
|
620
|
619
|
this.table3 = new global::Gtk.Table(((uint)(1)), ((uint)(2)), false);
|
621
|
620
|
this.table3.Name = "table3";
|
|
@@ -628,10 +627,10 @@ public partial class MainWindow
|
628
|
627
|
this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Battery level:");
|
629
|
628
|
this.label3.Justify = ((global::Gtk.Justification)(1));
|
630
|
629
|
this.table3.Add(this.label3);
|
631
|
|
- global::Gtk.Table.TableChild w53 = ((global::Gtk.Table.TableChild)(this.table3[this.label3]));
|
632
|
|
- w53.YPadding = ((uint)(10));
|
633
|
|
- w53.XOptions = ((global::Gtk.AttachOptions)(4));
|
634
|
|
- w53.YOptions = ((global::Gtk.AttachOptions)(4));
|
|
630
|
+ global::Gtk.Table.TableChild w52 = ((global::Gtk.Table.TableChild)(this.table3[this.label3]));
|
|
631
|
+ w52.YPadding = ((uint)(10));
|
|
632
|
+ w52.XOptions = ((global::Gtk.AttachOptions)(4));
|
|
633
|
+ w52.YOptions = ((global::Gtk.AttachOptions)(4));
|
635
|
634
|
// Container child table3.Gtk.Table+TableChild
|
636
|
635
|
this.labelBatteryLevel = new global::Gtk.Label();
|
637
|
636
|
this.labelBatteryLevel.Name = "labelBatteryLevel";
|
|
@@ -639,49 +638,48 @@ public partial class MainWindow
|
639
|
638
|
this.labelBatteryLevel.Xalign = 0F;
|
640
|
639
|
this.labelBatteryLevel.LabelProp = global::Mono.Unix.Catalog.GetString("Unknown");
|
641
|
640
|
this.table3.Add(this.labelBatteryLevel);
|
642
|
|
- global::Gtk.Table.TableChild w54 = ((global::Gtk.Table.TableChild)(this.table3[this.labelBatteryLevel]));
|
643
|
|
- w54.LeftAttach = ((uint)(1));
|
644
|
|
- w54.RightAttach = ((uint)(2));
|
645
|
|
- w54.YOptions = ((global::Gtk.AttachOptions)(4));
|
|
641
|
+ global::Gtk.Table.TableChild w53 = ((global::Gtk.Table.TableChild)(this.table3[this.labelBatteryLevel]));
|
|
642
|
+ w53.LeftAttach = ((uint)(1));
|
|
643
|
+ w53.RightAttach = ((uint)(2));
|
|
644
|
+ w53.YOptions = ((global::Gtk.AttachOptions)(4));
|
646
|
645
|
this.vbox9.Add(this.table3);
|
647
|
|
- global::Gtk.Box.BoxChild w55 = ((global::Gtk.Box.BoxChild)(this.vbox9[this.table3]));
|
648
|
|
- w55.Position = 2;
|
649
|
|
- w55.Expand = false;
|
650
|
|
- w55.Fill = false;
|
|
646
|
+ global::Gtk.Box.BoxChild w54 = ((global::Gtk.Box.BoxChild)(this.vbox9[this.table3]));
|
|
647
|
+ w54.Position = 2;
|
|
648
|
+ w54.Expand = false;
|
|
649
|
+ w54.Fill = false;
|
651
|
650
|
// Container child vbox9.Gtk.Box+BoxChild
|
652
|
651
|
this.checkButtonGetBattery = new global::Gtk.CheckButton();
|
653
|
652
|
this.checkButtonGetBattery.CanFocus = true;
|
654
|
653
|
this.checkButtonGetBattery.Name = "checkButtonGetBattery";
|
655
|
654
|
this.checkButtonGetBattery.Label = global::Mono.Unix.Catalog.GetString("Get battery level");
|
656
|
|
- this.checkButtonGetBattery.Active = true;
|
657
|
655
|
this.checkButtonGetBattery.DrawIndicator = true;
|
658
|
656
|
this.checkButtonGetBattery.UseUnderline = true;
|
659
|
657
|
this.vbox9.Add(this.checkButtonGetBattery);
|
660
|
|
- global::Gtk.Box.BoxChild w56 = ((global::Gtk.Box.BoxChild)(this.vbox9[this.checkButtonGetBattery]));
|
661
|
|
- w56.Position = 3;
|
662
|
|
- w56.Expand = false;
|
663
|
|
- w56.Fill = false;
|
|
658
|
+ global::Gtk.Box.BoxChild w55 = ((global::Gtk.Box.BoxChild)(this.vbox9[this.checkButtonGetBattery]));
|
|
659
|
+ w55.Position = 3;
|
|
660
|
+ w55.Expand = false;
|
|
661
|
+ w55.Fill = false;
|
664
|
662
|
this.gtkAlignmentRobotControl.Add(this.vbox9);
|
665
|
663
|
this.vbox12.Add(this.gtkAlignmentRobotControl);
|
666
|
|
- global::Gtk.Box.BoxChild w58 = ((global::Gtk.Box.BoxChild)(this.vbox12[this.gtkAlignmentRobotControl]));
|
667
|
|
- w58.Position = 1;
|
|
664
|
+ global::Gtk.Box.BoxChild w57 = ((global::Gtk.Box.BoxChild)(this.vbox12[this.gtkAlignmentRobotControl]));
|
|
665
|
+ w57.Position = 1;
|
668
|
666
|
this.vbox5.Add(this.vbox12);
|
669
|
|
- global::Gtk.Box.BoxChild w59 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.vbox12]));
|
670
|
|
- w59.Position = 4;
|
|
667
|
+ global::Gtk.Box.BoxChild w58 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.vbox12]));
|
|
668
|
+ w58.Position = 4;
|
671
|
669
|
this.alignment3.Add(this.vbox5);
|
672
|
670
|
this.hbox3.Add(this.alignment3);
|
673
|
|
- global::Gtk.Box.BoxChild w61 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.alignment3]));
|
|
671
|
+ global::Gtk.Box.BoxChild w60 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.alignment3]));
|
|
672
|
+ w60.Position = 1;
|
|
673
|
+ w60.Expand = false;
|
|
674
|
+ w60.Fill = false;
|
|
675
|
+ this.hbox1.Add(this.hbox3);
|
|
676
|
+ global::Gtk.Box.BoxChild w61 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.hbox3]));
|
674
|
677
|
w61.Position = 1;
|
675
|
678
|
w61.Expand = false;
|
676
|
679
|
w61.Fill = false;
|
677
|
|
- this.hbox1.Add(this.hbox3);
|
678
|
|
- global::Gtk.Box.BoxChild w62 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.hbox3]));
|
679
|
|
- w62.Position = 1;
|
680
|
|
- w62.Expand = false;
|
681
|
|
- w62.Fill = false;
|
682
|
680
|
this.vbox1.Add(this.hbox1);
|
683
|
|
- global::Gtk.Box.BoxChild w63 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1]));
|
684
|
|
- w63.Position = 1;
|
|
681
|
+ global::Gtk.Box.BoxChild w62 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1]));
|
|
682
|
+ w62.Position = 1;
|
685
|
683
|
this.Add(this.vbox1);
|
686
|
684
|
if ((this.Child != null))
|
687
|
685
|
{
|