当我在Calc的Libre office中编辑一个单元格时,它不会清除旧的文本,所以所有旧的字母都保留在原处,直到我单击或按回车。
一幅画讲述了千言万语:
📷
我不确定这是否是因为我一直在处理图形驱动程序,并将内核更新为4.6,并使用相同的结果尝试了新版本的libreoffice。有什么想法吗?
uname -a
Linux A 4.6.0-040600-generic #201606100558 SMP Fri Jun 10 10:01:15 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Ubuntu 16.04.1 LTS
apt show libreo
我想在不使用MSYS2和Visual Studio的情况下用GTK+3编译一段代码。我得到了“未定义的引用” 首先,在官方页面上尝试了这个教程:https://www.gtk.org/download/windows.php,但是使用MSYS2很混乱;另外,我既不想要像linux这样的环境,也不想要像unix那样的环境( Visual Studio少很多)。 我下载了版本2的"all in one bundle“,设置了环境变量和其他所有东西。一切都很好,代码编译好了!(来自版本2的代码)。然后我尝试切换到版本3,从http://www.tarnyko.net/dl/gtk.htm下
我有一个应用程序,我可以在X11显示器之间移动,但当我在一个显示器上,而不是我开始的时候,试图打开弹出菜单会导致崩溃。菜单上的菜单工作得很好,只是弹出窗口不起作用。
(popuptest.pl:17147): Gdk-ERROR **: The program 'popuptest.pl' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
(D
我有这样的代码:
#! /usr/bin/perl -w
use strict;
use warnings;
use Gtk3 '-init';
my $error_window = Gtk3::Window->new('toplevel');
my $er_label = Gtk3::Label->new('NOPE');
$error_window->add($er_label);
$er_label->show();
$error_window->set_size_request(800,300);
$erro
我正在运行Ubuntu16和python2和Python3。我已经下载了wxpython,它可以与python2解释器一起工作,但不能与3一起工作。
Python 2.7.12 (default, Nov 19 2016, 06:48:10)
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import wx
>>>
和
Pyth
我尝试从源代码编译glib。但是一个I/O错误阻止了我。
make[2]: Entering directory `/usr/src/gtk3/glib-2.36.0/docs'
Making all in reference
make[3]: Entering directory `/usr/src/gtk3/glib-2.36.0/docs/reference'
Making all in glib
make[4]: Entering directory `/usr/src/gtk3/glib-2.36.0/docs/reference/glib'
GEN
我试图在一个PLplot应用程序中显示一个由PDL生成的图形(使用Gtk3 )。当我尝试以下代码时,我发现了两个问题:
$pdlImg不是GdkPixbuf,所以new_from_pixbuf()不能工作。
$pdlImg似乎是空的,因为错误消息将10x10x3数组打印为字符串,它们都是零。
代码:
#!/usr/bin/perl -w
use strict;
use PDL;
use PDL::Graphics::PLplot;
use Gtk3 -init;
my $pdlImg = zeroes(byte, 10, 10, 3);
my $pl = PDL::Grap