Hi again:
How can I do a button bar like the one used in nautilus to show the
current path, that when there are too many buttons to fit in the screen,
it adds two extra buttons to "scroll" them?
Thansk.
___
gtk-app-devel-list mailing list
gtk-app-d
Hi Alex,
The OpenCV window_gtk.cpp isn't so simple. A lot of tough concepts there. For
example the code is written for compiling with both GTK2 and GTK3, makes use of
threads, creates a custom GTK widget, uses GTK OpenGL if it can, etc.
The GTK functions can only be called on the "main" thr
Hello all,
I am creating a program that uses face detection coordinates to move/resize a
window in real-time. The GTK+ component of this program is fairly simple I
believe, but I cannot seem to figure out what is going wrong. I would like the
window to stay visible the entire time without havi
Hi,
Le 09/03/2015 08:41, Pramathesh Ambasta a écrit :
> […]
>
> The ui consists of a main window, a grid in which are packed a File
> ChooserWidget (above) and a scrolled window below. The scrolled window
> has a layout or a drawing area with a viewport as a child.
>
> In the layout or the drawi
Hi. I am new to programming and gtk+
I am trying to implement a small application using GTK 3.0, glade and
Anjuta.
The ui consists of a main window, a grid in which are packed a File
ChooserWidget (above) and a scrolled window below. The scrolled window
has a layout or a drawing area with a viewp
ing under X. When I try it out in broadway, I can't
> move
> > *or* resize windows, which is a deal-breaker for GtkHeaderBar
> > functionality. I can move the window in code - which is OK for a single
> > window, but not really good enough if there will be multiple wind
ut not really good enough if there will be multiple windows.
>
> Is this a known issue? Is there something I'm missing to allow moving &
> resizing under broadway? I should note that if I *don't* use the
> GtkHeaderBar, I can move and resize windows under broadway.
>
>
indow in code - which is OK for a single
window, but not really good enough if there will be multiple windows.
Is this a known issue? Is there something I'm missing to allow moving &
resizing under broadway? I should note that if I *don't* use the
GtkHeaderB
On Sun, 2013-06-09 at 00:12 -0700, Andrew Potter wrote:
> One approach is ditching the ScrolledWindow and overriding the
> get_preferred_width_for_height/width() vfuncs to return the full image
> width, and then in size_allocate() set the image to a scaled pixbuf of the
> allocated width.
>
> Thi
On Sat, Jun 8, 2013 at 10:27 PM, Kip Warner wrote:
> The banner image should automatically resize as the window is resized.
> It should use the full width available in the parent page (GtkBox), but
> the image's height should be calculated as a function of the aspect
> ratio to keep it from being
Hey list,
I'm still having issues with my Gtk+ code. I have a GtkAssistant with a
bunch of pages (GtkBoxes) with various child widgets in them defined
through Glade. At runtime, a banner image is inserted into the top of
each page as the first child widget. This is done by placing the banner
image
I have 3 buttons in a GtkBox and want to make them smaller than they are by
default. Here's the code: https://gist.github.com/dexcret/520172463e2e4409cdca.
I tried to use gtk_widget_set_size_request() both on GtkBox and GtkButton's
separately, but it didn't work. What do you think?
--
Regards.
Jak
On 15/05/12 14:45, Tristan Van Berkom wrote:
On Mon, May 14, 2012 at 10:29 PM, James Steward
wrote:
On 15/05/12 11:56, Tristan Van Berkom wrote:
... perhaps it's worth trying an extra call to gtk_widget_queue_resize()
after modifying your table.
I'm trying that. I have
gt;>> Hi,
>>>
>>> I have an application with a tabbed view. On two tabs I have a table,
>>> one
>>> is a 2x2 table, the other a 3x1 table (3 rows).
>>>
>>> In each cell is a canvas that has a gtk plot.
>>>
>>> I want to be
original, with the other two canvases being 1/6 the
original size.
After redrawing and resizing and mucking about, I can't get the table rows
to be different sizes, accommodating the different sized canvases properly,
even though I have gtk_table_set_
the
> canvas size to 2/3 the original, with the other two canvases being 1/6 the
> original size.
>
> After redrawing and resizing and mucking about, I can't get the table rows
> to be different sizes, accommodating the different sized canvases properly,
> even though I have gtk_tab
other two canvases being
1/6 the original size.
After redrawing and resizing and mucking about, I can't get the table
rows to be different sizes, accommodating the different sized canvases
properly, even though I have gtk_table_set_homogeneous (table, FALSE);
Any clues how to do
On Tue, Jan 24, 2012 at 8:24 AM, Axel FILMORE wrote:
> Hi there,
>
> I'm developing an experimental panel, not something really serious
> currently, just to learn Gtk+ and Vala.
>
> I've done a few things yet, creating an application menu, adding some
> launchers, adding some widgets like, a pager
Hi there,
I'm developing an experimental panel, not something really serious
currently, just to learn Gtk+ and Vala.
I've done a few things yet, creating an application menu, adding some
launchers, adding some widgets like, a pager, a window list from libwnck.
I searched into existing panel
Try setting "width-chars" property as well as "max-width-chars" property.
GtkLabel apis could use a face-lift. It's possible that the default minimum
width request exceeds the 10 max-width-chars which you set (which is
what I assume is causing this problem).
Cheers,
-Tristan
On Fri, De
Hello there,
I was wondering if there was a way of avoiding a label (in a notebook)
to resize the window when the text in it is too big.
I heard of ellipsizing, and EllipsizeMode.END seems great for me, but
if I ellipsize it, it will be ellipsized even if the label is small.
So, I want to ellips
I ported an app from GTK2 to GTK3. Aside from lots of function renaming
and layout adjusting due to the flipping of the expand flag...
I have a problem with columns in GtkTreeView widgets. In GTK2, resizing
a column with the mouse past the width of the visible tree wouldn't
cause the
On Sun, 2010-11-14 at 12:48 +, James Morris wrote:
> On 14 November 2010 12:40, N James Bridge wrote:
> > Thanks for input. I assume you did see the same error in drawing - some
> > areas inside the drawing come out solid black?
>
> Yes.
>
> > I will have to look up valgrind. All of this is
On 14 November 2010 12:40, N James Bridge wrote:
> Thanks for input. I assume you did see the same error in drawing - some
> areas inside the drawing come out solid black?
Yes.
> I will have to look up valgrind. All of this is a big learning exercise!
Valgrind sometimes spots initialization err
On Sun, 2010-11-14 at 11:17 +, James Morris wrote:
> On 13 November 2010 22:18, N James Bridge wrote:
> > I am hoping someone will have the time to look at this. I have been
> > developing a gtk/cairo program to draw views of the Mandelbrot set. ...
> > I am using gtk2-2.22.0-1.fc14.1.x86_64,
t worked but occasionally seemed to misbehave. Below is
> a cut-back version which illustrates the problem. A left click with the
> mouse sets a starting point which behaves correctly; a right click sets
> a nearby point which produces a very similar figure but which
> misbehaves. To see thi
which illustrates the problem. A left click with the
mouse sets a starting point which behaves correctly; a right click sets
a nearby point which produces a very similar figure but which
misbehaves. To see this first try resizing the window - for some sizes
it is drawn correctly but for others not
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I have an app where I have been using gtk_window_set_policy that I have
it set to allow the window to grow and shrink and I set a specific size
on a GtkSocket that is embedded in the window using
gtk_widget_set_size_request. I am trying to prepare my c
On Thu, Mar 25, 2010 at 09:28:01AM +1100, Matthew Allen wrote:
> The code I'm porting to Gtk has all it's own layout systems in place
> anyway and I want to bypass using Gtk layout to get something working
> quickly. At the moment I can get a basic window showing on the screen
> with an appropriate
Hi,
The code I'm porting to Gtk has all it's own layout systems in place anyway and
I want to bypass using Gtk layout to get something working quickly. At the
moment I can get a basic window showing on the screen with an appropriate set
of child widgets using GtkFixed, however the main window i
Frame with table (with ScrollWdw, ok)
But, if I enlarge the outer window, the Vbox doesn't grow: the menu stays
the same width, as does the HPaned.
I've checked the properties of all of the elements, and, as far as I can
see, all the resizing/etc flags which could influence, are set.
I have
2009/10/7 John Coppens :
> - I have a (top-level) window, with a vbox, then a vpanel, a frame, an
> 'alignment' and a table (listed in the order of nesting).
>
> When I change something in the table, which makes it wider, the table
> gets wider, wider than the frame, which doesn't resize, and neith
Hello all,
Though I've read a load of pages, I can't seem to solve the following
problem:
- I have a (top-level) window, with a vbox, then a vpanel, a frame, an
'alignment' and a table (listed in the order of nesting).
When I change something in the table, which makes it wider, the table
gets wi
hi all,
While trying to resize the GtkTreeView Columns on Windows Operating
System,
the text (label) in the column header seems to flicker (as the background of
the treeview is visible.)
This does not happen on Linux. What needs to be done to reduce this flicker
so that the resize appears
On Fri, 1 Jun 2007 22:13:47 -0300
John Coppens <[EMAIL PROTECTED]> wrote:
> Hi all...
>
> I need a hand. In a program I have a small toolbar separate from the
> main window. The toolbar is a GtkToolbar inside a GtkWindow. The
> problem is that I cannot seem to make the GtkWindow resize to adjust
Hi all...
I need a hand. In a program I have a small toolbar separate from the main
window. The toolbar is a GtkToolbar inside a GtkWindow. The problem is
that I cannot seem to make the GtkWindow resize to adjust to the toolbar
size (I want to switch vertical/horizontal). Also, I need to adjust to
2007/3/27, Gaurav Jain <[EMAIL PROTECTED]>:
> In my application I need to resize and move a GtkWindow to a new
> location, and I'm using the gtk_window_resize() and gtk_window_move()
> APIs for the purpose. However, these APIs do not work sometimes.
I guess it's a Window Manager problem that doe
Hi,
Sorry about reposting this. I didn't receive any responses to this
message I sent last week on this list, so maybe my earlier message was
missed by the list members. I would really appreciate if I can get
some any tips on the problem I'm facing!!
In my application I need to resize and move
Hi,
In my application I need to resize and move a GtkWindow to a new
location, and I'm using the gtk_window_resize() and gtk_window_move()
APIs for the purpose. However, these APIs do not work sometimes.
For example, refer my sample program at the end of this mail. If the
initial location of my
Hi,
Sorry for replying so late... but your example didn't really work for
me. Basically, I need a GtkExpander inside a file chooser dialog for
some advanced options. I'd like it to work similarly to the
FileChooserDialog when in "save" mode (try it out with GEdit->Save As,
and the expander makes t
-- Forwarded message --
From: Iago Rubio <[EMAIL PROTECTED]>
Date: Aug 22, 2006 12:40 PM
Subject: Re: Resizing window
To: gtk-app-devel-list@gnome.org
On Tue, 2006-08-22 at 11:54 +0200, Iago Rubio wrote:
> On Tue, 2006-08-22 at 09:22 +0200, Fernando Apesteguía wrote:
>
On Tue, 2006-08-22 at 11:54 +0200, Iago Rubio wrote:
> On Tue, 2006-08-22 at 09:22 +0200, Fernando Apesteguía wrote:
> > I'm still looking for a solution. My app has internationalization support.
> > So make the window fixed is not possible in order to allow all the different
> > messages to fit in
On Tue, 2006-08-22 at 09:22 +0200, Fernando Apesteguía wrote:
> I'm still looking for a solution. My app has internationalization support.
> So make the window fixed is not possible in order to allow all the different
> messages to fit in the window. I'll read more documentation.
>
> More ideas?
H
On 8/22/06, Samuel Cormier-Iijima <[EMAIL PROTECTED]> wrote:
>
> I had the same problem with a FileChooserWidget with an extra
> GtkExpander widget in it. One solution is to make the window fixed
> (unresizable). Of course, the downside is that the user can't resize
> it himself. Let me know if y
I had the same problem with a FileChooserWidget with an extra
GtkExpander widget in it. One solution is to make the window fixed
(unresizable). Of course, the downside is that the user can't resize
it himself. Let me know if you find another solution!
Cheers,
Samuel
On 8/21/06, Fernando Apestegu
Hi list!
I'm developing a simple application. I have a tabbed pane. Some of these
tabs are bigger than others, with more text and more widgets.
When I click on one of these tabs, the window growns, what is great, but
when I click in a smaller tab, the window doen't return to the minimum
required s
Thanks. It worked perfectly.
Atanas
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
On 7/5/06, Atanas Atanasov <[EMAIL PROTECTED]> wrote:
> Thanks. The size request worked. However there is an issue. Say I
> create my label to cover all the GtkFixed and set its text
> justification to left. What I expect to see is something like:
The justification setting controls the way line wr
Atanas Atanasov wrote:
[...]
> but what I see is
>
> /--\
> | |
> | line 1 is longer |
> | line2|
> | |
> \--/
Have you set the xalign property to 0.0 ?
Cheers,
Thanks. The size request worked. However there is an issue. Say I
create my label to cover all the GtkFixed and set its text
justification to left. What I expect to see is something like:
/--\
| |
|line 1 is longer |
|line2
Atanas Atanasov wrote:
> I have a GtkWindow with a single GtkFixedChild. Then all the rest of
> the interface goes into the GtkFixed with exact positions which I can
> set through gtk_fixed_put or gtk_fixed_move. Suppose I have a GtkLabel
> child. I would like to be able to set its size and apply a
I have a GtkWindow with a single GtkFixedChild. Then all the rest of
the interface goes into the GtkFixed with exact positions which I can
set through gtk_fixed_put or gtk_fixed_move. Suppose I have a GtkLabel
child. I would like to be able to set its size and apply a text
alignment through gtk_lab
I have a GtkDrawingArea added to a GtkScrolledWindow using
gtk_scrolled_window_add_with_viewport(). I am trying to resize the
drawing area calling gtk_widget_set_size_request(), but when I do so,
the toplevel widget (GtkWindow) also gets resized. I'd like to know how
to resize just the drawing
pairs) then is seems to resize everything to fit the maximum area that
doesn't need scroll capabilities. This make the combo boxes huge. Is there a
way to have it not do this and always use the defualt size of the children
instead of resizing everything to fit?
Attached is the image of my gui
Hello,
I am writing an application using a VteTerminal in a GtkWindow.
Everything works fine, except one thing.
When I run the application, the Terminal is not displayed. Instead a
copy of the desktop background (including everything that is behind the
starting window) is displayed in the location
LaundroMat wrote:
I realise I wasn' t too clear in my mail.
The thing is, I have a window with essentially 3 boxes:
A B C
A = image
B = labels
C = text entry
The height of B (and C for that matter) is smaller than that of A. But
I would like to resize A to the height of C.
If you set the "h
I realise I wasn' t too clear in my mail.
The thing is, I have a window with essentially 3 boxes:
A B C
A = image
B = labels
C = text entry
The height of B (and C for that matter) is smaller than that of A. But
I would like to resize A to the height of C.
On 8/22/05, Tristan Van Berkom <[EMAIL
LaundroMat wrote:
Hi all -
First time here, thanks for having a look at this.
I have a window, consisting of a horizontal box, with 3 vboxes in it.
One vbox contains an image, another a set of labels and the third has
text entry widgets.
How can I resize the image to the unexpanded size of th
Hi all -
First time here, thanks for having a look at this.
I have a window, consisting of a horizontal box, with 3 vboxes in it.
One vbox contains an image, another a set of labels and the third has
text entry widgets.
How can I resize the image to the unexpanded size of the vboxes
containing
Hi,
I have a gtklabel and am using g_signal_connect
hadnler to the size-allocate signal to modify the size
of the layout based on the text font size.
So if the text is too tall to fit, based on the
text height being greater than the layout's height I
reduce the font size by 1 pt till it
60 matches
Mail list logo