Hi,
in an quite old Mail from kou I saw, that GSettings as the gconf
replacement is implemented in Gio. I searched around, but found no
source, doc, examples or anything else. Can someone please point me to
the right direction?
Cheers, detlef
Hi,
in an quite old Mail from kou I saw, that GSettings as the gconf
replacement is implemented in Gio. I searched around, but found no
source, doc, examples or anything else. Can someone please point me to
the right direction?
Cheers, detlef
Hi,
In removed_email_address@domain.invalid
“[ruby-gnome2-devel-en] GSettings implemented?” on Tue, 29 Oct 2013
19:39:13 +0100,
Detlef R. removed_email_address@domain.invalid wrote:
in an quite old Mail from kou I saw, that GSettings as the gconf
replacement is implemented in Gio. I searched around, but found no
source, doc, examples or anything else. Can someone please point me to
the right direction?
Unfortunately, we don’t implement it yet… :<
We should implement Ruby/GIO2 based on
Ruby/GObjectIntrospection. Could someone try it?
If you are interested in the challenge, please go to the
issue:
Use Ruby/GObjectIntrospection for Ruby/GIO2 · Issue #199 · ruby-gnome/ruby-gnome · GitHub
Let’s share details about the challenge in the issue.
kou
Hi,
I try to implement it. Gio::Settings is in great parts working, but for
now only for basic data types. For complex ones I now start to put my
hands on GLib::Variant. But with this I have some Problem direct at the
beginning.
GVariant is an fundamental data type in GLib. So my class definition is
VALUE RG_TARGET_NAMESPACE = G_DEF_CLASS(G_TYPE_VARIANT, "Variant",
mGLib);
but it trows
./variant-test.rb:5:in `new': abstract class (TypeError)
in a test before the call to rg_initialize. In a ruby lib I would use
type_register in the class definition to solve this. But how do I in the
extension? Or is this the complete wrong way?
Btw. I don’t use Introspection, but the classic way.
Cherrs detlef
Am 30.10.2013 13:44, schrieb Kouhei S.:
Hi,
In removed_email_address@domain.invalid
“Re: [ruby-gnome2-devel-en] GSettings implemented?” on Sun, 10 Nov
2013 20:05:53 +0100,
Detlef R. removed_email_address@domain.invalid wrote:
but it trows
./variant-test.rb:5:in `new': abstract class (TypeError)
in a test before the call to rg_initialize. In a ruby lib I would use
type_register in the class definition to solve this. But how do I in the
extension? Or is this the complete wrong way?
Could you show the current your code and test? If we see
them, we may help you.
Btw. I don’t use Introspection, but the classic way.
We start to implement GObject Introspection based GIO:
https://github.com/ruby-gnome2/ruby-gnome2/tree/master/gio2-gi
It may not work for now.
kou
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs