Re: [Vala] How to use Gtk.Builder in our custum widgets?

2011-07-03 Thread Daniel Svensson
On Sun, Jul 3, 2011 at 11:49 AM, Daniel Svensson wrote: > On Sat, Jul 2, 2011 at 3:57 PM, Sepehr Aryani wrote: >> does not work well for me. Besides I need to pass Gtk.builder reference to >> MyWindow to be able to handle the ui inside my custom window class. In C++ >> we could do this using ge

Re: [Vala] How to use Gtk.Builder in our custum widgets?

2011-07-03 Thread Daniel Svensson
On Sat, Jul 2, 2011 at 3:57 PM, Sepehr Aryani wrote: > I've created a UI in glade and I want to use it inside my vala app. I need to > derive my own Gtk.Window and customize it but the problem is that I don't > know how to relate UI to my custom Window class. > > class MyWindow : Gtk.Window{ >  

[Vala] How to use Gtk.Builder in our custum widgets?

2011-07-02 Thread Sepehr Aryani
I've created a UI in glade and I want to use it inside my vala app. I need to derive my own Gtk.Window and customize it but the problem is that I don't know how to relate UI to my custom Window class. class MyWindow : Gtk.Window{ public Window(){ } } public static int main(string[] args