Hi All,
I am observing strange behaviour with GTK (2.2.4)
1)If I have a button in a window as the default widget
of that window, the button appears too small when
focus is on that button. When the focus is out button
appears OK but in both cases w/o the given text. I am
using SuSE 9.1 Personal E
Hi All,
I have written a small program (attached below) and am
facing a problem in it. I am trying to create a
GdkPixbuf out of a "png" file. But I am getting a NULL
value. This does not happen with "bmp" files. I am
working on Solaris 8. Has any one got any idea why
this might be happening? Am I
Hi,
I would like to have an edit box in GtkFileChooserDialog for opening
files (and not saving) so that when user types in something ni the
edit box and presses tab the filename should appear in the edit box
and the file should be shown selected in the file list. Is there any
easy way to do this?
Hi,
I have a treestore and corresponding model and treeview. I would like
to disable a particular entry in the treeview. How can I do this?
Thanks
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
Hi,
I was trying out GtkComboBox. I have Gtk-2.4. I have created a
GtkTreeModel and populated the corresponding GtkTreeStore. But when I
run the program, the entries are not shown. Why is this happening? I
am attaching the program here:
GtkTreeStore *ts = gtk_tree_store_new(1,G_TYPE_STRING);
Hi Michael,
If I am not wrong, with tree model we can even display images and text
together as part of the menu items. This is the reason why I chose to
use tree model. If there was only text then you are correct. Thanks to
Neumann for pointing out what I was missing in the code.
-Pramod
On 5/3
Hi,
Is there any way to add a separator in the GtkComboBox. I am using
combo box with a tree model. Also I need to add markup properties that
applies to a whole column. How do I do that? I tried the following
code, but it doesn't work.
ts = gtk_tree_store_new(1,G_TYPE_STRING);
GtkWidget *tv = gtk
Hi,
I am using GTK 2.4 and facing a problem with GtkCombo. I populated a
GtkCombo with entries. I want to catch signals when the selection
changes. I am handling "changed" signal on the combo. I would like to
know even if the selection was not changed but the user popped up the
combo and selected
"activate" signal on which widget? GtkComboBox doesn't have any such signal.
On 6/24/05, Preben Randhol <[EMAIL PROTECTED]> wrote:
> On Fri, Jun 24, 2005 at 08:54:11PM +0530, Pramod Patangay wrote:
> > Hi,
> >
> > I am using GTK 2.4 and facing a problem
Hi,
I asked this question previously but there were no replies. So here I
am again. I would like to disable a particular entry in the
GtkComboBox. I am using a GtkComboBox with a model and supplying it
cell renderers. If disabling a particular entry is not possible, can I
at least change the look
Hi,
I am trying to grab focus to GtkComboBox but focus is not set to it.
Here's a sample program. What's wrong with the code?
gboolean kp(GtkWidget *w, GdkEvent* e, gpointer d)
{
printf("Key Pressed\n");
gtk_widget_grab_focus(GTK_WIDGET(d));
return TRUE;
}
int main( int
Hi,
This is my first mail to this list so my problem might
have been faced by others previously. If that is so
please provide the link.
I am trying to install GTK on solaris8. Before that I
have to install Glib,Pango and atk.
While building GLIb, I get an error.
I am using these variables
exp
Hi All,
I am having trouble with adding acclerators.
I want the "Shift Ctrl Minus" key to map to some
event.
Here's what I am doing:
gchar * label = ...;
GtkWidget *menuItemWidget =
gtk_menu_item_new_with_mnemonic(label);
...
GdkAccelGroup *accel = ... ;
AccelKey = 45; //for "-" key
accelMod =
Hi,
I have created a GtkFileSelection, set the filename
and want the filename region to be selected. Here's
what I am doing:
GtkWidget *a = gtk_file_selection_new("Hmmm");
gtk_file_selection_set_filename(GTK_FILE_SELECTION(a),"TestFile");
GtkWidget *ase =
(GTK_FILE_SELECTION(a))->selection_entry
Hi All,
I am trying to add an accelerator. Here's a sample
code:
GtkWidget *w=gtk_window_new(GTK_WINDOW_TOPLEVEL);
GtkWidget *e=gtk_button_new_from_stock(GTK_STOCK_OK);
GtkAccelGroup *gag = gtk_accel_group_new();
gtk_window_add_accel_group(GTK_WINDOW(w),gag);
g_signal_connect(G_OBJECT(e),"clicke
Hi,
I have to change the text of the default shortcut
generated by GTK when I add an accelerator to the menu
item. Is there any way to do it?
Like if I add '+' as the accelerator, a '+' is shown
as the shortcut but I want to it be to "plus". How can
I achieve that?
Thanks
-Pramod
Hi All,
I am trying to add accelerators to menu items. But
they don't seem to work as they should. There's a
menuitem which when activated will hide the menu bar.
But once the menu bar is hidden, none of the
accelerators work.
I am using Fedora Core. Any idea on what's going on
here? Why are acc
ortcuts are shown as part of the
menu item beside its name. Any thoughts on what might
be happening here?
From: edscott wilson garcia <[EMAIL PROTECTED]>
Subject: Re: Accelerators don't work
To: Pramod Patangay <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTE
Hi,
I have menu item to which I have added an accelerator.
GTK automatically displays the shortcut as part of the
text beside the menu item name. Is there any way I can
change the shortcut string?
Say for e.g., I add "ctrl +" as the shortcut, the
displayed string is "ctrl++" but I want it to be
Hi All,
I have two questions:
1) How do I make the cross button on the GtkWindow to
not appear. What I want is just the window title bar
without any minimize, maximize, cross buttons.
2) How do I provide tooltips to the cells in a
treeview?
Thanks
-Pramod
_
Hi,
I have a treeview whose cells will contain some custom
drawn image. To achieve this, I am making a
treeviewcolumn with pixbuf cellrenderer and I am
capturing "expose-event" of the treeview and then draw
the image on the window. But this doesn't work. If I
don't draw the treeview on the window
Hi,
I am using GtkImageMenuItem in my code and the icon to
be displayed is custom drawn. To achieve this, I am
creating a GtkDrawingArea widget with proper size and
adding it to a GtkHBox. This GtkHBox will be the image
in the imagemenuitem. I am handling the expose event
(of the drawing area) ca
Hi,
I have PNG data in memory which is essentially the
contents of a png file. I need to create a GdkPixbuf
from this data. How can I do this?
Thanks
__
Do you Yahoo!?
All your favorites on one personal page Try My Yahoo!
http://my.yahoo.co
Hi,
I would like to use GtkMessageDialog but how can I
change the default icon that appears on the dialog
using Stock items. I'd like to change the icon for
GTK_MESSAGE_INFO type to use say
GTK_STOCK_DIALOG_ERROR, how can I achieve this?
Thanks
Hi,
I have a GtkTreeView (and corresponding GtkTreeStore
and GtkTreeModel etc). I want to disable a particular
row so that it can not be selected and also "looks
disabled". How can I achieve this?
Thanks
-Pramod
__
Do you Yahoo!?
Yahoo! Mail
Hi,
I am using a GtkTextView which is added to a
GtkScrolledWindow. Now whenever the GtkTextView gets
focus, I want the scrolled window to scroll in such a
manner so that the cursor is visible. How can I
achieve this?
One way I thought of is that, I get the location of
iterator where the cursor
26 matches
Mail list logo