Doubts about creating a new widget

2010-07-12 Thread CaStarCo
Hello, my name is Andreu and i'm new in this list.

I have a doubt about if I should create a new widget or if there is a widget
that could supply my needs.

I'll describe what I need: I want to make a left column in the window with
flat toggle buttons (with the 100% of the column width) that, when I press
one of the buttons then the buttons that are below than it should go down to
give space to a icon list with a vertical scroll bar.

I need it to sort the elements in a diagram editor that i'm programming.

Thanks in advance :) .

-- 
- Per la llibertat del coneixement -
- Per la llibertat de la ment...   -
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: Doubts about creating a new widget

2010-07-12 Thread Nicola Fontana
Il giorno Mon, 12 Jul 2010 14:19:12 +0200
CaStarCo casta...@gmail.com ha scritto:

 Hello, my name is Andreu and i'm new in this list.
 
 I have a doubt about if I should create a new widget or if there is a widget
 that could supply my needs.
 
 I'll describe what I need: I want to make a left column in the window with
 flat toggle buttons (with the 100% of the column width) that, when I press
 one of the buttons then the buttons that are below than it should go down to
 give space to a icon list with a vertical scroll bar.
 
 I need it to sort the elements in a diagram editor that i'm programming.

From what I understood, I'd use GtkExpander.

-- 
Nicola
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: Doubts about creating a new widget

2010-07-12 Thread CaStarCo
Thanks Nicola :D ,

i haven't found any screenshot of GtkExpander widget, there is any
screenshot in any place?

2010/7/12 Nicola Fontana n...@entidi.it

 Il giorno Mon, 12 Jul 2010 14:19:12 +0200
 CaStarCo casta...@gmail.com ha scritto:

  Hello, my name is Andreu and i'm new in this list.
 
  I have a doubt about if I should create a new widget or if there is a
 widget
  that could supply my needs.
 
  I'll describe what I need: I want to make a left column in the window
 with
  flat toggle buttons (with the 100% of the column width) that, when I
 press
  one of the buttons then the buttons that are below than it should go down
 to
  give space to a icon list with a vertical scroll bar.
 
  I need it to sort the elements in a diagram editor that i'm programming.

 From what I understood, I'd use GtkExpander.

 --
 Nicola




-- 
- Per la llibertat del coneixement -
- Per la llibertat de la ment...   -
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list


RE: Doubts about creating a new widget

2010-07-12 Thread Jeff Hallock
Hmmm…. I able to find one immediately by googling “gtk expander screenshot”. 
Who’d a thought…

You can also always give it a try yourself…


From: gtk-list-boun...@gnome.org [mailto:gtk-list-boun...@gnome.org] On Behalf 
Of CaStarCo
Sent: Monday, July 12, 2010 2:46 PM
To: gtk-list@gnome.org
Subject: Re: Doubts about creating a new widget

Thanks Nicola :D ,

i haven't found any screenshot of GtkExpander widget, there is any screenshot 
in any place?

2010/7/12 Nicola Fontana n...@entidi.itmailto:n...@entidi.it
Il giorno Mon, 12 Jul 2010 14:19:12 +0200
CaStarCo casta...@gmail.commailto:casta...@gmail.com ha scritto:

 Hello, my name is Andreu and i'm new in this list.

 I have a doubt about if I should create a new widget or if there is a widget
 that could supply my needs.

 I'll describe what I need: I want to make a left column in the window with
 flat toggle buttons (with the 100% of the column width) that, when I press
 one of the buttons then the buttons that are below than it should go down to
 give space to a icon list with a vertical scroll bar.

 I need it to sort the elements in a diagram editor that i'm programming.
From what I understood, I'd use GtkExpander.

--
Nicola



--
- Per la llibertat del coneixement -
- Per la llibertat de la ment...   -
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: Doubts about creating a new widget

2010-07-12 Thread CaStarCo
U_U Thanks, i made a bad search before.

2010/7/12 Jeff Hallock jhall...@wbanda.com

  Hmmm…. I able to find one immediately by googling “gtk expander
 screenshot”. Who’d a thought…



 You can also always give it a try yourself…





 *From:* gtk-list-boun...@gnome.org [mailto:gtk-list-boun...@gnome.org] *On
 Behalf Of *CaStarCo
 *Sent:* Monday, July 12, 2010 2:46 PM
 *To:* gtk-list@gnome.org
 *Subject:* Re: Doubts about creating a new widget



 Thanks Nicola :D ,



 i haven't found any screenshot of GtkExpander widget, there is any
 screenshot in any place?



 2010/7/12 Nicola Fontana n...@entidi.it

 Il giorno Mon, 12 Jul 2010 14:19:12 +0200
 CaStarCo casta...@gmail.com ha scritto:


  Hello, my name is Andreu and i'm new in this list.
 
  I have a doubt about if I should create a new widget or if there is a
 widget
  that could supply my needs.
 
  I'll describe what I need: I want to make a left column in the window
 with
  flat toggle buttons (with the 100% of the column width) that, when I
 press
  one of the buttons then the buttons that are below than it should go down
 to
  give space to a icon list with a vertical scroll bar.
 
  I need it to sort the elements in a diagram editor that i'm programming.

 From what I understood, I'd use GtkExpander.

 --
 Nicola




 --
 - Per la llibertat del coneixement -
 - Per la llibertat de la ment...   -




