Hi Tristan!
I suggest you start by filing an enhancement bug against GtkImage for this.
Yes, I can do that. Just to make sure, I file a new bug for component gtk,
severity set to enhancement, and put somethign like Size request of GtkImage
into the title. Is this correct?
If you have a
Hi Tristan!
Lets not go around the merry-go-round one more time.
In GTK+3, widgets receive *at least* what they requested in the size
requesting phase.
User facing apis cannot undermine the minimal requirements for the geometry
which a widget has requested.
User facing apis can
Hi Tristan
I must admit the docs are incorrect about this, it says:
Sets the minimum size of a widget; that is, the widget's size request
will be width by height. You can use this function to force a widget to be
either larger or smaller than it normally would be.
But what it should
Hi,
with GTK2 some applications used to set the minimum size of some widgets using
gtk_widget_set_size_request. E.g. the min size of a GtkImage. This no longer
works with GTK3 and the min size of the GtkImage is that of the underlying
image, e.g. a GdkPixbuf.
There is also a bug report
Hi!
Is there a way to set the text of a GtkTextView but also keep the cursor
location and adjustments of a GtkScrolledWindow where the text view resides?
I am trying to do it using the attached code but there are two problems:
1. When you scroll down, set the cursor and then press 'Reload'
It seems the attachment got lost so I put it here in plain text:
-- Steffen
/*
** gcc -o textview textview.c -Wall `pkg-config gtk+-2.0 --cflags --libs`
*/
#include string.h
#include gtk/gtk.h
static void reload(GtkWidget *tv)
{
static char text[20];
char *s = text;
int i;
--- [EMAIL PROTECTED] wrote:
On 10/31/07, Steffen Gutmann [EMAIL PROTECTED] wrote:
So, anybody has an idea what the correct way of leaving a widget
out of
the focus chain is?
I use gtk_container_set_focus_chain() to set an exact list of widgets
for a section of the focus chain.
Thanks
Hi!
I would like to tell a widget to not be part of Gtk's focus chain. I
know there is gtk_container_set_focus_chain, however, I would like to
keep Gtk's default focus chain logic and just would like to have one or
two widgets not being part of it. The widget could be a GtkButton,
GtkEntry,
Consider the following macros:
#define WindowObject gtk_widget_new(GTK_TYPE_WINDOW
#define VBoxObject gtk_widget_new(GTK_TYPE_VBOX
#define HBoxObject gtk_widget_new(GTK_TYPE_HBOX
#define LabelObject gtk_widget_new(GTK_TYPE_LABEL
#define ButtonObject gtk_widget_new(GTK_TYPE_BUTTON
... // add one
Hi,I haven't followed the full discussion on this thread nor have I viewed at any of the bugs mentioned. Thus, my comment might nor be fully qualified. But, I also would like to have a dialog being modal to some but not all windows. The use case is where like in Gimp there are several top level
10 matches
Mail list logo