Re: Building a GUI-Application
- From: John Cupitt <jcupitt gmail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Building a GUI-Application
- Date: Wed, 19 Oct 2005 09:12:17 +0100
Good advice with the GtkFixed.
I would use a GtkLabel for the PDUs. You can't set the background
colour of a label directly, since it does not have it's own window.
Instead, put the label inside a GtkEventBox and set the background
colour of the event box. The event box will also make it easy to
detect mouse enter / exit events.
There's a section in the FAQ about label colour:
http://gtk.org/faq/#AEN815
You set a name for the widget (like "error_label", or "ok_label"),
then you have a style file which says how labels of each name should
be drawn.
On 10/19/05, Deekshit Mantampady <dmantamp gmail com> wrote:
You can fixed layout (GtkFixed).
For objects if you have a very few colors, You can use pixmap (.xpm) files.
On 10/19/05, Kranz, Willi <kranz rheinmetall-de com> wrote:
What are the best GTK-Objects for the PDUs?
How can I place the Objects on any position?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]