Dear all,
I would like to see an example of programming of a
drag-and-drop operation. That would save me lots of
time understanding the api :-)
Best,
Amities,
Olivier
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http
in advance,
Best,
Amities,
Olivier
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
ect" ends in Segmentation fault ...
One full day that I'm looking at that :-(
Any help appreciated :-)
Best,
Amities,
Olivier
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Dear all,
Below is a program that goes to Segmentation fault when any
string in the combo_box is selected.
Any help would be appreciated!
Best,
Amities,
Olivier
---
#include
#include
#include
#include
void
!
Best, Olivier
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
.
Hope that will help you -- and not overcrowed your mbox :-).
Best, and thanks for your work!
Best,
Amities,
Olivier
(Copy to gtk-app-devel-list@gnome.org for archiving).
-Complete and Minimal example
#include
#include
#include
#include
GtkWidget *window
}
and selecting answers that
user_data is indeed NULL
combo is my_combo_box up to cast
combo is non NULL
instruction "name = gtk_combo_box_get_active_entry..."
yields the segfaut.
:-(
Sunny day on a stubborn script :-)
Best, Olivier
_
seems to be corrupted).
If I replace GTK_WRAP_NONE with GTK_WRAP_CHAR or GTK_WRAP_WORD,
all is fine.
Any help would be greatly appreciated!
Best,
Amities,
Olivier
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/ma
ch is extremely severe (lots more calls should be given, but
everything seems to be corrupted).
If I replace GTK_WRAP_NONE with GTK_WRAP_CHAR or GTK_WRAP_WORD,
all is fine.
Any help would be greatly appreciated!
Best,
Amities,
Olivier
___
gtk-app
w where my user can set parameters. All work
wonderfully fine with minimal code, but I would like something more:
-- the popped window cannot be iconified ? I would like to keep it.
-- the popped window always remains on top of the base window.
Can it go below ?
Best,
Amities,
plateform,
rows are columns and columns are rows !!!
Yes, indeed, absolutely :-)
Or am I too sleepy to see through that clearly ?
Best,
Amities,
Olivier
From
gtk+-2.6.7/docs/reference/gtk/html/GtkTable.html#gtk-table-new
___
gtk-app-devel-list mailing
ke, though I believe a note could be added to the doc
to emphasize on this inversion.
Thanks !
Amities,
Olivier
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
it works great :-] )
Best,
Amities,
Olivier
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Can someone tell me what I'm doing wrong ?
I'm attaching the code I used (taken from gtk+ documentation).
Olivier
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Le mardi 26 septembre 2006 à 10:47 +0200, Olivier Abad a écrit :
> Hi,
>
> I'm trying to implement a popup menu, but the items in my menu don't
> seem to receive the "activate" signal, so my handler is never called.
>
> However, it works if I connec
d any other
I tried to create since) but I have one file that
works :-(
-- when I created my debian system, I remember
I asked for iso-***-** default coding system.
Any help?
Many thanks in advance!
Best,
Amities,
Olivier
___
gtk-app-
probably somewhere.
The test !feof(fp) is no better, but the easy
and clean code :
while( fgets(line ,256, fp)!= NULL){
gtk_text_buffer_insert_at_cursor(...);}
does wonder. I promise, next time I'll
check my code more thoroughly before
incriminating gtk!
Best,
Amities,
Ol
ge(im9); set_image(im10);
}
--
That's simpleminded --
HTH still :-)
Olivier
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
know how to automate this algorithm since
I'm not script-fu writer ---
FWIW :-)
Olivier
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
t I also understand I owe quite a bit to this group.
HTH :-)
Best,
Amities,
Olivier
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
eas tell me.
Thanks,
Olivier.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
btool and I'm completly
lost. BTW the whole library+program works fine with Linux !
I welcome any ideas.
Olivier.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
2007/3/6, Olivier Delhomme <[EMAIL PROTECTED]>:
>
>
>
> 2007/3/6, Chris Sparks <[EMAIL PROTECTED]>:
> >
> > Are you sure it isn't a path problem?
>
>
>
> I thought It was such a problem. But in such a case It would give me an
> error s
Hello,
Is there a way to have a default value automatically selected in a combobox
created with libglade ?
thanks,
Olivier.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
2007/3/12, Tristan Van Berkom <[EMAIL PROTECTED]>:
>
> On Mon, 2007-03-12 at 16:21 +0100, Olivier Delhomme wrote:
> > Hello,
> >
> > Is there a way to have a default value automatically selected in a
> combobox
> > created with libglade ?
>
> Have
Hi,
for technical reason i want to block background drawing for widgets, i did that
for a window but it doesn't work ? can someone help me please. If everything
works well when i open a frame upon this one, then on the gtk_frame pixel of
previous one must stay. Here is the code :
#include
gin
Hi,
for technical reason i want to block background drawing for widgets, i did that
for a window but it doesn't work ? can someone help me please. If everything
works well when i open a frame upon this one, then on the gtk_frame pixel of
previous one must stay. Here is the code :
#include
gin
more than one
line.
Does anyone know which widget is used and how, for enabling this
behaviour ?
In advance thanks
Olivier
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
ffect and produces no error on stderr. I also tried with
gtk_box_pack_start()
Can I customize it this way or must I create my dialog from scratch using
GtkFileChooserWidget and adding extra widgets?
Regards,
--
Olivier
___
gtk-app-devel-list mailing
Emmanuele Bassi wrote:
> On Mon, 2007-05-28 at 17:51 +0200, Olivier Guilyardi wrote:
>>
>> I need to add some extra saving options to a GtkFileChooserDialog. In this
>> purpose I'm trying to access its vbox with:
>>
>> GtkWidget *label = gtk_button_new_wit
Hello,
Is there any way to select the root directory (eg "c:\" or "/" for instance)
from à GtkFilechooser ?
Thanks,
Olivier.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
glade_xml_get_widget (xml, "radiobutton"), FALSE);
Please note that I've been using this function on other widgets without any
problems
such as GtkImageMenuItem.
am I missing something ? Is there another way to do this ?
thanks,
Olivier.
___
Ok, forget about this message. All is working correctly. I stupidly didn't
call the function that contains the code above !!
Sorry for the inconvenience,
Olivier.
2007/10/18, Olivier Delhomme <[EMAIL PROTECTED]>:
>
> Hello,
>
> I'm trying to make a GtkRadioButton &
Hello,
I'm looking for a function that will return a date and time
as a gchar * in a format that is made accordingly to the
user preferences.
For example 2007/10/24 or 24/10/2007 ...
Does this exists in glib/gtk ?
thanks,
Olivier.
___
gtk-app-
beginner's question, but I'm a bit lost,
Thanks, regards,
Olivier.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
w (to take its advantages -
text marks and tags) but the hex data is usually represented by groups of 2
characters : "DE 05 F4 FF D9". So it would be useful if there is a way to do
those gaps between characters (without having an additional space or a tab
character).
Thanks to any ideas,
Hello,
Is there a convenient way to retrieve the label of a GtkMenuItem
created with gtk_menu_item_new_with_label("my label") ?
<http://library.gnome.org/devel/gtk/stable/GtkMenuItem.html#gtk-menu-item-new-with-label>
Thanks,
Olivier.
_
2008/3/4, Olivier Delhomme <[EMAIL PROTECTED]>:
>
>
> Hello,
>
> Is there a convenient way to retrieve the label of a GtkMenuItem
> created with gtk_menu_item_new_with_label("my label") ?
I found this, which should solve the problem :
GtkLabel *label = NULL
rmance, from the liblglade manual : "the XML parse tree is cached to
speed up creating another GladeXML object for the same file".
Regards,
--
Olivier Guilyardi / Samalyse
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Window instead of my GdkPixmap. This should work,
since all the gdk drawing functions I use expect a GdkDrawable. Is it the right
way to do this? Isn't drawing on a GdkWindow heavier, because it implies
interactions with X11 (or Quartz, whatever)?
Regards,
--
Olivier Guilyardi / Samalyse
_
quite
good result on X11, but is a bit hackish, and doesn't work very well on
Gtk+-Quartz.
Isn't there a way for a widget to say "I would like this size, but I can shrink"
during the size negotiation process ?
Regards,
--
Olivier Guilyardi / Samalyse
_
Nikolaj Thygesen wrote:
> Olivier Guilyardi wrote:
>> Hi all,
>>
>> Isn't there a way for a widget to say "I would like this size, but I
>> can shrink"
>> during the size negotiation process ?
>>
>> Regards,
&g
o and hack something... When the GtkEntry is focused,
wouldn't there be a clean way to make it handle the keys and stop event
propagation?
--
Olivier Guilyardi / Samalyse
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http:/
Tristan Van Berkom wrote:
> On Tue, Apr 28, 2009 at 10:34 AM, Olivier Guilyardi wrote:
>> Hi,
>>
>> I'm working on an audio app. In my menu I have single letters accelerators
>> such
>> as Z or space, which are 100% needed for consistency with other aud
ut X11 but the clipboard seems to work ok between my GTK-OSX
2.16 app and native OSX software, although GtkEntry expects Ctrl+* instead of
Cmd+* shortcuts.
--
Olivier
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
On 07/18/2009 10:39 PM, Olivier Guilyardi wrote:
> On 07/18/2009 05:01 AM, Allin Cottrell wrote:
>> In some contexts my GTK app offers the user the opportunity to
>> copy chunks of output to the clipboard as RTF. This is primarily
>> intended for use on MS Windows, but i
ndow on
> startup, then clone it for each new window that the user wanted.
The caching feature mentioned above should avoid the need for such a cloning
feature I believe.
But I have no clue whether this is still true with GtkBuilder...
--
Olivier
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
all sort of things with the clipboard. There is a
forum for support questions. Homepage: http://gtk-osx.sourceforge.net
--
Olivier
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
ull
path to the executable and having the executable in the path.
Does anyone have a clue how this is supposed to work? The documentaion
has a lot of references to win32, so I guess this is supposed to work !?
Thanks,
Olivier
___
gtk-app-devel-list m
re any reason to believe that the glib functions are not working
correctly?
Olivier
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
? Is that correct? What are other reasons to choose
for one of these approaches? Are there any other important approaches
that need attention?
regards,
Olivier
--method #1 -
#include
#include
#include
/* this example can call
what works and what does not? if your focus is in the text widget I
guess you get the 'textview copy' action, and if your focus is
elsewhere you get the menu callback ? Or is it different?
b.t.w.: do your users expect that works differently in a
different context?
Olivier
2010/3/1
very key press
in the search box?
Olivier
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Hi all,
GtkTextView defaults to linefeeds as newlines, which is good for Unix
users, but not the default on DOS/Windows. In a document that has CRLF,
gtktextview handles this very good. But an empty document always uses
LF, also on windows. Is there a way to set this to CRLF ?
Olivier
Hi all,
we still use gtkitemfactory code, and one of the main reasons not to
switch to gtkuimanager is the translation strings that all will
change. Now I wonder if it is possible to automatically convert the
translations? Did anyone ever try that?
regards,
Olivier
ls, they use threads in the
background while keeping the diffucult things away for you.
regards,
Olivier
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
you want to do in this code should be done without threads,
it will have more performance and less complexity.
Olivier
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
What kind of signals?
If they are file/socket events, use g_io_add_watch() to do so:
http://library.gnome.org/devel/glib/stable/glib-IO-Channels.html
the gtk mainloop will then call your callback whenever data is available.
regards,
Olivier
___
g
hus I have to drop GtkItemFactory. How can I use the same icons
in GtkUiManager?
(FYI: the app is Bluefish, and it has several tabs with HTML toolbars
that focus on different areas of HTML)
thanks,
Olivier
___
gtk-app-devel-list mailing list
gtk-app-devel
ar_gui.c?revision=5871&view=markup
thanks,
Olivier
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
executable smaller, but involves runtime an extra file seek / open /
read / close.
Any opinions?
Olivier
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
ction), value);
gtk_action_unblock_activate(action);
}
is this a bug or do I misunderstand something?
Olivier
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
received a reply.
regards,
Olivier
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
ile resource.
php.net has 'user annotations' in its on-line manual. this contains a
lot of good examples. it would be cool if library.gnome.org could have
such a feature.
Olivier
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
and not in your
application, opening your app from the finder, etc. There's also quite
some OSX and GTK knowledge there, so it's a good list to join if you're
going to do some GTK app programming on a mac.
Olivier
___
gtk-app-devel-list m
s own libraries and API's to do these kind of things.
Olivier
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
% relevant (it plots only certain attributes of the XML into the
tree) but
http://bluefish.svn.sourceforge.net/viewvc/bluefish/trunk/bluefish/src/plugin_snippets/snippets_load.c?revision=5862&view=markup
loads XML data into a tree
regards,
unning 2.18.3, lots
> of users also, it might be better to wait...
I use these in bluefish.h for backwards compatibility.
regards,
Olivier
#if !GTK_CHECK_VERSION(2,18,0)
#define gtk_widget_set_can_focus(arg, arg2) do {if (arg2)
GTK_WIDGET_SET_FLAGS(arg, GTK_CAN_FOCUS); else
GTK_WIDGET
performance of gtktextview?
regards,
Olivier
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
'm not, so after reading this I'll write a testcase so I can be sure
what's going on. Perhaps the difference was coming from another part of
the application.
regards,
Olivier
___
gtk-app-devel-list mailing list
gtk-app-
) {
pango_layout_get_pixel_size(layout, &retval, NULL);
g_object_unref(G_OBJECT(layout));
}
return retval;
}
but it seems 100% perfect to me. Why would this leak memory??
anybody a clue?
Olivier
___
gtk-app-devel-list mai
On 05/07/2011 12:00 AM, Bill C wrote:
On 06/05/11 17:28, Olivier Sessink wrote:
Hi all,
valgrind reports a memory leak in the following code:
gint
widget_get_string_size(GtkWidget * widget, gchar * string)
{
PangoLayout *layout;
gint retval = -1;
layout = gtk_widget_create_pango_layout(widget
h the LD_PRELOAD GObject lifetime debugging tool,
see
http://blogs.gnome.org/danni/2011/02/17/ld_preload-gobject-lifetime-debugging-tool/
Olivier
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
"%09d", val);
gtk_label_set_text(l, buffer);
return FALSE;
}
void threadfunc(void *unused) {
gint msec = 0;
while (1) {
msec++;
g_usleep(1000);
g_idle_add((GSourceFunc)mycbk, GINT_TO_POINTER(msec));
On 05/06/2011 09:28 AM, Olivier Sessink wrote:
Hi all,
valgrind reports a memory leak in the following code:
gint
widget_get_string_size(GtkWidget * widget, gchar * string)
{
PangoLayout *layout;
gint retval = -1;
layout = gtk_widget_create_pango_layout(widget, string);
if (layout != NULL
ata inside the
GQueue is still a list, but the GQueue manages the pointers to the tail
and the head for you (so append() and prepend() have equal speed as well).
Olivier
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
nd in *that* function
load the data in the treemodel.
Olivier
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
essed.
Is it possible?
Right now the button is pressed only if it's selected, but the
GtkButton pressed signal is not triggered.
gtk_window_set_default()
or use the 'activate' signal on the entry
Olivier
___
gtk-app-devel-list mailing lis
rn a newly allocated string?
Olivier
Thanks a lot!
= code below ==
GRegex* regex_illumina = g_regex_new(
"@(.+):(\\d+):(\\d+):(\\d+):(\\d+)#(\\d+)/([12])",
G_REGEX_OPTIMIZE,
GRegexMatchFlags(0),
NULL
);
GRegex* regex_casa
On 03/05/2012 04:56 PM, Bernhard Schuster wrote:
No it does, not I already cross-read it and it looks fine, did you
give it a shot with valgrind?
no I did not, the comment was based just on your code. What does
valgrind report on your code?
Olivier
Regards
Bernhard Schuster
Am 5. März
I
> managed to generate. The problem is in line 88 and 89, either of table
> or menu is working. If I comment one line, other one is working. Where I
> went wrong? Please show.
the window can only hold 1 widget.
so add a vbox to the window,
add the menubar to the vbox
add the table a
css_provider_load_from_data(cssp, my_css_string, -1, NULL);
stc = gtk_widget_get_style_context(GTK_WIDGET(btv));
gtk_style_context_add_provider(stc, GTK_STYLE_PROVIDER(cssp),
GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);
Olivier
___
gtk-app-devel-list mailing
gt; horizontally.
which gtk version are you working on? 3.0 has serious problem with
resizing, many issues have been fixed in 3.2.
Olivier
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
nce is that the memory allocator on windows works differently,
and thus memory errors in your program are less visible on Linux.
Use valgrind to find the errors on Linux:
G_SLICE=always-malloc G_DEBUG=gc-friendly valgrind --tool=memcheck
--num-callers=32 ./myapp
Olivier
_
must admit that I haven't played
with the tab-curvature and tab-overlap style properties yet.
Olivier
2012/5/15 Olivier Sessink :
> I haven't found a good way, but I'm looking to make them smaller. You
> can use a different font in the labels, but with some themes (most
>
can you post a larger bit of the code? it is difficult to see what's going on.
b.t.w. gtk_combo_box_new_text() is deprecated, use gtk_combo_box_text_new()
Olivier
2012/6/20 Rudra Banerjee :
> Thanks for your reply jjacky. This is a mistake; but does not changeing
> the result.
> O
after a bit of testing, it seems to me that the altgr key advertises
itself just as to gtk...
Olivier
2012/6/19 drkmkzs :
> Hi,
>
> I'm using a gtk application with an accelmap file. All shortcuts with
> Control, Shift, or Alt are currently available.
>
> But if I wan
nd --tool=memcheck
--num-callers=32 src/your-binary
I don't see any obvious problemin your code, but I have no experience
with the code you posted.
Olivier
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman
le (and not write the complete file once
in a while) I would try to append both to the file and to the
textbuffer, so you don't need to reload the entire file for every append.
Olivier
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
w the second dialog, return
FALSE (otherwise glib will keep calling the idle function
this is how you work with an event loop. you basically you ask glib:
once you are ready with everything that is slightly higher priority
(like drawing the dialog)
nd create a function that
pops an item from the list and sends an email. register the function
with a timeout with g_timeout_add_full() keep returning TRUE (= call me
again) until there is no email to pop from the list.
Olivier
___
gtk-app-devel-list mail
n screen, and when done your idle
callback will be called and it will be maximized.
Olivier
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
context(GTK_WIDGET(mywidget));
gtk_style_context_add_provider(stc, GTK_STYLE_PROVIDER(cssp),
GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);
regards,
Olivier
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
ed from the file itself, they are not to be
called from other files.
now create a header file hello.h that contains:
void hello( GtkWidget *widget, gpointer data );
and include that in main.c like #include "hello.h"
now you can compile each .c file, and then li
ttings.
>
> I was wondering whether there is an easy way to turn a GtkButtonBox into
> something with this look.
have you looked into the GtkFileChooserDialog source, such as
http://git.gnome.org/browse/gtk+/tree/gtk/gtkfilechooserwidget.c ?
Olivier
___
tor,
-1);
regards,
Olivier
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
GtkListStore *treestore; somewhere in the top of fthe
file, *not* inside a function.
then include this both in main.c and in otherfile.c like #include "main.h"
Olivier
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnom
don't need a second/third etc. main loop.
Olivier
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
has finished (*1).
why not connect to the "row-deleted" signal of the model, and whenever a
row is deleted, look if there is any ongoing communication and kill it?
Olivier
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
h
On 11/22/13 16:39, Sergei Kolomeeyets wrote:
> Hi,
> to write a trivial key-press handler like the following:
>
> static gboolean key_pressed (GtkWidget *area, GdkEventKey *event, GPtrArray
> *ptLinePoints)
> {
> GError *error;
> guint tt;
>
> if (event->keyval == GDK_Delete) {
> ...
>
1 - 100 of 171 matches
Mail list logo