I'm so sorry - when should I use weak reference?
Regards
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
> return (nazwa.IndexOf(nazwa) > -1);
^
I'm so sorry.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
public class Kategorie : VBox {
public Kategorie() {
//...
PackStart(szukaj = new Entry(), false, false, 0); {
szukaj.Changed += delegate {filter.Refilter();};
} szukaj.Show();
For all which use google.
This is Simple class which allow popup menus:
public class TreeViewPopup : TreeView {
public TreeViewPopup(Menu m) {
this.m = m;
}
override protected bool OnButtonPressEvent(EventButton evnt) {
bool ret = base.OnButto
Uzytkownik gmail.com> writes:
>
> Maciej Piechotka gmail.com> writes:
> >
> > Is it possible in gtk(I use Gtk#)?
> > User click left mouse to some item and it shows menu (I don't know how this
> > menu is calling in English) with some function (Ad
Maciej Piechotka gmail.com> writes:
>
> Is it possible in gtk(I use Gtk#)?
> User click left mouse to some item and it shows menu (I don't know how this
> menu is calling in English) with some function (Add/Delete).
> How should I do it?
I found some example on GTK reference documentation but I
I wrote simple program used GScanner.
When I was compiling gcc shows some error in gscanner.h.
The gdataset header was missing.
Here's simple patch:
--- gscanner.h 12 Oct 2002 19:37:48 - 1.9
+++ gscanner.h 31 Oct 2005 13:15:27 -
@@ -28,6 +28,7 @@
#define __G_SCANNER_H__
#include
Dnia 14-10-2005, pią o godzinie 14:32 -0400, Matthias Clasen napisał(a):
> On Fri, 2005-10-14 at 14:27 -0400, Brian Clark wrote:
> > > (a.out:5100): libglade-WARNING **: could not find signal handler
> > > 'on_bok_clicked'.
> > >
> > > (a.out:5100): libglade-WARNING **: could not find signal handle
#include
void on_wgtelnet_destroy(GtkWidget *widget, gpointer user_data) {
g_print("Dowidzenia");
gtk_main_quit();
}
void on_bok_clicked(GtkWidget *widget, gpointer user_data) {
gtk_main_quit();
}
int main(int argc, char **argv) {
GladeXML *xml;
gtk_init
I have class A(abstract), which is singleton. It have subclasses called
B, C and D.
Is it possible that create class B overload "static" A methods?
Something like:
mylib_b_init();
mylib_a_do_something(); //mylib_b_do_something
I prefer that user (it's library) can create next subclass.
Regards
I have singleton A and subclass B, C and D.
1. How do it in GObject?
2. Can I do something that I cannot have B or D at the same time?
Regards
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk
Error was in another place :)
Regards
--
W³ochy i Pary¿ - przewodniki turystyczne do wyboru. Tylko z lipcowym numerem
miesiêcznika Auto+.
http://www.a-plus.pl
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mai
Dnia 26-07-2005, wto o godzinie 10:42 +0200, Uzytkownik napisał(a):
> I use GScanner to parse same file.
>
> I test the first function of setting page size.
> In file it's represent by: PAGE A4; or PAGE "A4"; etc.
>
> This is parse loop:
> static void parse
I use GScanner to parse same file.
I test the first function of setting page size.
In file it's represent by: PAGE A4; or PAGE "A4"; etc.
This is parse loop:
static void parse_head(WocPagerParser *parser, GError **error) {
GTokenType token; //1
g_debug("head"); //1
while(1
Should I use gettext in GError messages?
In message is position of error in file.
Or it will be print on stdout or for example on GUI show fragment of
file.
Regards
--
Linux user: #376500 (see http://counter.li.org/)
--
W³ochy i Pary¿ - przewodniki turystyczne do wyboru. Tylko z lipcowym numer
Dnia 25-07-2005, pon o godzinie 15:21 +0100, Tim Müller napisał(a):
> On Monday 25 July 2005 10:14, Uzytkownik wrote:
>
> > #define TEST(name, cau) g_print(#name "...\t%s\n", cau ? "OK" : "Fail")
>
> > TEST(Init, parser = g_object_new(WOC_PAG
I've this check function:
#include "woc-pager-test.h"
#include "woc-pager-parser.c"
#define TEST(name, cau) g_print(#name "...\t%s\n", cau ? "OK" : "Fail")
void woc_pager_parser_test() {
WocPagerParser *parser = NULL;
TEST(Check GType, WOC_PAGER_PARSER_TYPE);
TEST(Init,
I've this check function:
#include "woc-pager-test.h"
#include "woc-pager-parser.c"
#define TEST(name, cau) g_print(#name "...\t%s\n", cau ? "OK" : "Fail")
void woc_pager_parser_test() {
WocPagerParser *parser = NULL;
TEST(Check GType, WOC_PAGER_PARSER_TYPE);
TEST(Init,
I'd like to check if libgda could create SQLite db.
$ cat sqlite-create.c
#include
void do_connection() {
GdaClient *client;
GdaConnection *connection;
GdaCommand *command;
client = gda_client_new();
g_print("CONNECTING\n");
connection = gda_clien
Dnia 30-06-2005, czw o godzinie 13:18 +, [EMAIL PROTECTED]
napisał(a):
> Hi all,
>
> i have to develop a portable application with GTK+2 and i just want to be
> sure it will work.
> So my question is : is there any difference between GTK+2 for windows and
> GTK+2 for Linux?
>
See in docume
Is it possible not use doc/tmpl/xyz.xml but insert it into a file?
I know that it could be function description like in gtkmisc,
but if and how dose insert SECTIONS title, Short/Long Description, ect?
Thanks in advance
Regards.
--
Linux user: #376500 (see http://counter.li.org/)
Dnia 24-06-2005, pią o godzinie 17:25 +0100, Tim Müller napisał(a):
> On Friday 24 June 2005 16:59, Uzytkownik wrote:
> > I've problem with GHashTable:
> > (...)
> > self->private->check = g_hash_table_new(g_int_hash, g_int_equal);
> > g_hash_table_insert(s
I've problem with GHashTable:
(...)
self->private->check = g_hash_table_new(g_int_hash, g_int_equal);
g_hash_table_insert(self->private->check, GINT_TO_POINTER(3), "%%(.*)");
(...)
In unit test(I use check) it show:
(...)
check-plik.c:30:E:Core:funkcja: (after this point) Received signal 11
(Segme
Dnia 22-06-2005, śro o godzinie 18:25 -0400, Tristan Van Berkom
napisał(a):
> Uzytkownik wrote:
>
> Hi,
> You should start off by reading:
>
> http://www.le-hacker.org/papers/gobject/
>
> > 1. In g_param_spec_enum I must have GType of this enum.
> > a) Wh
1. In g_param_spec_enum I must have GType of this enum.
a) Why this function need it?
b) How create for enum GType?
2. I should register GType in package_name_get_type or
package_class_init:
a)
GType package_name_get_type() {
static GType type = 0;
if(type == 0) {
Dnia 18-06-2005, sob o godzinie 12:05 +0200, Daniel Pekelharing
napisał(a):
> On Sat, 2005-06-18 at 10:30 +0200, Uzytkownik wrote:
> > I'd like to call some function, when user select new file in
> > GtkFileChooserDialog.
> > What should I do?
> > I didn't f
Dnia 18-06-2005, sob o godzinie 12:05 +0200, Daniel Pekelharing
napisał(a):
> On Sat, 2005-06-18 at 10:30 +0200, Uzytkownik wrote:
> > I'd like to call some function, when user select new file in
> > GtkFileChooserDialog.
GtkFileChooserButton
> > What should I do?
&g
I'd like to call some function, when user select new file in
GtkFileChooserDialog.
What should I do?
I didn't find any signal like clicked or change?
Regards.
--
Linux user: #376500 (see http://counter.li.org/)
___
gtk-app-devel-list mailing list
gtk-ap
1. How I should access to std{in,out,err} is recommended?
By FILE * or IOChannel *?
2. Can I create one GsfOutput, which automatically send to two(or more)
another?
Best regards
--
Linux user: #376500 (see http://counter.li.org/)
___
gtk-app-devel-list
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
How copy hash table without g_hash_table_foreach?
Is it possible in one line of code?
Regards.
- --
Linux user: #376500 (patrz http://counter.li.org/)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFCenVlTCh1hBPsbHURAxJ4AJ
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
I've got callback function:
> void on_BUstaw_clicked(GtkWidget *widget, gpointer *_data)
> {
> Data* data = (Data*)_data;
> if(data->id == 20)
> {
> DEB(g_print("id == 20\n"));
> return;
>
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160
I'm newbie in GObject(before I use C++).
Can I create object with arguments?
In C++:
class xyz
{
public:
xyz(int i);
};
Regards.
- --
Linux user: #376500 (see http://counter.li.org/)
-BEGIN PGP SIGNATURE-
Version: G
32 matches
Mail list logo