hi, 

I still don't have my widget, but I don't get the msg error anymore
after adding : 

circular_button_new () 

circularbutton.cpp : http://pastebin.com/VhCrE0SV [4] 

circularbutton.h : http://pastebin.com/abWHxFKY [5] 

still looking for help 

regards, 

Nicolas J> 

On 2016-04-01 13:27, [email protected] wrote: 

> Hi, 
> 
> I started to write my custom widget, but how can I use it with ui file ? I 
> try to basically adding it : 
> 
> <child>
> <object class="CircularButton" id="your mama!">
> </object>
> </child> 
> 
> when I start my application, I got : 
> 
> Invalid object type 'CircularButton' 
> 
> you can found the code of the widget here (it stills wip, any comment about 
> is welcomed): 
> 
> circularbutton.cpp : http://pastebin.com/gxT72nVV [1] 
> 
> circularbutton.h : http://pastebin.com/m6TxN5fM [2] 
> 
> no idea how to figure if the problem comes from my implementation or if I 
> have to set something somewehere to make the ui happy... 
> 
> regards, 
> 
> Nicolas J. 
> 
> _______________________________________________
> gtk-list mailing list
> [email protected]
> https://mail.gnome.org/mailman/listinfo/gtk-list [3]

 

Links:
------
[1] http://pastebin.com/gxT72nVV
[2] http://pastebin.com/m6TxN5fM
[3] https://mail.gnome.org/mailman/listinfo/gtk-list
[4] http://pastebin.com/VhCrE0SV
[5] http://pastebin.com/abWHxFKY
_______________________________________________
gtk-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to