Re: [Java-gnome-developer] Create a custom GTK RoundedFrame in Java Gnome
Brought to you by:
afcowie
|
From: Andrew C. <an...@op...> - 2010-10-29 21:22:04
|
On Fri, 2010-10-29 at 19:53 +0200, bob wrote:
> Good news, I successful create a custom CellRenderer in Vala
Um.
You're probably not going to be able to mix java-gnome code and Vala
code and absolutely not if they use ToggleRefs.
[The GEdit people are going through this right now trying to mix Python
and JavaScript plugins. It won't work; only one (language) can have a
ToggleRef to a GObject {shrug}]
> I create my custom CellRenderer
We had not really gone much further in talking about what you needed.
Last you said you wanted to subclass Bin. Now you're talking about
CellRenderer. Which is it?
At the GTK Hackfest Vreixo and I talked about some possibilities for how
to implement a subclassable Bin. We could also do this technique for
CellRenderer too, though neither of us are hacking on that area right
now.
> the screenshot
>
So back to what you are trying to achieve. In that screenshot all I see
is what looks to me like something you could do in a TreeView with a
CellRendererPixbuf and a CellRendererText. What is it that you needed
custom that we don't have in java-gnome right now? Why not just add 2 ×
CellRenderer to your TreeViewColumn?
> I don't know
> how to link my library with the libgtkjni.so.
You can't. It's not a public library. It has no public symbols, and no
API or ABI. It's not for linking against.
AfC
Granada
|