Re: [gtkmm] Q: How to layout objects on a Notebook page
- From: "Luis M" <lemsx1 hotmail com>
- To: N7DR arrisi com
- Cc: gtkmm-list gnome org
- Subject: Re: [gtkmm] Q: How to layout objects on a Notebook page
- Date: Mon, 13 Oct 2003 21:59:36 -0400
cut text to make the list smaller :-)
I have a very simple usage question. After spending several hours trying
various things,
<snip>
I have a Notebook, and on the first page I want to place a label and a
combo, so that they more or less look like this:
This is the label: [this is
the combo]
<snip>
You should really give glade-2 a try. It will show you a graphical way to
lay out your window and the widgets inside it, and then you can ask glade to
generate code for you c/c++ etc... that way you can get an example of how to
do things.
However, to help you a bit, you will need to put a frame inside a window and
then inside that frame, you could put to HBox'es. In the left HBox you could
put a label "this is the label" and in the right one you can put whatever
you want. Containers like [H|V]Box and Frame, paned, and others, can contain
whatever other widgets you want (thus the name "containers"). However, this
is understood better when using Glade -- at least for the first few times
you create a GUI.
Hope that helps...
----)(-----
Luis Mondesi
System Administrator
LatinoMixed.com
lemsx1 hotmail com
"...The Mac does this so smoothly, it feels like an extension of your mind."
- Paula Speer, MacWorld Magazine 2003-04
Public signature: http://www.latinomixed.com/lems1/public-a.asc
_________________________________________________________________
MSN Search, le moteur de recherche qui pense comme vous !
http://search.msn.fr/worldwide.asp
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]