hi there, i am trying to use an accelerator of a togglebutton so that
when the key is pressed the togglebutton is activated otherwise it is
deactivated. In other words as long as you press a key a togglebutton
is release and when the shortcut button is released so is the
togglebutton. I am failing
I'm trying my hand at debugging a gtk+ app called file-roller. When it
works properly, it is a graphical interface to archives (zip, tarball,
etc...) for the gnome desktop. Disclaimer: I am a GTK+ beginner.
I'm attempting to understand some odd behavior when I drag some files
out of the graphical
On Tue, 2005-05-10 at 09:53 +0100, y g wrote:
> hi there, i am trying to use an accelerator of a togglebutton so that
> when the key is pressed the togglebutton is activated otherwise it is
> deactivated. In other words as long as you press a key a togglebutton
> is release and when the shortcut bu
> > > I was wondering if anyone knows how I could draw a horizontal
> > > red line across a GtkTextView buffer.
I came across this recently. Putting widgets into the textview was not
an option as it was too complex to keep updated as the user edits.
The best solution I found was to just draw dir
Signal of submenu not called while i not clicked to
main_menu->sub_menu->sum_menu_item
but i what to click menu_menu_button->sub_menu_item
GtkWidget* menu;
GtkWidget* menu_item;
GtkWidget* sub_menu;
menu = gtk_menu_new();
menu_item = gtk_image_menu_item_new_with_label("Text");
g_signal_connect
Hi all,
in the documentation from gtk_tree_model_get() at
http://developer.gnome.org/doc/API/2.0/gtk/GtkTreeModel.html#gtk-tree-model-get
I read:
"If appropriate, the returned values have to be freed or unreferenced."
my question is: when is it appropriate?
I expect the model always to return th
hi all;
i have an application in which when i selected the particular file or
folder the file/folder path has to be displayed in the list widget. the
number of file/folders i selected, the path of those files to be
displayed in separate rows. how can i get this functionality, any
samples.
thanks;
On 05/10/2005 09:40:04 AM, Olivier Sessink wrote:
Hi all,
in the documentation from gtk_tree_model_get() at
http://developer.gnome.org/doc/API/2.0/gtk/
GtkTreeModel.html#gtk-tree-model-get I read:
"If appropriate, the returned values have to be freed or
unreferenced."
my question is: when is
srinivas wrote:
> hi all;
>
> i have an application in which when i selected the particular file or
> folder the file/folder path has to be displayed in the list widget. the
> number of file/folders i selected, the path of those files to be
> displayed in separate rows. how can i get this function
Peter Bloomfield wrote:
> On 05/10/2005 10:11:40 AM, Olivier Sessink wrote:
> [ snip ]
>
>> thanks for the clarification. where did you find this information?
>
>
> I don't recall--certainly not from the docs! Partly experimentation--I
> noticed that some objects weren't getting finalized.
Hi Olivier,
I am afraid this report is invalid. It is common behaviour in glib/gobject based
applications that when returning data
* gobjects are reffed and need to be unreffed when done
* strings are strdup'ed and should be freed (unless they are marked as const)
such can't be done for pointers a
Stefan Kost wrote:
> Hi Olivier,
>
> I am afraid this report is invalid. It is common behaviour in
> glib/gobject based applications that when returning data
> * gobjects are reffed and need to be unreffed when done
> * strings are strdup'ed and should be freed (unless they are marked as
> const)
> > I was wondering if anyone knows how I could draw a horizontal red
> > line across a GtkTextView buffer.
> The best solution I found was to just draw directly onto the view
> through the expose-event using drawable.draw_line etc.
Ahhh. I think that may be what I was waiting for...
You wo
Im new and have been trying to figur eout how to grab the label of the
current notebook on a "switch_page" signal. I want to use a label instead
of page number incase I decide to switch the tabs around.
report() is my function to show error messages. (repdia = REPort DIAlog)
my notebook is crea
hi
Well i couldnt change my gtk theme using the .gtkrc
file in my home directory. Is there anyway i can
change the theme using code. I know my gtk themes are
in /usr/share/themes. Is there any function which
could implement a theme on runtime.
Thank You
Abhishek Samuel
Hello,
> Is there anyway i can
> change the theme using code. I know my gtk themes are
> in /usr/share/themes. Is there any function which
> could implement a theme on runtime.
Sure there is:
void gtk_rc_add_default_file (const gchar *filename);
Just call it before you call gtk_init (),
16 matches
Mail list logo