GTK+ finally has been branched for the next release cycle, which means
that features can be added. So it seems to be a good time to descibe the
extended layout patches I've created during this Summer of Code:
* http://live.gnome.org/MathiasHasselmann/NewLayoutManager
*
Hi Mathias,
Le mardi 20 novembre 2007, à 13:23 +0100, Mathias Hasselmann a écrit :
The solution to this problem is simple: Interpret the result of the
size-request signal as absolutely minimum size and introduce a new
function for expressing the natural size of a widget.
Obviously something I
Am Dienstag, den 20.11.2007, 14:10 +0100 schrieb Vincent Untz:
Hi Mathias,
Le mardi 20 novembre 2007, à 13:23 +0100, Mathias Hasselmann a écrit :
The solution to this problem is simple: Interpret the result of the
size-request signal as absolutely minimum size and introduce a new
Le mardi 20 novembre 2007, à 08:45 -0500, Owen Taylor a écrit :
On Tue, 2007-11-20 at 14:10 +0100, Vincent Untz wrote:
Hi Mathias,
Le mardi 20 novembre 2007, à 13:23 +0100, Mathias Hasselmann a écrit :
The solution to this problem is simple: Interpret the result of the
size-request
Le mardi 20 novembre 2007, à 14:32 +0100, Mathias Hasselmann a écrit :
Am Dienstag, den 20.11.2007, 14:10 +0100 schrieb Vincent Untz:
Hi Mathias,
Le mardi 20 novembre 2007, à 13:23 +0100, Mathias Hasselmann a écrit :
The solution to this problem is simple: Interpret the result of the
On Tue, 2007-11-20 at 14:10 +0100, Vincent Untz wrote:
Hi Mathias,
Le mardi 20 novembre 2007, à 13:23 +0100, Mathias Hasselmann a écrit :
The solution to this problem is simple: Interpret the result of the
size-request signal as absolutely minimum size and introduce a new
function for
Am Dienstag, den 20.11.2007, 14:49 +0100 schrieb Vincent Untz:
Le mardi 20 novembre 2007, à 14:32 +0100, Mathias Hasselmann a écrit :
Am Dienstag, den 20.11.2007, 14:10 +0100 schrieb Vincent Untz:
Hi Mathias,
Le mardi 20 novembre 2007, à 13:23 +0100, Mathias Hasselmann a écrit :
Le mardi 20 novembre 2007, à 15:15 +0100, Mathias Hasselmann a écrit :
Am Dienstag, den 20.11.2007, 14:49 +0100 schrieb Vincent Untz:
The issue here is that the current way it works is that you can have
more than one natural sizes,
No, you have only one natural size.
Ok, right. But you
Am Dienstag, den 20.11.2007, 15:53 +0100 schrieb Vincent Untz:
Assume the natural width is 500px in the first case, 350px in the second
case and 200px in the third case. And the minimum width is 400px, 280px
and 150px.
In such a situation, it doesn't make much sense to allocate 250px to the
hi everyone;
as you might have seen on the wiki page[0], now that GLib and GTK+ have
been branched for development, the (bi-)weekly IRC meetings can restart
as well.
so, here it is (and sorry for the short notice):
date: 2007-11-20
time: 20:00 UTC [1]
#gtk-devel on irc.gnome.org
meeting
On Tue, 2007-11-20 at 17:13 +0100, Mathias Hasselmann wrote:
For supporting your feature there should be a separate call:
void (*get_supported_sizes) (GtkOrientation orientation,
GtkRequisition **sizes,
guint
Le mardi 20 novembre 2007, à 11:55 -0500, Ryan Lortie a écrit :
For things like toolbars, wnck window list and so on, it's very unclear
what the correct thing to do it. You could spend a very long time
thinking about it and still not find an elegant solution. This is
definitely no time to go
Am Dienstag, den 20.11.2007, 11:55 -0500 schrieb Ryan Lortie:
This is definitely no time to go blindly adding new API. :)
True. Very true.
--
Mathias Hasselmann [EMAIL PROTECTED]
http://taschenorakel.de/
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
Hi,
While I haven't looked at the patches in detail, based on your writeup
it feels like the interfaces here will make it a little hard to
implement in widgets.
In HippoCanvas I ended up with this:
void (* get_width_request)(HippoCanvasItem *canvas_item,
Hi
I have been doing some work on adding RandR 1.2 support to GTK+. There
is an initial patch here:
http://www.gnome.org/~ssp/randr/gtk.patch
The interesting part is perhaps the API:
A new signal on GdkScreen:
void (*monitors_changed) (GdkScreen *screen);
that is emitted whenever
On Tue, 2007-11-20 at 19:41 +, Emmanuele Bassi wrote:
hi everyone;
as you might have seen on the wiki page[0], now that GLib and GTK+ have
been branched for development, the (bi-)weekly IRC meetings can restart
as well.
English sucks. Is this twice a week, or once every two weeks?
( I
On Wed, 2007-11-21 at 00:39 +0100, Soeren Sandmann wrote:
Hi
I have been doing some work on adding RandR 1.2 support to GTK+. There
is an initial patch here:
http://www.gnome.org/~ssp/randr/gtk.patch
Was that based on the patch in the bugzilla:
On Tue, 2007-11-20 at 23:47 +, Bastien Nocera wrote:
On Tue, 2007-11-20 at 19:41 +, Emmanuele Bassi wrote:
hi everyone;
as you might have seen on the wiki page[0], now that GLib and GTK+ have
been branched for development, the (bi-)weekly IRC meetings can restart
as well.
Thanks Mathias for the write-up. You didn't get much into the baseline
stuff which was the really interesting part about text, but other than
that, the rest looks good from that point of view. Comments below:
On Tue, 2007-11-20 at 07:23 -0500, Mathias Hasselmann wrote:
When a container
On Tue, 2007-11-20 at 20:09 -0500, Behdad Esfahbod wrote:
On Tue, 2007-11-20 at 07:23 -0500, Mathias Hasselmann wrote:
When a container widget got more space allocated than requested, it
considers the difference between natural and requested size of its
children to distribute that
On 21 Nov 2007 00:39:29 +0100, Soeren Sandmann [EMAIL PROTECTED] wrote:
Comments appreciated.
Looks pretty close to what Pascal and I had worked out earlier in
bugzilla, so I'd say it looks
fine api wise. The only things that jumped out in the patch were the
debug printfs that are
still in
On Nov 20, 2007 8:45 PM, Behdad Esfahbod [EMAIL PROTECTED] wrote:
a) Maximize number of children taking their natural size.
I am not convinced this is always the best strategy. Doesn't this
encourage starving
one child in favour of the rest of the pack getting their natural size
? If you
On Nov 20, 2007 11:55 AM, Ryan Lortie [EMAIL PROTECTED] wrote:
On Tue, 2007-11-20 at 17:13 +0100, Mathias Hasselmann wrote:
For supporting your feature there should be a separate call:
void (*get_supported_sizes) (GtkOrientation orientation,
Hi,
What's the purpose of gtk_menu_attach_to_widget ? And is there any bad
effect
if I create a gtk menu without using this function ?
BRs,
Baisheng
___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
2007/11/20, Dan H [EMAIL PROTECTED]:
Hi Dan,
This needs to be changed in the docs. Maybe someone on this list can bring it
to the attention of whoever is responsible.
please just file a bug into bugzilla [1] product GTK component docs.
cheers
--
Gian Mario Tagliaretti
+++
[1]
On Tue, 20 Nov 2007 01:11:17 +0100
Benoît Dejean [EMAIL PROTECTED] wrote:
- GValue left_attach;
+ GValue left_attach = { 0, };
+
+ g_value_init (left_attach);
+
I always though that this requirement was error prone. You just get
to initialize your GValue twice to make it OK. A lot
Hi Alberto,
Sorry, I'm not sure that I follow you. I think that you are saying
that you want to write the C file by yourself. I was simply hoping to
give you some pointers/recommendations. If you still don't want to
offer-up the source then maybe you can explain what your application
does,
Have a dekko at this:
http://library.gnome.org/devel/gdk/unstable/gdk-Threads.html.
Thanks,
Michael
On 21/11/2007, alberto barbaro [EMAIL PROTECTED] wrote:
Well. I did a small debug on my program.
I understand this:
If i don't call the function updateGUI() all works but if i call it i have
Hi all,
I am working on multimedia application. I want to display video in main window.
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
I am receiving video frames in buffer.So how can I do that..which
widget should i use??
regards,
sumit
___
Hi:
I am trying exec a exe in windows like this:
GError *error;
gboolean ii=g_spawn_comand_line_async (C:/Archivos de
programa/GlobalMapper8/global_mapper8.exe,error);
and so:
GError *error;
gboolean ii=g_spawn_comand_line_async (C:/Archivos de
Have you tried,
gboolean ii=g_spawn_comand_line_async (C:/Archivos de
programa/GlobalMapper8/global_mapper8.exe,error);
Thanks,
Michael
On 21/11/2007, Martin (OpenGeoMap) [EMAIL PROTECTED] wrote:
Hi:
I am trying exec a exe in windows like this:
GError *error;
gboolean
Have you tried,
gboolean ii=g_spawn_comand_line_async (C:/Archivos de
programa/GlobalMapper8/global_mapper8.exe,error);
Thanks,
Michael
Yes, but don´t work
Regards.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
If you want to put a quote in in your string you should be using \,
right? Not .
Also try,
gboolean ii=g_spawn_comand_line_async (\C:/Archivos de
programa/GlobalMapper8/global_mapper8.exe\,error);
I would've thought that one of those would work.
Thanks,
Michael
On 21/11/2007, Michael
Michael Lamothe wrote:
gboolean ii=g_spawn_comand_line_async (C:/Archivos de
programa/GlobalMapper8/global_mapper8.exe,error);
gboolean ii=g_spawn_comand_line_async (C:/Archivos de
programa/GlobalMapper8/global_mapper8.exe,error);
The two are exactly the same, C (preprocessor?)
Ohhh ... my bad, never tried it.
Apologies,
Michael
On 21/11/2007, Tomas Carnecky [EMAIL PROTECTED] wrote:
Michael Lamothe wrote:
gboolean ii=g_spawn_comand_line_async (C:/Archivos de
programa/GlobalMapper8/global_mapper8.exe,error);
gboolean ii=g_spawn_comand_line_async
thanks!!
This works fine:
gboolean ii=g_spawn_command_line_async (\C:/Archivos de
programa/GlobalMapper8/global_mapper8.exe\ \C:/Archivos de
programa/files/file1.txt\,error);
Regards. ;-)
___
gtk-app-devel-list mailing list
Hi all,
My application has non-uniform tabs of different sizes on different
lines. Does anyone know how I should go about getting a pango tabarray
for a specific line of text in a textbuffer?
Thanks in advance,
Nick
___
gtk-app-devel-list mailing list
On Wed, 2007-11-21 at 01:32 +0100, Nick Gravgaard wrote:
Hi all,
My application has non-uniform tabs of different sizes on different
lines. Does anyone know how I should go about getting a pango tabarray
for a specific line of text in a textbuffer?
Hi,
That's not possible. If you have
Hi Sumit,
Recently i also had the same task to do n i tried a lot many things for
doing this.
We finally used a gtk drawing area with gdkpixbuf.
U can attach a gdkpixbuf with the drawing area and then use ur frames to
update the pixbuf as they arrive.
Do sum simple search on pixbuf to know
39 matches
Mail list logo