Re: custom widgets - advice on where to start?
- From: Tadej BorovÅak <tadeboro gmail com>
- To: staffan gimaker se
- Cc: gtk-app-devel-list gnome org
- Subject: Re: custom widgets - advice on where to start?
- Date: Thu, 8 Jul 2010 00:52:40 +0200
Hello.
I usually encapsulate my code into custom widgets when:
- I need my widget in lots of places
- I need my construct to emit signals
As long as code is small and relatively clean, I simply use
GtkDrawingArea and draw onto it from ::expose-event handler.
Tadej
--
Tadej BorovÅak
tadeboro.blogspot.com
tadeboro gmail com
tadej borovsak gmail com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]