-- 
- Per la llibertat del coneixement -
- Per la llibertat de la ment...   -
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: RE: Doubts about creating a new widget

2010-07-12 Thread american . communist . party

On Jul 12, 2010 11:51am, Jeff Hallock jhall...@wbanda.com wrote:

Hmmm…. I able to find one immediately by googling “gtk expander
screenshot”. Who'da thought…


I monitor this list because I know I'll eventually learn something new, I  
am far from complete in my knowledge of stuff. For giggles I decided to  
take Jeff's advice and google exactly that; gtk expander screen shot,  
since I wasn't exactly sure what an expander was, and found this:


http://www.laas02.org/?page_id=16

Its apparently some intelligent guy's blog, and the page in question is a  
nice little treatise on gtk widgets. Its a little better than the canonical  
documentation, it gives a little more background on each gtk widget, some  
context with code (Mono, but who cares?) and some more detail on each  
option, given that the information isn't already presented earlier on and  
not redundant. Its very brief, but did contain some info new to me. This  
could actually help me picture what I need to do and what I need out of a  
gtk widget in the future. If you need to put a particular scenario in  
context with regard to gtk and the rather dry documentation canon doesn't  
really help, you might give this guy's blog a perusal.
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: RE: Doubts about creating a new widget

2010-07-12 Thread CaStarCo
Yes, it's the web i've found too, it's interesting :) .

Now I have question about GtkExpander, I've searched in the documentation
page: http://library.gnome.org/devel/gtk/stable/GtkExpander.html

http://library.gnome.org/devel/gtk/stable/GtkExpander.htmlHow can I remove
or hide the left icon (a triangle, or, in my case, a little square with a
cross inside) that are in all the GtkExpander widgets?

I can't find it here :p. (I want to put my own label widget with an icon
instead of a simple text label, i know how can i do this, but if i do it
then the square it's unneeded and looks ugly)

Thanks in advance! :)

2010/7/12 american.communist.pa...@gmail.com

 On Jul 12, 2010 11:51am, Jeff Hallock jhall...@wbanda.com wrote:
  Hmmm…. I able to find one immediately by googling “gtk expander
  screenshot”. Who’d a thought…

 I monitor this list because I know I'll eventually learn something new, I
 am far from complete in my knowledge of stuff. For giggles I decided to
 take Jeff's advice and google exactly that; gtk expander screen shot,
 since I wasn't exactly sure what an expander was, and found this:

 http://www.laas02.org/?page_id=16

 Its apparently some intelligent guy's blog, and the page in question is a
 nice little treatise on gtk widgets. Its a little better than the canonical
 documentation, it gives a little more background on each gtk widget, some
 context with code (Mono, but who cares?) and some more detail on each
 option, given that the information isn't already presented earlier on and
 not redundant. Its very brief, but did contain some info new to me. This
 could actually help me picture what I need to do and what I need out of a
 gtk widget in the future. If you need to put a particular scenario in
 context with regard to gtk and the rather dry documentation canon doesn't
 really help, you might give this guy's blog a perusal.
 ___
 gtk-list mailing list
 gtk-list@gnome.org
 http://mail.gnome.org/mailman/listinfo/gtk-list




-- 
- Per la llibertat del coneixement -
- Per la llibertat de la ment...   -
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: RE: Doubts about creating a new widget

2010-07-12 Thread CaStarCo
I'm programming in Vala, and I've wrote this (for testing the class):

  menu_entry2.add_with_properties (new ToggleButton.with_label (JAJAJA),
expander-size, 0);

because (in theory, the expander-size property is the size of the left
triangle..), but in the practice the code is equivalent to:

  menu_entry2.add (new ToggleButton.with_label (JAJAJA));

and the squere is still appearing.

The documentation says that this property is read-only... but.. then, why is
needed, i understant that exists the possibility of set it, anyone knows
how?

Thanks in advance :) .

2010/7/12 CaStarCo casta...@gmail.com

 Yes, it's the web i've found too, it's interesting :) .

 Now I have question about GtkExpander, I've searched in the documentation
 page: http://library.gnome.org/devel/gtk/stable/GtkExpander.html

 http://library.gnome.org/devel/gtk/stable/GtkExpander.htmlHow can I
 remove or hide the left icon (a triangle, or, in my case, a little square
 with a cross inside) that are in all the GtkExpander widgets?

 I can't find it here :p. (I want to put my own label widget with an icon
 instead of a simple text label, i know how can i do this, but if i do it
 then the square it's unneeded and looks ugly)

 Thanks in advance! :)


-- 
- Per la llibertat del coneixement -
- Per la llibertat de la ment...   -
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list